Sound config

Matthew Dillon dillon at backplane.com
Fri Feb 17 17:50:28 PST 2017


I think we must support hinting, but the format might be a bit different.
We do call resource_string_value(...) on line 986 oc pci/hda/hdaa.c which I
think does look for kenv variables from /boot/loader.conf.

The format is <something>.cad%d.nid%d.config

I'm not sure what the <something> is.  I think it's probably without the
'hint.' prefix.  And possibly without the . separating the unit number.

Try something like:   hdac0.cad0.nid22.config=

-Matt

On Fri, Feb 17, 2017 at 7:39 AM, Fekete Zoltán <fekete.zoltan at minux.hu>
wrote:

> Hi Damien,
>
> Have you found any solution to your problem?
>
> I have quite a similar:
>
> Formerly I could get sound from my box on FreeBSD, and created these hints:
>
> hint.hdac.0.cad0.nid22.config="as=1 seq=0 device=Speaker"
> hint.hdac.0.cad0.nid18.config="as=2 seq=15 device=Line-out"
> hint.hdac.0.cad0.nid17.config="as=1 seq=15 device=Headphones"
>
> However dragonfly ignores device.hints. Additionally sysctl also ignores
> tuning of the codec.
>
> Any idea?
>
> Rgds,
>
> FeZ
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20170217/ea79d126/attachment-0003.htm>


More information about the Users mailing list