From owner-freebsd-current@freebsd.org Wed Oct 3 13:06:54 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 37BC310C2960 for ; Wed, 3 Oct 2018 13:06:54 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (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 879EA79CCD for ; Wed, 3 Oct 2018 13:06:53 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.15.2/8.15.2) with ESMTP id w93D6k3r050851; Wed, 3 Oct 2018 13:06:46 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.15.2/8.15.2/Submit) id w93D6jXp050850; Wed, 3 Oct 2018 06:06:45 -0700 (PDT) (envelope-from david) Date: Wed, 3 Oct 2018 06:06:45 -0700 From: David Wolfskill To: Jakob Alvermark Cc: freebsd-current Subject: Re: Sound issues with Dell Latitude 7490 (kabylake) Message-ID: <20181003130645.GH1118@albert.catwhisker.org> Mail-Followup-To: David Wolfskill , Jakob Alvermark , freebsd-current References: <85518f55-20a8-f534-7266-a9e847912afc@alvermark.net> <596a89fa-d7a3-1d39-d296-e07359cb487f@alvermark.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="+vRq5lKQn39NaQ8P" Content-Disposition: inline In-Reply-To: <596a89fa-d7a3-1d39-d296-e07359cb487f@alvermark.net> User-Agent: Mutt/1.10.1 (2018-07-13) 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: Wed, 03 Oct 2018 13:06:54 -0000 --+vRq5lKQn39NaQ8P Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 01, 2018 at 11:12:25PM +0200, Jakob Alvermark wrote: > .... > Do the headphones work with this patch? >=20 > Index: sys/dev/sound/pci/hda/hdaa.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- sys/dev/sound/pci/hda/hdaa.c=A0=A0=A0 (revision 339076) > +++ sys/dev/sound/pci/hda/hdaa.c=A0=A0=A0 (working copy) > @@ -5034,11 +5034,13 @@ > =A0=A0=A0=A0 =A0=A0=A0 pincap =3D w->wclass.pin.cap; >=20 > =A0=A0=A0=A0 =A0=A0=A0 /* Disable everything. */ > +=A0=A0=A0 =A0=A0=A0 /* > =A0=A0=A0=A0 =A0=A0=A0 w->wclass.pin.ctrl &=3D ~( > =A0=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 HDA_CMD_SET_PIN_WIDGET_CTRL_HPHN_ENABLE= | > =A0=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 HDA_CMD_SET_PIN_WIDGET_CTRL_OUT_ENABLE | > =A0=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 HDA_CMD_SET_PIN_WIDGET_CTRL_IN_ENABLE | > =A0=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 HDA_CMD_SET_PIN_WIDGET_CTRL_VREF_ENABLE= _MASK); > +=A0=A0=A0 =A0=A0=A0 */ >=20 > =A0=A0=A0=A0 =A0=A0=A0 if (w->enable =3D=3D 0) { > =A0=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 /* Pin is unused so left it disabled. */ > .... Thank you! This addressed the long-standing (Reported: 2015-05-29 21:15 UTC) issue I have had with my laptop (Dell Precision M4800), as documented in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D200526 -- now updated to reflect the fix. Peace, david --=20 David H. Wolfskill david@catwhisker.org Trump is gaslighting us: https://www.bbc.com/news/world-us-canada-44959300 See http://www.catwhisker.org/~david/publickey.gpg for my public key. --+vRq5lKQn39NaQ8P Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEEzLfO+ReoAfQwZNd7FTnMQKBJ7hcFAlu0vuVfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEND QjdDRUY5MTdBODAxRjQzMDY0RDc3QjE1MzlDQzQwQTA0OUVFMTcACgkQFTnMQKBJ 7hcw1wgAykKcglhDME2ej9/L4TQp4BG4UPPLXzEVsp63uWo4cYBdVpVJ/i4fsTCJ riz73qCo2624f3212/7jM68CSf1ixBu2TWSbV5irm19Vly1ApU37PCSco5KmwvL3 tAZ5ti+R8jed5xvoLNCW8xmET+iKDEwLTLrdkJmVnwfWrGnibeCO99/A0aPNJiMK VJJKxbVpqu2uFc+IDX72ErN6bmU64/12k3HYKhBUwcftQH92mMX8G5ho4+f34uAf vTULmaEem3UMvLcQkyrs2V1k0OLAilMCOf4USfk9ei7/2sm5czz5Ixz9RJ6f2fXT j5VuOB70LsUWdJbj6BmIhkBlHU2rDA== =exbO -----END PGP SIGNATURE----- --+vRq5lKQn39NaQ8P--