From owner-freebsd-current@freebsd.org Wed Oct 3 13:28:51 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 7257110C3027 for ; Wed, 3 Oct 2018 13:28:51 +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 EED267A6D0 for ; Wed, 3 Oct 2018 13:28:50 +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 1g7hCo-0000x1-4b; Wed, 03 Oct 2018 15:28:46 +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:To:Subject:Sender:Reply-To:Cc: 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=xgdknOkVGCdC5Tml0dhL/RBUb2u1sKSTNxsQvYF810g=; b=wuAy/3FsRs3snQYkxvFT+IYRco 9MRkUe1c4s8EWFC2S1X8lScOnA8RByphHSHvSH3gXyJs/yDdgEDrlOwpPCppPkrEYJ1Z+E/TUsi2q vKr4UnqY+O6r8tGCEg5wWIq878+bn470/LHmukXNU9Xx3fSAZk6fMJlO1yxshQQ6jhbNjm6OUMi66 YAHIdfwIoI3kY8UakZRFrpOMiB3RmWIQJ8vVBTHJ6WK80sFgU6673yPvIEmj4akikRnewbQ739RaX 8iMPg9gn1GArmnDfCVM6mTu1HeWvXKSMZ2NTVs+2QEYIrAlD7NJlHUNa4L7ffDn2jzLIzmphPu79+ Q3PgnZpA==; 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 1g7hCn-0009um-Lt; Wed, 03 Oct 2018 15:28:45 +0200 Subject: Re: Sound issues with Dell Latitude 7490 (kabylake) To: David Wolfskill , freebsd-current References: <85518f55-20a8-f534-7266-a9e847912afc@alvermark.net> <596a89fa-d7a3-1d39-d296-e07359cb487f@alvermark.net> <20181003130645.GH1118@albert.catwhisker.org> From: Jakob Alvermark Message-ID: Date: Wed, 3 Oct 2018 15:28:45 +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: <20181003130645.GH1118@albert.catwhisker.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit 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: Wed, 03 Oct 2018 13:28:51 -0000 On 10/3/18 3:06 PM, David Wolfskill wrote: > 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 >> =================================================================== >> --- sys/dev/sound/pci/hda/hdaa.c    (revision 339076) >> +++ sys/dev/sound/pci/hda/hdaa.c    (working copy) >> @@ -5034,11 +5034,13 @@ >>          pincap = w->wclass.pin.cap; >> >>          /* Disable everything. */ >> +        /* >>          w->wclass.pin.ctrl &= ~( >>              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 == 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=200526 > -- now updated to reflect the fix. That's great! Glad to hear it helped. This is probably not a proper fix, but it helps to understand the problem. Could you post the output of 'sysctl dev.hdaa' with and without the patch so we can see what's different? Jakob