Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 410583 - media-sound/alsa-utils-? - alsactl: cannot read control info '2,0,0,Front Playback Volume,0': Invalid Arguement
Summary: media-sound/alsa-utils-? - alsactl: cannot read control info '2,0,0,Front Pla...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo ALSA team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-02 15:57 UTC by Carter Young
Modified: 2013-05-02 00:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carter Young 2012-04-02 15:57:08 UTC
Steps to Reproduce:
Startup/Shutdown - During either ALSA will not store or restore mixer levels.  
#dmesg | grep hda
snd_hda_intel 0000:00:05.0: PCI INT B -> Link[AAZA] -> GSI 22 (level, low) -> IRQ 22
hda_intel: Disabling MSI
snd_hda_intel 0000:00:05.0: setting latency timer to 64
hda_codec: num_steps = 0 for NID=0xc (ctl = Front Playback Volume)
hda_codec: num_steps = 0 for NID=0xc (ctl = Front Playback Volume)
hda_codec: num_steps = 0 for NID=0xc (ctl = Front Playback Volume)
hda_codec: num_steps = 0 for NID=0xc (ctl = Front Playback Volume)
hda_codec: num_steps = 0 for NID=0xc (ctl = Front Playback Volume)
hda_codec: num_steps = 0 for NID=0xd (ctl = Surround Playback Volume)
hda_codec: num_steps = 0 for NID=0xe (ctl = Center Playback Volume)
hda_codec: num_steps = 0 for NID=0xe (ctl = LFE Playback Volume)
hda_codec: num_steps = 0 for NID=0xc (ctl = Front Playback Volume)
hda_codec: num_steps = 0 for NID=0xc (ctl = Front Playback Volume)
hda_codec: num_steps = 0 for NID=0xd (ctl = Surround Playback Volume)
hda_codec: num_steps = 0 for NID=0xe (ctl = Center Playback Volume)
hda_codec: num_steps = 0 for NID=0xe (ctl = LFE Playback Volume)
hda_codec: num_steps = 0 for NID=0xc (ctl = Front Playback Volume)
hda_codec: num_steps = 0 for NID=0xc (ctl = Front Playback Volume)
hda_codec: num_steps = 0 for NID=0xc (ctl = Front Playback Volume)
hda_codec: num_steps = 0 for NID=0xc (ctl = Front Playback Volume)
hda_codec: num_steps = 0 for NID=0xc (ctl = Front Playback Volume)

After bootup, running alsactl store shows:
alsactl: cannot read control info '2,0,0,Front Playback Volume,0': Invalid Arguement, and as a side note sound DOES WORK when KDE boots

Configuration:
Using in-kernel alsa drivers, kernel version: gentoo-sources-3.2.1-r2, compiled with genkernel.

#lsmod | grep hda
snd_hda_codec_realtek   181684  1 
snd_hda_intel          19856  0 
snd_hda_codec          57380  2 snd_hda_codec_realtek,snd_hda_intel
snd_pcm                56361  3 snd_hda_intel,snd_hda_codec,snd_usb_audio
snd_hwdep               5046  2 snd_hda_codec,snd_usb_audio
snd_page_alloc          5977  2 snd_hda_intel,snd_pcm
snd                    47299  12 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_usb_audio,snd_pcm,snd_hwdep,snd_usbmidi_lib,snd_rawmidi,snd_timer,snd_seq_device.

#lspci | grep Audio
00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2)

I cannot use alsaconf to set this up, as this device is still newer than what alsaconf recognizes.  Googling led me to this setup:

/etc/modprobe.d/alsa.conf
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-hda-intel 
options hda-intel model="generic"

# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0

Notice model="generic"

Please advise as this error was not happening in the 2.6 series kernels, and as always, if you need more info, or if this needs to go upstream let me know.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2013-05-02 00:47:40 UTC
(In reply to comment #0)
> I cannot use alsaconf to set this up, as this device is still newer than
> what alsaconf recognizes.  Googling led me to this setup:

alsaconf is completely broken with sys-apps/kmod (and current >=sys-fs/udev-200)
it's no longer installed with 1.0.27
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2013-05-02 00:49:08 UTC
please retry with newer kernel and ALSA 1.0.27
try removing that 'model="generic"' with them