[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cannot open /dev/dsp (permission denied)??



Now I have solved the problem.
Because /dev/dsp belongs to the 'sound' group which doesn't include the user I used to login, so I cannot access that file. After adding my user to the 'sound' group,everything is ok!
----- Original Message ----- 
From: "Olivier Esser" <ol.esser@belgacom.net>
To: "D.H" <dh@bisp.com>; "Debian-user" <debian-user@lists.debian.org>
Sent: Wednesday, November 27, 2002 6:12 PM
Subject: 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: