Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Can't get ALSA OSS Emulation to work
Date: Tue, 16 Aug 2005 14:55:14
Message-Id: 5bdc1c8b050816075019500ddb@mail.gmail.com
In Reply to: [gentoo-user] Can't get ALSA OSS Emulation to work by Raphael Melo de Oliveira Bastos Sales
1 On 8/16/05, Raphael Melo de Oliveira Bastos Sales
2 <raphael.melo21@×××××.com> wrote:
3 > Hi everyone,
4 >
5 > After some days googling for it, I give up now and come here for
6 > help. I have Alsa installed in kernel, and it works fine for programs
7 > that are compatible with. But programs that need OSS don't get any
8 > sound. I have the following lines in the alsa config files:
9 >
10 > /etc/modules.d/alsa:
11 > alias /dev/mixer snd-mixer-oss
12 > alias /dev/dsp snd-pcm-oss
13 > alias /dev/midi snd-seq-oss
14 >
15 > alias snd-card-0 snd-via82xx
16 > alias sound-slot-0 snd-via82xx
17 >
18
19 Hi Raphael,
20 Change the items in /etc/modules.d/alsa as proper for your via
21 sound chip. Run modules-update after making changes. You seem to be
22 missing a number of the alias statements. The following file works for
23 a 2 sound card system.
24
25 Hope this helps,
26 Mark
27
28 # Alsa 0.9.X kernel modules' configuration file.
29 # $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v
30 1.4 2004/11/16 01:31:22 eradicator Exp $
31
32 # ALSA portion
33 alias char-major-116 snd
34 # OSS/Free portion
35 alias char-major-14 soundcore
36
37 ##
38 ## IMPORTANT:
39 ## You need to customise this section for your specific sound card(s)
40 ## and then run `update-modules' command.
41 ## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
42 ##
43 ## ALSA portion
44 alias snd-card-0 snd-intel8x0
45 options snd-intel8x0 index=0
46
47 alias snd-card-1 snd-usb-audio
48 options snd-usb-audio index=1
49
50 ## OSS/Free portion
51 alias sound-slot-0 snd-card-0
52 alias sound-slot-1 snd-card-1
53 ##
54
55 # OSS/Free portion - card #1
56 alias sound-service-0-0 snd-mixer-oss
57 alias sound-service-0-1 snd-seq-oss
58 alias sound-service-0-3 snd-pcm-oss
59 alias sound-service-0-8 snd-seq-oss
60 alias sound-service-0-12 snd-pcm-oss
61 ## OSS/Free portion - card #2
62 alias sound-service-1-0 snd-mixer-oss
63 alias sound-service-1-3 snd-pcm-oss
64 alias sound-service-1-12 snd-pcm-oss
65
66 alias /dev/mixer snd-mixer-oss
67 alias /dev/dsp snd-pcm-oss
68 alias /dev/midi snd-seq-oss
69
70 # Set this to the correct number of cards.
71 options snd cards_limit=2
72
73 --
74 gentoo-user@g.o mailing list