I can only suggest you look carefully at /dev/dsp - it should i think be
a link to /dev/sound/dsp.

Then look at the permissions on /dev/sound/dsp - they should be:

crw-rw----  1 root audio 14, 3 Jan  1  1970 /dev/sound/dsp

and the user trying to run the errant program should be in the audio
group. (and re-logged in if you add them as a result of this message, ie
adding a user to a group does not take effect until they log in again.
Unfortunately this can mean logging oput of X and back in again)

You can check if user is in the audio group with:

id user


On Tue, 16 Aug 2005 20:09:15 -0300
Raphael Melo de Oliveira Bastos Sales wrote:

> Thanks for the attention. I did both ways and I still get error messages like;
> 
> Enemy Territory:
> /dev/dsp: Input/output error
> Could not mmap /dev/dsp
> 
> and
> 
> Quake 3:
> /dev/dsp: Broken pipe
> Could not toggle.
> 
> cat /dev/urandom > /dev/dsp  also does nothing
> 
> Maybe some clues, I don't know:
> 
> # cat /proc/asound/cards
> 0 [V8237          ]: VIA8237 - VIA 8237
>                      VIA 8237 with AD1888 at 0xe000, irq 22
> 
> # cat /proc/asound/devices
>  17: [0- 1]: digital audio playback
>  25: [0- 1]: digital audio capture
>  16: [0- 0]: digital audio playback
>  24: [0- 0]: digital audio capture
>   0: [0- 0]: ctl
>   1:       : sequencer
>  33:       : timer
> 
> # cat /proc/asound/pcm
> 00-00: VIA 8237 : VIA 8237 : playback 4 : capture 1
> 00-01: VIA 8237 : VIA 8237 : playback 1 : capture 1
> 
>  # cat /proc/asound/version
> Advanced Linux Sound Architecture Driver Version 1.0.9b.
> Compiled on Aug 12 2005 for kernel 2.6.12-gentoo-r6.
> 
> # cat /proc/asound/oss/devices
>   1:       : sequencer
>   8:       : sequencer
>   0: [0- 0]: mixer
>   3: [0- 3]: digital audio
>  12: [0-12]: digital audio
> 
> # cat /proc/asound/oss/sndstat
> Sound Driver:3.8.1a-980706 (ALSA v1.0.9b emulation code)
> Kernel: Linux familia2 2.6.12-gentoo-r6 #1 Thu Aug 11 06:47:46 BRT 2005 i686
> Config options: 0
> 
> Installed drivers:
> Type 10: ALSA emulation
> 
> Card config:
> VIA 8237 with AD1888 at 0xe000, irq 22
> 
> Audio devices:
> 0: VIA 8237 (DUPLEX)
> 
> Synth devices: NOT ENABLED IN CONFIG
> 
> Midi devices: NOT ENABLED IN CONFIG
> 
> Timers:
> 7: system timer
> 
> Mixers:
> 0: Analog Devices AD1888
> 
> While I'm at it, how does the -D option of alsamixer works? When I put
> alsamixer -D /dev/mixer it doesn't work either. I'm I doing it wrong?
> 
> Sorry for sending such a big message, but this problem is really annoying...
> 
> Thanks again for the attention,
> 
> Raphael
> 
> -- 
> gentoo-user@gentoo.org mailing list

-- 
Nick Rout <[EMAIL PROTECTED]>

-- 
gentoo-user@gentoo.org mailing list

Reply via email to