Quick question about sound drivers (esp. snd_hda)
bernt at bah.homeip.net
Sat Mar 12 02:54:38 UTC 2011
2011-03-11 21:29, Brian Waters:
> It seems to me that under /dev, you can have the following
> sound-related device files:
> (among others)
> I'm having some trouble getting my sound to work (Dell Inspiron
> E1705/Inspiron 9400 with Sigmatel STAC9220 codec). I've read the
> manpages for snd and snd_hda (which is the appropriate driver), and
> increased the verbosity of the drivers and read the kernel log and
> /dev/sndstat, but I still can't quite wrap my head around everything.
> What I'm wondering is: what exactly is the meaning of X and Y above?
> I'm assuming that X comes from the "association numbers" in the
> snd_hda driver, but I could be wrong. Please correct me!
This is what I think.
dsp0.0 is the first device on the first "bus" and so on.
%ls -l /dev/ds*
crw-rw-rw- 1 root wheel 0, 155 11 Mar 19:16 /dev/dsp0.0
crw-rw-rw- 1 root wheel 0, 148 9 Mar 11:16 /dev/dsp1.0
crw-rw-rw- 1 root wheel 0, 146 9 Mar 11:16 /dev/dsp2.0
crw-rw-rw- 1 root wheel 0, 121 9 Mar 11:16 /dev/dsp3.0
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
pcm0: <HDA Realtek ALC888 PCM #0 Analog> (play/rec) default
pcm1: <HDA Realtek ALC888 PCM #1 Analog> (play/rec)
pcm2: <HDA Realtek ALC888 PCM #2 Digital> (play/rec)
pcm3: <HDA ATI R6xx HDMI PCM #0 HDMI> (play)
More information about the freebsd-questions