You are not logged in.

#1 2022-12-18 22:05:38

RogerRabbit
Member
Registered: 2022-12-18
Posts: 63

[Solved] Sound card detected but no sound

Hi everyone, first time on Arch, using a 2022 laptop.

Following the guidelines, I installed the sof-firmware and alsa tools (alsa-firmware, alsa-lib, alsa-plugins, alsa-topology-conf, alsa-ucm-conf, alsa-utils, pulseaudio-alsa), my sound card is detected by the kernel, and not muted, but somehow it does not work.

I've read lots of topics regarding this issue without any luck, so here are the basic information usually needed :

$ sudo journalctl | grep sof-audio-pci
Dec 18 12:09:32 bunny kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
Dec 18 12:09:32 bunny kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
Dec 18 12:09:32 bunny kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: enabling device (0000 -> 0002)
Dec 18 12:09:32 bunny kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
Dec 18 12:09:32 bunny kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
Dec 18 12:09:32 bunny kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode
Dec 18 12:09:32 bunny kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 5
Dec 18 12:09:32 bunny kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
Dec 18 12:09:32 bunny kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DMICs detected in NHLT tables: 2
Dec 18 12:09:32 bunny kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
Dec 18 12:09:32 bunny kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0
Dec 18 12:09:32 bunny kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30
Dec 18 12:09:32 bunny kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
Dec 18 12:09:32 bunny kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0
Dec 18 12:09:36 bunny kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Topology: ABI 3:22:1 Kernel ABI 3:23:0
$ aplay -lL
null
    Discard all samples (playback) or generate zero samples (capture)
lavrate
    Rate Converter Plugin Using Libav/FFmpeg Library
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pulse
    PulseAudio Sound Server
speex
    Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
default
    Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=sofhdadsp
    sof-hda-dsp, 
    Default Audio Device
usbstream:CARD=sofhdadsp
    sof-hda-dsp
    USB Stream Output
**** List of PLAYBACK Hardware Devices ****
card 0: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 3: HDMI1 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 4: HDMI2 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 5: HDMI3 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 31: HDA Analog Deep Buffer (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
$ sudo dmesg | grep snd
[    7.576611] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[    7.577721] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[   12.110659] snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC294: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[   12.110665] snd_hda_codec_realtek ehdaudio0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   12.110667] snd_hda_codec_realtek ehdaudio0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[   12.110668] snd_hda_codec_realtek ehdaudio0D0:    mono: mono_out=0x0
[   12.110669] snd_hda_codec_realtek ehdaudio0D0:    inputs:
[   12.543931] snd_hda_codec_realtek ehdaudio0D0: ASoC: sink widget AIF1TX overwritten
[   12.543937] snd_hda_codec_realtek ehdaudio0D0: ASoC: source widget AIF1RX overwritten
$ sudo fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  bugs       1201 F.... pulseaudio
$ amixer -c0
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [off]
  Front Right: Playback 87 [100%] [0.00dB] [off]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
Simple mixer control 'Dmic0',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 70
  Front Left: Capture 50 [71%] [0.00dB] [off]
  Front Right: Capture 50 [71%] [0.00dB] [off]
Simple mixer control 'Dmic1 2nd',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 70
  Front Left: Capture 50 [71%] [0.00dB]
  Front Right: Capture 50 [71%] [0.00dB]
Simple mixer control 'PGA1.0 1 Master',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 32
  Mono:
  Front Left: Playback 32 [100%] [0.00dB]
  Front Right: Playback 32 [100%] [0.00dB]
Simple mixer control 'PGA2.0 2 Master',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 80
  Front Left: Capture 50 [62%] [0.00dB]
  Front Right: Capture 50 [62%] [0.00dB]
Simple mixer control 'PGA30.0 30',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 32
  Mono:
  Front Left: Playback 32 [100%] [0.00dB]
  Front Right: Playback 32 [100%] [0.00dB]
Simple mixer control 'PGA31.0 31',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 32
  Mono:
  Front Left: Playback 32 [100%] [0.00dB]
  Front Right: Playback 32 [100%] [0.00dB]
Simple mixer control 'PGA7.0 7 Master',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 32
  Mono:
  Front Left: Playback 32 [100%] [0.00dB]
  Front Right: Playback 32 [100%] [0.00dB]
Simple mixer control 'PGA8.0 8 Master',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 32
  Mono:
  Front Left: Playback 32 [100%] [0.00dB]
  Front Right: Playback 32 [100%] [0.00dB]
Simple mixer control 'PGA9.0 9 Master',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 32
  Mono:
  Front Left: Playback 32 [100%] [0.00dB]
  Front Right: Playback 32 [100%] [0.00dB]
$ pacmd list-cards
1 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic>
	driver: <module-alsa-card.c>
	owner module: 6
	properties:
		alsa.card = "0"
		alsa.card_name = "sof-hda-dsp"
		alsa.long_card_name = "ASUSTeKCOMPUTERINC.-ZenbookUX3402ZA_UX3402ZA-1.0-UX3402ZA"
		alsa.driver_name = "snd_soc_skl_hda_dsp"
		device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "51c8"
		device.product.name = "Alder Lake PCH-P High Definition Audio Controller"
		device.string = "0"
		device.description = "Alder Lake PCH-P High Definition Audio Controller"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		HiFi: Play HiFi quality Music (priority 40768, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <HiFi>
	sinks:
		alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_5__sink/#0: Alder Lake PCH-P High Definition Audio Controller HDMI / DisplayPort 3 Output
		alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_4__sink/#1: Alder Lake PCH-P High Definition Audio Controller HDMI / DisplayPort 2 Output
		alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_3__sink/#2: Alder Lake PCH-P High Definition Audio Controller HDMI / DisplayPort 1 Output
		alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink/#3: Alder Lake PCH-P High Definition Audio Controller Speaker + Headphones
	sources:
		alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_5__sink.monitor/#0: Monitor of Alder Lake PCH-P High Definition Audio Controller HDMI / DisplayPort 3 Output
		alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_4__sink.monitor/#1: Monitor of Alder Lake PCH-P High Definition Audio Controller HDMI / DisplayPort 2 Output
		alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_3__sink.monitor/#2: Monitor of Alder Lake PCH-P High Definition Audio Controller HDMI / DisplayPort 1 Output
		alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink.monitor/#3: Monitor of Alder Lake PCH-P High Definition Audio Controller Speaker + Headphones
		alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__source/#4: Alder Lake PCH-P High Definition Audio Controller Headphones Stereo Microphone
		alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_6__source/#5: Alder Lake PCH-P High Definition Audio Controller Digital Microphone
	ports:
		[Out] HDMI3: HDMI / DisplayPort 3 Output (priority 700, latency offset 0 usec, available: no)
			properties:
				
		[Out] HDMI2: HDMI / DisplayPort 2 Output (priority 600, latency offset 0 usec, available: no)
			properties:
				
		[Out] HDMI1: HDMI / DisplayPort 1 Output (priority 500, latency offset 0 usec, available: no)
			properties:
				
		[Out] Speaker: Speaker (priority 100, latency offset 0 usec, available: unknown)
			properties:
				
		[Out] Headphones: Headphones (priority 200, latency offset 0 usec, available: no)
			properties:
				
		[In] Mic2: Headphones Stereo Microphone (priority 200, latency offset 0 usec, available: unknown)
			properties:
				
		[In] Mic1: Digital Microphone (priority 100, latency offset 0 usec, available: unknown)
			properties:

I think I had a lead with this one : https://bbs.archlinux.org/viewtopic.php?id=238664 where the sound card is not attached (?) to the correct display server... My $XDG_SESSION_ID is empty, I use gnome on wayland through gdm, with kernel 6.0.12.

But maybe it's not related at all, this goes beyond my comprehension at the moment.

Last edited by RogerRabbit (2024-03-20 21:29:59)

Offline

#2 2022-12-20 22:38:12

RogerRabbit
Member
Registered: 2022-12-18
Posts: 63

Re: [Solved] Sound card detected but no sound

I've got news, so I know the firmware is somewhat okay, because the sound actually plays through jack when plugged.
I assume then there's just a little glitch on how the output ports are managed...

I did not know I was supposed to play sound while running the pacmd commands, so here they are while playing a youtube video on firefox :

$ pacmd list-cards
1 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic>
	driver: <module-alsa-card.c>
	owner module: 6
	properties:
		alsa.card = "0"
		alsa.card_name = "sof-hda-dsp"
		alsa.long_card_name = "ASUSTeKCOMPUTERINC.-ZenbookUX3402ZA_UX3402ZA-1.0-UX3402ZA"
		alsa.driver_name = "snd_soc_skl_hda_dsp"
		device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "51c8"
		device.product.name = "Alder Lake PCH-P High Definition Audio Controller"
		device.string = "0"
		device.description = "Alder Lake PCH-P High Definition Audio Controller"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		HiFi: Play HiFi quality Music (priority 40768, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <HiFi>
	sinks:
		alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_5__sink/#0: Alder Lake PCH-P High Definition Audio Controller HDMI / DisplayPort 3 Output
		alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_4__sink/#1: Alder Lake PCH-P High Definition Audio Controller HDMI / DisplayPort 2 Output
		alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_3__sink/#2: Alder Lake PCH-P High Definition Audio Controller HDMI / DisplayPort 1 Output
		alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink/#3: Alder Lake PCH-P High Definition Audio Controller Speaker + Headphones
	sources:
		alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_5__sink.monitor/#0: Monitor of Alder Lake PCH-P High Definition Audio Controller HDMI / DisplayPort 3 Output
		alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_4__sink.monitor/#1: Monitor of Alder Lake PCH-P High Definition Audio Controller HDMI / DisplayPort 2 Output
		alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_3__sink.monitor/#2: Monitor of Alder Lake PCH-P High Definition Audio Controller HDMI / DisplayPort 1 Output
		alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink.monitor/#3: Monitor of Alder Lake PCH-P High Definition Audio Controller Speaker + Headphones
		alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__source/#4: Alder Lake PCH-P High Definition Audio Controller Headphones Stereo Microphone
		alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_6__source/#5: Alder Lake PCH-P High Definition Audio Controller Digital Microphone
	ports:
		[Out] HDMI3: HDMI / DisplayPort 3 Output (priority 700, latency offset 0 usec, available: no)
			properties:
				
		[Out] HDMI2: HDMI / DisplayPort 2 Output (priority 600, latency offset 0 usec, available: no)
			properties:
				
		[Out] HDMI1: HDMI / DisplayPort 1 Output (priority 500, latency offset 0 usec, available: no)
			properties:
				
		[Out] Speaker: Speaker (priority 100, latency offset 0 usec, available: unknown)
			properties:
				
		[Out] Headphones: Headphones (priority 200, latency offset 0 usec, available: no)
			properties:
				
		[In] Mic2: Headphones Stereo Microphone (priority 200, latency offset 0 usec, available: unknown)
			properties:
				
		[In] Mic1: Digital Microphone (priority 100, latency offset 0 usec, available: unknown)
			properties:
$ pacmd list-sinks
4 sink(s) available.
    index: 0
	name: <alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_5__sink>
	driver: <module-alsa-card.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 9037
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max request: 0 KiB
	max rewind: 0 KiB
	monitor source: 0
	sample spec: s16le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 341.33 ms
	card: 0 <alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic>
	module: 6
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = ""
		alsa.id = "HDMI3 (*)"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "5"
		alsa.card = "0"
		alsa.card_name = "sof-hda-dsp"
		alsa.long_card_name = "ASUSTeKCOMPUTERINC.-ZenbookUX3402ZA_UX3402ZA-1.0-UX3402ZA"
		alsa.driver_name = "snd_soc_skl_hda_dsp"
		device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "51c8"
		device.product.name = "Alder Lake PCH-P High Definition Audio Controller"
		device.string = "_ucm0001.hw:sofhdadsp,5"
		device.buffering.buffer_size = "65536"
		device.buffering.fragment_size = "16384"
		device.access_mode = "mmap+timer"
		device.profile.name = "HiFi: hw:sofhdadsp,5: sink"
		device.profile.description = "HDMI / DisplayPort 3 Output"
		alsa.mixer_device = "_ucm0001.hw:sofhdadsp"
		device.description = "Alder Lake PCH-P High Definition Audio Controller HDMI / DisplayPort 3 Output"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		[Out] HDMI3: HDMI / DisplayPort 3 Output (priority 700, latency offset 0 usec, available: no)
			properties:
				
	active port: <[Out] HDMI3>
    index: 1
	name: <alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_4__sink>
	driver: <module-alsa-card.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 9036
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max request: 0 KiB
	max rewind: 0 KiB
	monitor source: 1
	sample spec: s16le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 341.33 ms
	card: 0 <alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic>
	module: 6
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = ""
		alsa.id = "HDMI2 (*)"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "4"
		alsa.card = "0"
		alsa.card_name = "sof-hda-dsp"
		alsa.long_card_name = "ASUSTeKCOMPUTERINC.-ZenbookUX3402ZA_UX3402ZA-1.0-UX3402ZA"
		alsa.driver_name = "snd_soc_skl_hda_dsp"
		device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "51c8"
		device.product.name = "Alder Lake PCH-P High Definition Audio Controller"
		device.string = "_ucm0001.hw:sofhdadsp,4"
		device.buffering.buffer_size = "65536"
		device.buffering.fragment_size = "16384"
		device.access_mode = "mmap+timer"
		device.profile.name = "HiFi: hw:sofhdadsp,4: sink"
		device.profile.description = "HDMI / DisplayPort 2 Output"
		alsa.mixer_device = "_ucm0001.hw:sofhdadsp"
		device.description = "Alder Lake PCH-P High Definition Audio Controller HDMI / DisplayPort 2 Output"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		[Out] HDMI2: HDMI / DisplayPort 2 Output (priority 600, latency offset 0 usec, available: no)
			properties:
				
	active port: <[Out] HDMI2>
    index: 2
	name: <alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_3__sink>
	driver: <module-alsa-card.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 9035
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max request: 0 KiB
	max rewind: 0 KiB
	monitor source: 2
	sample spec: s16le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 341.33 ms
	card: 0 <alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic>
	module: 6
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = ""
		alsa.id = "HDMI1 (*)"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "3"
		alsa.card = "0"
		alsa.card_name = "sof-hda-dsp"
		alsa.long_card_name = "ASUSTeKCOMPUTERINC.-ZenbookUX3402ZA_UX3402ZA-1.0-UX3402ZA"
		alsa.driver_name = "snd_soc_skl_hda_dsp"
		device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "51c8"
		device.product.name = "Alder Lake PCH-P High Definition Audio Controller"
		device.string = "_ucm0001.hw:sofhdadsp,3"
		device.buffering.buffer_size = "65536"
		device.buffering.fragment_size = "16384"
		device.access_mode = "mmap+timer"
		device.profile.name = "HiFi: hw:sofhdadsp,3: sink"
		device.profile.description = "HDMI / DisplayPort 1 Output"
		alsa.mixer_device = "_ucm0001.hw:sofhdadsp"
		device.description = "Alder Lake PCH-P High Definition Audio Controller HDMI / DisplayPort 1 Output"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		[Out] HDMI1: HDMI / DisplayPort 1 Output (priority 500, latency offset 0 usec, available: no)
			properties:
				
	active port: <[Out] HDMI1>
  * index: 3
	name: <alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: RUNNING
	suspend cause: (none)
	priority: 9032
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 75.03 ms
	max request: 14 KiB
	max rewind: 14 KiB
	monitor source: 3
	sample spec: s16le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	used by: 1
	linked by: 1
	configured latency: 75.00 ms; range is 0.50 .. 341.33 ms
	card: 0 <alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic>
	module: 6
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = ""
		alsa.id = "HDA Analog (*)"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "0"
		alsa.card_name = "sof-hda-dsp"
		alsa.long_card_name = "ASUSTeKCOMPUTERINC.-ZenbookUX3402ZA_UX3402ZA-1.0-UX3402ZA"
		alsa.driver_name = "snd_soc_skl_hda_dsp"
		device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "51c8"
		device.product.name = "Alder Lake PCH-P High Definition Audio Controller"
		device.string = "_ucm0001.hw:sofhdadsp"
		device.buffering.buffer_size = "65536"
		device.buffering.fragment_size = "16384"
		device.access_mode = "mmap+timer"
		device.profile.name = "HiFi: hw:sofhdadsp: sink"
		device.profile.description = "Speaker + Headphones"
		alsa.mixer_device = "_ucm0001.hw:sofhdadsp"
		device.description = "Alder Lake PCH-P High Definition Audio Controller Speaker + Headphones"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		[Out] Speaker: Speaker (priority 100, latency offset 0 usec, available: unknown)
			properties:
				
		[Out] Headphones: Headphones (priority 200, latency offset 0 usec, available: no)
			properties:
				
	active port: <[Out] Speaker>
$ pacmd list-sink-inputs
1 sink input(s) available.
    index: 9
	driver: <protocol-native.c>
	flags: START_CORKED 
	state: RUNNING
	sink: 3 <alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink>
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	muted: no
	current latency: 125.00 ms
	requested latency: 75.00 ms
	sample spec: float32le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	resample method: copy
	module: 11
	client: 9 <Firefox>
	properties:
		media.name = "AudioStream"
		application.name = "Firefox"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "35"
		application.process.id = "5049"
		application.process.user = "bugs"
		application.process.host = "bunny"
		application.process.binary = "firefox"
		application.language = "C"
		window.x11.display = ":0"
		application.process.machine_id = "2ee6856e939e4c7e8892810f9a62910b"
		application.icon_name = "firefox"
		module-stream-restore.id = "sink-input-by-application-name:Firefox"

No jack was plugged while the commands up there were run, so the sound should have gone through the speakers.

No matter how many reboots, the sound never played on the built-in speakers.

        [Out] Speaker: Speaker (priority 100, latency offset 0 usec, available: unknown)
I guess that's my issue here, why would my speakers be unavailable ?   ^ ^ ^

P.S. Maybe I should have started here :

[   12.139671] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.0: Error: ACPI _DSD Properties are missing for HID CSC3551.
[   12.139673] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.0: error -EINVAL: Platform not supported
[   12.139674] cs35l41-hda: probe of spi1-CSC3551:00-cs35l41-hda.0 failed with error -22
[   12.140891] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.1: Error: ACPI _DSD Properties are missing for HID CSC3551.
[   12.140893] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.1: error -EINVAL: Platform not supported
[   12.140894] cs35l41-hda: probe of spi1-CSC3551:00-cs35l41-hda.1 failed with error -22

Last edited by RogerRabbit (2022-12-20 23:07:39)

Offline

#3 2022-12-22 16:33:40

obelisk
Member
Registered: 2021-01-10
Posts: 54

Re: [Solved] Sound card detected but no sound

Have you checked the Configuration in pavucontrol?
Have you check also alsamixer, with keys F5, F6, M (to activate/deactivate a control)?

What is your default sink?

$ pactl info | grep -i "Default Sink:"

Maybe you just need to change the detault sink.
Check first which sinks you have. For example, my output:

$ pactl list short sinks
49	alsa_output.pci-0000_07_00.4.analog-stereo	PipeWire	s32le 2ch 48000Hz	IDLE
68	alsa_output.pci-0000_05_00.1.hdmi-stereo	PipeWire	s32le 2ch 48000Hz	IDLE

Then change the default sink:

$ pactl set-default-sink NUMBER

I have written for myself a script, to switch/cange the default sinks. Maybe you're interrested in it:

#!/bin/bash

VOLUME_DEFAULT_SINK=$(pamixer --get-volume)
OLD_DEFAULT_SINK_NAME=$( pactl info | grep -i "Default Sink: " | cut -c26- )
OLD_DEFAULT_SINK_ID=$( pactl list short sinks | grep -i "$OLD_DEFAULT_SINK_NAME" | grep -o '^\S*' )
NUMBER_OF_SINKS=$( pactl list | grep "Sink #" | wc -l )

for ((i=1;i <= $NUMBER_OF_SINKS;i++))
do
	NUM_SINK=$( pactl list short sinks  | grep -o '^\S*' | head -n $i  | tail -n 1 )	
	if [[ "$NUM_SINK" -eq "$OLD_DEFAULT_SINK_ID" ]]
	then
		if [[ "$i" -eq "$NUMBER_OF_SINKS" ]]
		then
			FIRST_NUM_SINK=$( pactl list short sinks  | grep -o '^\S*' | head -n 1  | tail -n 1 )
			pactl set-default-sink $FIRST_NUM_SINK
		else
			NEXT_NUM_SINK=$( pactl list short sinks  | grep -o '^\S*' | head -n $[$i+1]  | tail -n 1 )
			pactl set-default-sink $NEXT_NUM_SINK

		fi
	fi
	pactl set-sink-volume $NUM_SINK 0%
	pactl set-sink-volume $NUM_SINK 0%
done
pactl set-sink-volume @DEFAULT_SINK@ $VOLUME_DEFAULT_SINK%
pactl set-sink-volume @DEFAULT_SINK@ $VOLUME_DEFAULT_SINK%
exit 0

When you put this in a file and make it executable: Then this should switch the defaut-sink to next sink.

Offline

#4 2022-12-22 20:13:41

RogerRabbit
Member
Registered: 2022-12-18
Posts: 63

Re: [Solved] Sound card detected but no sound

Hi obelisk, thanks for your help.
The default sink is 3, corresponding to "pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink" that holds both the speaker and jack outputs.
So the default sink is already okay.

Seems like a device compatibility issue according to dmesg, also I found this commit : https://patchwork.kernel.org/project/al … gmail.com/ that is supposed to patch my issue.

I cloned https://aur.archlinux.org/ungoogled-chromium.git and appended the files with the two lines, but I still miss some data to build and try the new kernel, there's no PKGBUILD file in the git, I guess I need some more "ingredients", I found this : https://wiki.archlinux.org/title/Kernel … ild_System documentation to help me but I won't have much time to try it before next week.

Offline

#5 2022-12-22 21:15:33

obelisk
Member
Registered: 2021-01-10
Posts: 54

Re: [Solved] Sound card detected but no sound

Okay, then I cannot help you, when its something with jack and such a hardware issue. Sorry, I'm out with my knowledge.

But according your git link, there is an package avaiable in AUR: https://aur.archlinux.org/packages/ungoogled-chromium
You can try compile and install it diretly, without to need building a new kernel (I don't kow hoch much archlinux experience you have).

Step1: Download snapshot from the link above or use this method with program wget:
(as user)$ wget -cv https://aur.archlinux.org/cgit/aur.git/snapshot/ungoogled-chromium.tar.gz

Step2: Unpack the file "ungoogled-chromium.tar.gz" with:
(as user)$ tar -xzf ungoogled-chromium.tar.gz

Step3: Enter the directory where content was extracted
(as user)$ cd ungoogled-chromium

Step4: build package (this may take some time):
(as user)$ makepkg

Step5: install the package
(as root)$ pacman -U PACKAGENAME.pkg.tar.zst

Offline

#6 2022-12-22 21:19:24

RogerRabbit
Member
Registered: 2022-12-18
Posts: 63

Re: [Solved] Sound card detected but no sound

woops sorry I posted the wrong git, here the correct one : https://github.com/archlinux/linux.git

Offline

#7 2023-06-17 17:25:23

TotallyTerra
Member
Registered: 2023-06-17
Posts: 1

Re: [Solved] Sound card detected but no sound

hey RogerRabbit, I've been having the same problems as you, and I suspect that it's the same cause as well. Did you find a solution to your problem?

Offline

#8 2024-03-20 19:43:54

RogerRabbit
Member
Registered: 2022-12-18
Posts: 63

Re: [Solved] Sound card detected but no sound

Yes I did, sorry for the (very) late reply, maybe this can still help you.
The issue is very well explained in the following link. They also explain how to build your own workaround.
https://gist.github.com/lamperez/862763 … 574727f6ff

In the following link, there's a bundled workaround built especially for the UX3402ZA.
https://github.com/thor2002ro/asus_zenbook_ux3402za

I've been using this for about a year now and working flawlessly.

Offline

Board footer

Powered by FluxBB