Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Nov 2022 18:05:20 +0100
From:      Andrea Venturoli <ml@netfence.it>
To:        freebsd-questions@freebsd.org
Subject:   New notebook: no audio
Message-ID:  <5cccccc6-c47c-cb02-e15d-c49ec71f5cff@netfence.it>

next in thread | raw e-mail | index | archive | help
Hello.

I'm trying to get audio working on a new notebook.



> # pciconf -lv
> hostb0@pci0:0:0:0:	class=0x060000 rev=0x06 hdr=0x00 vendor=0x8086 device=0x31f0 subvendor=0x8086 subdevice=0x31f0
>     vendor     = 'Intel Corporation'
>     device     = 'Gemini Lake Host Bridge'
>     class      = bridge
>     subclass   = HOST-PCI
> none0@pci0:0:0:1:	class=0x118000 rev=0x06 hdr=0x00 vendor=0x8086 device=0x318c subvendor=0x8086 subdevice=0x318c
>     vendor     = 'Intel Corporation'
>     device     = 'Celeron/Pentium Silver Processor Dynamic Platform and Thermal Framework Processor Participant'
>     class      = dasp
> vgapci0@pci0:0:2:0:	class=0x030000 rev=0x06 hdr=0x00 vendor=0x8086 device=0x3184 subvendor=0x0000 subdevice=0x0000
>     vendor     = 'Intel Corporation'
>     device     = 'GeminiLake [UHD Graphics 605]'
>     class      = display
>     subclass   = VGA
> iwlwifi0@pci0:0:12:0:	class=0x028000 rev=0x06 hdr=0x00 vendor=0x8086 device=0x31dc subvendor=0x8086 subdevice=0x0264
>     vendor     = 'Intel Corporation'
>     device     = 'Gemini Lake PCH CNVi WiFi'
>     class      = network
> hdac0@pci0:0:14:0:	class=0x040100 rev=0x06 hdr=0x00 vendor=0x8086 device=0x3198 subvendor=0x0000 subdevice=0x0000
>     vendor     = 'Intel Corporation'
>     device     = 'Celeron/Pentium Silver Processor High Definition Audio'
>     class      = multimedia
>     subclass   = audio
> ahci0@pci0:0:18:0:	class=0x010601 rev=0x06 hdr=0x00 vendor=0x8086 device=0x31e3 subvendor=0x8086 subdevice=0x31e3
>     vendor     = 'Intel Corporation'
>     device     = 'Celeron/Pentium Silver Processor SATA Controller'
>     class      = mass storage
>     subclass   = SATA
> xhci0@pci0:0:21:0:	class=0x0c0330 rev=0x06 hdr=0x00 vendor=0x8086 device=0x31a8 subvendor=0x8086 subdevice=0x31a8
>     vendor     = 'Intel Corporation'
>     device     = 'Celeron/Pentium Silver Processor USB 3.0 xHCI Controller'
>     class      = serial bus
>     subclass   = USB
> ig4iic0@pci0:0:23:0:	class=0x118000 rev=0x06 hdr=0x00 vendor=0x8086 device=0x31b4 subvendor=0x8086 subdevice=0x31b4
>     vendor     = 'Intel Corporation'
>     device     = 'Celeron/Pentium Silver Processor I2C 4'
>     class      = dasp
> ig4iic1@pci0:0:23:3:	class=0x118000 rev=0x06 hdr=0x00 vendor=0x8086 device=0x31ba subvendor=0x8086 subdevice=0x31ba
>     vendor     = 'Intel Corporation'
>     device     = 'Celeron/Pentium Silver Processor I2C 7'
>     class      = dasp
> none1@pci0:0:24:0:	class=0x118000 rev=0x06 hdr=0x00 vendor=0x8086 device=0x31bc subvendor=0x8086 subdevice=0x31bc
>     vendor     = 'Intel Corporation'
>     device     = 'Celeron/Pentium Silver Processor Serial IO UART Host Controller'
>     class      = dasp
> none2@pci0:0:24:2:	class=0x118000 rev=0x06 hdr=0x00 vendor=0x8086 device=0x31c0 subvendor=0x8086 subdevice=0x31c0
>     vendor     = 'Intel Corporation'
>     device     = 'Celeron/Pentium Silver Processor Serial IO UART Host Controller'
>     class      = dasp
> isab0@pci0:0:31:0:	class=0x060100 rev=0x06 hdr=0x00 vendor=0x8086 device=0x31e8 subvendor=0x8086 subdevice=0x31e8
>     vendor     = 'Intel Corporation'
>     device     = 'Celeron/Pentium Silver Processor LPC Controller'
>     class      = bridge
>     subclass   = PCI-ISA
> ichsmb0@pci0:0:31:1:	class=0x0c0500 rev=0x06 hdr=0x00 vendor=0x8086 device=0x31d4 subvendor=0x8086 subdevice=0x31d4
>     vendor     = 'Intel Corporation'
>     device     = 'Celeron/Pentium Silver Processor Gaussian Mixture Model'
>     class      = serial bus
>     subclass   = SMBus



Verbose boot shows:
> ...
> Nov  1 17:24:59 hector kernel: hdac0: <Intel Gemini Lake HDA Controller> mem 0x9111c000-0x9111ffff,0x91000000-0x910fffff at device 14.0 on pci0
> Nov  1 17:24:59 hector kernel: hdac0: PCI card vendor: 0x0000, device: 0x0000
> Nov  1 17:24:59 hector kernel: hdac0: HDA Driver Revision: 20120126_0002
> Nov  1 17:24:59 hector kernel: hdac0: Config options: on=0x00000000 off=0x00000000
> Nov  1 17:24:59 hector kernel: hdac0: attempting to allocate 1 MSI vectors (1 supported)
> Nov  1 17:24:59 hector kernel: msi: routing MSI IRQ 128 to local APIC 6 vector 49
> Nov  1 17:24:59 hector kernel: hdac0: using IRQ 128 for MSI
> Nov  1 17:24:59 hector kernel: hdac0: Caps: OSS 6, ISS 7, BSS 0, NSDO 1, 64bit, CORB 256, RIRB 256
> ...
> Nov  1 17:24:59 hector kernel: hdacc0: <Realtek ALC269 HDA CODEC>ahcich0: AHCI reset...
> Nov  1 17:24:59 hector kernel:  at cad 0 on hdac0
> Nov  1 17:24:59 hector kernel: ahcich0: SATA connect time=100us status=00000133
> Nov  1 17:24:59 hector kernel: hdaa0: <Realtek ALC269 Audio Function Group>ahcich0: AHCI reset: device found
> Nov  1 17:24:59 hector kernel: ahcich0: AHCI reset: device ready after 0ms
> Nov  1 17:24:59 hector kernel: ahcich1: AHCI reset...
> Nov  1 17:24:59 hector kernel:  at nid 1 on hdacc0
> Nov  1 17:24:59 hector kernel: hdaa0: Subsystem ID: 0x1c6c1240
> Nov  1 17:24:59 hector kernel: acpi_ec0: not getting interrupts, switched to polled mode
> ...
> Nov  1 17:24:59 hector kernel: hdaa0: NumGPIO=2 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1
> Nov  1 17:24:59 hector kernel: hdaa0:  GPIO0: disabled
> Nov  1 17:24:59 hector kernel: hdaa0:  GPIO1: disabled
> Nov  1 17:24:59 hector kernel: hdaa0: Original pins configuration:
> Nov  1 17:24:59 hector kernel: hdaa0: nid   0x    as seq device       conn  jack    loc        color   misc
> Nov  1 17:24:59 hector kernel: hdaa0: 18 411111f0 15 0  Speaker       None  1/8     Rear       Black   1
> Nov  1 17:24:59 hector kernel: hdaa0: 20 94171110 1  0  Speaker       Fixed Analog  0x14       Black   1
> Nov  1 17:24:59 hector kernel: hdaa0: 23 411111f0 15 0  Speaker       None  1/8     Rear       Black   1
> Nov  1 17:24:59 hector kernel: hdaa0: 24 04ab1020 2  0  Mic           Jack  Combo   Right      Black   0
> Nov  1 17:24:59 hector kernel: hdaa0: 25 411111f0 15 0  Speaker       None  1/8     Rear       Black   1
> Nov  1 17:24:59 hector kernel: hdaa0: 26 93171110 1  0  Speaker       Fixed Analog  0x13       Black   1
> Nov  1 17:24:59 hector kernel: hdaa0: 27 411111f0 15 0  Speaker       None  1/8     Rear       Black   1
> Nov  1 17:24:59 hector kernel: hdaa0: 29 411111f0 15 0  Speaker       None  1/8     Rear       Black   1
> Nov  1 17:24:59 hector kernel: hdaa0: 30 411111f0 15 0  Speaker       None  1/8     Rear       Black   1
> Nov  1 17:24:59 hector kernel: hdaa0: 33 042b1010 1  0  Headphones    Jack  Combo   Right      Black   0
> Nov  1 17:24:59 hector kernel: hdaa0: Patching widget caps nid=29 0x00400000 -> 0x00700000
> Nov  1 17:24:59 hector kernel: hdaa0: Patched pins configuration:
> Nov  1 17:24:59 hector kernel: hdaa0: nid   0x    as seq device       conn  jack    loc        color   misc
> Nov  1 17:24:59 hector kernel: hdaa0: 18 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
> Nov  1 17:24:59 hector kernel: hdaa0: 20 94171110 1  0  Speaker       Fixed Analog  0x14       Black   1
> Nov  1 17:24:59 hector kernel: hdaa0: 23 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
> Nov  1 17:24:59 hector kernel: hdaa0: 24 04ab1020 2  0  Mic           Jack  Combo   Right      Black   0
> Nov  1 17:24:59 hector kernel: hdaa0: 25 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
> Nov  1 17:24:59 hector kernel: hdaa0: 26 93171110 1  0  Speaker       Fixed Analog  0x13       Black   1
> Nov  1 17:24:59 hector kernel: hdaa0: 27 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
> Nov  1 17:24:59 hector kernel: hdaa0: 30 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
> Nov  1 17:24:59 hector kernel: hdaa0: 33 042b1010 1  0  Headphones    Jack  Combo   Right      Black   0
> Nov  1 17:24:59 hector kernel: hdaa0: hdaa_audio_as_parse: Duplicate pin 0 (26) in association 1! Disabling association.
> Nov  1 17:24:59 hector kernel: hdaa0: hdaa_audio_as_parse: Duplicate pin 0 (33) in association 1! Disabling association.
> Nov  1 17:24:59 hector kernel: hdaa0: 2 associations found:
> Nov  1 17:24:59 hector kernel: hdaa0: Association 0 (1) out (disabled):
> Nov  1 17:24:59 hector kernel: hdaa0:  Pin nid=33 seq=0
> Nov  1 17:24:59 hector kernel: hdaa0: Association 1 (2) in:
> Nov  1 17:24:59 hector kernel: hdaa0:  Pin nid=24 seq=0
> Nov  1 17:24:59 hector kernel: hdaa0: Tracing association 1 (2)
> Nov  1 17:24:59 hector kernel: hdaa0:  Pin 24 traced to ADC 8
> Nov  1 17:24:59 hector kernel: hdaa0: Association 1 (2) trace succeeded
> Nov  1 17:24:59 hector kernel: hdaa0: Looking for additional ADC for association 1 (2)
> Nov  1 17:24:59 hector kernel: hdaa0: Tracing input monitor
> Nov  1 17:24:59 hector kernel: hdaa0:  Tracing nid 11 to out
> Nov  1 17:24:59 hector kernel: hdaa0:  Tracing nid 35 to out
> Nov  1 17:24:59 hector kernel: hdaa0: Tracing other input monitors
> Nov  1 17:24:59 hector kernel: hdaa0:  Tracing nid 24 to out
> Nov  1 17:24:59 hector kernel: hdaa0: Tracing beeper
> Nov  1 17:24:59 hector kernel: hdaa0: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref
> Nov  1 17:24:59 hector kernel: pcm0: <Realtek ALC269 (Right Analog Mic)> at nid 24 on hdaa0
> Nov  1 17:24:59 hector kernel: pcm0: Record:
> Nov  1 17:24:59 hector kernel: pcm0:      Stream cap: 0x00000001 PCM
> Nov  1 17:24:59 hector kernel: pcm0:         PCM cap: 0x000e0560 16 20 24 bits, 44 48 96 192 KHz
> Nov  1 17:24:59 hector kernel: pcm0:             ADC: 8
> Nov  1 17:24:59 hector kernel: pcm0: 
> Nov  1 17:24:59 hector kernel: pcm0:     nid=8 [audio input]
> Nov  1 17:24:59 hector kernel: pcm0:       + <- nid=35 [audio mixer] [src: speaker, mic]
> Nov  1 17:24:59 hector kernel: pcm0:              + <- nid=24 [pin: Mic (Black Jack)] [src: mic]
> Nov  1 17:24:59 hector kernel: pcm0:              + <- nid=29 [beep widget] [src: speaker]
> Nov  1 17:24:59 hector kernel: pcm0:              + <- nid=11 [audio mixer] [src: speaker, mic]
> Nov  1 17:24:59 hector kernel: pcm0:                     + <- nid=24 [pin: Mic (Black Jack)] [src: mic]
> Nov  1 17:24:59 hector kernel: pcm0:                     + <- nid=29 [beep widget] [src: speaker]
> Nov  1 17:24:59 hector kernel: pcm0: 
> Nov  1 17:24:59 hector kernel: pcm0: Microphone Volume (OSS: mic): 0/36dB
> Nov  1 17:24:59 hector kernel: pcm0:    +- ctl  5 (nid  11 in   0): -34/12dB (32 steps) + mute
> Nov  1 17:24:59 hector kernel: pcm0:    +- ctl 20 (nid  24 out):    0/36dB (4 steps)
> Nov  1 17:24:59 hector kernel: pcm0:    +- ctl 27 (nid  35 in   0): mute
> Nov  1 17:24:59 hector kernel: pcm0: 
> Nov  1 17:24:59 hector kernel: pcm0: Speaker/Beep Volume (OSS: speaker): -34/12dB
> Nov  1 17:24:59 hector kernel: pcm0:    +- ctl  9 (nid  11 in   4): -34/12dB (32 steps) + mute
> Nov  1 17:24:59 hector kernel: pcm0:    +- ctl 31 (nid  35 in   4): mute
> Nov  1 17:24:59 hector kernel: pcm0: 
> Nov  1 17:24:59 hector kernel: pcm0: Recording Level (OSS: rec): -16/30dB
> Nov  1 17:24:59 hector kernel: pcm0:    +- ctl  3 (nid   8 in   0): -16/30dB (32 steps) + mute
> Nov  1 17:24:59 hector kernel: pcm0:    +- ctl  5 (nid  11 in   0): -34/12dB (32 steps) + mute
> Nov  1 17:24:59 hector kernel: pcm0:    +- ctl  9 (nid  11 in   4): -34/12dB (32 steps) + mute
> Nov  1 17:24:59 hector kernel: pcm0:    +- ctl 27 (nid  35 in   0): mute
> Nov  1 17:24:59 hector kernel: pcm0:    +- ctl 31 (nid  35 in   4): mute
> Nov  1 17:24:59 hector kernel: pcm0:    +- ctl 32 (nid  35 in   5): mute
> Nov  1 17:24:59 hector kernel: pcm0: 
> Nov  1 17:24:59 hector kernel: pcm0: Mixer "speaker":
> Nov  1 17:24:59 hector kernel: pcm0: Mixer "mic":
> Nov  1 17:24:59 hector kernel: pcm0: Mixer "rec":
> Nov  1 17:24:59 hector kernel: pcm0: Recording channel set is: Front Left, Front Right, 
> Nov  1 17:24:59 hector kernel: pcm0: Recording channel matrix is: 2.0 (disconnected)
> Nov  1 17:24:59 hector kernel: hdacc1: <Intel Gemini Lake HDA CODEC> at cad 2 on hdac0
> Nov  1 17:24:59 hector kernel: hdaa1: <Intel Gemini Lake Audio Function Group> at nid 1 on hdacc1
> Nov  1 17:24:59 hector kernel: hdaa1: Subsystem ID: 0x80860101
> Nov  1 17:24:59 hector kernel: hdaa1: NumGPIO=0 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=0
> Nov  1 17:24:59 hector kernel: hdaa1: Original pins configuration:
> Nov  1 17:24:59 hector kernel: hdaa1: nid   0x    as seq device       conn  jack    loc        color   misc
> Nov  1 17:24:59 hector kernel: hdaa1:  3 18560010 1  0  Digital-out   Jack  Digital 0x18       Unknown 0
> Nov  1 17:24:59 hector kernel: hdaa1: Patched pins configuration:
> Nov  1 17:24:59 hector kernel: hdaa1: nid   0x    as seq device       conn  jack    loc        color   misc
> Nov  1 17:24:59 hector kernel: hdaa1:  3 18560010 1  0  Digital-out   Jack  Digital 0x18       Unknown 0
> Nov  1 17:24:59 hector kernel: hdaa1: 1 associations found:
> Nov  1 17:24:59 hector kernel: hdaa1: Association 0 (1) out:
> Nov  1 17:24:59 hector kernel: hdaa1:  Pin nid=3 seq=0
> Nov  1 17:24:59 hector kernel: hdaa1: Tracing association 0 (1)
> Nov  1 17:24:59 hector kernel: hdaa1:  Pin 3 traced to DAC 2
> Nov  1 17:24:59 hector kernel: hdaa1: Association 0 (1) trace succeeded
> Nov  1 17:24:59 hector kernel: hdaa1: Looking for additional DAC for association 0 (1)
> Nov  1 17:24:59 hector kernel: hdaa1: Tracing input monitor
> Nov  1 17:24:59 hector kernel: hdaa1: Tracing other input monitors
> Nov  1 17:24:59 hector kernel: hdaa1: Tracing beeper
> Nov  1 17:24:59 hector kernel: hdaa1: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref
> Nov  1 17:24:59 hector kernel: pcm1: <Intel Gemini Lake (HDMI/DP 8ch)> at nid 3 on hdaa1
> Nov  1 17:24:59 hector kernel: pcm1: Playback:
> Nov  1 17:24:59 hector kernel: pcm1:      Stream cap: 0x00000005 AC3 PCM
> Nov  1 17:24:59 hector kernel: pcm1:         PCM cap: 0x001a07f0 16 24 32 bits, 32 44 48 88 96 176 192 KHz
> Nov  1 17:24:59 hector kernel: pcm1:             DAC: 2
> Nov  1 17:24:59 hector kernel: pcm1: 
> Nov  1 17:24:59 hector kernel: pcm1:     nid=3 [pin: Digital-out (Jack)]
> Nov  1 17:24:59 hector kernel: pcm1:       + <- nid=2 [audio output] [src: pcm]
> Nov  1 17:24:59 hector kernel: pcm1: 
> Nov  1 17:24:59 hector kernel: pcm1: Master Volume (OSS: vol): 0/0dB
> Nov  1 17:24:59 hector kernel: pcm1:    +- ctl  1 (nid   3 in ):    mute
> Nov  1 17:24:59 hector kernel: pcm1: 
> Nov  1 17:24:59 hector kernel: pcm1: PCM Volume (OSS: pcm): 0/0dB
> Nov  1 17:24:59 hector kernel: pcm1:    +- ctl  1 (nid   3 in ):    mute
> Nov  1 17:24:59 hector kernel: pcm1: 
> Nov  1 17:24:59 hector kernel: pcm1: Mixer "vol":
> Nov  1 17:24:59 hector kernel: pcm1: Mixer "pcm":
> Nov  1 17:24:59 hector kernel: pcm1: Soft PCM mixer ENABLED
> Nov  1 17:24:59 hector kernel: pcm1: Playback channel matrix is: unknown, assuming 7.1 (disconnected)
> ...
> 
> Nov  1 17:24:59 hector kernel: Autoloading module: snd_uaudio
> Nov  1 17:24:59 hector kernel: uaudio0 on uhub0
> Nov  1 17:24:59 hector kernel: uaudio0: <Sonix Technology Co., Ltd. USB 2.0 Camera, class 239/2, rev 2.00/1.00, addr 4> on usbus0
> Nov  1 17:24:59 hector kernel: uaudio0: No playback.
> Nov  1 17:24:59 hector kernel: uaudio0: Record[0]: 48000 Hz, 1 ch, 16-bit S-LE PCM format, 2x8ms buffer.
> Nov  1 17:24:59 hector kernel: uaudio0: Record[0]: 44100 Hz, 1 ch, 16-bit S-LE PCM format, 2x8ms buffer.
> Nov  1 17:24:59 hector kernel: uaudio0: Record[0]: 24000 Hz, 1 ch, 16-bit S-LE PCM format, 2x8ms buffer.
> Nov  1 17:24:59 hector kernel: uaudio0: Record[0]: 22050 Hz, 1 ch, 16-bit S-LE PCM format, 2x8ms buffer.
> Nov  1 17:24:59 hector kernel: uaudio0: Record[0]: 16000 Hz, 1 ch, 16-bit S-LE PCM format, 2x8ms buffer.
> Nov  1 17:24:59 hector kernel: uaudio0: Record[0]: 11025 Hz, 1 ch, 16-bit S-LE PCM format, 2x8ms buffer.
> Nov  1 17:24:59 hector kernel: uaudio0: Record[0]: 8000 Hz, 1 ch, 16-bit S-LE PCM format, 2x8ms buffer.
> Nov  1 17:24:59 hector kernel: uaudio0: No MIDI sequencer.
> Nov  1 17:24:59 hector kernel: pcm2: <USB audio> on uaudio0
> Nov  1 17:24:59 hector kernel: pcm2: Mixer "mic":
> Nov  1 17:24:59 hector kernel: uaudio0: No HID volume keys found.



> # cat /dev/sndstat
> Installed devices:
> pcm0: <Realtek ALC269 (Right Analog Mic)> (rec)
> pcm1: <Intel Gemini Lake (HDMI/DP 8ch)> (play) default
> pcm2: <USB audio> (rec)
> No devices installed from userspace.



So it seems devices are found by the drivers, but for some reason only 
HDMI output is detected. Neither the internal speakers, nor the 
headphone jack work.
Also, there's no dsp in /dev.
Any hint here?

  bye & Thanks
	av.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5cccccc6-c47c-cb02-e15d-c49ec71f5cff>