I'm having a problem with alsa that I cant seem to work out.
Normal users on my system cannot access /dev/dsp.
Using aplay works fine for all users, but using the play command gives me a permissions error.
17:05:[EMAIL PROTECTED]:~$play $KDEDIR/share/sounds/pop.wav
sox: Can't open output file '/dev/dsp': Permission denied
Permissions on the devices look a bit weird. For some reason, my normal user appears to own the alsa devices: 17:06:[EMAIL PROTECTED]:/dev$ls -l /dev/sound total 0 crw------- 1 piggie audio 14, 14 Jan 1 1970 admmidi crw------- 1 piggie audio 14, 12 Jan 1 1970 adsp crw------- 1 piggie audio 14, 13 Jan 1 1970 amidi crw------- 1 piggie audio 14, 4 Jan 1 1970 audio crw------- 1 piggie audio 14, 9 Jan 1 1970 dmmidi crw------- 1 piggie audio 14, 3 Jan 1 1970 dsp crw------- 1 piggie audio 14, 2 Jan 1 1970 midi crw------- 1 piggie audio 14, 0 Jan 1 1970 mixer crw------- 1 piggie audio 14, 1 Jan 1 1970 sequencer crw------- 1 piggie audio 14, 8 Jan 1 1970 sequencer2
However, my normal user has no access to the devices: 17:04:[EMAIL PROTECTED]:~$ls -l /dev/sound ls: /dev/sound/sequencer: Permission denied ls: /dev/sound/sequencer2: Permission denied ls: /dev/sound/midi: Permission denied ls: /dev/sound/dmmidi: Permission denied ls: /dev/sound/amidi: Permission denied ls: /dev/sound/admmidi: Permission denied ls: /dev/sound/mixer: Permission denied ls: /dev/sound/dsp: Permission denied ls: /dev/sound/audio: Permission denied ls: /dev/sound/adsp: Permission denied
My devfsd.conf file shows a different set of permissions: # ALSA/OSS stuff # Comment/change these if you want to change the permissions on # the audio devices LOOKUP snd MODLOAD ACTION snd LOOKUP dsp MODLOAD LOOKUP mixer MODLOAD LOOKUP midi MODLOAD REGISTER sound/.* PERMISSIONS root.audio 660 REGISTER snd/.* PERMISSIONS root.audio 660
I'm lost as to whats going on now. I've tried upgrading to kernel 2.6 and using the built in alsa drivers with the same result.
Any help is appreciated.
-----------------------------------------------------------------------------------------------------------------
Speak when you are angry--and you will make the best speech you'll ever regret.
Laurence J. Peter (1919 - 1988)
_________________________________________________________________
Hot chart ringtones and polyphonics. Go to http://ninemsn.com.au/mobilemania/default.asp
------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user