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.
After setting my system sounds to start when Linux starts up, I get the following message when trying to use Rhythmbox: "OSS device "/dev/dsp" is already in use by another program" and "Could not pause playback". What can I do to fix this?
And also, when I restart my computer, I have to go and reselect the volume. It goes down to nothing everytime I restart. Any ideas?
If you don't have it installed, then install module-assistant. It makes it very easy to build kernel modules and will turn them into .deb files for you to install with dpkg. You can use module-assistant to build alsa-source from the command line; it will do a lot of the dirty work for you.
You need Debian's kernel headers to build modules. The Vanilla ones (i.e. from kernel.org) will not work without Debian patches applied. To download already-patched kernel headers, you may need to modify your /etc/apt/sources.list file and add a deb entry for the testing branch to get them. Otherwise, you will have to download Debian's patches for that particular kernel and patch a Vanilla kernel yourself.
You need Debian's kernel headers to build modules. The Vanilla ones (i.e. from kernel.org) will not work without Debian patches applied. To download already-patched kernel headers, you may need to modify your /etc/apt/sources.list file and add a deb entry for the testing branch to get them. Otherwise, you will have to download Debian's patches for that particular kernel and patch a Vanilla kernel yourself.
I did some more research on the unconfigured kernel. Turns out that this is a bug with Module-Assistant that was corrected in a newer version. I installed the never version and now it works. Got the module for ALSA compiled and installed too.
Now, even though ALSA is installed now, I still have the same problem. When I go to Applications/Desktop Preferences/Advanced/Multimedia System Selector there is only the option to choose OSS. Where can I change to ALSA?
I did some more research on the unconfigured kernel. Turns out that this is a bug with Module-Assistant that was corrected in a newer version. I installed the never version and now it works. Got the module for ALSA compiled and installed too.
Okay, that works too
Now you need to run "apt-get install alsa-base alsa-tools alsa-oss alsa-firmware-loaders alsa-utils" as root. After that, run "alsaconf" as root, which will configure alsa to work with your sound card. You may end up losing some OSS stuff--this should be fine.
I did what you said. When I start my computer now the volume is as it should be, but I still can't play music. When I go to Applications/Desktop Preferences/Advanced/Multimedia System Selector there is still only the option to choose OSS.
To verify that ALSA is indeed working, open up a terminal and run "alsamixer" to adjust your volume if necessary. Then run "speaker-test." If you hear static noise, then ALSA is working.
What GUI are you using? I can't find "Desktop Preferneces/Advanced/Multimedia System Selector" in either GNOME or KDE.
I don't know much about how Debian handles audio, but you could try adding yourself to the audio group (add your user name to the audio entry in /etc/group). Also if you don't have a .asoundrc file you might consider creating one (the alsa homepage gives information about how to do this).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.