Sound card not detected - Intel 82801G, ALSA 1.0.14
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
Sound card not detected - Intel 82801G, ALSA 1.0.14
Hey guys,
I can't seem to get sound working on this new Toshiba Satellite I just got. I've tried compiling ALSA and the Intel HD Audio driver directly in the kernel, and I've tried building ALSA from their site and following the directions at alsa-project.
root@satellite /proc/asound # cat version
Advanced Linux Sound Architecture Driver Version 1.0.14.
Compiled on Jun 11 2007 for kernel 2.6.21 (SMP).
Code:
root@satellite /proc/asound # uname -sr
Linux 2.6.21
Code:
root@satellite /proc/asound # cat cards
--- no soundcards ---
Currently, the only audio related thing I have compiled directly into the kernel is the soundcore module. The other modules I got from the ALSA site.
Please let me know if there is anything I can add to help.
EDIT: I've also tried running alsaconf as root. This utility detects my soundcard correctly, and it claims to execute the alsa init script and tells me my sound card is now ready to use. So I try executing alsamixer and receive the error:
Code:
alsamixer: function snd_ctl_open failed for default: No such device
I'm assuming this is because my card is still not being detected; considering /proc/asound/cards still shows "--- no soundcards ---"
With advice from the totally gnarly people in #alsa @ freenode, I was instructed to use the following option when loading my snd-hda-intel module:
Code:
modprobe snd-hda-intel model=3stack
This was advised by somebody familiar with the Satellite A135 models, which is what I have. The card is now being detected by alsamixer, and I see my card in /proc/asound/cards now:
Make sure the ALSA libraries matched the version of the drivers. If they do not, any program using ALSA will post the a similar error that states "function snd_ctl_open failed for default." When you compile and install the libraries, do not forget to run ldconfig. The utility ldconfig is always forgotten by novice users and it is recommended to be run before compiling and installing any program that requires dynamic libraries. However, if you use a program that outputs to OSS, sound should work, but the mixer may be muted and/or sound levels may not be set high enough to hear sound.
I strongly recommend that you use && to separate compiling commands on the same line instead of ;. The && just means do this command and if there is no errors, continue on the next command, but if there are errors, halt and do not continue. The ; just means do this command and continue on the next command even though there are errors.
Sound System in the kernel should not be compiled as built-in. It should be compiled as a module which it seems you set it that way. The Sound System support designates as soundcore as the module.
Also I forgot to mention about forcing the model for snd-hda. Since you already go it. If you want to know where they go the information, look in alsa-kernel/Documentation of the alsa-driver source code for a file Alsa-Configuration.txt. Then do a search for snd-hda.
For anyone with this same machine and running Slackware:
1.) Uninstall alsa-drivers-xxx, alsa-utils-xxx, and alsa-libs-xxx if you currently have them installed.
2.) Recompile kernel with soundcore as a module, and do not enable ALSA or OSS
3.) Install the latest packages according to the link above in my first post.
4.) When modprobe'ing snd-hda-intel, be sure to specify the model=3stack option
5.) Run alsaconf as root, and then adjust your mixer
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.