Quick question about sound drivers (esp. snd_hda)
brianmwaters at gmail.com
Sat Mar 12 01:30:09 UTC 2011
Yeah, I have tried all the basic stuff.
At this point, I've basically accepted that solving the problem on my
machine is going to involve a whole bunch of technical stuff that I
don't have the patience for - reading the HDA spec and the codec
datasheet, reading the driver code, and making changes to the driver
and default settings where necessary. (The hardware does work fine
with the Linux kernel.)
So yeah... that's probably never going to happen. I'm still wondering
where the numbers in the names for the device special files come from.
And thanks, Frank.
On Fri, Mar 11, 2011 at 6:31 PM, Frank Shute <frank at shute.org.uk> wrote:
> 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:
>> (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!
>> 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
More information about the freebsd-questions