Realtek ALC255: no audio/sound with FreeBSD 14.2-RELEASE

Please show us the output of sysctl dev.hdac.0.pindump=1 from dmesg or /var/log/messages.

Paste the data in your next post for future reference (preferable paste the other termbin data as well). https://termbin.com/ stores the data sent only one week, then it's gone (see use policy # 7)
 
here is the output of `sysctl dev.hdac.0.pindump`:

dev.hdac.0.pindump: 0 -> 0

`cat /dev/sndstat`:

Installed devices:
pcm0: <Realtek ALC255 (Rear Analog Line-out)> (play) default
pcm1: <Intel Skylake (HDMI/DP 8ch)> (play)
No devices installed from userspace.
 
here is the output of `sysctl dev.hdac.0.pindump`:

dev.hdac.0.pindump: 0 -> 0

`cat /dev/sndstat`:

Installed devices:
pcm0: <Realtek ALC255 (Rear Analog Line-out)> (play) default
pcm1: <Intel Skylake (HDMI/DP 8ch)> (play)
No devices installed from userspace.
 
`dmesg | grep pcm`:
Installed devices:
pcm0: <Realtek ALC255 (Rear Analog Line-out)> (play) default
pcm1: <Intel Skylake (HDMI/DP 8ch)> (play)
No devices installed from userspace.

`dmesg | grep hdaa | grep Realtek`:
hdaa0: <Realtek ALC255 Audio Function Group> at nid 1 on hdacc0
pcm0: <Realtek ALC255 (Rear Analog Line-out)> at nid 27 on hdaa0
 
here is the output of `sysctl dev.hdac.0.pindump`:
You must assign the value of the variable “=1”: : sysctl dev.hdac.0.pindump=1
Code:
hdaa1: Dumping AFG pins:
hdaa1: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa1: 18 90a60120 2  0  Mic           Fixed Digital Internal   Unknown 1
hdaa1:     Caps: IN
hdaa1: 19 40000000 0  0  Line-out      None  Unknown 0x00       Unknown 0 DISA
hdaa1:     Caps: IN
hdaa1: 20 90170110 1  0  Speaker       Fixed Analog  Internal   Unknown 1
hdaa1:     Caps:    OUT    EAPD      Sense: 0x00000000 (disconnected)
hdaa1: 24 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
hdaa1:     Caps: IN             VREF Sense: 0x00000000 (disconnected)
hdaa1: 25 04a11030 3  0  Mic           Jack  1/8     Right      Black   0
hdaa1:     Caps: IN             VREF Sense: 0x00000000 (disconnected)
hdaa1: 26 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
hdaa1:     Caps: IN             VREF Sense: 0x00000000 (disconnected)
hdaa1: 27 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
hdaa1:     Caps: IN OUT    EAPD VREF Sense: 0x00000000 (disconnected)
hdaa1: 30 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
hdaa1:     Caps:    OUT              Sense: 0x00000000 (disconnected)
hdaa1: 33 0421101f 1  15 Headphones    Jack  1/8     Right      Black   0
hdaa1:     Caps:    OUT HP EAPD      Sense: 0x80000000 (connected)
hdaa1: NumGPIO=3 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1
hdaa1:  GPIO0: disabled
hdaa1:  GPIO1: disabled
hdaa1:  GPIO2: disabled
 
This command doesn't give the output you have provided instead it gives this:
`doas sysctl dev.hdac.0.pindump=1`
dev.hdac.0.pindump: 0 -> 0
 
This command doesn't give the output you have provided instead it gives this:
`doas sysctl dev.hdac.0.pindump=1`
dev.hdac.0.pindump: 0 -> 0
When the command is executed in an Xterminal (or virtual console ttyv1 – ttyv7: Alt + F2 – F8), the output is not displayed there, you have to look at a dmesg(8) output, or /var/log/messages end of file.

The system console ttyv0 (Alt + F1) will display the pindump as well, but it's less convenient to copy from there into a forums post.
 
ohk, I was wondering why it wasn't working.

here is the output:

Code:
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: 20 90170130 3  0  Speaker       Fixed Analog  Internal   Unknown 1 DISA
hdaa0:     Caps:    OUT    EAPD      Sense: 0x00000000 (disconnected)
hdaa0: 23 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
hdaa0:     Caps:    OUT
hdaa0: 24 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
hdaa0:     Caps: IN             VREF Sense: 0x00000000 (disconnected)
hdaa0: 25 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
hdaa0:     Caps: IN             VREF Sense: 0x80000000 (connected)
hdaa0: 26 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
hdaa0:     Caps: IN             VREF Sense: 0x00000000 (disconnected)
hdaa0: 27 01011020 2  0  Line-out      Jack  1/8     Rear       Black   0
hdaa0:     Caps: IN OUT HP EAPD VREF Sense: 0x00000000 (disconnected)
hdaa0: 30 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
hdaa0:     Caps:    OUT              Sense: 0x00000000 (disconnected)
hdaa0: 33 0221103f 3  15 Headphones    Jack  1/8     Front      Black   0 DISA
hdaa0:     Caps:    OUT HP EAPD      Sense: 0x00000000 (disconnected)
hdaa0: NumGPIO=3 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1
hdaa0:  GPIO0: disabled
hdaa0:  GPIO1: disabled
hdaa0:  GPIO2: disabled
hdaa1: Dumping AFG pins:
hdaa1: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa1:  3 18560010 1  0  Digital-out   Jack  Digital 0x18       Unknown 0
hdaa1:     Caps:    OUT              Sense: 0xc0000000 (connected, ELD valid)
hdaa1: NumGPIO=0 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=0
 
Which devices are connected to which line-out connection exactly?

There is a (Rear Analog Line-out)> at nid 27 [1] and a "connected" indicating Digital-out [2].

[1]
Rich (BB code):
hdaa0: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa0: 27 01011020 2  0  Line-out      Jack  1/8     Rear       Black   0
hdaa0:     Caps: IN OUT HP EAPD VREF Sense: 0x00000000 (disconnected)

pcm0: <Realtek ALC255 (Rear Analog Line-out)> at nid 27 on hdaa0

[2]
Rich (BB code):
hdaa1: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa1:  3 18560010 1  0  Digital-out   Jack  Digital 0x18       Unknown 0/
hdaa1:     Caps:    OUT              Sense: 0xc0000000 (connected, ELD valid)
 
I had two things connected at the time I copied the output. one was in-built sound card and second was a jack connected to external speaker. however when I ran beep command I couldn't hear anything from any of them.
 
Back
Top