1 |
I can only suggest you look carefully at /dev/dsp - it should i think be |
2 |
a link to /dev/sound/dsp. |
3 |
|
4 |
Then look at the permissions on /dev/sound/dsp - they should be: |
5 |
|
6 |
crw-rw---- 1 root audio 14, 3 Jan 1 1970 /dev/sound/dsp |
7 |
|
8 |
and the user trying to run the errant program should be in the audio |
9 |
group. (and re-logged in if you add them as a result of this message, ie |
10 |
adding a user to a group does not take effect until they log in again. |
11 |
Unfortunately this can mean logging oput of X and back in again) |
12 |
|
13 |
You can check if user is in the audio group with: |
14 |
|
15 |
id user |
16 |
|
17 |
|
18 |
On Tue, 16 Aug 2005 20:09:15 -0300 |
19 |
Raphael Melo de Oliveira Bastos Sales wrote: |
20 |
|
21 |
> Thanks for the attention. I did both ways and I still get error messages like; |
22 |
> |
23 |
> Enemy Territory: |
24 |
> /dev/dsp: Input/output error |
25 |
> Could not mmap /dev/dsp |
26 |
> |
27 |
> and |
28 |
> |
29 |
> Quake 3: |
30 |
> /dev/dsp: Broken pipe |
31 |
> Could not toggle. |
32 |
> |
33 |
> cat /dev/urandom > /dev/dsp also does nothing |
34 |
> |
35 |
> Maybe some clues, I don't know: |
36 |
> |
37 |
> # cat /proc/asound/cards |
38 |
> 0 [V8237 ]: VIA8237 - VIA 8237 |
39 |
> VIA 8237 with AD1888 at 0xe000, irq 22 |
40 |
> |
41 |
> # cat /proc/asound/devices |
42 |
> 17: [0- 1]: digital audio playback |
43 |
> 25: [0- 1]: digital audio capture |
44 |
> 16: [0- 0]: digital audio playback |
45 |
> 24: [0- 0]: digital audio capture |
46 |
> 0: [0- 0]: ctl |
47 |
> 1: : sequencer |
48 |
> 33: : timer |
49 |
> |
50 |
> # cat /proc/asound/pcm |
51 |
> 00-00: VIA 8237 : VIA 8237 : playback 4 : capture 1 |
52 |
> 00-01: VIA 8237 : VIA 8237 : playback 1 : capture 1 |
53 |
> |
54 |
> # cat /proc/asound/version |
55 |
> Advanced Linux Sound Architecture Driver Version 1.0.9b. |
56 |
> Compiled on Aug 12 2005 for kernel 2.6.12-gentoo-r6. |
57 |
> |
58 |
> # cat /proc/asound/oss/devices |
59 |
> 1: : sequencer |
60 |
> 8: : sequencer |
61 |
> 0: [0- 0]: mixer |
62 |
> 3: [0- 3]: digital audio |
63 |
> 12: [0-12]: digital audio |
64 |
> |
65 |
> # cat /proc/asound/oss/sndstat |
66 |
> Sound Driver:3.8.1a-980706 (ALSA v1.0.9b emulation code) |
67 |
> Kernel: Linux familia2 2.6.12-gentoo-r6 #1 Thu Aug 11 06:47:46 BRT 2005 i686 |
68 |
> Config options: 0 |
69 |
> |
70 |
> Installed drivers: |
71 |
> Type 10: ALSA emulation |
72 |
> |
73 |
> Card config: |
74 |
> VIA 8237 with AD1888 at 0xe000, irq 22 |
75 |
> |
76 |
> Audio devices: |
77 |
> 0: VIA 8237 (DUPLEX) |
78 |
> |
79 |
> Synth devices: NOT ENABLED IN CONFIG |
80 |
> |
81 |
> Midi devices: NOT ENABLED IN CONFIG |
82 |
> |
83 |
> Timers: |
84 |
> 7: system timer |
85 |
> |
86 |
> Mixers: |
87 |
> 0: Analog Devices AD1888 |
88 |
> |
89 |
> While I'm at it, how does the -D option of alsamixer works? When I put |
90 |
> alsamixer -D /dev/mixer it doesn't work either. I'm I doing it wrong? |
91 |
> |
92 |
> Sorry for sending such a big message, but this problem is really annoying... |
93 |
> |
94 |
> Thanks again for the attention, |
95 |
> |
96 |
> Raphael |
97 |
> |
98 |
> -- |
99 |
> gentoo-user@g.o mailing list |
100 |
|
101 |
-- |
102 |
Nick Rout <nick@×××××××.nz> |
103 |
|
104 |
-- |
105 |
gentoo-user@g.o mailing list |