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.
Hi, I have seen alsa drive some people crazy, and now it is my turn...
Here is the situation. Installed Slackware 10.2 with 2.4 kernel. I then compiled and installed my custom 2.6.14 kernel, configuring yes to alsa support, and my soundcard. Also installed udev and hotplug before I rebooted. Making sure udev is executable. So, after reboot everything is fine, except that there is no sound.
I run alsaconf, and it seems to find my soundcard. It writes some lines to modprobe.conf. Then I run alsamixer to tune the settings, and get "function snd_ctl_open failed for default: No such file or directory". And when starting KDE I get the message "Error while initializing the sound driver: device /dev/dsp can't be opened (No such file or directory)".
As far as I can see, the 2.6 kernel autoloads the correct modules for my soundcard. The problem seems to be that there are no sound devices created by udev in the /dev directory. So I then tried to create these devices by hand with help of the snddevices script found in the alsa driver source. Then I got no errormessages anymore, but still, no sound could be heard. And after a reboot, the devices were no longer there, of course. Back to square one again.
I have read a bit about reinstalling alsa-drivers, utils, and libraries after a custom kernel compile. However, what exactly does the alsa-drivers package do? Are they not just the alsa kernel modules for all soundcards? Which I configured and compiled in the kernel already. Look at my lsmod, the modules are there and loaded.
What do I need to do? This really drives me crazy...
Originally posted by Macky I have read a bit about reinstalling alsa-drivers, utils, and libraries after a custom kernel compile. However, what exactly does the alsa-drivers package do? Are they not just the alsa kernel modules for all soundcards? Which I configured and compiled in the kernel already. Look at my lsmod, the modules are there and loaded.
You are right. You don't need the alsa-driver package if you've compiled your own kernel.
The other two - alsa-utils and alsa-libs should be installed already.
Got the sound to work, suddenly. I manually executed "udevstart", and the neccessary sound devices got created. Sound worked perfectly in KDE after that. So I guess that for some reason, udev fails to recognize the alsa sound kernel modules at boot. Maybe because the autoloaded alsa modules are delayed in their initialization... and simply not finished by the time udev is executed?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.