PDA

View Full Version : Permission denied even with sudo for audio fix


Azure.Rise
March 14th, 2009, 02:26 AM
Usually for Wolfenstein Enemy Territory I could use

echo "et.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss

to fix the audio at least for the current session when I was getting no sound. Now when I try it I get permission denied even when using sudo. I've never tried install ET on Ubuntu 8.10, but I'm pretty sure this worked in 8.04.

sahabcse
March 14th, 2009, 02:28 AM
paste the command o/p

ls -al /proc/asound/card0/pcm0p/oss

Azure.Rise
March 14th, 2009, 02:31 AM
-rw-r--r-- 1 root root 0 2009-03-13 23:31 /proc/asound/card0/pcm0p/oss

sahabcse
March 14th, 2009, 02:39 AM
hi

Login to the root user

#sudo bash

Then enter

echo "et.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss

Azure.Rise
March 14th, 2009, 02:49 AM
Thanks, that worked! Also it looks like this is permanent and not just for the session right?

sahabcse
March 14th, 2009, 02:54 AM
Yes it is permanent:D

Azure.Rise
March 14th, 2009, 03:32 PM
Well, I logged out and back in and the audio still worked. But I turned my computer back on this morning and the audio is gone. Running the command again makes the audio work though. How do I make it permanent?