Re: [linux-audio-user] sound output for oss compatibility using alsa drivers

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-user] sound output for oss compatibility using alsa drivers
From: Maarten de Boer (mdeboer_AT_iua.upf.es)
Date: Thu Apr 04 2002 - 11:18:03 EEST


> > This is probably a real newbie question. I've been
> > using mostly native alsa apps for sound output, but the few that I've used
> > that require OSS (/dev/dsp) output, I've found that I must be root to get
> > to work. Would I be mistaken to assume that it's because my /dev/dsp is
> > simlinked to /dev/dsp0 which is:
> >
> > crw------- 1 root root 14, 3 Mar 15 08:09 /dev/dsp0
>
> Bingo.
> Change the permissions.
> You don't need 777, 666 would be fine, or if all you want is
> output, 644.
>
> --PW

Another solution, which is a lot more clean, is to use a group, let's
say audio, to which you add all the users that should have access, and
change the permissions to

chgrp audio /dev/dsp0
chmod g+rw /dev/dsp0

Maarten


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Thu Apr 04 2002 - 11:06:37 EEST