From owner-freebsd-current@freebsd.org Tue Oct 16 19:43:09 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 D541310DF750 for ; Tue, 16 Oct 2018 19:43:08 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: from mail-yb1-xb42.google.com (mail-yb1-xb42.google.com [IPv6:2607:f8b0:4864:20::b42]) (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 6BA6A7C26F for ; Tue, 16 Oct 2018 19:43:08 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: by mail-yb1-xb42.google.com with SMTP id o63-v6so9404986yba.2 for ; Tue, 16 Oct 2018 12:43:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=FCrgLcorHdAcjG+/9f8Bo5RlAPx+u21bXbt5FLD/rTs=; b=G9i6p1cacvWvCdUj8gpu7tEOX9r9+uAqRxw4JZxPG+lPdFw9/6pONbIvPC0qGuaRYk /hoqIcxXsHOenmLmVBWXInpTlB9UjEgd4g3fK5iGsPlIYjFq3bhiyyOGuJ2YvZFwyhV9 LCR00RLe2KWQfwKLkFqynvdhNhrx/3VBO1ULqz21grlb9HrX75rXsB9TSxebW3byCZR9 yzZJd9hiRulddpuW968wqaxcsUraA+PCa0D1AFPGkxAhys8BetaO9Ah+qElrUCCAwg2w 8Mew8SeV/9l2bZzfMuCRua+rW/jXykbSfLwb9cHgjo+X7rE6eIMDBar90A0HJGuGdo1v epww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=FCrgLcorHdAcjG+/9f8Bo5RlAPx+u21bXbt5FLD/rTs=; b=ffBCTcml3vHe5ecEulFklfwIr6Gpm9W6I9BovQ8QTboLkeQUPRaxA1SsrDEx+T4kPP TmVIGrk76iBrnJ74bgJ+tN0xZEvm4xNJmTjfL7W/aKguTxGc2WEuyQRKmYj33miskYpP aWzVWMryb+sm6vICIWhxqLLJ1XlVqd2ZL6FUOl8ImDkeRUpm186E5AJH92z6A5wu5wAL yzfVl86H4gLdWaHuuSfw2k0OmmgB0Y8Fo4AKW2rDCFAeW3C9Gv10ei9zed0GQIIxKcM4 kVfETHmSiebLPv4ZKjXBboqjY9GXgezbna5FruQtuZZduI5K/8OujdxlB49Pcf57u90D Qq9w== X-Gm-Message-State: ABuFfoiBQDPfpCJ8ZKSytCmP2AsWhXuQdYwqUREaR6A7eVJenOfaMXbp +m5ZgQjBjNoqfXNeHr5e9lu4aIW4fD+dVdP9m7IbRw== X-Google-Smtp-Source: ACcGV625fOZtlBaXntmEJNPl9zcHAOYEG1b2o5Tfv8augoqF3I/nhq6zjyDXiw4P9VQGZ3scIOVQifQzg1BrKiaKcBA= X-Received: by 2002:a25:ce94:: with SMTP id x142-v6mr12562934ybe.486.1539718987890; Tue, 16 Oct 2018 12:43:07 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a5b:645:0:0:0:0:0 with HTTP; Tue, 16 Oct 2018 12:43:07 -0700 (PDT) In-Reply-To: References: <85518f55-20a8-f534-7266-a9e847912afc@alvermark.net> <596a89fa-d7a3-1d39-d296-e07359cb487f@alvermark.net> <20181003130645.GH1118@albert.catwhisker.org> <20181006120427.GM1118@albert.catwhisker.org> From: Oliver Pinter Date: Tue, 16 Oct 2018 21:43:07 +0200 Message-ID: Subject: Re: Sound issues with Dell Latitude 7490 (kabylake) To: current@freebsd.org, Jakob Alvermark Cc: freebsd-current , emaste@freebsd.org Content-Type: text/plain; charset="UTF-8" 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, 16 Oct 2018 19:43:09 -0000 On 10/16/18, Oliver Pinter wrote: > On 10/6/18, David Wolfskill wrote: >> On Wed, Oct 03, 2018 at 03:28:45PM +0200, Jakob Alvermark wrote: >>> ... >>> 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? >>> ..... >> >> I have run: >> >> uname -a && sysctl dev.pcm dev.hdaa >> >> for each of stable/11 and head, both unpatched and patched. (The >> "unpatched" versions were a bit older -- almost a week, for stable/11; >> from back in August, for head -- but that does not appear to be >> significant in the present case.) >> >> The files are accessible from >> . >> >> The sysctl output is the same for stable/11 & head: >> >> g1-215(11.2-S)[9] foreach f ( sound_info_* ) >> foreach? echo -n "${f}: " && tail +2 $f | md5 >> foreach? end >> sound_info_11_patched: 90c26fbae2031174656207f66e1a39ec >> sound_info_11_unpatched: cb9239fb33901086f56527c22576097f >> sound_info_12_patched: 90c26fbae2031174656207f66e1a39ec >> sound_info_12_unpatched: cb9239fb33901086f56527c22576097f >> g1-215(11.2-S)[12] >> >> A unidiff for the "head" versions: >> >> g1-215(11.2-S)[12] diff -u sound_info_12_{un,}patched >> --- sound_info_12_unpatched 2018-10-06 04:04:36.041741000 -0700 >> +++ sound_info_12_patched 2018-10-06 04:00:26.681350000 -0700 >> @@ -1,4 +1,4 @@ >> -FreeBSD g1-215.catwhisker.org 12.0-ALPHA2 FreeBSD 12.0-ALPHA2 #276 >> r338043M/338043:1200078: Sun Aug 19 04:32:07 PDT 2018 >> root@g1-215.catwhisker.org:/common/S3/obj/usr/src/amd64.amd64/sys/CANARY >> amd64 >> +FreeBSD g1-215.catwhisker.org 12.0-ALPHA8 FreeBSD 12.0-ALPHA8 #131 >> r339212M/339212: Sat Oct 6 03:52:20 PDT 2018 >> root@g1-215.catwhisker.org:/common/S4/obj/usr/src/amd64.amd64/sys/CANARY >> amd64 >> dev.pcm.3.bitperfect: 0 >> dev.pcm.3.buffersize: 65536 >> dev.pcm.3.rec.vchanformat: s16le:2.0 >> @@ -111,7 +111,7 @@ >> Widget cap: 0x00400781 PWR DIGITAL UNSOL STEREO >> Pin cap: 0x00000014 PDC OUT >> Pin config: 0x411111f0 as=15 seq=0 device=Speaker conn=None >> ctype=1/8 >> loc=Rear color=Black misc=1 >> - Pin control: 0x00000000 >> + Pin control: 0x00000040 OUT >> Connections: 1 >> + <- nid=6 [audio output] [DISABLED] >> >> @@ -134,7 +134,7 @@ >> Widget cap: 0x0040058f PWR UNSOL STEREO >> Pin cap: 0x00003734 PDC OUT IN VREF[ 50 80 100 GROUND HIZ ] >> Pin config: 0x411111f0 as=15 seq=0 device=Speaker conn=None >> ctype=1/8 >> loc=Rear color=Black misc=1 >> - Pin control: 0x00000000 >> + Pin control: 0x00000020 IN >> Output amp: 0x80000000 mute=1 step=0 size=0 offset=0 (0/0dB) >> Input amp: 0x00270300 mute=0 step=3 size=39 offset=0 (0/30dB) >> Connections: 2 >> @@ -147,7 +147,7 @@ >> Widget cap: 0x0040048b PWR UNSOL STEREO >> Pin cap: 0x00003724 PDC IN VREF[ 50 80 100 GROUND HIZ ] >> Pin config: 0x411111f0 as=15 seq=0 device=Speaker conn=None >> ctype=1/8 >> loc=Rear color=Black misc=1 >> - Pin control: 0x00000000 >> + Pin control: 0x00000020 IN >> Input amp: 0x00270300 mute=0 step=3 size=39 offset=0 (0/30dB) >> >> dev.hdaa.1.nid25_original: 0x01a1903e as=3 seq=14 device=Mic conn=Jack >> ctype=1/8 loc=Rear color=Pink misc=0 >> g1-215(11.2-S)[13] >> >> Peace, >> david > > Is there any chance to get these workarounds / fixes for dell machines > in the main tree? With Jakob's workaround - to comment out the cleaning of hda pin states - my laptop's sound started to work. It's a Dell E5440. So thanks Jakob! :) > > >> -- >> David H. Wolfskill david@catwhisker.org >> Women (and decent men): vote against supporters of Trump's misogyny! >> >> See http://www.catwhisker.org/~david/publickey.gpg for my public key. >> >