From owner-freebsd-current@freebsd.org Tue Oct 2 20:11:26 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 D019810AADF6 for ; Tue, 2 Oct 2018 20:11:26 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from out.alvermark.net (out.alvermark.net [185.34.136.138]) (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 6B8487A7F9 for ; Tue, 2 Oct 2018 20:11:26 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from c-42bc70d5.06-431-73746f70.bbcust.telenor.se ([213.112.188.66] helo=mail.alvermark.net) by out.alvermark.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91 (FreeBSD)) (envelope-from ) id 1g7R0t-0000F1-LF; Tue, 02 Oct 2018 22:11:23 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alvermark.net; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=08srSSJMg+jCDY/gKEoaZFgfD05Lvr9btRaWIPmsUJ0=; b=pTfYrX13SmshgQGk2LvOWUQw2/ L8sgeLVLl9/9GheYZM0Z06u36kcRxaeeUO4zeoeEcMf8vXkEeD4Jkm1kZhGAekT9WBj5H6TKYEZMp YkDKrTa4WgnNYT2vsJNpXzN9SkDguuBByevYtZ0l8Osv/PDg0PzTbPKrfnreVUyV0qTgYadbR4UWI jdi5op6QxDRgiBAzrC60ST11Zl82E212/7Au0QZ8Vn+bBlqDyw54ZOE/CKjWFsZgLw5OIItautUdU Sf9oe8n1ZO0+82rIMAT+3Sa7qb95xZ9OijM9Y1kSgSV/a6dAjMJJFHvyg0uQ3tzU54ZTfE/JOFY5f hDr35p6w==; Received: from [192.168.67.33] by mail.alvermark.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91 (FreeBSD)) (envelope-from ) id 1g7R0t-000089-4G; Tue, 02 Oct 2018 22:11:23 +0200 Subject: Re: Sound issues with Dell Latitude 7490 (kabylake) To: Emmanuel Vadot , Eric van Gyzen Cc: "Rodney W. Grimes" , Johannes Lundberg , freebsd-current 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> From: Jakob Alvermark Message-ID: Date: Tue, 2 Oct 2018 22:11:22 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0.1 MIME-Version: 1.0 In-Reply-To: <20181002214823.75f4715f243073c260f0e65c@bidouilliste.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US 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 20:11:27 -0000 On 10/2/18 9:48 PM, Emmanuel Vadot wrote: > On Tue, 2 Oct 2018 14:29:39 -0500 > Eric van Gyzen 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" >