Re: Anyone know how to get sound on a 12th Gen Alder Lake based laptop?

From: Chris <bsd-lists_at_bsdforge.com>
Date: Mon, 15 Apr 2024 19:09:03 UTC
On 2024-04-15 07:56, Christos Margiolis wrote:
> Hello Chris,
> 
> Chris wrote:
>> I've read everything I can find on the subject. But have not been
>> unable to produce sound on my Lenovo Ideapad 2. It's a 12th Gen
>> Alder platform. Following are all the details. If anyone has had
>> success, or knows how to get sound. Please share your info.
> 
> Could you please set dev.hdac.0.pindump=1 and attach the output shown in
> dmesg(8)?
Thank you very much for taking the time to help, Christos!
I haven't needed to tweak sound since 8.4. Everything is completely
different now. But the output from dmesg(8) appears to say everything
is disabled. :(
Apr 15 11:51:08 fbsd15 kernel: hdaa0: Dumping AFG pins:
Apr 15 11:51:08 fbsd15 kernel: hdaa0: nid   0x    as seq device       conn  
jack    loc        color   misc
Apr 15 11:51:08 fbsd15 kernel: hdaa0: 18 90a60130 3  0  Mic           Fixed 
Digital Internal   Unknown 1
Apr 15 11:51:08 fbsd15 kernel: hdaa0:     Caps: IN
Apr 15 11:51:08 fbsd15 kernel: hdaa0: 19 40000000 0  0  Line-out      None  
Unknown 0x00       Unknown 0 DISA
Apr 15 11:51:08 fbsd15 kernel: hdaa0:     Caps: IN
Apr 15 11:51:08 fbsd15 kernel: hdaa0: 20 90170120 2  0  Speaker       Fixed 
Analog  Internal   Unknown 1 DISA
Apr 15 11:51:08 fbsd15 kernel: hdaa0:     Caps:    OUT    EAPD      Sense: 
0x00000000 (disconnected)
Apr 15 11:51:08 fbsd15 kernel: hdaa0: 24 411111f0 15 0  Speaker       None  
1/8     Rear       Black   1 DISA
Apr 15 11:51:08 fbsd15 kernel: hdaa0:     Caps: IN             VREF Sense: 
0x00000000 (disconnected)
Apr 15 11:51:08 fbsd15 kernel: hdaa0: 25 04a11040 4  0  Mic           Jack  
1/8     Right      Black   0
Apr 15 11:51:08 fbsd15 kernel: hdaa0:     Caps: IN             VREF Sense: 
0x00000000 (disconnected)
Apr 15 11:51:08 fbsd15 kernel: hdaa0: 26 411111f0 15 0  Speaker       None  
1/8     Rear       Black   1 DISA
Apr 15 11:51:08 fbsd15 kernel: hdaa0:     Caps: IN             VREF Sense: 
0x00000000 (disconnected)
Apr 15 11:51:08 fbsd15 kernel: hdaa0: 27 411111f0 15 0  Speaker       None  
1/8     Rear       Black   1 DISA
Apr 15 11:51:08 fbsd15 kernel: hdaa0:     Caps: IN OUT    EAPD VREF Sense: 
0x00000000 (disconnected)
Apr 15 11:51:08 fbsd15 kernel: hdaa0: 30 411111f0 15 0  Speaker       None  
1/8     Rear       Black   1 DISA
Apr 15 11:51:08 fbsd15 kernel: hdaa0:     Caps:    OUT              Sense: 
0x00000000 (disconnected)
Apr 15 11:51:08 fbsd15 kernel: hdaa0: 33 04211010 1  0  Headphones    Jack  
1/8     Right      Black   0
Apr 15 11:51:08 fbsd15 kernel: hdaa0:     Caps:    OUT HP EAPD      Sense: 
0x00000000 (disconnected)
Apr 15 11:51:08 fbsd15 kernel: hdaa0: NumGPIO=3 NumGPO=0 NumGPI=0 GPIWake=0 
GPIUnsol=1
Apr 15 11:51:08 fbsd15 kernel: hdaa0:  GPIO0: disabled
Apr 15 11:51:08 fbsd15 kernel: hdaa0:  GPIO1: disabled
Apr 15 11:51:08 fbsd15 kernel: hdaa0:  GPIO2: disabled

I've placed a copy here in case your MUA mangles the output in this message:
https://bitpit.us/ALC257-tmp

Thanks again!
> 
> Christos
--Chris