Gentoo Archives: gentoo-user

From: Raphael Melo de Oliveira Bastos Sales <raphael.melo21@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Can't get ALSA OSS Emulation to work
Date: Tue, 16 Aug 2005 14:37:06
Message-Id: 8f7a9d5805081607314c0968ce@mail.gmail.com
1 Hi everyone,
2
3 After some days googling for it, I give up now and come here for
4 help. I have Alsa installed in kernel, and it works fine for programs
5 that are compatible with. But programs that need OSS don't get any
6 sound. I have the following lines in the alsa config files:
7
8 /etc/modules.d/alsa:
9 alias /dev/mixer snd-mixer-oss
10 alias /dev/dsp snd-pcm-oss
11 alias /dev/midi snd-seq-oss
12
13 alias snd-card-0 snd-via82xx
14 alias sound-slot-0 snd-via82xx
15
16 When I run the alsasound init script it says:
17 * Loading ALSA modules ...
18 * Loading: snd-card-0 ... [ ok ]
19 * Loading: snd-seq-oss ... [ ok ]
20 * Loading: snd-pcm-oss ... [ ok ]
21 * Restoring Mixer Levels ... [ ok ]
22
23 # cat /proc/modules | grep oss
24 snd_pcm_oss 52576 0 - Live 0xe258b000
25 snd_mixer_oss 19648 1 snd_pcm_oss, Live 0xe1111000
26 snd_seq_oss 37568 0 - Live 0xe2512000
27 snd_seq_midi_event 7168 1 snd_seq_oss, Live 0xe0da9000
28 snd_seq 55056 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event, Live 0xe086d000
29 snd_pcm 93448 3 snd_pcm_oss,snd_via82xx,snd_ac97_codec, Live 0xe0db0000
30 snd_seq_device 8972 4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi,
31 Live 0xe084a000
32 snd 57412 13 snd_pcm_oss,snd_mixer_oss,snd_seq_dummy,snd_seq_oss,snd_seq,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device,
33 Live 0xe0d79000
34
35 So it seems that the modules are loaded correctly. But every program
36 that tries to pipe to /dev/dsp gets broken pipe (i.e. Quake and Enemy
37 Territory).
38
39 If anybody can tell me what could be wrong, please let me know. If
40 there is a config file that is important and that I didn't send it
41 here, tell me and I'll send them.
42
43 Thanks for the attention,
44
45 Raphael
46
47 --
48 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Can't get ALSA OSS Emulation to work Mark Knecht <markknecht@×××××.com>
Re: [gentoo-user] Can't get ALSA OSS Emulation to work Nick Rout <nick@×××××××.nz>