[12349] in Athena Bugs
problem with soundtool on Sun4m under 7.7G
daemon@ATHENA.MIT.EDU (mcmullan@MIT.EDU)
Tue Aug 9 21:00:21 1994
From: mcmullan@MIT.EDU
Date: Tue, 9 Aug 1994 21:00:15 +0500
To: bugs@MIT.EDU
Hi! I tried to run soundtool so that I could listen to some audio files and
have so far been unsuccessful. I was first told
/usr/demo/SOUND/bin/soundtool: "/dev/audioctl" (Permission denied)
So I su'd to root and tried again, which gave me the soundtool without any
complaints, but when I tried to listen to something, I was told
audioplay: error opening /dev/audio: Permission denied
audioconvert: Error writing to output file (stdout) (Broken pipe)
OK. root can't write to /dev/audio? Fascinating...what makes that possible?
> ls -l /dev/audio
lrwxrwxrwx 1 root root 12 Aug 9 01:02 /dev/audio -> /dev/sound/0
looks decent...
> ls -l /dev/sound/0
lrwxrwxrwx 1 root root 74 Aug 9 01:02 /dev/sound/0 -> ../../devices/iommu@0,10000000/sbus@0,10001000/audio@4,1300000:sound,audio
still OK, if a little twisted
(here, I got a little confused, and thought I had the answer, but I was wrong
so let me just present the last step in my looking, for completeness)
> ls -l /devices/iommu@0,10000000/sbus@0,10001000/audio@4,1300000:sound,audio
crw------- 1 root other 28, 0 May 3 16:25 /devices/iommu@0,10000000/sbus@0,10001000/audio@4,1300000:sound,audio
ah! actual devices, but it looks OK to me...help?
THanks,
Greg McMullan