LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-30-2003, 03:02 PM   #1
zhynn
LQ Newbie
 
Registered: Jun 2003
Posts: 2

Rep: Reputation: 0
change default audio device (debian woody)


After installing Debian, i have discovered that the audio device lives in /dev/audio and nigh every app is looking for it in /dev/dsp. how do i change this? or rather, how do i make this better?

thanks,

pol
 
Old 07-01-2003, 06:56 AM   #2
Salz
LQ Newbie
 
Registered: Jun 2003
Distribution: Debian
Posts: 23

Rep: Reputation: 15
There's no need to change this, Linux supports audio output both through /dev/audio and /dev/dsp. The only difference between them are the default settings of these devices, which every audio app will change to its needs. It only matters if you cat a file to the device for testing purposes. So if /dev/audio works, /dev/dsp does, too.
 
Old 07-04-2003, 01:07 PM   #3
zhynn
LQ Newbie
 
Registered: Jun 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Solved, but not the way i expected

That was not entirely the case. cat'ing to /dev/audio was successful, but not to /dev/dsp. i explained the problem to a friend and he advised me to delete /dev/dsp and replace it with a sym link to /dev/audio. i did that and now everything works fine. will this fix cause more problems than it solves?

thanks,

zhynn
 
Old 07-04-2003, 04:35 PM   #4
Salz
LQ Newbie
 
Registered: Jun 2003
Distribution: Debian
Posts: 23

Rep: Reputation: 15
Don't know. catting to /dev/dsp does not work, you are expected to set some parameters via ioctl() first. Every audio app does that, so that is fine.
I suggest you remove the symlink, cd into /dev and run
Code:
MAKEDEV audio
 
  


Reply



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
How to pipe the default audio h/w device directly to hw:0,2 Erin Linux - Software 3 04-16-2005 11:55 AM
SCSI Tape - No such device- debian woody kimc Linux - Hardware 3 09-20-2004 08:26 AM
How to switch to kde instead of gnome as default. Debian woody pluus_x Linux - Newbie 2 05-12-2004 05:36 PM
How to change default MIDI device? redss Linux - General 0 11-25-2003 09:25 PM
another "device /dev/dsp can't be opened (device does not exist)" in DEBIAN, woody Kroppus Linux - Hardware 12 11-13-2003 12:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:09 AM.

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
Open Source Consulting | Domain Registration