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 recently have been messing around with my memory in my PC, I finally got that straight and upgraded... Now my problem is that when I started (startx) in root, I got an Error that said:
[AO OSS] audio_setup: can't open audio
device /dev/dsp: No such file or directory.
what do you think has happened?.. it can't be the memory, because even before I upgraded it has been doing this.
(If there is an exact thread dealing with this problem, please direct me.)(maybe I overlooked it)
Maybe run alsaconf as root ?
Why do you startx as root and not as regular user ?
What is your X session, KDE ? if yes, go to control center / sound and set sound to alsa, not oss
Maybe run alsaconf as root ?
Why do you startx as root and not as regular user ?
What is your X session, KDE ? if yes, go to control center / sound and set sound to alsa, not oss
I normally use the user account, not Root. I run KDE, I did what u told me.. Ill run ALSA agin.
I only asked about compiling kernel if you had needed to enable large memory support or something. It's not something you would need to do when installing slack unless you have >4GB ram.
I only asked about compiling kernel if you had needed to enable large memory support or something. It's not something you would need to do when installing slack unless you have >4GB ram.
I'm fairly sure that /dev/dsp is generated by loading alsa oss emulation module. Thats why I suggested modprobing alsa-oss.
If you haven't tried it yet or don't know how, open a terminal, su to root, type command 'modprobe alsa-oss'.
If you get no error try ls /dev/dsp again. If it has worked then you may need to add the command to /etc/rc.d/rc.modules with full path: '/sbin/modprobe alsa-oss'.
There is no module named "alsa-oss", the script /etc/rc.d/rc.alsa should load the required modules at boot (if it executable of course)
Sample from rc.alsa:
Code:
...
load_alsa_oss_modules() {
if ! cat /proc/modules | tr _ - | grep -wq snd-pcm-oss ; then
echo "Loading OSS compatibility modules for ALSA."
modprobe snd-pcm-oss
modprobe snd-seq-oss
modprobe snd-mixer-oss
fi
}
...
There is no module named "alsa-oss", the script /etc/rc.d/rc.alsa should load the required modules at boot (if it executable of course)
Sample from rc.alsa:
Code:
...
load_alsa_oss_modules() {
if ! cat /proc/modules | tr _ - | grep -wq snd-pcm-oss ; then
echo "Loading OSS compatibility modules for ALSA."
modprobe snd-pcm-oss
modprobe snd-seq-oss
modprobe snd-mixer-oss
fi
}
...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.