Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Oct 2018 22:11:22 +0200
From:      Jakob Alvermark <jakob@alvermark.net>
To:        Emmanuel Vadot <manu@bidouilliste.com>, Eric van Gyzen <eric@vangyzen.net>
Cc:        "Rodney W. Grimes" <freebsd-rwg@pdx.rh.CN85.dnsmgr.net>, Johannes Lundberg <johalun0@gmail.com>, freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: Sound issues with Dell Latitude 7490 (kabylake)
Message-ID:  <de0f39e6-5e21-cefb-77bd-f643d3414ebc@alvermark.net>
In-Reply-To: <20181002214823.75f4715f243073c260f0e65c@bidouilliste.com>
References:  <0c23ed5d-c080-91b9-30f8-0e4a49a8e56b@alvermark.net> <201810021903.w92J3oak097866@pdx.rh.CN85.dnsmgr.net> <20181002211507.3ea80849c38f238498de87fd@bidouilliste.com> <1fd42996-e5c5-c709-829b-26833eaf17da@vangyzen.net> <20181002214823.75f4715f243073c260f0e65c@bidouilliste.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10/2/18 9:48 PM, Emmanuel Vadot wrote:
> On Tue, 2 Oct 2018 14:29:39 -0500
> Eric van Gyzen <eric@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@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?de0f39e6-5e21-cefb-77bd-f643d3414ebc>