Bug 5126
Summary: | No sound on Thinkpad X31 (Intel 82801DB-ICH4) | ||
---|---|---|---|
Product: | Drivers | Reporter: | Josef Gasteiger (linux-versand) |
Component: | Sound(ALSA) | Assignee: | Diego Calleja (diegocg) |
Status: | CLOSED PATCH_ALREADY_AVAILABLE | ||
Severity: | normal | CC: | akpm, alexandre.rossi, bos, tiwai |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.14 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: |
The asound.state file
The ac97#0-0 file. The ac97#0-0+regs file. |
Description
Josef Gasteiger
2005-08-24 14:44:44 UTC
Sorry I've forgotten the loaded modules: ibm_acpi 30080 0 eth1394 20680 0 pcmcia 38928 4 arc4 1856 1 ieee80211_crypt_wep 5316 1 rtc 13560 0 snd_intel8x0 34048 1 snd_ac97_codec 86652 1 snd_intel8x0 snd_pcm_oss 53408 0 snd_mixer_oss 19712 1 snd_pcm_oss snd_pcm 93960 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss snd_timer 25860 1 snd_pcm snd 55076 8 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer soundcore 9952 1 snd snd_page_alloc 10888 2 snd_intel8x0,snd_pcm i2c_i801 8908 0 i2c_core 21776 1 i2c_i801 intel_agp 23452 1 agpgart 36232 1 intel_agp ehci_hcd 35272 0 uhci_hcd 34768 0 usbcore 124156 3 ehci_hcd,uhci_hcd ipw2100 152004 0 firmware_class 10368 1 ipw2100 ieee80211 39844 1 ipw2100 ieee80211_crypt 6088 3 ieee80211_crypt_wep,ipw2100,ieee80211 e1000 106996 0 ohci1394 36340 0 ieee1394 103672 2 eth1394,ohci1394 yenta_socket 25996 4 rsrc_nonstatic 12416 1 yenta_socket pcmcia_core 43472 3 pcmcia,yenta_socket,rsrc_nonstatic ntfs 202768 1 tun 11648 0 evdev 9344 0 unix 28784 207 Check the codec listed in /proc/asound/card0/codec97#0/ac97#0-0. If it's AD1981*, you may have "Line Jack Sense" and "Headphone Jack Sense" mixer switche. Toggle them on/off. Also, if you have "External Amplifier" mixer switch, turn it on. Or, unmute/raise "Master Mono" and "Headphone" mixer controls if exist. Thanks for your help! But unfortunately there is still nothing coming from the speaker. The codec is "Analog Devices AD1981B" and it has the "Line Jack Sense", the "Headphone Jack Sense" and the "External Amplifier" mixer switches. But changing them doesn't make sound work. "Master Mono" and "Headphone" mixer controls don't help either. (btw the OSS-module i810_audio works) When I run alsaconf the following is writen in the syslog file: udev[3636]: removing device node '/dev/mixer' udev[3638]: removing device node '/dev/snd/controlC0' udev[3640]: removing device node '/dev/snd/pcmC0D4p' udev[3642]: removing device node '/dev/snd/pcmC0D3c' udev[3644]: removing device node '/dev/snd/pcmC0D2c' udev[3646]: removing device node '/dev/snd/pcmC0D1c' udev[3648]: removing device node '/dev/adsp' udev[3679]: removing device node '/dev/snd/pcmC0D0p' udev[3681]: removing device node '/dev/snd/pcmC0D0c' udev[3683]: removing device node '/dev/dsp' udev[3685]: removing device node '/dev/audio' udev[3732]: removing device node '/dev/snd/timer' udev[4243]: configured rule in '/etc/udev/rules.d/udev.rules[61]' applied, 'timer' becomes 'snd/%k' udev[4243]: creating device node '/dev/snd/timer' kernel: PCI: Found IRQ 11 for device 0000:00:1f.5 kernel: PCI: Sharing IRQ 11 with 0000:00:1f.3 kernel: PCI: Sharing IRQ 11 with 0000:02:00.1 kernel: PCI: Setting latency timer of device 0000:00:1f.5 to 64 kernel: intel8x0_measure_ac97_clock: measured 55089 usecs kernel: intel8x0: clocking to 48000 udev[4317]: configured rule in '/etc/udev/rules.d/udev.rules[59]' applied, 'pcmC0D4p' becomes 'snd/%k' udev[4317]: creating device node '/dev/snd/pcmC0D4p' udev[4319]: configured rule in '/etc/udev/rules.d/udev.rules[59]' applied, 'pcmC0D3c' becomes 'snd/%k' udev[4319]: creating device node '/dev/snd/pcmC0D3c' udev[4321]: configured rule in '/etc/udev/rules.d/udev.rules[59]' applied, 'pcmC0D2c' becomes 'snd/%k' udev[4321]: creating device node '/dev/snd/pcmC0D2c' udev[4323]: configured rule in '/etc/udev/rules.d/udev.rules[59]' applied, 'pcmC0D1c' becomes 'snd/%k' udev[4323]: creating device node '/dev/snd/pcmC0D1c' udev[4325]: creating device node '/dev/adsp' udev[4327]: configured rule in '/etc/udev/rules.d/udev.rules[59]' applied, 'pcmC0D0p' becomes 'snd/%k' udev[4327]: creating device node '/dev/snd/pcmC0D0p' udev[4329]: configured rule in '/etc/udev/rules.d/udev.rules[59]' applied, 'pcmC0D0c' becomes 'snd/%k' udev[4329]: creating device node '/dev/snd/pcmC0D0c' udev[4364]: creating device node '/dev/dsp' udev[4366]: creating device node '/dev/audio' udev[4368]: configured rule in '/etc/udev/rules.d/udev.rules[57]' applied, 'controlC0' becomes 'snd/%k' udev[4368]: creating device node '/dev/snd/controlC0' udev[4370]: creating device node '/dev/mixer' Please show /etc/asound.state (or something else on debian). I still suspect it's a mixer configuration issue. Also attaching the contents of /proc/asound/card0/codec97#0/* files would be helpful, too. Created attachment 6139 [details]
The asound.state file
Created attachment 6140 [details]
The ac97#0-0 file.
Created attachment 6141 [details]
The ac97#0-0+regs file.
Try running speaker-test speaker-test -c2 -Dplug:front speaker-test -c4 -Dplug:surround40 speaker-test -c6 -Dplug:surround51 If sound comes out, please tell use which speaker speaker-test thinks it is outputting from. Also, while the test in running, try toggling external amp using the M key in alsamixer. I tried running speaker-test, but there is no sound coming out :-( (using kernel 2.6.14) There are multiple clues on the Web that many laptops using this sound chipset must mute (in alsamixer) the 'external amplifier' to be able able to hear sound. For example, this is the case of my laptop (Vaio VGN-B1VP). This may be the issue here. > mute (in alsamixer) the 'external amplifier' to be able able to hear sound
I'm sorry, but that doesn't help.
Any improvement in later ALSA releases? With kernel 2.6.15.1 there is no difference. I tested KANOTIX 2005-04 with alsa (alsa-lib 1.0.10, kernel 2.6.14.5). There the sound worked. hmm... Turn off 'Headphone Jack Sense' and 'Line Jack Sense' swithes. I have an X31 for years, and have never noticed a single sound problem. I'm running 2.6.15, fc5t2. > Turn off 'Headphone Jack Sense' and 'Line Jack Sense' swithes.
Great, sound now works! Many thanks!
> Turn off 'Headphone Jack Sense'
that's the guilty switch on a Toshiba Satellite A40 too: sound was ok on K2.4.x
but no sound as I switched to K2.6.x. None of the ac97_quirk has any effect.
amixer sset 'Headphone Jack Sense' off && alsactl store
did the trick
thanks!
As the reporter says, this has been fixed, so I'm closing it. |