Quick question about sound drivers (esp. snd_hda)

Frank Shute frank at shute.org.uk
Fri Mar 11 23:31:51 UTC 2011

On Fri, Mar 11, 2011 at 03:29:44PM -0500, Brian Waters wrote:
> 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!
> Thanks,
> Brian Waters

Have you tried setting the default unit:

# sysctl hw.snd.default_unit=1

If that works, you can make it permanent with:

# echo "hw.snd.default_unit=1" >> /etc/sysctl.conf

If it doesn't, you have to post the output of:

$ cat /dev/sndstat

Make sure your volume is turned up: mixer(8)





 Contact info: http://www.shute.org.uk/misc/contact.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20110311/d56c120c/attachment.pgp

More information about the freebsd-questions mailing list