From owner-freebsd-current@freebsd.org Wed Oct 3 16:19:13 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 44AC010A452B for ; Wed, 3 Oct 2018 16:19:13 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-oi1-x22c.google.com (mail-oi1-x22c.google.com [IPv6:2607:f8b0:4864:20::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D48EF836C7 for ; Wed, 3 Oct 2018 16:19:12 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: by mail-oi1-x22c.google.com with SMTP id e17-v6so5011273oib.4 for ; Wed, 03 Oct 2018 09:19:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=25VmDsirj/0Pi+twYWkyW7XIbYuLnBDt87sTjvziw6s=; b=K2Mxjs+qLvx3Xd579GViT0RUIEo/IJ+mIYsJ6eFojM5II3JbqCCIzIR8EGL+ezq3hx e+r6JY3Jdp5rP63HWRmtTdRqbQloQip9B7H9WCqCWIlaxAWVsjmlKc6GdtBdJvMT2+1T 7e/M6NMwOzXRk4csl0tWYdR0pLpVYtSOQiqcE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=25VmDsirj/0Pi+twYWkyW7XIbYuLnBDt87sTjvziw6s=; b=XZoS0L776mCTxAlYRHHmn2OCkKqavZ+KWuEQZ2u4CcD+wcYQ14bbUhFRw2/rT9rtS3 4Ug1Bq6VsZj1XeWPP55A2GmaPKFmurI8UXRK7YzNet4asqx7QG9Hfyr4mPuM66hM+eAo Ssi6xAP5Jd8mhzkFcA/Ofgi0hd2Spm5ErbnwAhiupfZ6/q8029YaHoI6kPl48SZzhqrE 6I2ogOjoz/43c0AQJoEE56t0CUOjDi9d4EjPqr4Bphjn/orguZaQ4vCyC3Pyugo6uEJ0 ETcdJ7N8DKT5Ia93ChxxESsR6cWG6M/TdVHcsn5KfoNdRGCMI/qmQTkS3ABxQgiGGmQy 4/mw== X-Gm-Message-State: ABuFfojn2ofS0JPsfgGf4+DcMM9Kgwn5tU/2UmAMYLBwSghSaleytZGE 5rz7HKk7gLqcxeZoq1HOVb2F58JnEWyPXTTe4vP+eTvcdJo= X-Google-Smtp-Source: ACcGV62W9qI2t0U2swPp80LBhOo1HOsFSklb/KnHWAPmP9BCkuhMX520aBrLSMTqFiSUQMl5FbIRxBD+Zash/qHf8Mw= X-Received: by 2002:aca:d989:: with SMTP id q131-v6mr1090396oig.349.1538583551281; Wed, 03 Oct 2018 09:19:11 -0700 (PDT) MIME-Version: 1.0 References: <85518f55-20a8-f534-7266-a9e847912afc@alvermark.net> <596a89fa-d7a3-1d39-d296-e07359cb487f@alvermark.net> <20181003130645.GH1118@albert.catwhisker.org> In-Reply-To: <20181003130645.GH1118@albert.catwhisker.org> From: Mario Lobo Date: Wed, 3 Oct 2018 13:19:05 -0300 Message-ID: Subject: Re: Sound issues with Dell Latitude 7490 (kabylake) To: jakob@alvermark.net, freebsd-current@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.27 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 16:19:13 -0000 Em qua, 3 de out de 2018 =C3=A0s 10:10, David Wolfskill escreveu: > On Mon, Oct 01, 2018 at 11:12:25PM +0200, Jakob Alvermark wrote: > > .... > > Do the headphones work with this patch? > > > > 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 (revision 339076) > > +++ sys/dev/sound/pci/hda/hdaa.c (working copy) > > @@ -5034,11 +5034,13 @@ > > pincap =3D w->wclass.pin.cap; > > > > /* Disable everything. */ > > + /* > > w->wclass.pin.ctrl &=3D ~( > > HDA_CMD_SET_PIN_WIDGET_CTRL_HPHN_ENABLE | > > HDA_CMD_SET_PIN_WIDGET_CTRL_OUT_ENABLE | > > HDA_CMD_SET_PIN_WIDGET_CTRL_IN_ENABLE | > > HDA_CMD_SET_PIN_WIDGET_CTRL_VREF_ENABLE_MASK); > > + */ > > > > if (w->enable =3D=3D 0) { > > /* 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 > -- > David H. Wolfskill david@catwhisker.org > Trump is gaslighting us: https://www.bbc.com/news/world-us-canada-4495930= 0 > > See http://www.catwhisker.org/~david/publickey.gpg for my public key. > Thank you #2 !! The patch fixed my weird headphone sound too on 11.2-STABLE= ! I still can't make the plugging-in switch work but it's ok. I created scripts for that with /sbin/sysctl hw.snd.default_unit=3D1 (headphones) or 0 speakers. --=20 Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!]