permissions
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 15 lines · Hamish Moffatt
Quoted 5 lines · richard
Quoted 5 lines
Still, the error "Device or resource busy" means that something is using the device, not that you don't have permission to access it (which would just be "Permission denied.") As root you might try using lsof to find out which program is using it
Quoted 7 lines
Quoted 3 lines
eg "lsof
/dev/dspI let gmfsk fail and produce the error message then ran the following:- [root@gb7tf Desktop]# lsof
/dev/dsp
[root@gb7tf Desktop]# lsof|grep/dev/dsp
Quoted 6 lines
Maybe something is using the underlying ALSA device which is blocking
/dev/dsp. lsof | grep/dev/snd?Hamish
Its only the mixer app Hamishmixer_app 6382 richard-g8jvm 17u CHR 116,0 7895 /dev/snd/controlC0
I've also tried recompiling gmfsk as me and not as root -rwxr-xr-x 1 root root 1283122 Oct 31 09:06 gmfsk* -rwxr-xr-x 1 root root 1453277 Oct 23 12:17 gpredict* -rwxr-xr-x 1 root root 822682 Oct 20 14:46 xlog*
Added the line that Al suggested in rc.local chmod 666 /dev/dsp /dev/audio /dev/mixer /dev/cdrom
no immediate effect, but worked after rebooting, so it looks like the permissions
are only read at startup on the above files, which is a bit strange as normally you can change file permissions on the hoof and take immediate effect.
Must be some Mandriva security measure that been added in MDV2007.
Thanks for all the help
73 Richard