Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Mar 2011 03:54:29 +0100
From:      Bernt Hansson <bernt@bah.homeip.net>
To:        Brian Waters <brianmwaters@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Quick question about sound drivers (esp. snd_hda)
Message-ID:  <4D7AE065.4070603@bah.homeip.net>
In-Reply-To: <AANLkTikZm1FCUmCdu2iNL6ZWcUOn5aOQErPsTUodFhmb@mail.gmail.com>
References:  <AANLkTikZm1FCUmCdu2iNL6ZWcUOn5aOQErPsTUodFhmb@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2011-03-11 21:29, Brian Waters:
> It seems to me that under /dev, you can have the following
> sound-related device files:
>
> dspX
> dspX.Y
> (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

%cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D7AE065.4070603>