From owner-freebsd-bugs@freebsd.org Wed Sep 27 21:33:10 2017 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 13014E0FE38 for ; Wed, 27 Sep 2017 21:33:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 ED0CE2F01 for ; Wed, 27 Sep 2017 21:33:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v8RLX9e0044857 for ; Wed, 27 Sep 2017 21:33:09 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 222636] Headphones redirection for Lenovo T420s Date: Wed, 27 Sep 2017 21:33:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: vermaden@interia.pl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Sep 2017 21:33:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222636 --- Comment #1 from vermaden@interia.pl --- These lines in /boot/device.hints file solves the problem: # SOUND ON HEADPHONES hint.hdaa.0.nid31.config=3D"as=3D1" hint.hdaa.0.nid25.config=3D"as=3D1 seq=3D15 device=3DHeadphones mute=3D0 mi= sc=3D0" hint.hdaa.0.nid28.config=3D"as=3D1 seq=3D15 device=3DHeadphones mute=3D0 mi= sc=3D0" Here are devices details from 'sysctl -a | grep hda' command: # dev.hdaa.0.nid31_original: 0x90170110 as=3D1 seq=3D0 device=3DSpeaker con= n=3DFixed ctype=3DAnalog loc=3DInternal color=3DUnknown misc=3D1 # dev.hdaa.0.nid31_config: 0x90170110 as=3D1 seq=3D0 device=3DSpeaker conn= =3DFixed ctype=3DAnalog loc=3DInternal color=3DUnknown misc=3D1 # dev.hdaa.0.nid31: pin: Speaker (Fixed) # Widget cap: 0x00400501 PWR STEREO # Association: 0 (0x0001) # Pin cap: 0x00000010 OUT # Pin config: 0x90170110 as=3D1 seq=3D0 device=3DSpeaker conn=3DFixed = ctype=3DAnalog loc=3DInternal color=3DUnknown misc=3D1 # Pin control: 0x00000040 OUT # Connections: 2 # + <- nid=3D16 [audio output] (selected) # + [DISABLED] <- nid=3D17 [audio output] #=20 # dev.hdaa.0.nid28_original: 0x6121401f as=3D1 seq=3D15 device=3DHeadphones= conn=3DNone ctype=3D1/8 loc=3DExt-Rear color=3DGreen misc=3D0 # dev.hdaa.0.nid28_config: 0x6121401f as=3D1 seq=3D15 device=3DHeadphones c= onn=3DNone ctype=3D1/8 loc=3DExt-Rear color=3DGreen misc=3D0 # dev.hdaa.0.nid28: pin: Headphones (None) [DISABLED] # Widget cap: 0x00400581 PWR UNSOL STEREO # Pin cap: 0x00000014 PDC OUT # Pin config: 0x6121401f as=3D1 seq=3D15 device=3DHeadphones conn=3DNo= ne ctype=3D1/8 loc=3DExt-Rear color=3DGreen misc=3D0 # Pin control: 0x00000000 # Connections: 2 # + <- nid=3D16 [audio output] (selected) # + <- nid=3D17 [audio output] #=20 # dev.hdaa.0.nid25_original: 0x04211040 as=3D4 seq=3D0 device=3DHeadphones = conn=3DJack ctype=3D1/8 loc=3DRight color=3DBlack misc=3D0 # dev.hdaa.0.nid25_config: 0x04211040 as=3D4 seq=3D0 device=3DHeadphones co= nn=3DJack ctype=3D1/8 loc=3DRight color=3DBlack misc=3D0 # dev.hdaa.0.nid25: pin: Headphones (Black Jack) # Widget cap: 0x00400581 PWR UNSOL STEREO # Association: 1 (0x0001) # Pin cap: 0x0000001c PDC HP OUT # Pin config: 0x04211040 as=3D4 seq=3D0 device=3DHeadphones conn=3DJac= k ctype=3D1/8 loc=3DRight color=3DBlack misc=3D0 # Pin control: 0x000000c0 HP OUT # Connections: 2 # + [DISABLED] <- nid=3D16 [audio output] # + <- nid=3D17 [audio output] (selected) --=20 You are receiving this mail because: You are the assignee for the bug.=