After kernel upgrade from gentoo-sources-2.6.31-r6 to gentoo-sources-2.6.32 alsa stop working alsamixer message is: "This sound device does not have any playback controls" I've re-emerged: media-libs/alsa-lib-1.0.21a media-sound/alsa-driver-9999 media-sound/alsa-utils-1.0.21-r1 and ran: update-modules alsaconf All modules loaded correctly: # lsmod Module Size Used by bnep 7823 2 rfcomm 26088 4 l2cap 22866 16 bnep,rfcomm crc16 1175 1 l2cap snd_seq 33076 0 snd_seq_device 3555 1 snd_seq snd_hda_codec_analog 43378 0 snd_hda_intel 14773 1 snd_hda_codec 46739 2 snd_hda_codec_analog,snd_hda_intel snd_hwdep 3340 1 snd_hda_codec snd_pcm 43486 2 snd_hda_intel,snd_hda_codec snd_timer 11456 2 snd_seq,snd_pcm snd 29384 10 snd_seq,snd_seq_device,snd_hda_codec_analog,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer nvidia 9570297 41 soundcore 714 1 snd thinkpad_acpi 50018 0 btusb 9144 2 snd_page_alloc 4859 2 snd_hda_intel,snd_pcm On boot I get additional messages I believe after run update-modueles cannot confirm that now, and messages are: /usr/share/alsa/init/hda control not found -< dmesg not showing that line alsactl: set_control:1256: failed to obtain info for control #nn (No such file or directory) -< dmesg not showing that line Additional info: # dmesg | grep hda [ 13.050456] hda_intel: probe_mask set to 0x1 for device 17aa:20ac [ 13.464189] hda_codec: cannot build controlsfor #0 (error -22) # cat /usr/share/alsa/init/hda # Configuration for HDA Intel driver (High Definition Audio - Azalia) CARDINFO{mixername}=="Realtek ALC880", \ ATTR{subsystem_vendor}=="0x1025", ATTR{subsystem_device}=="0x0070", \ GOTO="Acer Travelmate 8100" CARDINFO{mixername}=="Analog Devices AD1984", \ ATTR{subsystem_vendor}=="0x17aa", ATTR{subsystem_device}=="0x20ac", \ GOTO="Lenovo T61" RESULT="false", EXIT="return" LABEL="Acer Travelmate 8100" # playback CTL{reset}="mixer" CTL{name}="Master Playback Volume", CTL{value}="-21dB" CTL{name}="Master Playback Switch", CTL{value}="on" CTL{name}="Headphone Playback Switch", CTL{value}="on,on" CTL{name}="Front Playback Volume", CTL{value}="-29dB,-29dB" CTL{name}="Front Playback Switch", CTL{value}="on,on" CTL{name}="PCM Playback Volume", CTL{value}="0dB,0dB" # capture CTL{name}="Input Source", CTL{value}="Mic" CTL{name}="Capture Volume", CTL{value}="20dB,20dB" CTL{name}="Capture Switch", CTL{value}="on,on" RESULT="true", EXIT="return" LABEL="Lenovo T61" # playback CTL{reset}="mixer" CTL{name}="Master Playback Volume", CTL{value}="-13.5dB" CTL{name}="Master Playback Switch", CTL{value}="on" CTL{name}="Headphone Playback Switch", CTL{value}="on,on" CTL{name}="Speaker Playback Switch", CTL{value}="on,on" CTL{name}="PCM Playback Volume", CTL{value}="0dB,0dB" # capture CTL{name}="Input Source", CTL{value}="Internal Mic" CTL{name}="Internal Mic Boost", CTL{value}="1" CTL{name}="Capture Volume", CTL{value}="9dB,9dB" CTL{name}="Capture Switch", CTL{value}="on,on" RESULT="true", EXIT="return" Enabled: <M> Sound card support Switching back to gentoo-sources-2.6.31-r6 works just fine Is it a bug or I am missing something Reproducible: Always
update-modules shouldn't be really necessary. Did you find anything interesting in /proc/asound ?
(In reply to comment #1) > update-modules shouldn't be really necessary. > Did you find anything interesting in /proc/asound ? > Not sure what should I looking for, I cat all stuff it may help. # cat cards devices hwdep modules pcm timers version 0 [Intel ]: HDA-Intel - HDA Intel HDA Intel at 0xfe220000 irq 33 0: [ 0] : control 1: : sequencer 4: [ 0- 0]: hardware dependent 33: : timer 00-00: HDA Codec 0 0 snd_hda_intel G0: system timer : 1000.000us (10000000 ticks) Advanced Linux Sound Architecture Driver Version 1.0.22. Compiled on Dec 17 2009 for kernel 2.6.32-gentoo (SMP). # cat Intel/* seq/* Codec: Analog Devices AD1984 Address: 0 Function Id: 0x1 Vendor Id: 0x11d41984 Subsystem Id: 0x17aa20bb Revision Id: 0x100400 No Modem Function Group found Default PCM: rates [0x7ff]: 8000 11025 16000 22050 32000 44100 48000 88200 96000 176400 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Default Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Default Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0 GPIO: io=3, o=0, i=0, unsolicited=1, wake=0 IO[0]: enable=0, dir=0, wake=0, sticky=0, data=1, unsol=0 IO[1]: enable=1, dir=0, wake=0, sticky=0, data=0, unsol=0 IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 Node 0x02 [Audio Output] wcaps 0x30311: Stereo Digital Converter: stream=0, channel=0 Digital: Digital category: 0x0 PCM: rates [0x7e0]: 44100 48000 88200 96000 176400 192000 bits [0xe]: 16 20 24 formats [0x5]: PCM AC3 Delay: 3 samples Connection: 3 0x01* 0x08 0x09 Node 0x03 [Audio Output] wcaps 0x405: Stereo Amp-Out Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0 Amp-Out vals: [0x00 0x00] Converter: stream=0, channel=0 Power states: D0 D3 Power: setting=D0, actual=D0 Node 0x04 [Audio Output] wcaps 0x405: Stereo Amp-Out Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0 Amp-Out vals: [0x00 0x00] Converter: stream=0, channel=0 Power states: D0 D3 Power: setting=D0, actual=D0 Node 0x05 [Audio Input] wcaps 0x10050b: Stereo Amp-In Amp-In caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1 Amp-In vals: [0xa7 0xa7] Converter: stream=0, channel=0 SDI-Select: 0 Power states: D0 D3 Power: setting=D0, actual=D0 Connection: 1 0x17 Node 0x06 [Audio Input] wcaps 0x10050b: Stereo Amp-In Amp-In caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1 Amp-In vals: [0xa7 0xa7] Converter: stream=0, channel=0 SDI-Select: 0 Power states: D0 D3 Power: setting=D0, actual=D0 Connection: 1 0x18 Node 0x07 [Audio Mixer] wcaps 0x200103: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x00 0x00] Connection: 2 0x22 0x21 Node 0x08 [Audio Input] wcaps 0x100501: Stereo Converter: stream=0, channel=0 SDI-Select: 0 Power states: D0 D3 Power: setting=D0, actual=D0 Connection: 1 0x0c Node 0x09 [Audio Input] wcaps 0x100501: Stereo Converter: stream=0, channel=0 SDI-Select: 0 Power states: D0 D3 Power: setting=D0, actual=D0 Connection: 1 0x0d Node 0x0a [Audio Mixer] wcaps 0x200103: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x00 0x00] Connection: 2 0x04 0x21 Node 0x0b [Audio Mixer] wcaps 0x200103: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x80 0x80] [0x80 0x80] Connection: 2 0x0f 0x21 Node 0x0c [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1 Amp-Out vals: [0xa7 0xa7] Connection: 5 0x14* 0x15 0x16 0x20 0x25 Node 0x0d [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1 Amp-Out vals: [0xa7 0xa7] Connection: 5 0x14* 0x15 0x16 0x20 0x25 Node 0x0e [Audio Selector] wcaps 0x300101: Stereo Connection: 2 0x03 0x04* Node 0x0f [Audio Selector] wcaps 0x300101: Stereo Connection: 2 0x03* 0x04 Node 0x10 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out Amp-Out caps: ofs=0x0f, nsteps=0x0f, stepsize=0x0b, mute=1 Amp-Out vals: [0x00] Node 0x11 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80] Pincap 0x0000001f: OUT HP Detect Trigger ImpSense Pin Default 0x0321401f: [Jack] HP Out at Ext Left Conn = 1/8, Color = Green DefAssociation = 0x1, Sequence = 0xf Pin-ctls: 0xc0: OUT HP Unsolicited: tag=00, enabled=0 Connection: 1 0x07 Node 0x12 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80] Pincap 0x0001001f: OUT HP EAPD Detect Trigger ImpSense EAPD 0x2: EAPD Pin Default 0x90170110: [Fixed] Speaker at Int N/A Conn = Analog, Color = Unknown DefAssociation = 0x1, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0xc0: OUT HP Unsolicited: tag=00, enabled=0 Power states: D0 D3 Power: setting=D0, actual=D0 Connection: 1 0x0a Node 0x13 [Pin Complex] wcaps 0x40050c: Mono Amp-Out Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1 Amp-Out vals: [0x00] Pincap 0x00010010: OUT EAPD EAPD 0x0: Pin Default 0x511301f0: [N/A] Speaker at Int Rear Conn = ATAPI, Color = Unknown DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x40: OUT Power states: D0 D3 Power: setting=D0, actual=D0 Connection: 1 0x1f Node 0x14 [Pin Complex] wcaps 0x40008b: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00] Pincap 0x00003727: IN Detect Trigger ImpSense Vref caps: HIZ 50 GRD 80 100 Pin Default 0x03a15021: [Jack] Mic at Ext Left Conn = 1/8, Color = Red DefAssociation = 0x2, Sequence = 0x1 Pin-ctls: 0x24: IN VREF_80 Unsolicited: tag=00, enabled=0 Node 0x15 [Pin Complex] wcaps 0x40008b: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00] Pincap 0x00003727: IN Detect Trigger ImpSense Vref caps: HIZ 50 GRD 80 100 Pin Default 0x90a7012e: [Fixed] Mic at Int N/A Conn = Analog, Color = Unknown DefAssociation = 0x2, Sequence = 0xe Misc = NO_PRESENCE Pin-ctls: 0x24: IN VREF_80 Unsolicited: tag=00, enabled=0 Node 0x16 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80] Pincap 0x00000037: IN OUT Detect Trigger ImpSense Pin Default 0x593301f0: [N/A] CD at Int ATAPI Conn = ATAPI, Color = Unknown DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x00: Unsolicited: tag=00, enabled=0 Connection: 1 0x0b Node 0x17 [Pin Complex] wcaps 0x400001: Stereo Pincap 0x00000020: IN Pin Default 0x55a601f0: [N/A] Mic at Int Top Conn = Digital, Color = Unknown DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x24: IN Node 0x18 [Pin Complex] wcaps 0x400001: Stereo Pincap 0x00000020: IN Pin Default 0x55a601f0: [N/A] Mic at Int Top Conn = Digital, Color = Unknown DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x00: Node 0x19 [Power Widget] wcaps 0x500500: Mono Power states: D0 D3 Power: setting=D0, actual=D0 Connection: 2 0x20 0x21 Node 0x1a [Pin Complex] wcaps 0x400000: Mono Pincap 0x00000020: IN Pin Default 0x91f311f0: [Fixed] Other at Int Rear Conn = ATAPI, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x20: IN Node 0x1b [Pin Complex] wcaps 0x40030d: Stereo Digital Amp-Out Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=1 Amp-Out vals: [0x27 0x27] Pincap 0x00000010: OUT Pin Default 0x214411a0: [Jack] SPDIF Out at Sep Rear Conn = RCA, Color = Black DefAssociation = 0xa, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x40: OUT Connection: 1 0x02 Node 0x1c [Pin Complex] wcaps 0x40018d: Stereo Amp-Out Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80] Pincap 0x00003737: IN OUT Detect Trigger ImpSense Vref caps: HIZ 50 GRD 80 100 Pin Default 0x21a15020: [Jack] Mic at Sep Rear Conn = 1/8, Color = Red DefAssociation = 0x2, Sequence = 0x0 Pin-ctls: 0x24: IN VREF_80 Unsolicited: tag=00, enabled=0 Connection: 1 0x24 Node 0x1d [Vendor Defined Widget] wcaps 0xf00100: Mono Connection: 25 0x07* 0x19 0x0a 0x0b 0x0c 0x0d 0x0e 0x0f 0x1a 0x1c 0x11 0x12 0x13 0x14 0x15 0x16 0x1e 0x1f 0x20 0x21 0x22 0x23 0x24 0x25 0x26 Node 0x1e [Audio Mixer] wcaps 0x200103: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x00 0x00] Connection: 2 0x0e 0x21 Node 0x1f [Audio Mixer] wcaps 0x200100: Mono Connection: 1 0x1e Node 0x20 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1 Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] Connection: 5 0x14 0x15 0x16 0x1a 0x25 Node 0x21 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1 Amp-Out vals: [0x1f 0x1f] Connection: 1 0x20 Node 0x22 [Audio Selector] wcaps 0x300101: Stereo Connection: 2 0x03 0x04* Node 0x23 [Audio Selector] wcaps 0x300101: Stereo Connection: 2 0x03* 0x04 Node 0x24 [Audio Mixer] wcaps 0x200103: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x80 0x80] [0x80 0x80] Connection: 2 0x23 0x21 Node 0x25 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-Out vals: [0x00 0x00] Connection: 1 0x1c Node 0x26 [Vendor Defined Widget] wcaps 0xf00100: Mono Connection: 3 0x14* 0x15 0x1c Intel Client info cur clients : 1 peak clients : 1 max clients : 192 Client 0 : "System" [Kernel] Port 0 : "Timer" (Rwe-) Port 1 : "Announce" (R-e-)
*** Bug 297455 has been marked as a duplicate of this bug. ***
(In reply to comment #3) > *** Bug 297455 has been marked as a duplicate of this bug. *** > My bad!! I have submitted accidentally a duplicate of this ticket http://bugs.gentoo.org/show_bug.cgi?id=297455 I have closed 297455 now. Please continue solving the issue HERE Thank You
On unrelated note: you may want to add snd_hrtimer. Well, playback and capture entries are missing. Are you sure correct HDA submodule gets loaded ? Perhaps new one was added and is messing up old load order.
(In reply to comment #5) > On unrelated note: you may want to add snd_hrtimer. > > Well, playback and capture entries are missing. > Are you sure correct HDA submodule gets loaded ? > Perhaps new one was added and is messing up old load order. > How would I check that ?
Well, for the moment the simplest way seem to be by comparing /proc/asound content when it's working and when it's not.
(In reply to comment #7) > Well, for the moment the simplest way seem to be > by comparing /proc/asound content when it's working > and when it's not. > yeah, there is no PCM playback and capture __INFO BELOW ON WORKING VERSOIN__ # cat cards devices hwdep modules pcm timers version 0 [Intel ]: HDA-Intel - HDA Intel HDA Intel at 0xfe220000 irq 33 0: [ 0] : control 1: : sequencer 4: [ 0- 0]: hardware dependent 16: [ 0- 0]: digital audio playback 17: [ 0- 1]: digital audio playback 24: [ 0- 0]: digital audio capture 33: : timer 00-00: HDA Codec 0 0 snd_hda_intel 00-00: AD198x Analog : AD198x Analog : playback 1 : capture 2 00-01: AD198x Digital : AD198x Digital : playback 1 G0: system timer : 1000.000us (10000000 ticks) P0-0-0: PCM playback 0-0-0 : SLAVE P0-0-1: PCM capture 0-0-1 : SLAVE P0-0-3: PCM capture 0-0-3 : SLAVE P0-1-0: PCM playback 0-1-0 : SLAVE Advanced Linux Sound Architecture Driver Version 1.0.21. Compiled on Nov 14 2009 for kernel 2.6.31-gentoo-r5 (SMP). Also in /proc/asound/Intel three pcm.. folders exist # ls codec#0 id pcm0c pcm0p pcm1p there is no pcm folders on not working version. So though its something with the kernel so I enabled ---Advanced Linux Sound Architecture I should not needed bu during compiling kernel gave me a warnings: WARNING: /lib/modules/2.6.32-gentoo/alsa-driver/pci/hda/snd-hda-intel.ko needs unknown symbol __snd_printk WARNING: /lib/modules/2.6.32-gentoo/alsa-driver/pci/hda/snd-hda-codec.ko needs unknown symbol snd_ctl_make_virtual_master WARNING: /lib/modules/2.6.32-gentoo/alsa-driver/pci/hda/snd-hda-codec.ko needs unknown symbol __snd_printk WARNING: /lib/modules/2.6.32-gentoo/alsa-driver/pci/hda/snd-hda-codec.ko needs unknown symbol _snd_ctl_add_slave WARNING: /lib/modules/2.6.32-gentoo/alsa-driver/pci/hda/snd-hda-codec-si3054.ko needs unknown symbol __snd_printk WARNING: /lib/modules/2.6.32-gentoo/alsa-driver/pci/hda/snd-hda-codec-intelhdmi.ko needs unknown symbol __snd_printk WARNING: /lib/modules/2.6.32-gentoo/alsa-driver/pci/hda/snd-hda-codec-idt.ko needs unknown symbol snd_jack_report WARNING: /lib/modules/2.6.32-gentoo/alsa-driver/pci/hda/snd-hda-codec-idt.ko needs unknown symbol __snd_printk WARNING: /lib/modules/2.6.32-gentoo/alsa-driver/pci/hda/snd-hda-codec-idt.ko needs unknown symbol snd_jack_new WARNING: /lib/modules/2.6.32-gentoo/alsa-driver/pci/hda/snd-hda-codec-conexant.ko needs unknown symbol snd_jack_report WARNING: /lib/modules/2.6.32-gentoo/alsa-driver/pci/hda/snd-hda-codec-conexant.ko needs unknown symbol snd_jack_new WARNING: /lib/modules/2.6.32-gentoo/alsa-driver/pci/hda/snd-hda-codec-cirrus.ko needs unknown symbol snd_ctl_make_virtual_master WARNING: /lib/modules/2.6.32-gentoo/alsa-driver/pci/hda/snd-hda-codec-cirrus.ko needs unknown symbol _snd_ctl_add_slave WARNING: /lib/modules/2.6.32-gentoo/alsa-driver/pci/hda/snd-hda-codec-analog.ko needs unknown symbol __snd_printk WARNING: /lib/modules/2.6.32-gentoo/alsa-driver/acore/seq/snd-seq.ko needs unknown symbol __snd_printk WARNING: /lib/modules/2.6.32-gentoo/alsa-driver/acore/seq/snd-seq-device.ko needs unknown symbol __snd_printk WARNING: /lib/modules/2.6.32-gentoo/alsa-driver/acore/snd-timer.ko needs unknown symbol __snd_printk WARNING: /lib/modules/2.6.32-gentoo/alsa-driver/acore/snd-pcm.ko needs unknown symbol __snd_printk WARNING: /lib/modules/2.6.32-gentoo/alsa-driver/acore/snd-hwdep.ko needs unknown symbol __snd_printk I will reboot anyway so post that just FYI
above did not work but I solved it now. Well, because gentoo wants to go away from alsa-driver package anyway, they will stop support it soon, so it was good idea to give it shot build in alsa into kernel. So what I did is uninstall alsa-driver package, then remove stuff from rm -rf /lib/modules/kernel/alsa-driver and follow the site http://www.gentoo.org/doc/en/alsa-guide.xml to enable driver from the kernel All works just fine now Thank you for your support.