Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Sep 2017 21:33:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 222636] Headphones redirection for Lenovo T420s
Message-ID:  <bug-222636-8-4wB6Fd81iJ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-222636-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-222636-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222636-8-4wB6Fd81iJ>