From owner-freebsd-current@freebsd.org Wed Oct 3 21:33:04 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 CD07E10AE76A for ; Wed, 3 Oct 2018 21:33:04 +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 1FA2170854 for ; Wed, 3 Oct 2018 21:33:03 +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 1g7olJ-0001Ew-BE; Wed, 03 Oct 2018 23:32:53 +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=V39IE00oWYw+TCGAr0XvW2XiBamca+i/lJF2TKvSFbE=; b=WAUhcVb1vmRVTHLwWe+egtKHTf SvT/S9R14nEIMPiq5riWmUsAALUF3Ybvlf2zBChkeaf5zj+rFxnY93a83eTkXPCRy/fDtakfcYTb5 ukRfrk8ILpxd0TXZOAxsDUkBkeFxkhho9k0FdZTzlhNq5MVvEcMT0kOw3luB7/EF7b/ktJkddKUGP Xmdu0rmkabyqShi0RQvAx/Zj8ZrZ634e9Q3BOgc8AiH0swNMrZvpe9JcuXT3jeWLKwVdJlfiESYti DNmbeC1PjRJVKby0fqmt48nPe1/qjI2pOLBxdDnfVsfq6hILR6PX8+Nfhcb2+Kguhgs/vHlRJBWv5 PnRP8Ksw==; 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 1g7olI-000EBf-Ju; Wed, 03 Oct 2018 23:32:52 +0200 Subject: Re: Sound issues with Dell Latitude 7490 (kabylake) To: Mario Lobo , freebsd-current@freebsd.org References: <85518f55-20a8-f534-7266-a9e847912afc@alvermark.net> <596a89fa-d7a3-1d39-d296-e07359cb487f@alvermark.net> <20181003130645.GH1118@albert.catwhisker.org> <934ea591-3c39-7fa5-f77e-07e35c9bb402@alvermark.net> From: Jakob Alvermark Message-ID: <0d30cccd-352f-00cf-def6-94934be7a2ed@alvermark.net> Date: Wed, 3 Oct 2018 23:32:52 +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: Content-Type: text/plain; charset=utf-8; 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 21:33:05 -0000 On 10/3/18 7:39 PM, Mario Lobo wrote: > Em qua, 3 de out de 2018 às 14:03, Jakob Alvermark > escreveu: > >> On 10/3/18 6:19 PM, Mario Lobo wrote: >> >> Em qua, 3 de out de 2018 às 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 >>>> =================================================================== >>>> --- 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. >>> >>> Peace, >>> david >>> -- >>> 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. >>> >> 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 >> >> >> Can you send the output from 'sysctl dev.hdaa'? >> >> >> Jakob >> > By the way, my note is ACER Aspire 5 A515-51G > > Here it is: > > [~]>sysctl dev.hdaa > dev.hdaa.1.reconfig: 0 Could you send me the output of 'sysctl dev.pcm' as well? Thanks, Jakob