Losing sound in linux

Hyperblaze

Lifer
May 31, 2001
10,027
1
81
I'm a bit confused as to what is happening here....

I'm using Arch Linux and recently did a system upgrade (upgrading a bunch of packages)

Whenever I login to KDE I get this error message.

Sound server informational message:
Error while initializing the sound driver:
device: default can't be opened for playback (Permission denied)
The sound server will continue, using the null output device.

I go look in /dev/sound and see the following
[root@laptop sound]# ls -l
total 0
crw-rw---- 1 root audio 14, 12 1969-12-31 16:00 adsp
crw-rw---- 1 root audio 14, 4 1969-12-31 16:00 audio
crw-rw---- 1 root audio 14, 20 1969-12-31 16:00 audio1
crw-rw---- 1 root audio 14, 3 1969-12-31 16:00 dsp
crw-rw---- 1 root audio 14, 19 1969-12-31 16:00 dsp1
crw-rw---- 1 root audio 14, 0 1969-12-31 16:00 mixer
crw-rw---- 1 root audio 14, 16 1969-12-31 16:00 mixer1
crw-rw---- 1 root audio 14, 1 1969-12-31 16:00 sequencer
crw-rw---- 1 root audio 14, 8 1969-12-31 16:00 sequencer2
[root@laptop sound]# pwd
/dev/sound

If I change the permission to 777 (ie, chmod 777 *) I get my sound back in kde.

However, when I reboot, permission to back to the above. Any ideas?
 

Zelmo3

Senior member
Dec 24, 2003
772
0
0
I don't know how to make the permissions stick, but you should be able to make yourself part of the audio group.
 

Hyperblaze

Lifer
May 31, 2001
10,027
1
81
Originally posted by: Zelmo3
I don't know how to make the permissions stick, but you should be able to make yourself part of the audio group.

thanks!

I was thinking the same but was hoping someone was going to confirm it.

It works now =)
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
Originally posted by: StuckMojo
is this debian? they do alot of security stuff like that

It's Arch.

On more modern style desktops they are using udev and friends to change permissions automaticly on certain devices.