SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I installed an Asus P7P55D PRO motherboard and now I can't mute Master channel with alsamixer, even not using KDE mixer. Probably ALSA doesn't support properly, despite I upgraded alsa libraries (alsa-lib-1.0.21a). The key to increase or decrease the volume through keyboard works fine, but the key for mute is not working.
These are the alsamixer values:
Card: HDA Intel
Chip: VIA ID 444
I also used alsaconf command and it detects a snd-hda-intel board. I have a G15 keyboard and I even tried to make a shortcut with KDE mixer, but it doesn't work. Is there any way to solve it or have I to wait for a new version of alsa?
I use Slackware64 13.0 with kernel 2.6.32.7.
Thanks,
Scorpion77
Last edited by scorpion77; 02-17-2010 at 06:03 AM.
If you're still having this problem, please try the bold command below, and paste in here the comparable 6 lines or so from the beginning of the output:
NOTE: The file *should* be the same on your system; but if you get a file not found, please look in /proc and follow the folders in /asound until you locate the codec# file, and provide the contents using the `cat` command as shown above.
If you're still having this problem, please try the bold command below, and paste in here the comparable 6 lines or so from the beginning of the output:
NOTE: The file *should* be the same on your system; but if you get a file not found, please look in /proc and follow the folders in /asound until you locate the codec# file, and provide the contents using the `cat` command as shown above.
Sasha
This is the output:
Code:
Codec: VIA ID 4441
Address: 0
Function Id: 0x1
Vendor Id: 0x11064441
Subsystem Id: 0x104383cf
Revision Id: 0x100100
This codec is a VT1828S. The driver doesn't yet know about this chip and therefore cannot display its name.
Try a newer kernel (currently 2.6.33-rc8).
Note: It is entirely possible that this codec does not actually have a master mute control.
Luckily I can control the volume but it's annoying that I can't use mute.
Anyway this audio chip is capable to set the mute, because with Windows 7 is working.
definitely try a newer kernel, and if you're feeling daring, grab the ALSA libs from git if you want to try a REALLY new version.
From what I can tell from browsing both the ALSA git tree, and the Linus kernel git tree, is that your audio device is supported in the next kernel and/or alsa releases, using (as cladisch mentioned) the vt1828S codec (which actually appears to point to the already-existing code for the vt1718S codec). It also has mute functionality.
One thing which I cannot figure out though, is whether you might benefit from specifying a particular MODEL to the snd-hda-intel driver when it loads. With my own sound chip, reading the kernel's realtek-patch.c file, I could easily figure out what model= argument would work for my realtek device (I subsequently sent a couple patches to the kernel for my motherboard). But in your case, with a VIA device, it appears to me that the via-patch.c file is constructed differently, making it hard for me to figure out what model= arguments are relevant (if any??).
You might like to have a look at the possibilities for models, here: http://www.kernel.org/doc/Documentat...dio-Models.txt
and maybe try a few yourself to see if any makes a difference. NOTE that this depends on whether the kernel you now run, is new enough (and the alsa libs too) to have this particular codec support in it; something tells me it is not, but I haven't checked the exact date on your kernel vs the git kernel vs your alsa libs vs the git alsa, nor have I checked your exact kernel version's tree for the necessary codec support. Of course, specifying a MODEL will do no good if the codec support is not yet there
ALso NOTE: The /Documentation folder inside your kernel source folder is the most reliable place to read specifics that apply to your exact kernel.
For specifying models when the driver loads, use a file in /etc/modprobe.d/ called alsa.conf or sound.conf or whatever you like; it would contain something like this (I highlighted the important stuff):
Code:
alias char-major-116 snd
alias char-major-14 soundcore
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias snd-card-0 snd-hda-intelalias sound-slot-0 snd-hda-inteloptions snd_hda_intel msi=1 model=6stack-dig
For specifying models when the driver loads, use a file in /etc/modprobe.d/ called alsa.conf or sound.conf or whatever you like; it would contain something like this (I highlighted the important stuff):
Code:
alias char-major-116 snd
alias char-major-14 soundcore
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias snd-card-0 snd-hda-intelalias sound-slot-0 snd-hda-inteloptions snd_hda_intel msi=1 model=6stack-dig
Best of luck,
Sasha
This is the content of /etc/modprobe.d/sound:
Code:
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
I think I will wait for a full support of future kernels. I can recompile a kernel, but adding patches is a bit more complicated.
No need to add patches -- the "model=" line will, in theory, accomplish the same thing as the patch, provided the codec information for your sound device is existing already in the kernel and alsa software. I no longer need to use the "model=" line, because since I patched the kernel, my sound device is identified correctly by the kernel during bootup, automatically, and configured properly.
The "model=" line simply tells the sound driver that: even though it does not recognize your sound device completely right away, it is the same as <some other device> that it does know about, so treat it like that one.
So, if you wanted to "test" the support for your sound in upcoming kernel release, download a super-fresh kernel source, like a -33-rc kernel, or a kernel from Git, and just build it as you normally would.
Or.... Just wait till 2.6.33 is officially released and try it then.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.