[techtalk] /dev/dsp problem
nguyend7 at cse.msu.edu
Sun Feb 13 01:45:48 EST 2000
On Sat, Feb 12, 2000 at 02:10:17PM -0600, JLG wrote:
> After rebuilding kernel( 2.2.1) & MAKEDEV'ing audio i was
> a psyched girl when cd's played fine. After confirming that a
> standard audio cd worked, I
> popped in a CDR with some MP3's on it-fired up mpg123 and got the
> following message:
> Can't open /dev/dsp!
Either you don't have permissions to write to /dev/dsp, or you don't
have sound installed properly.
> I also tried 'saytime', which is just supposed to recite the time aloud
> and got the following message:
> opening /dev/audio: Operation not supported by device
The way I like to test is to cat an au file to /dev/audio. If your
sound is configured correctly it will work.
> I tried both as root and with a regular user account with no
This means that your sound is not configured properly
> I am sure there is something i am overlooking that must be a 'Debian
> thing'. Unfortunately there seems to be a problem with the CGI that
> searches their mailing list arc's and sound-howto was no help.
Not a Debian thing, most likely how you configure your kernel.
> If anyone has any suggestions, I'd appreciate it. Let
> me know if there is any additional information i can provide.
Oh some more info that might help diagnose the problem.
1. Type of soundcard
2. Was the sound driver built as a module or part of the kernel
3. Are you sure the configuration is correct
a. If it's part of the kernel, that was done during configuring
b. If it's a module, it's a option to sent to the module
4. Check your syslog for error messages about char-major-14
5. Do you have the kernel module autoloader (kmod for 2.2.x)?
a. If not then you have to load the module yourself
The following is my config in modules.conf for my sb16
alias char-major-14 sb
options sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330
options sound dmabuf=1
Dan Nguyen | It is with true love as it is with ghosts;
nguyend7 at msu.edu | everyone talks of it, but few have seen it.
dnn at debian.org | -Maxime De La Rochefoucauld
25 2F 99 19 6C C9 19 D6 1B 9F F1 E0 E9 10 4C 16
techtalk at linuxchix.org http://www.linuxchix.org
More information about the Techtalk