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" >Received on Tue Oct 02 2018 - 18:11:26 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:18 UTC