From owner-freebsd-current@freebsd.org Tue Oct 16 19:40:59 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 0CF4010DF4D5 for ; Tue, 16 Oct 2018 19:40:59 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: from mail-yb1-xb43.google.com (mail-yb1-xb43.google.com [IPv6:2607:f8b0:4864:20::b43]) (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 9E59A7BEF1 for ; Tue, 16 Oct 2018 19:40:58 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: by mail-yb1-xb43.google.com with SMTP id w80-v6so9384830ybe.10 for ; Tue, 16 Oct 2018 12:40:58 -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=sOAPqaHIgkFaTkGc88dVpA1r0VAc+NPxEGm2fqaalog=; b=JyTMKI9cQU6JEHZEt+qe8EqQIDA8ed5zvb17MWoZXEl5CSwJ5EI7FOXBM4ZFeQ6qbO eXJp35IJAoDURAlKazplnUgS1UK2vjfcx0GVUhnLJ4yGRAGYJT87Tw5oZ5LNxXbInAEz yx1VYXhZXndcPPsAY2nbmkcBKJPA4lKHLFbtOfKiGx+dc9TuOvLpC/4IeuL4hftTnH0a qyVfdi6r/4/4T8wHhOmabUgMMlhwVadoJh0wDdWHe+LyMvNvrrYNebZCaE65SKkNY68+ hJkFD1YpeuIpPPYiUYgHeYhVUw7kwgOsdhf/EIDqImPSkgEVUMEl/m06HBQdU9auIQ3a hCzw== 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=sOAPqaHIgkFaTkGc88dVpA1r0VAc+NPxEGm2fqaalog=; b=NjmdhJs/uTIL3j36EIlm1Z4Vve40kPjlFrbvxJET6LG7DuQynu+Rfo7C0vJrg04c+I ygcCzZzGa3SO6Xp3lPf7zJNHYf3gZXrobz74ZOfUTeCtqnvpDPo+mA17+Gbn9OLAcR6g 6wDGRL4ECr52pwBSQRcuKS9WwQGytUpZTgTAo+NJE0MiH4I9HjrDRoZ8cdSf1CCh9qS+ X73mGgIc9l7Z8bfepwNF58+zi05olg5poRl/1zYDa0HPnLnE8+j791VhR8/qkWBvieuW oc8tYFt2juE3J7M45mCgFSeoJP5p2DkvQ2axmZ3dj3p1HwESEjfpX48r9bJPXGNriG/8 qRNA== X-Gm-Message-State: ABuFfog/rJkFPgMmWsx0On5/+XKemC96Kt7Zf6yqny0nH1FxxV5xsBtq YiWdDWmez0ZBZJoL6tt3KCInGLmNr7+iAXyPn/V8BA== X-Google-Smtp-Source: ACcGV626HT9bZIrdWLAFfjYP7Rsn4jnvLwsxcbERvcG0CpWM9bphqJ3eMTvdcAUpe8bDvIBnNL8QyxKAvlvSbYXwPZY= X-Received: by 2002:a25:3386:: with SMTP id z128-v6mr12573198ybz.218.1539718857927; Tue, 16 Oct 2018 12:40:57 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a5b:645:0:0:0:0:0 with HTTP; Tue, 16 Oct 2018 12:40:56 -0700 (PDT) In-Reply-To: <20181006120427.GM1118@albert.catwhisker.org> 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:40:56 +0200 Message-ID: Subject: Re: Sound issues with Dell Latitude 7490 (kabylake) To: current@freebsd.org Cc: Jakob Alvermark , 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:40:59 -0000 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? > -- > 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. >