Sound issues with Dell Latitude 7490 (kabylake)
Jakob Alvermark
jakob at alvermark.net
Tue Oct 2 20:11:27 UTC 2018
On 10/2/18 9:48 PM, Emmanuel Vadot wrote:
> On Tue, 2 Oct 2018 14:29:39 -0500
> Eric van Gyzen <eric at vangyzen.net> wrote:
>
>>>>> Thanks. So if you try this:
>>>>>
>>>>> sysctl dev.hdaa.0.nid24_config="as=4 seq=15"
>>>>> sysctl dev.hdaa.0.nid21_config="as=1 seq=15"
>>>>> sysctl dev.hdaa.0.reconfig=1
>>>> Works, thank you!
>>> Dude that's some serious shit !
>>> Jacob, is this documented somewhere ?
>>> I haven't read the driver code but what does as/seq etc represent
>>> there ?
>> snd_hda(4) is very helpful.
> Indeed it is but I'm not sure that everyone (me included) can produce
> what Jacob did to have headphone re-routed and muting the other outputs
> just by reading the manual.
I learned this the hard way. snd_hda(4) is a lot of help, but it took me
a long time
to understand it. snd_hda is quite complicated!
hdaa.c by itself is 7000+ lines. On top of that is hdaa_patches.c with
~700 lines of added quirks
for some hardware.
>
>>> What could we do to make this
>>> easier for users ?
>> We can commit similar changes to the kernel driver. kstaring on github
>> has ported many such changes from Linux to FreeBSD:
>>
>> https://github.com/freebsd/freebsd/pull/139
>> https://github.com/freebsd/freebsd/pull/144
>>
>> I don't know if his port includes the changes Rod needs.
>>
>> I was planning to commit these when life calms down enough to test them.
>> If anyone beats me to it, I would be delighted. I was also waiting
>> until after 12.0, but in hindsight, I wish I had just committed them.
> Please do as soon as 13-CURRENT branches and let people
> test/complain :)
>
>> Eric
>> _______________________________________________
>> freebsd-current at freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
>
More information about the freebsd-current
mailing list