From owner-freebsd-current@freebsd.org Tue Oct 2 19:29:42 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F410610A99D0 for ; Tue, 2 Oct 2018 19:29:41 +0000 (UTC) (envelope-from eric@vangyzen.net) Received: from smtp.vangyzen.net (hotblack.vangyzen.net [IPv6:2607:fc50:1000:7400:216:3eff:fe72:314f]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9F67079034 for ; Tue, 2 Oct 2018 19:29:41 +0000 (UTC) (envelope-from eric@vangyzen.net) Received: from hammy.vangyzen.net (unknown [70.97.188.230]) by smtp.vangyzen.net (Postfix) with ESMTPSA id 1DA565646E; Tue, 2 Oct 2018 14:29:40 -0500 (CDT) Subject: Re: Sound issues with Dell Latitude 7490 (kabylake) To: Emmanuel Vadot , "Rodney W. Grimes" Cc: Jakob Alvermark , Johannes Lundberg , freebsd-current References: <0c23ed5d-c080-91b9-30f8-0e4a49a8e56b@alvermark.net> <201810021903.w92J3oak097866@pdx.rh.CN85.dnsmgr.net> <20181002211507.3ea80849c38f238498de87fd@bidouilliste.com> From: Eric van Gyzen Message-ID: <1fd42996-e5c5-c709-829b-26833eaf17da@vangyzen.net> Date: Tue, 2 Oct 2018 14:29:39 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <20181002211507.3ea80849c38f238498de87fd@bidouilliste.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Oct 2018 19:29:42 -0000 >>> 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. > 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. Eric