Gentoo Archives: gentoo-amd64

From: Duncan <1i5t5.duncan@×××.net>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] Re: Re: arts
Date: Sat, 09 Jul 2005 01:04:50
Message-Id: pan.2005.07.09.01.00.54.65393@cox.net
In Reply to: Re: [gentoo-amd64] Re: arts by Alexey Maslennikov
1 Alexey Maslennikov posted
2 <200507090210.07611.alexey.maslennikov@×××××.com>, excerpted below, on
3 Sat, 09 Jul 2005 02:10:02 +0300:
4
5 > As far as I remember, /dev/dsp is only used with OSS. In case you use
6 > ALSA, it is created by OSS emulation. Possibly OSS emulation modules are
7 > not loaded. Module names are something like snd_*_oss.
8 >
9 > P.S. I can be very wrong about it.
10
11 (Without looking,) I believe you're quite right, actually, tho I never
12 track exactly which devices are ALSA and which are OSS, so you /might/
13 have that reversed.
14
15 I always run ALSA with OSS emulation in the kernel, so get both. With
16 Gentoo's default udev configuration, based on devfs, one set is created in
17 /dev/snd/, the other in /dev/sound/, with symlinks from /dev/ to the
18 devices in both subdirs as necessary, I just never remember which is OSS
19 and which is ALSA. If I had to, I'd look it up. The quickest way would
20 be to check the (commented) /etc/udev/rules.d/* file(s). The ALSA section
21 there is presented separately from the OSS section, so looking at that,
22 it's easy to figure out which is which.
23
24 As to whether they exist or not at any particular moment, that will depend
25 on several possible configuration details, such as whether you've compiled
26 the drivers as modules or built-in, and whether you have the alsa or
27 coldplug (or oss, for those not running alsa) initscripts set to run in
28 your current runlevel (also on whether you have the init set to use the
29 tarball or not, I have that turned off and the only devices in my static
30 /dev are /dev/null and /dev/console, if udev fails, so I'd know it
31 pretty fast!). Here, I don't run alsa at bootup, but I do run coldplug as
32 part of initlevel 2 (nonet, my default) and 3 (normal default). I have
33 the drivers compiled in, so coldplug triggers udev to load the device
34 nodes. I never /do/ run the alsa script, as what coldplug does is enough
35 to have sound in KDE/X, and I don't use it at the console if KDE/X isn't
36 running.
37
38 --
39 Duncan - List replies preferred. No HTML msgs.
40 "Every nonfree program has a lord, a master --
41 and if you use the program, he is your master." Richard Stallman in
42 http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html
43
44
45 --
46 gentoo-amd64@g.o mailing list