device /dev/dsp can't be opened. (Permission denied)
William Case
billlinux at rogers.com
Fri Jul 22 19:08:50 UTC 2005
On Fri, 2005-07-22 at 13:28 -0400, fedora-list-request at redhat.com wrote:
> On Fri, 2005-07-22 at 12:35 -0400, William Case wrote:
> > I am having the same type problem.
> > On Fri, 2005-07-22 at 12:00 -0400,
> fedora-list-request at redhat.com wrote:
> >
> > > well, as the message sais it's a problem of permisions
> > > you need to chmod 666 /dev/dsp and chmod 666 /dev/mixer
> > >
> >
> > Every time I make the above changes, something changes it back as
> soon
> > as I log out and in again.
> >
> > Bugzilla suggests changes to asound.conf
> >
> > pcm.!default { type hw card 0 }
> > ctl.!default { type hw card 0 }
> >
> > And it keeps getting changed back, even when I don't use
> system-config-sound
> >
> > I have searched for the controlling file or program and can't find
> out
> > why this is happening.
> >
> Could something have happened to /etc/udev/permissions.d/50-
> udev.permissions?
>
> My entries for sound are (FC3):
>
> # audio devices
> dsp*:root:root:0660
> audio*:root:root:0660
> midi*:root:root:0660
> mixer*:root:root:0660
> sequencer*:root:root:0660
> sound/*:root:root:0660
> snd/*:root:root:0660
> beep:root:root:0660
> admm*:root:root:0660
> adsp*:root:root:0660
> aload*:root:root:0660
> amidi*:root:root:0660
> dmfm*:root:root:0660
> dmmidi*:root:root:0660
> sndstat:root:root:0660
>
> Bob...
In FC4, /etc/udev/permissions.d/50-udev.permissions doesn't seem to
exist.
In its place is, /etc/udev/rules.d/50-udev.rules. The sound
configuration is:
# audio devices
KERNEL=="dsp*", MODE="0660"
KERNEL=="audio*", MODE="0660"
KERNEL=="midi*", MODE="0660"
KERNEL=="mixer*", MODE="0660"
KERNEL=="sequencer*", MODE="0660"
KERNEL=="sound/*", MODE="0660"
KERNEL=="snd/*", MODE="0660"
KERNEL=="beep", MODE="0660"
KERNEL=="admm*", MODE="0660"
KERNEL=="adsp*", MODE="0660"
KERNEL=="aload*", MODE="0660"
KERNEL=="amidi*", MODE="0660"
KERNEL=="dmfm*", MODE="0660"
KERNEL=="dmmidi*", MODE="0660"
KERNEL=="sndstat", MODE="0660"
However, bill]$ ls -l /dev/audio /dev/dsp /dev/mixer
crw------- 1 bill root 14, 4 Jul 22 04:58 /dev/audio
crw------- 1 bill root 14, 3 Jul 22 04:58 /dev/dsp
crw------- 1 bill root 14, 0 Jul 22 04:58 /dev/mixer
and, root]$ ls -l /dev/audio /dev/dsp /dev/mixer
rw------- 1 root root 14, 4 Jul 22 04:58 /dev/audio
crw------- 1 root root 14, 3 Jul 22 04:58 /dev/dsp
crw------- 1 root root 14, 0 Jul 22 04:58 /dev/mixer
Regards Bill
More information about the fedora-list
mailing list