Solved Need to get sound working in Headphones

This should be a simple one but i can't figure it out.

Need to get the correct nids to be able to switch from speaker to headphones. i forgot what as and what seq i need

dmesg |grep hda

Code:
hdaa0: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa0: 18 90a601c0 12 0  Mic           Fixed Digital Internal   Unknown 1
ahcich1: SNTF 0x0001
hdaa0: 20 90171120 2  0  Speaker       Fixed Analog  Internal   Black   1
hdaa0: 23 40000000 0  0  Line-out      None  Unknown 0x00       Unknown 0
hdaa0: 24 411111f0 15 0  Speaker       None  1/8     Rear       Black   1
hdaa0: 25 411111f0 15 0  Speaker       None  1/8     Rear       Black   1
hdaa0: 26 411111f0 15 0  Speaker       None  1/8     Rear       Black   1
hdaa0: 27 411111f0 15 0  Speaker       None  1/8     Rear       Black   1
hdaa0: 29 40700001 0  1  Modem-handset None  Unknown 0x00       Unknown 0
hdaa0: 30 411111f0 15 0  Speaker       None  1/8     Rear       Black   1
hdaa0: 33 02211030 3  0  Headphones    Jack  1/8     Front      Black   0
hdaa0: Patching widget caps nid=29 0x00400400 -> 0x00700400
hdaa0: Patched pins configuration:
hdaa0: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa0: 18 90a601c0 12 0  Mic           Fixed Digital Internal   Unknown 1
hdaa0: 20 90171120 2  0  Speaker       Fixed Analog  Internal   Black   1
hdaa0: 23 40000000 0  0  Line-out      None  Unknown 0x00       Unknown 0 DISA
hdaa0: 24 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
hdaa0: 25 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
hdaa0: 26 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
hdaa0: 27 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
hdaa0: 30 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
hdaa0: 33 02211030 3  0  Headphones    Jack  1/8     Front      Black   0

cat /dev/sndstat

Code:
Installed devices:
pcm0: <Realtek ALC255 (Internal Analog)> (play/rec) default
pcm1: <Realtek ALC255 (Front Analog Headphones)> (play)
pcm2: <Intel Kaby Lake (HDMI/DP 8ch)> (play)
No devices installed from userspace.


This was resolved from an old thread i forgot to look up. I thought it was for another laptop that had FreeBSD on it but it was actually this one. Sorry for not searching. This is the thread and kinda of an explanation on how to fix this
 
Back
Top