Re: cannot open /dev/dsp (permission denied)??
On Wednesday 27 November 2002 09:51, D.H wrote:
> I don't know if it is appropriate to send this email here.
> Every time I start the KDE environment, it tells me that "cannot open
> /dev/dsp(permission denied)", so I login with root account and give all the
> users read permission to that file, but this time, it tells me that "cannot
> not open /dev/dsp(device not exists)", but I am sure it exists. Anyone can
> help me ? thanks!
1) You first have to load the correct module for your audio card.
2) type ls -l /dev/dsp; you should see
crw-rw---- 1 root audio 14, 3 Mar 14 2002 /dev/dsp
if not
mknod /dev/dsp c 14 3
chown root:audio /dev/dsp
chmod u,g=rw,o= /dev/dsp
3) You have to had the read and write permission to this file. Add yourself
to the audio group (by editing /etc/group)
Reply to: