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=222636

--- Comment #1 from vermaden@interia.pl ---
These lines in /boot/device.hints file solves the problem:

# SOUND ON HEADPHONES
hint.hdaa.0.nid31.config="as=1"
hint.hdaa.0.nid25.config="as=1 seq=15 device=Headphones mute=0 misc=0"
hint.hdaa.0.nid28.config="as=1 seq=15 device=Headphones mute=0 misc=0"

Here are devices details from 'sysctl -a | grep hda' command:

# dev.hdaa.0.nid31_original: 0x90170110 as=1 seq=0 device=Speaker conn=Fixed
ctype=Analog loc=Internal color=Unknown misc=1
# dev.hdaa.0.nid31_config: 0x90170110 as=1 seq=0 device=Speaker conn=Fixed
ctype=Analog loc=Internal color=Unknown misc=1
# dev.hdaa.0.nid31: pin: Speaker (Fixed)
#      Widget cap: 0x00400501 PWR STEREO
#     Association: 0 (0x0001)
#         Pin cap: 0x00000010 OUT
#      Pin config: 0x90170110 as=1 seq=0 device=Speaker conn=Fixed ctype=Analog
loc=Internal color=Unknown misc=1
#     Pin control: 0x00000040 OUT
#     Connections: 2
#           + <- nid=16 [audio output] (selected)
#           + [DISABLED] <- nid=17 [audio output]
# 
# dev.hdaa.0.nid28_original: 0x6121401f as=1 seq=15 device=Headphones conn=None
ctype=1/8 loc=Ext-Rear color=Green misc=0
# dev.hdaa.0.nid28_config: 0x6121401f as=1 seq=15 device=Headphones conn=None
ctype=1/8 loc=Ext-Rear color=Green misc=0
# dev.hdaa.0.nid28: pin: Headphones (None) [DISABLED]
#      Widget cap: 0x00400581 PWR UNSOL STEREO
#         Pin cap: 0x00000014 PDC OUT
#      Pin config: 0x6121401f as=1 seq=15 device=Headphones conn=None ctype=1/8
loc=Ext-Rear color=Green misc=0
#     Pin control: 0x00000000
#     Connections: 2
#           + <- nid=16 [audio output] (selected)
#           + <- nid=17 [audio output]
# 
# dev.hdaa.0.nid25_original: 0x04211040 as=4 seq=0 device=Headphones conn=Jack
ctype=1/8 loc=Right color=Black misc=0
# dev.hdaa.0.nid25_config: 0x04211040 as=4 seq=0 device=Headphones conn=Jack
ctype=1/8 loc=Right color=Black misc=0
# 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=4 seq=0 device=Headphones conn=Jack ctype=1/8
loc=Right color=Black misc=0
#     Pin control: 0x000000c0 HP OUT
#     Connections: 2
#           + [DISABLED] <- nid=16 [audio output]
#           + <- nid=17 [audio output] (selected)

-- 
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>