Bug 209360

Summary: No sound with 82801G (ICH7 family)
Product: [openSUSE] openSUSE 10.3 Reporter: Perret Florian <f-perret>
Component: YaST2Assignee: Takashi Iwai <tiwai>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P3 - Medium CC: forgotten_--EoyBps8f, sundru, tonussi, vorticityCorp
Version: Final   
Target Milestone: ---   
Hardware: x86   
OS: openSUSE 10.3   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: cat files
Codec*
version
dmesg

Description Perret Florian 2006-10-01 08:15:30 UTC
I'm using a W7J Asus laptop and have no sound after installing OpenSuse 10.2 (same problem with Suse Linux 10.1 and SLED 10).

In YAST, my card is a "82801G (ICH7 family) High Definition Controller".

I should add "options snd_hda_intel model=3stack" to make it works. Could you add an autodetection to make it works out of the box ?
Comment 1 Perret Florian 2006-10-04 06:32:40 UTC
I've found that mandriva have patched kernel for this problem : http://qa.mandriva.com/show_bug.cgi?id=19962

This sound card seems to be used in all Asus laptop now available.
Comment 2 Sundara Jeyamanoharan 2006-10-28 15:39:09 UTC
Am having the same issue on SuSE 10.1 Final , heres the output of alsa debug script, pl help fix this on 10.1 (2.6.16.21-0.25-smp)

ALSA Audio Debug v0.1.0 - Sat Oct 28 11:37:40 EDT 2006
http://alsa.opensrc.org/index.php?page=aadebug
http://www.gnu.org/licenses/gpl.txt

Kernel ----------------------------------------------------
Linux IO 2.6.16.21-0.25-smp #1 SMP Tue Sep 19 07:26:15 UTC 2006 i686 i686 i386 GNU/Linux

Loaded Modules --------------------------------------------
snd_pcm_oss            47104  0
snd_mixer_oss          20224  1 snd_pcm_oss
snd_seq                53104  0
snd_seq_device         11916  1 snd_seq
snd_hda_intel          21652  0
snd_hda_codec         139136  1 snd_hda_intel
snd_pcm                86532  3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer              25860  2 snd_seq,snd_pcm
snd                    56708  8 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
snd_page_alloc         13576  2 snd_hda_intel,snd_pcm

Proc Config -----------------------------------------------
CONFIG_SOUND=m
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
CONFIG_SND_SEQ_DUMMY=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_RTCTIMER=m
CONFIG_SND_SEQ_RTCTIMER_DEFAULT=y
CONFIG_SND_DYNAMIC_MINORS=y
CONFIG_SND_SUPPORT_OLD_API=y
CONFIG_SND_VERBOSE_PROCFS=y
CONFIG_SND_VERBOSE_PRINTK=y
CONFIG_SND_DEBUG=y
# CONFIG_SND_DEBUG_DETECT is not set
CONFIG_SND_MPU401_UART=m
CONFIG_SND_OPL3_LIB=m
CONFIG_SND_OPL4_LIB=m
CONFIG_SND_VX_LIB=m
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_AC97_BUS=m
CONFIG_SND_DUMMY=m
CONFIG_SND_VIRMIDI=m
CONFIG_SND_MTPAV=m
CONFIG_SND_SERIAL_U16550=m
CONFIG_SND_MPU401=m
CONFIG_SND_AD1848_LIB=m
CONFIG_SND_CS4231_LIB=m
CONFIG_SND_AD1816A=m
CONFIG_SND_AD1848=m
CONFIG_SND_ALS100=m
CONFIG_SND_AZT2320=m
CONFIG_SND_CMI8330=m
CONFIG_SND_CS4231=m
CONFIG_SND_CS4232=m
CONFIG_SND_CS4236=m
CONFIG_SND_DT019X=m
CONFIG_SND_ES968=m
CONFIG_SND_ES1688=m
CONFIG_SND_ES18XX=m
CONFIG_SND_GUS_SYNTH=m
CONFIG_SND_GUSCLASSIC=m
CONFIG_SND_GUSEXTREME=m
CONFIG_SND_GUSMAX=m
CONFIG_SND_INTERWAVE=m
CONFIG_SND_INTERWAVE_STB=m
CONFIG_SND_OPL3SA2=m
CONFIG_SND_OPTI92X_AD1848=m
CONFIG_SND_OPTI92X_CS4231=m
CONFIG_SND_OPTI93X=m
CONFIG_SND_SB8=m
CONFIG_SND_SB16=m
CONFIG_SND_SBAWE=m
CONFIG_SND_SB16_CSP=y
CONFIG_SND_SGALAXY=m
CONFIG_SND_SSCAPE=m
CONFIG_SND_WAVEFRONT=m
CONFIG_SND_AD1889=m
CONFIG_SND_ALS4000=m
CONFIG_SND_ALI5451=m
CONFIG_SND_ATIIXP=m
CONFIG_SND_ATIIXP_MODEM=m
CONFIG_SND_AU8810=m
CONFIG_SND_AU8820=m
CONFIG_SND_AU8830=m
CONFIG_SND_AZT3328=m
CONFIG_SND_BT87X=m
# CONFIG_SND_BT87X_OVERCLOCK is not set
CONFIG_SND_CA0106=m
CONFIG_SND_CMIPCI=m
CONFIG_SND_CS4281=m
CONFIG_SND_CS46XX=m
CONFIG_SND_CS46XX_NEW_DSP=y
CONFIG_SND_CS5535AUDIO=m
CONFIG_SND_EMU10K1=m
CONFIG_SND_EMU10K1X=m
CONFIG_SND_ENS1370=m
CONFIG_SND_ENS1371=m
CONFIG_SND_ES1938=m
CONFIG_SND_ES1968=m
CONFIG_SND_FM801=m
CONFIG_SND_FM801_TEA575X=m
CONFIG_SND_HDA_INTEL=m
CONFIG_SND_HDSP=m
CONFIG_SND_HDSPM=m
CONFIG_SND_ICE1712=m
CONFIG_SND_ICE1724=m
CONFIG_SND_INTEL8X0=m
CONFIG_SND_INTEL8X0M=m
CONFIG_SND_KORG1212=m
CONFIG_SND_MAESTRO3=m
CONFIG_SND_MIXART=m
CONFIG_SND_NM256=m
CONFIG_SND_PCXHR=m
CONFIG_SND_RME32=m
CONFIG_SND_RME96=m
CONFIG_SND_RME9652=m
CONFIG_SND_SONICVIBES=m
CONFIG_SND_TRIDENT=m
CONFIG_SND_VIA82XX=m
CONFIG_SND_VIA82XX_MODEM=m
CONFIG_SND_VX222=m
CONFIG_SND_YMFPCI=m
CONFIG_SND_USB_AUDIO=m
CONFIG_SND_USB_USX2Y=m
CONFIG_SND_VXPOCKET=m
CONFIG_SND_PDAUDIOCF=m
CONFIG_SOUND_PRIME=m
CONFIG_SOUND_BT878=m
CONFIG_SOUND_CMPCI=m
CONFIG_SOUND_CMPCI_FM=y
CONFIG_SOUND_CMPCI_MIDI=y
CONFIG_SOUND_CMPCI_JOYSTICK=y
CONFIG_SOUND_EMU10K1=m
# CONFIG_SOUND_FUSION is not set
CONFIG_SOUND_CS4281=m
CONFIG_SOUND_ES1370=m
CONFIG_SOUND_ES1371=m
CONFIG_SOUND_ESSSOLO1=m
CONFIG_SOUND_MAESTRO=m
CONFIG_SOUND_MAESTRO3=m
CONFIG_SOUND_ICH=m
CONFIG_SOUND_SONICVIBES=m
CONFIG_SOUND_TRIDENT=m
# CONFIG_SOUND_MSNDCLAS is not set
# CONFIG_SOUND_MSNDPIN is not set
CONFIG_SOUND_VIA82CXXX=m
CONFIG_SOUND_OSS=m
CONFIG_SOUND_TRACEINIT=y
CONFIG_SOUND_DMAP=y
# CONFIG_SOUND_AD1816 is not set
CONFIG_SOUND_AD1889=m
CONFIG_SOUND_SGALAXY=m
CONFIG_SOUND_ADLIB=m
CONFIG_SOUND_ACI_MIXER=m
CONFIG_SOUND_CS4232=m
CONFIG_SOUND_SSCAPE=m
CONFIG_SOUND_GUS=m
# CONFIG_SOUND_GUS16 is not set
CONFIG_SOUND_GUSMAX=y
CONFIG_SOUND_VMIDI=m
CONFIG_SOUND_TRIX=m
CONFIG_SOUND_MSS=m
CONFIG_SOUND_MPU401=m
CONFIG_SOUND_NM256=m
CONFIG_SOUND_MAD16=m
CONFIG_SOUND_PAS=m
CONFIG_SOUND_PSS=m
CONFIG_SOUND_SB=m
# CONFIG_SOUND_AWE32_SYNTH is not set
CONFIG_SOUND_WAVEFRONT=m
CONFIG_SOUND_MAUI=m
CONFIG_SOUND_YM3812=m
CONFIG_SOUND_OPL3SA1=m
CONFIG_SOUND_OPL3SA2=m
CONFIG_SOUND_YMFPCI=m
CONFIG_SOUND_YMFPCI_LEGACY=y
CONFIG_SOUND_UART6850=m
CONFIG_SOUND_AEDSP16=m
CONFIG_SOUND_TVMIXER=m
CONFIG_SOUND_KAHLUA=m
CONFIG_SOUND_ALI5455=m
CONFIG_SOUND_FORTE=m
CONFIG_SOUND_RME96XX=m
CONFIG_SOUND_AD1980=m

Modprobe Conf ---------------------------------------------
# remove this if sound is configured
#alias sound-slot-1 nvaudio

Proc Asound -----------------------------------------------
Advanced Linux Sound Architecture Driver Version 1.0.11rc3 (Sun Jan 22 09:27:15 2006 UTC).
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xd6400000 irq 201
  2:        : timer
  3: [ 0- 0]: digital audio playback
  4: [ 0- 0]: digital audio capture
  5: [ 0]   : control
  6:        : sequencer
cat: /proc/asound/hwdep: No such file or directory
00-00: HDA Generic : HDA Generic : playback 1 : capture 1
Client info
  cur  clients : 1
  peak clients : 1
  max  clients : 192

Client   0 : "System" [Kernel]
  Port   0 : "Timer" (Rwe-)
  Port   1 : "Announce" (R-e-)
Client  14 : "Midi Through" [Kernel]
  Port   0 : "Midi Through Port-0" (RWe-)

Dev Snd ---------------------------------------------------
controlC0  pcmC0D0c  pcmC0D0p  seq  timer

CPU -------------------------------------------------------
model name      : Intel(R) Core(TM)2 CPU         T7200  @ 2.00GHz
cpu MHz         : 1995.544
model name      : Intel(R) Core(TM)2 CPU         T7200  @ 2.00GHz
cpu MHz         : 1995.544

RAM -------------------------------------------------------
MemTotal:      1033840 kB
SwapTotal:     2104472 kB

Hardware --------------------------------------------------
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express Memory Controller Hub (rev 03)
Comment 3 Sundara Jeyamanoharan 2006-10-28 15:41:25 UTC
Also, Just confirmed that all laptops with 82801G chipset have this issue
the one am using is a HP DV2000T .
Comment 4 James C. Evans 2006-11-20 13:19:32 UTC
I am using a DV9000T with the same chipset, but am having a related but different problem.  Possibly it has the same cause.  My sound card does produce sound, but only at maximum volume.  Many of the sound tools available for Suse 10.1 (e.g., kmix) do not even display a volume control on my system.  RealPlayer does show a volume control, but it is disfunctional; music blasts out of the speakers.  I have tried various things to fix the problem - see http://forums.suselinuxsupport.de/index.php?showtopic=46234 - with no success so far.
Comment 5 Perret Florian 2006-11-24 20:54:21 UTC
Same problem in RC1 and 3stack doesn't work anymore.
Comment 6 Perret Florian 2006-11-25 17:06:17 UTC
Oops, I'm correcting comment 5 : "3stack" option works well (need to restart).

-> James C. Evans, have you test by adding "3stack" option in YAST ?

So the problem is the same than before, could the "3stack" option be add automaticely when this sound card is detected ?
Comment 7 Jaroslav Kysela 2006-12-20 08:42:32 UTC
Perret: Yes, it can be autodetected. Please, show output from 'cat /proc/asound/card0/codec*'. Thanks.

James: Try different codec models as described in http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/sound/alsa/ALSA-Configuration.txt  for the hda-intel driver.
Comment 8 Perret Florian 2006-12-21 07:36:39 UTC
Created attachment 110645 [details]
cat files
Comment 9 Perret Florian 2006-12-21 07:45:16 UTC
Jaroslav : here is in attachment the result of 'cat /proc/asound/card0/codec*'
Comment 10 Jaroslav Kysela 2007-01-09 08:58:22 UTC
An autodetection patch for Asus W7J was commited to ALSA development repository: http://hg.alsa-project.org/alsa-kernel?cs=da3f9b96888a
Comment 11 Jonathon Robison 2007-04-27 17:33:33 UTC
Uh . . . this "model=3stack" line. Does that go in the modprobe.conf file, or is it done via YaST2 Sound?
Comment 12 Perret Florian 2007-04-27 18:08:43 UTC
Jonathan : Personally I just add "3stack" in Yast.
Comment 13 Jonathon Robison 2007-04-27 19:04:54 UTC
Actually, reading through the /proc/..../codec* file as was listed above showed that mine should have "model=ref" instead of 3stack.

My only real problem now is that while sound is working fine within KDE (volume control and everything!), in character mode (even if just switched to it via cntrl-alt-f1) the "system beeps" are at max volume, with no way to stop it. Is there any way to totally disable the system beeps? i.e. go too far left with the arrow buttons, get a beep. I want NO beep!
Comment 14 Jaroslav Kysela 2007-05-25 12:00:32 UTC
Regarding bash beep: http://www.linuxquestions.org/questions/showthread.php?t=440305 . It's not related to this bug at all.

Closing, issue was fixed.
Comment 15 Perret Florian 2007-08-12 07:32:03 UTC
Same problem in 10.3 beta 1.
I have to manually add "3stack" in model for my sound card to make it works.

Could it be automatically detected ?
Comment 16 Perret Florian 2007-08-19 08:20:58 UTC
It's already include in alsa 1.0.14 : http://www.alsa-project.org/main/index.php/Changes_v1.0.13_v1.0.14
Isn't it this version in OpenSuse 10.3 ?
Comment 17 Jaroslav Kysela 2007-08-24 07:18:30 UTC
Please, attach again output from 'cat
/proc/asound/card0/codec*', 'cat /proc/asound/version' and full dmesg contents.
Comment 18 Perret Florian 2007-08-24 07:30:34 UTC
Created attachment 159618 [details]
Codec*
Comment 19 Perret Florian 2007-08-24 07:31:02 UTC
Created attachment 159619 [details]
version
Comment 20 Perret Florian 2007-08-24 07:31:21 UTC
Created attachment 159620 [details]
dmesg
Comment 21 Perret Florian 2007-08-24 07:32:09 UTC
the 3 attachments are with '3stack' already added...
Comment 22 Perret Florian 2007-08-29 19:51:52 UTC
Do you need another log ?
Comment 23 Perret Florian 2007-09-10 05:51:25 UTC
Same problem in beta3
Comment 24 Perret Florian 2007-09-22 12:34:30 UTC
Same problem in RC1
Comment 25 Carlos Tonussi 2008-01-29 18:38:02 UTC
I´m using 10.3 in the Acer Aspire 5710-6139 with intel 82801G sound (ICH7) and I also have no sound either at speakers or in the headphones! I have tried different models (3stack, acer, acer-aspire, and several others) in YAST sound configuration without results. The built-in microphone and the mic front jack works right. Kmix control volume also reacts right to the built-in volume button.
Comment 26 Takashi Iwai 2008-01-30 11:07:22 UTC
10.3 kernel has the older version of ALSA driver (the one in 2.6.22 kernel), so the fixes aren't be applicable.  The issue has been fixed in FACTORY kernel.

Alternatively, you can try the cutting-edge ALSA driver version available at
    http://download.opensuse.org/repositories/multimedia:/audio/
Take alsa-driver-kmp-* package corresponding to your kernel flavor and install it manually.  This KMP package will override the existing ALSA drivers.
Comment 27 Carlos Tonussi 2008-01-30 14:39:10 UTC
That's it! All multimedia functions are ok now. Thank you!