Sorry it's been a while, I've been compiling a lot of other software (Xorg & kde), but I was trying to fix the sound stuff last night, and I got it to load the modules but now it says it can't open /dev/dsp permission denied, what do I need to do to fix the permissions? Thanks

On 6/12/06, Dan Nicholson <[EMAIL PROTECTED]> wrote:
On 6/12/06, Nik Davis <[EMAIL PROTECTED]> wrote:
> I've installed the developmental LFS on my Presario laptop, and I've gotten
> everything to work great, except for my sound support.  My host system on
> the laptop is Mandrake 10.0, and it used ALSA with the snd-ali5451 module
> which works perfectly.  I've tried installing ALSA via the BLFS instructions
> and the ALSA documentation, but I still get the "Can't open /dev/dsp"
> message whenever I try to play a music file.

The problem is that you need the OSS emulation if you want access to
/dev/dsp.  This can be accomplished by loading the snd-pcm-oss module.
You can throw that in /etc/sysconfig/modules.conf or you can make a
new install rule in /etc/modprobe.conf.  This is from LFS, the only
thing you need to change is the modprobe needs the full path,
/sbin/modprobe.

/etc/modprobe.conf:
install snd-pcm /sbin/modprobe -i snd-pcm; /sbin/modprobe snd-pcm-oss

Read here for more details:

http://www.linuxfromscratch.org/lfs/view/development/chapter07/udev.html

Now, if udev is set up correctly, /dev/dsp should get set up with
proper permissions (664 with group audio) at boot time.  And off you
go.  I just did this myself the other day.  However, be aware that
most modern sound applications can access alsa directly and won't need
the old OSS layer accessed at /dev/dsp.  The only thing I needed it
for was the stupid flash plugin for Firefox.

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to