Trying to get sound working

Another sound thread

Trying to get audio working on a fresh install.. not new to this but this should be easy because this specific laptop sound works on all linux distro's no matter which one i try

Here is

cat /dev/sndstat


Code:
Installed devices:
pcm0: <Realtek (0x0287) (Analog)> (play/rec) default
pcm1: <Realtek (0x0287) (Left Analog Headphones)> (play)
pcm2: <Intel Tiger Lake (HDMI/DP 8ch)> (play)
No devices installed from userspace.

mixer

Code:
joe@freebsd ~> mixer
pcm0:mixer: <Realtek (0x0287) (Analog)> on hdaa0 (play/rec) (default)
    vol       = 0.85:0.85     pbk
    pcm       = 1.00:1.00     pbk
    speaker   = 1.00:1.00     rec
    mic       = 0.67:0.67     rec src
    rec       = 0.37:0.37     pbk

sysctl -a |grep hda

Code:
[LIST]
[*]hdac0: <Intel Tiger Lake HDA Controller> mem 0x605f2c8000-0x605f2cbfff,0x605f000000-0x605f0fffff at device 31.3 on pci0
[*]hdacc0: <Realtek (0x0287) HDA CODEC> at cad 0 on hdac0
[*]hdaa0: <Realtek (0x0287) Audio Function Group> at nid 1 on hdacc0
[*]pcm0: <Realtek (0x0287) (Analog)> at nid 23 and 25 on hdaa0
[*]pcm1: <Realtek (0x0287) (Left Analog Headphones)> at nid 33 on hdaa0
[*]hdacc1: <Intel Tiger Lake HDA CODEC> at cad 2 on hdac0
[*]hdaa1: <Intel Tiger Lake Audio Function Group> at nid 1 on hdacc1
[*]pcm2: <Intel Tiger Lake (HDMI/DP 8ch)> at nid 4 on hdaa1
[*]hdaa0: Dumping AFG pins:
[*]hdaa0: nid   0x    as seq device       conn  jack    loc        color   misc
[*]hdaa0: 18 40000000 0  0  Line-out      None  Unknown 0x00       Unknown 0 DISA
[*]hdaa0:     Caps: IN
[*]hdaa0: 19 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
[*]hdaa0:     Caps: IN
[*]hdaa0: 20 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
[*]hdaa0:     Caps:    OUT    EAPD      Sense: 0x00000000 (disconnected)
[*]hdaa0: 23 90170110 1  0  Speaker       Fixed Analog  Internal   Unknown 1
[*]hdaa0:     Caps:    OUT HP           Sense: 0x00000000 (disconnected)
[*]hdaa0: 24 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
[*]hdaa0:     Caps: IN                  Sense: 0x00000000 (disconnected)
[*]hdaa0: 25 03a11030 3  0  Mic           Jack  1/8     Left       Black   0
[*]hdaa0:     Caps: IN             VREF Sense: 0x00000000 (disconnected)
[*]hdaa0: 26 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
[*]hdaa0:     Caps: IN             VREF Sense: 0x00000000 (disconnected)
[*]hdaa0: 27 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
[*]hdaa0:     Caps: IN OUT    EAPD VREF Sense: 0x00000000 (disconnected)
[*]hdaa0: 30 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
[*]hdaa0:     Caps:    OUT
[*]hdaa0: 33 03211020 2  0  Headphones    Jack  1/8     Left       Black   0
[*]hdaa0:     Caps:    OUT HP EAPD      Sense: 0x00000000 (disconnected)
[*]hdaa0: NumGPIO=5 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1
[*]hdaa0:  GPIO0: disabled
[*]hdaa0:  GPIO1: disabled
[*]hdaa0:  GPIO2: disabled
[*]hdaa0:  GPIO3: disabled
[*]hdaa0:  GPIO4: disabled
[*]hdaa1: Dumping AFG pins:
[*]hdaa1: nid   0x    as seq device       conn  jack    loc        color   misc
[*]hdaa1:  4 18560010 1  0  Digital-out   Jack  Digital 0x18       Unknown 0
[*]hdaa1:     Caps:    OUT              Sense: 0x00000000 (disconnected)
[*]hdaa1: NumGPIO=0 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=0
[*]device    snd_hda
[*]irq153: hdac0:313 @cpu0(domain0): 7694
[*]dev.pcm.2.%parent: hdaa1
[*]dev.pcm.1.%parent: hdaa0
[*]dev.pcm.0.%parent: hdaa0
[*]dev.hdaa.1.init_clear: 0
[*]dev.hdaa.1.reconfig: 0
[*]dev.hdaa.1.gpo_config:
[*]dev.hdaa.1.gpo_state:
[*]dev.hdaa.1.gpio_config:
[*]dev.hdaa.1.gpio_state:
[*]dev.hdaa.1.gpi_state:
[*]dev.hdaa.1.config: forcestereo,ivref50,ivref80,ivref100,ivref,vref
[*]dev.hdaa.1.nid4_original: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0
[*]dev.hdaa.1.nid4_config: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0
[*]dev.hdaa.1.nid4: pin: Digital-out (Jack)
[*]dev.hdaa.1.nid3: audio output
[*]dev.hdaa.1.%iommu:
[*]dev.hdaa.1.%parent: hdacc1
[*]dev.hdaa.1.%pnpinfo: type=0x01 subsystem=0x80860101
[*]dev.hdaa.1.%location: nid=1
[*]dev.hdaa.1.%driver: hdaa
[*]dev.hdaa.1.%desc: Intel Tiger Lake Audio Function Group
[*]dev.hdaa.0.init_clear: 0
[*]dev.hdaa.0.reconfig: 0
[*]dev.hdaa.0.gpo_config:
[*]dev.hdaa.0.gpo_state:
[*]dev.hdaa.0.gpio_config: 0=keep 1=keep 2=keep 3=keep 4=keep
[*]dev.hdaa.0.gpio_state: 0=disabled 1=disabled 2=disabled 3=disabled 4=disabled
[*]dev.hdaa.0.gpi_state:
[*]dev.hdaa.0.config: forcestereo,ivref50,ivref80,ivref100,ivref,vref
[*]dev.hdaa.0.nid37: audio selector [DISABLED]
[*]dev.hdaa.0.nid36: audio selector [DISABLED]
[*]dev.hdaa.0.nid35: audio mixer
[*]dev.hdaa.0.nid34: audio mixer [DISABLED]
[*]dev.hdaa.0.nid33_original: 0x03211020 as=2 seq=0 device=Headphones conn=Jack ctype=1/8 loc=Left color=Black misc=0
[*]dev.hdaa.0.nid33_config: 0x03211020 as=2 seq=0 device=Headphones conn=Jack ctype=1/8 loc=Left color=Black misc=0
[*]dev.hdaa.0.nid33: pin: Headphones (Black Jack)
[*]dev.hdaa.0.nid32: vendor widget [DISABLED]
[*]dev.hdaa.0.nid31: vendor widget [DISABLED]
[*]dev.hdaa.0.nid30_original: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1
[*]dev.hdaa.0.nid30_config: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1
[*]dev.hdaa.0.nid30: pin: Speaker (None) [DISABLED]
[*]dev.hdaa.0.nid29_original: 0x40471a6d as=6 seq=13 device=SPDIF-out conn=None ctype=Analog loc=0x00 color=Black misc=10
[*]dev.hdaa.0.nid29_config: 0x40471a6d as=6 seq=13 device=SPDIF-out conn=None ctype=Analog loc=0x00 color=Black misc=10
[*]dev.hdaa.0.nid29: beep widget
[*]dev.hdaa.0.nid28: vendor widget [DISABLED]
[*]dev.hdaa.0.nid27_original: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1
[*]dev.hdaa.0.nid27_config: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1
[*]dev.hdaa.0.nid27: pin: Speaker (None) [DISABLED]
[*]dev.hdaa.0.nid26_original: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1
[*]dev.hdaa.0.nid26_config: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1
[*]dev.hdaa.0.nid26: pin: Speaker (None) [DISABLED]
[*]dev.hdaa.0.nid25_original: 0x03a11030 as=3 seq=0 device=Mic conn=Jack ctype=1/8 loc=Left color=Black misc=0
[*]dev.hdaa.0.nid25_config: 0x03a11030 as=3 seq=0 device=Mic conn=Jack ctype=1/8 loc=Left color=Black misc=0
[*]dev.hdaa.0.nid25: pin: Mic (Black Jack)
[*]dev.hdaa.0.nid24_original: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1
[*]dev.hdaa.0.nid24_config: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1
[*]dev.hdaa.0.nid24: pin: Speaker (None) [DISABLED]
[*]dev.hdaa.0.nid23_original: 0x90170110 as=1 seq=0 device=Speaker conn=Fixed ctype=Analog loc=Internal color=Unknown misc=1
[*]dev.hdaa.0.nid23_config: 0x90170110 as=1 seq=0 device=Speaker conn=Fixed ctype=Analog loc=Internal color=Unknown misc=1
[*]dev.hdaa.0.nid23: pin: Speaker (Fixed)
[*]dev.hdaa.0.nid22: vendor widget [DISABLED]
[*]dev.hdaa.0.nid21: vendor widget [DISABLED]
[*]dev.hdaa.0.nid20_original: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1
[*]dev.hdaa.0.nid20_config: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1
[*]dev.hdaa.0.nid20: pin: Speaker (None) [DISABLED]
[*]dev.hdaa.0.nid19_original: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1
[*]dev.hdaa.0.nid19_config: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1
[*]dev.hdaa.0.nid19: pin: Speaker (None) [DISABLED]
[*]dev.hdaa.0.nid18_original: 0x40000000 as=0 seq=0 device=Line-out conn=None ctype=Unknown loc=0x00 color=Unknown misc=0
[*]dev.hdaa.0.nid18_config: 0x40000000 as=0 seq=0 device=Line-out conn=None ctype=Unknown loc=0x00 color=Unknown misc=0
[*]dev.hdaa.0.nid18: pin: Line-out (None) [DISABLED]
[*]dev.hdaa.0.nid17: vendor widget [DISABLED]
[*]dev.hdaa.0.nid16: vendor widget [DISABLED]
[*]dev.hdaa.0.nid15: vendor widget [DISABLED]
[*]dev.hdaa.0.nid14: vendor widget [DISABLED]
[*]dev.hdaa.0.nid13: vendor widget [DISABLED]
[*]dev.hdaa.0.nid12: vendor widget [DISABLED]
[*]dev.hdaa.0.nid11: vendor widget [DISABLED]
[*]dev.hdaa.0.nid10: audio input [DISABLED]
[*]dev.hdaa.0.nid9: audio input [DISABLED]
[*]dev.hdaa.0.nid8: audio input
[*]dev.hdaa.0.nid7: audio input [DISABLED]
[*]dev.hdaa.0.nid6: audio output [DISABLED]
[*]dev.hdaa.0.nid5: vendor widget [DISABLED]
[*]dev.hdaa.0.nid4: vendor widget [DISABLED]
[*]dev.hdaa.0.nid3: audio output
[*]dev.hdaa.0.nid2: audio output
[*]dev.hdaa.0.%iommu:
[*]dev.hdaa.0.%parent: hdacc0
[*]dev.hdaa.0.%pnpinfo: type=0x01 subsystem=0x17aa3853
[*]dev.hdaa.0.%location: nid=1
[*]dev.hdaa.0.%driver: hdaa
[*]dev.hdaa.0.%desc: Realtek (0x0287) Audio Function Group
[*]dev.hdaa.%parent:
[*]dev.hdacc.1.%iommu:
[*]dev.hdacc.1.%parent: hdac0
[*]dev.hdacc.1.%pnpinfo: vendor=0x8086 device=0x2812 revision=0x00 stepping=0x00
[*]dev.hdacc.1.%location: cad=2
[*]dev.hdacc.1.%driver: hdacc
[*]dev.hdacc.1.%desc: Intel Tiger Lake HDA CODEC
[*]dev.hdacc.0.%iommu:
[*]dev.hdacc.0.%parent: hdac0
[*]dev.hdacc.0.%pnpinfo: vendor=0x10ec device=0x0287 revision=0x00 stepping=0x02
[*]dev.hdacc.0.%location: cad=0
[*]dev.hdacc.0.%driver: hdacc
[*]dev.hdacc.0.%desc: Realtek (0x0287) HDA CODEC
[*]dev.hdacc.%parent:
[*]dev.hdac.0.polling: 0
[*]dev.hdac.0.pindump: 0
[*]dev.hdac.0.wake: 0
[*]dev.hdac.0.%iommu: rid=0xfb
[*]dev.hdac.0.%parent: pci0
[*]dev.hdac.0.%pnpinfo: vendor=0x8086 device=0xa0c8 subvendor=0x17aa subdevice=0x3832 class=0x040100
[*]dev.hdac.0.%location: slot=31 function=3 dbsf=pci0:0:31:3 handle=\_SB_.PC00.HDAS
[*]dev.hdac.0.%driver: hdac
[*]dev.hdac.0.%desc: Intel Tiger Lake HDA Controller
[*]dev.hdac.%parent: 
[/LIST]

What would be the next step ?
 
Hi jb1277976

have you added the load command to /boot/loader.conf?

Code:
snd_driver_load="YES"

I searched for some documentation:

I am new to FreeBSD but i have not had sound problems in VirtualBox or in my recent 14.3 laptop installation but i always add the load driver to my loader.conf.
 
Belive it or not i have snd_driver_load="YES" not ="YES" let me try again.. will report back
 
Belive it or not i have snd_driver_load="YES" not ="YES" let me try again.. will report back
No, remove it, you don't need it. It's not actually a sound card driver, it's a stub that simply loads all available sound card drivers. Useful if you don't know what you have and are trying to figure out which driver you actually need. You don't need to figure that out, your sound 'card' is already detected with the snd_hda(4) driver. But you might need to fiddle a bit with the pin assignment.
 
No, remove it, you don't need it. It's not actually a sound card driver, it's a stub that simply loads all available sound card drivers. Useful if you don't know what you have and are trying to figure out which driver you actually need. You don't need to figure that out, your sound 'card' is already detected with the snd_hda(4) driver. But you might need to fiddle a bit with the pin assignment.
How would I even start with the pins ?
 
No, remove it, you don't need it. It's not actually a sound card driver, it's a stub that simply loads all available sound card drivers. Useful if you don't know what you have and are trying to figure out which driver you actually need. You don't need to figure that out, your sound 'card' is already detected with the snd_hda(4) driver. But you might need to fiddle a bit with the pin assignment.
Yes, i see now. I didn't know that it loads all drivers. Thanks for clarifying!

I also found a very helpful page while researching snd_driver_load, which i have not seen before:

one note: i have recently installed FreeBSD on my laptop (first time installing a FreeBSD in a system). Everything worked out-of-the-box except graphics. Anyway, my sound is superb (better than it was in Windows, i suppose because of Pulse audio?) However, i use vlc to play music and videos. I watched a video and i had no sound output. I had to manually select the output device in vlc settings, then it worked. I also had to manually select the headphones output to use my headphones. Maybe a device hint is useful here but the point is that maybe you need to specify the output in your audio player(s).

I believe that FreeBSD automatically loads Intel drivers anyway. I thought that i read that a few months ago...
 
Reduced quote:
Code:
[*]hdaa0: nid   0x    as seq device       conn  jack    loc        color   misc
[*]hdaa0: 23 90170110 1  0  Speaker       Fixed Analog  Internal   Unknown 1
[*]hdaa0:     Caps:    OUT HP           Sense: 0x00000000 (disconnected)
[*]hdaa0: 25 03a11030 3  0  Mic           Jack  1/8     Left       Black   0
[*]hdaa0:     Caps: IN             VREF Sense: 0x00000000 (disconnected)
[*]hdaa0: 33 03211020 2  0  Headphones    Jack  1/8     Left       Black   0
[*]hdaa0:     Caps:    OUT HP EAPD      Sense: 0x00000000 (disconnected)

My guess: The system detected your Speaker device (nid=23) with headphone capabilities (HP in Caps) and it is in disconnected state, so no sound is routed through the device.

I don't know if this can be changed with pin reconfigurations. I would try the usual "Speaker+Headphones automatic switching hint", which associates nid23 and nid33 and hope that this fixes this issue. So please put the following lines into /boot/device.hints, reboot and see if that changes anything:
Code:
hint.hdaa.0.nid23.config="as=1 seq=0"
hint.hdaa.0.nid33.config="as=1 seq=15"
 
Reduced quote:


My guess: The system detected your Speaker device (nid=23) with headphone capabilities (HP in Caps) and it is in disconnected state, so no sound is routed through the device.

I don't know if this can be changed with pin reconfigurations. I would try the usual "Speaker+Headphones automatic switching hint", which associates nid23 and nid33 and hope that this fixes this issue. So please put the following lines into /boot/device.hints, reboot and see if that changes anything:
Code:
hint.hdaa.0.nid23.config="as=1 seq=0"
hint.hdaa.0.nid33.config="as=1 seq=15"
Nope.. Dam! Seems like it should be easy cause at least some stuff is being detected
 
Now I also see misc=1 for nid=23. From snd_hda(4):
Code:
Misc bits.  Can be specified as a number from 0 to 15.
Bit 0 has a special meaning.  When set it means that jack
detection is not implemented in hardware.

Wild shot: try again with
Code:
hint.hdaa.0.nid23.config="as=1 seq=0 misc=0"
hint.hdaa.0.nid33.config="as=1 seq=15"
 
Now I also see misc=1 for nid=23. From snd_hda(4):
Code:
Misc bits.  Can be specified as a number from 0 to 15.
Bit 0 has a special meaning.  When set it means that jack
detection is not implemented in hardware.

Wild shot: try again with
Code:
hint.hdaa.0.nid23.config="as=1 seq=0 misc=0"
hint.hdaa.0.nid33.config="as=1 seq=15"
Will try when I get home and report back
 
Now I also see misc=1 for nid=23. From snd_hda(4):
Code:
Misc bits.  Can be specified as a number from 0 to 15.
Bit 0 has a special meaning.  When set it means that jack
detection is not implemented in hardware.

Wild shot: try again with
Code:
hint.hdaa.0.nid23.config="as=1 seq=0 misc=0"
hint.hdaa.0.nid33.config="as=1 seq=15"
What do pins and nids really mean ? i looked at man snd_hda but i didn't understand it.. maybe if its broken down then i will and probably could help out
 
Now I also see misc=1 for nid=23. From snd_hda(4):
Code:
Misc bits.  Can be specified as a number from 0 to 15.
Bit 0 has a special meaning.  When set it means that jack
detection is not implemented in hardware.

Wild shot: try again with
Code:
hint.hdaa.0.nid23.config="as=1 seq=0 misc=0"
hint.hdaa.0.nid33.config="as=1 seq=15"
No luck!
 
Anyone have any other suggestions? Pulling my hair out! Lol I see it I understand it but it seems like the speaker nid 23 and 25 just aren’t working
 
System Information
Manufacturer: LENOVO
Product Name: 82BJ
Version: Yoga 7 15ITL5

CPU: 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz (2419.20-MHz K8-class CPU)
FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
 
The information you need to interpret the default pin assignments and how to change them is in the snd_hda(4) that SirDice had linked for you. It is dense reading and has to be viewed in the context of the sound jacks, internal speakers and mic's on the device in front of you.

The man page lists a setting which would enable you to output the present pin configurations to a file. I'm somewhat confused by your sndstat output for nwid (pin) 23. It is described as an Internal speaker but with a 1/8 connector, jack sense disable, and Headphone capability.

Does the headphone jack work? If not could you dump the pin assignments?
Runtime Configuration
The following sysctl(8) variables are available in addition to those
available to all sound(4) devices:

dev.hdac.%d.pindump Setting this to a non-zero value
dumps the current pin configuration,
main capabilities and jack sense sta-
tus of all audio functions on the
controller to console and syslog.

I think a forum search will give more details on performing a pindump.
 
Code:
joe@freebsd ~> dmesg |grep hda
hdac0: <Intel Tiger Lake HDA Controller> mem 0x605f2c8000-0x605f2cbfff,0x605f000000-0x605f0fffff at device 31.3 on pci0
hdacc0: <Realtek (0x0287) HDA CODEC> at cad 0 on hdac0
hdaa0: <Realtek (0x0287) Audio Function Group> at nid 1 on hdacc0
pcm0: <Realtek (0x0287) (Analog 2.0+HP/2.0)> at nid 23,33 and 25 on hdaa0
hdacc1: <Intel Tiger Lake HDA CODEC> at cad 2 on hdac0
hdaa1: <Intel Tiger Lake Audio Function Group> at nid 1 on hdacc1
pcm1: <Intel Tiger Lake (HDMI/DP 8ch)> at nid 4 on hdaa1
hdaa0: Dumping AFG pins:
hdaa0: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa0: 18 40000000 0  0  Line-out      None  Unknown 0x00       Unknown 0 DISA
hdaa0:     Caps: IN                
hdaa0: 19 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
hdaa0:     Caps: IN                
hdaa0: 20 41111111 1  1  Speaker       None  1/8     Rear       Black   1 DISA
hdaa0:     Caps:    OUT    EAPD      Sense: 0x00000000 (disconnected)
hdaa0: 23 90170110 1  0  Speaker       Fixed Analog  Internal   Unknown 1
hdaa0:     Caps:    OUT HP           Sense: 0x00000000 (disconnected)
hdaa0: 24 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
hdaa0:     Caps: IN                  Sense: 0x00000000 (disconnected)
hdaa0: 25 03a11030 3  0  Mic           Jack  1/8     Left       Black   0
hdaa0:     Caps: IN             VREF Sense: 0x00000000 (disconnected)
hdaa0: 26 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
hdaa0:     Caps: IN             VREF Sense: 0x00000000 (disconnected)
hdaa0: 27 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
hdaa0:     Caps: IN OUT    EAPD VREF Sense: 0x00000000 (disconnected)
hdaa0: 30 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
hdaa0:     Caps:    OUT            
hdaa0: 33 0321101f 1  15 Headphones    Jack  1/8     Left       Black   0
hdaa0:     Caps:    OUT HP EAPD      Sense: 0x00000000 (disconnected)
hdaa0: NumGPIO=5 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1
hdaa0:  GPIO0: disabled
hdaa0:  GPIO1: disabled
hdaa0:  GPIO2: disabled
hdaa0:  GPIO3: disabled
hdaa0:  GPIO4: disabled
hdaa1: Dumping AFG pins:
hdaa1: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa1:  4 18560010 1  0  Digital-out   Jack  Digital 0x18       Unknown 0
hdaa1:     Caps:    OUT              Sense: 0x00000000 (disconnected)
hdaa1: NumGPIO=0 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=0
hdac0: <Intel Tiger Lake HDA Controller> mem 0x605f2c8000-0x605f2cbfff,0x605f000000-0x605f0fffff at device 31.3 on pci0
hdacc0: <Realtek (0x0287) HDA CODEC> at cad 0 on hdac0
hdaa0: <Realtek (0x0287) Audio Function Group> at nid 1 on hdacc0
pcm0: <Realtek (0x0287) (Analog)> at nid 23 and 25 on hdaa0
pcm1: <Realtek (0x0287) (Left Analog Headphones)> at nid 33 on hdaa0
hdacc1: <Intel Tiger Lake HDA CODEC> at cad 2 on hdac0
hdaa1: <Intel Tiger Lake Audio Function Group> at nid 1 on hdacc1
pcm2: <Intel Tiger Lake (HDMI/DP 8ch)> at nid 4 on hdaa1

Should be easy from what I tried

hint.hdda.0.nid23.config=“as=1 seq=0”
hint.hdda.0.nid33.config=as=1
seq=15”
hint.hdda.0.nid25.config=as=3
seq=0”

Nothing works. Kinda got it but it just dosent work
 
I'm sorry that you are having problems. I have not fiddled with pin assignments before and learning without a physical system to tamper with is complicated. I've tried to read as much as possible to help you out, but i need experience with this process to be of any use to you. I'm surprised that noone here is yet able to offer advice.

I notice that your last post contains device hints that are already specified by the system (nothing has changed).

system specified associations:
pcm0: <Realtek (0x0287) (Analog 2.0+HP/2.0)> at nid 23, 33 and 25 on hdaa0
hdaa0: node id, hex address, association number, sequence number, device type
hdaa0: 23, 90170110, 1, 0, Speaker
hdaa0: 25, 03a11030, 3, 0, Mic
hdaa0: 33, 0321101f, 1, 15, Headphones

your device hints:
hint.hdda.0.nid23.config=“as=1 seq=0”
hint.hdda.0.nid25.config="as=3 seq=0”
hint.hdda.0.nid33.config="as=1 seq=15”

if audio isn't working, then shouldn't we be trying a different combination? for example,
hint.hdda.0.nid23.config="as=0 seq=1 device=Speaker"
hint.hdda.0.nid33.config="as=1 seq=15 device=Headphones"

but if a patch is necessary, then you would have to compile the source files that you linked to in a previous post or find a pre-compiled patch. I d not know if a patch is necessary for this system or not.
 
I'm sorry that you are having problems. I have not fiddled with pin assignments before and learning without a physical system to tamper with is complicated. I've tried to read as much as possible to help you out, but i need experience with this process to be of any use to you. I'm surprised that noone here is yet able to offer advice.

I notice that your last post contains device hints that are already specified by the system (nothing has changed).

system specified associations:
pcm0: <Realtek (0x0287) (Analog 2.0+HP/2.0)> at nid 23, 33 and 25 on hdaa0
hdaa0: node id, hex address, association number, sequence number, device type
hdaa0: 23, 90170110, 1, 0, Speaker
hdaa0: 25, 03a11030, 3, 0, Mic
hdaa0: 33, 0321101f, 1, 15, Headphones

your device hints:
hint.hdda.0.nid23.config=“as=1 seq=0”
hint.hdda.0.nid25.config="as=3 seq=0”
hint.hdda.0.nid33.config="as=1 seq=15”

if audio isn't working, then shouldn't we be trying a different combination? for example,
hint.hdda.0.nid23.config="as=0 seq=1 device=Speaker"
hint.hdda.0.nid33.config="as=1 seq=15 device=Headphones"

but if a patch is necessary, then you would have to compile the source files that you linked to in a previous post or find a pre-compiled patch. I d not know if a patch is necessary for this system or not.
Didn't work.. Thanks for keeping up with this thread.. i feel we are close!

Also they added it already.. i don't know if its in this kernel or i have to compile a new kernel to add it

 
Back
Top