Hi, this is quite a long time standing bug I see on my laptop with AC97-compatible card (ICH3-M chipset). When I start the laptop, alse level are restored. But, when I try to play a song there is no sound. When I go straight into alsamixer, click several times the right arrow to get over the PCM level mixer (the channel is opened and level almost at maximum) and press once "down arrow" I get sound. It seems to be an issue with alsa-utils. I tracked this down some time ago to a broken alsasound script but probably forgot to report. I know you will not be happy with this too broad time difference to current alsa-utils-1.0.22-r1 but ... : # diff -u -w /etc/init.d/alsasound.old /etc/init.d/alsasound --- /etc/init.d/alsasound.old 2006-03-07 23:02:59.000000000 +0100 +++ /etc/init.d/alsasound 2010-01-21 14:02:09.000000000 +0100 I downgraded to media-sound/alsa-utils-1.0.20-r5 and it did not help. As I said, this is quite a long standing bug. :( Reproducible: Always
Created attachment 230351 [details] alsasound.old working script
Created attachment 230353 [details] alsasound-1.0.20-r5.broken
Restarting the service (1.0.20-r5 version now) does not help, but here is the output for those who want to see that and don't believe that just touching the PCM level immediately gives me the sound back: # /etc/init.d/alsasound restart * WARNING: you are stopping a boot service * Shutting down slmodemd ... [ ok ] * Storing ALSA Mixer Levels ... [ ok ] * Loading ALSA modules ... * Loading: snd-card-0 ... FATAL: Module snd_intel8x0 not found. [ ok ] * Restoring Mixer Levels ... [ ok ] * Starting slmodemd for /dev/ttySL0 with alsa support [ ok ]
Did you run /etc/init.d/alsasound save Is that your sound card? FATAL: Module snd_intel8x0 not found.
I did run save state in the past. Imagine, how could I get a sound if I would just go over the PCM mixer and _decrese_ the level by one step (the down arrow) without un-muting the channnel for example. Yes, it is my soundcard, I just placed the driver into kernel statically and did not bother to remove the module name.
This is fixed for me now with alsa-utils-1.0.23, or is it due to 2.6.34.1 kernel instead 2.6.31.14? I think due to alsa-utils. The only hint I have is a snippet from /var/log/rc.log: * Loading ALSA modules ... [ ok ] * Restoring Mixer Levels ... Unknown hardware: "ICH" "Cirrus Logic CS4299 rev 4" "AC97a:43525934" "0x1043" "0x1583" Hardware is initialized using a guess method alsactl: set_control:1255: failed to obtain info for control #7 (No such file or directory) alsactl: set_control:1255: failed to obtain info for control #8 (No such file or directory) * Errors while restoring defaults, ignoring [ ok ] As I said, I do not need the trick with the alsamixer touching the PCM mixer level anymore. I do see this message on boot on other x86 host with "similar" AC97-compatible sound+modem card. My system (ASUS L3C/S laptop) has: 00:1f.5 Multimedia audio controller: Intel Corporation 82801CA/CAM AC'97 Audio Controller (rev 02) Subsystem: ASUSTeK Computer Inc. L3C (SPDIF) Flags: bus master, medium devsel, latency 0, IRQ 11 I/O ports at e000 [size=256] I/O ports at e100 [size=64] Kernel driver in use: Intel ICH 00:1f.6 Modem: Intel Corporation 82801CA/CAM AC'97 Modem Controller (rev 02) (prog-if 00 [Generic]) Subsystem: ASUSTeK Computer Inc. PCtel HSP56 MR Flags: bus master, medium devsel, latency 0, IRQ 11 I/O ports at e200 [size=256] I/O ports at e300 [size=128] Kernel driver in use: Intel ICH Modem The other machine (Acer LCi291 laptop) has: 00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03) Subsystem: Acer Incorporated [ALI] Device 0021 Flags: bus master, medium devsel, latency 0, IRQ 10 I/O ports at e100 [size=256] I/O ports at e200 [size=64] Memory at f0080400 (32-bit, non-prefetchable) [size=512] Memory at f0080600 (32-bit, non-prefetchable) [size=256] Capabilities: [50] Power Management version 2 Kernel driver in use: Intel ICH Kernel modules: snd-intel8x0 00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 03) (prog-if 00 [Generic]) Subsystem: Acer Incorporated [ALI] Device 003d Flags: bus master, medium devsel, latency 0, IRQ 10 I/O ports at e300 [size=256] I/O ports at e400 [size=128] Capabilities: [50] Power Management version 2 Kernel driver in use: Intel ICH Modem Kernel modules: snd-intel8x0m
Yeah, it's a bug with ICH7 to. this "alsasound.old" script works ok Seems like "alsasound" script not load modules correctly.
The automatic loading & unloading of ALSA modules through alsasound is no longer supported and may be removed soon. Please build the ALSA core & drivers into the kernel.