LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 10-28-2003, 10:57 PM   #1
Travis86
Member
 
Registered: Dec 2002
Location: The land of GMT -6
Distribution: OS X, PS2 Linux, Ubuntu, IRIX 6.5
Posts: 399

Rep: Reputation: 31
"permission denied" when I try to send raw data to the sound device.


Ultimately, I'd like to use the fiber optic sound output from my Playstation 2 as the outgoing network cable. I figure it might be a little strange, but with the right bunch of adapters, it ought to be really fast. Right now I'm trying to route data to the sound device from the command line. I don't really care if it sounds scratchy and harsh. I just want the data to be sent to the speakers. I looked in /dev and found "audio" and "audio1", then I tried echo "hello" > /dev/audio , but it said permission was denied. I changed the permissions, but it still wouldn't work.

Is there some way I can do this?
 
Old 10-29-2003, 12:46 AM   #2
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 45
you werent allowed to do that as root either?
and u werent able to change the permissions of it as root either?
 
Old 10-29-2003, 10:08 AM   #3
Travis86
Member
 
Registered: Dec 2002
Location: The land of GMT -6
Distribution: OS X, PS2 Linux, Ubuntu, IRIX 6.5
Posts: 399

Original Poster
Rep: Reputation: 31
I tried 'sudo "hello" > /dev/audio' and it said that the device didn't exist. I don't know why I had to use sudo, but I looked the documentation and they said that the sound device was /dev/dsp . "cat mysqlbug > /dev/dsp" makes a lot of racket.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 05:50 AM
Submount, "permission denied" when writing to floppy as normal user DaneM Linux - Software 5 02-22-2006 03:05 PM
Unable to send email "Relaying denied" ejain Linux - Software 3 05-30-2005 10:31 AM
Unable to send email "Relaying denied" ejain Linux - Software 2 05-21-2005 09:02 AM
I get a "relaying denied" message when I try to send mail from a remote computer robmainella Linux - Software 4 09-09-2003 11:39 AM


All times are GMT -5. The time now is 06:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration