From owner-freebsd-current@freebsd.org Tue Oct 2 19:48: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 8291F10AA47B for ; Tue, 2 Oct 2018 19:48:26 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E71EA79AD8 for ; Tue, 2 Oct 2018 19:48:25 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 5560a436; Tue, 2 Oct 2018 21:48:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=jNc2pIgWhXtRZ4eCRsYv85vCWdo=; b=XNFbB4RIddDn8z+DgQiGTroiKbnt 19EhpaqOHBTHZpCwSLBxoWBPzRhuZHCtm7efrtUL8o13mqz7HPqoEZ/WtKUsQ4dI cbTF6oChK8OBJfKcTaAx/dVblVeYRXGTQMgzST0ikATHogcPmsHYwHEl1OCjMlq5 X06IRmLcWc9yLuw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=FV8Y29nAQ5SH8KRzAZiZxUDoUUG6j3LllycraJ/pFurqnXbHxAILe7d6 QnY+9vK6e6EKT5wWjDRMYYn4+m9JWIHszCJXrcFw1bCkMleYhwgteHSi6s1QVy8Q juh/eG4s3gXS0CgQiT+JrMLKMCewv7BZzRPEWWlB7HdkCuit4rE= Received: from skull.home.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) by mail.blih.net (OpenSMTPD) with ESMTPSA id 3bd73978 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Tue, 2 Oct 2018 21:48:23 +0200 (CEST) Date: Tue, 2 Oct 2018 21:48:23 +0200 From: Emmanuel Vadot To: Eric van Gyzen Cc: "Rodney W. Grimes" , Jakob Alvermark , Johannes Lundberg , freebsd-current Subject: Re: Sound issues with Dell Latitude 7490 (kabylake) Message-Id: <20181002214823.75f4715f243073c260f0e65c@bidouilliste.com> In-Reply-To: <1fd42996-e5c5-c709-829b-26833eaf17da@vangyzen.net> 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> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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:48:26 -0000 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. > > > 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" -- Emmanuel Vadot