You are not logged in.
Hi,
fresh Arch install on a HP ZBook Firefly, Alder Lake system. Audio card is Intel Corporation Alder Lake PCH-P High Definition Audio Controller (rev 01), everything stock (pipewire + wireplumber) and my sound setup works all fine using the headphone output, or connecting to a bluetooth headset.
What does not work is the default speaker output.. I see:
- the sound playing in `pavucontrol` both on the Playback and the Output Devices tab
- output is set to `Speaker + Headphones`
- nothing is muted
- volume is set to ~80%
I just hear nothing.
Any hints for this one?
Offline
I'm still suffering with this, but had no luck yet solving it.
Is it possible that the Alder Lake hardware needs some kind of initialization, which might be probably done by eg. the Windows driver, but not by Arch's pipewire stack? This HP laptop is brand new and never had any other OS but Arch linux.. is there an easy way to test this theory somehow, any tips on this direction maybe?
Offline
Is Windows fast boot disabled? Make sure that's the case and double check if you think it is.
If it is and it doesn't work try
sudo alsactl init
to init the codec.
If that didn't help post in code tags
aplay -l
amixer -c0
pactl list cards
pactl list sinks
FWIW HP are somewhat notorious for buggy HDA verb tables, it might be a firmware issue that might/might not be fixable with a UEFI update.
Offline
I first had Fast Boot enabled in the BIOS but then read that it might cause issuees, so I turned it off. I had run `sudo alsactl init` but I see (well, hear) no change. Examining in `pavucontrol`, it all looks good, I have speaker/headphone output switched to speaker, volume is up, I see it working, there's just nothing audible.
kjozsa@manta:~$ aplay -l
**** 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: 0/1
Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 4: HDMI2 (*) []
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 5: HDMI3 (*) []
Subdevices: 0/1
Subdevice #0: subdevice #0
kjozsa@manta:~$ 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 'Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 2 [67%] [20.00dB]
Front Right: 2 [67%] [20.00dB]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'IEC958',1
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'IEC958',2
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 63
Front Left: Capture 38 [60%] [11.25dB] [on]
Front Right: Capture 38 [60%] [11.25dB] [on]
Simple mixer control 'Auto-Mute Mode',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Disabled'
Simple mixer control 'Dmic0',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 70
Front Left: Capture 49 [70%] [-1.00dB] [off]
Front Right: Capture 49 [70%] [-1.00dB] [off]
Simple mixer control 'Dmic1 2nd',0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 70
Front Left: Capture 60 [86%] [10.00dB]
Front Right: Capture 60 [86%] [10.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 70 [88%] [20.00dB]
Front Right: Capture 70 [88%] [20.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 '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]
kjozsa@manta:~$ pactl list cards
Card #41
Name: alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic
Driver: alsa
Owner Module: n/a
Properties:
api.acp.auto-port = "false"
api.acp.auto-profile = "false"
api.alsa.card = "0"
api.alsa.card.longname = "HP-HPZBookFirefly16inchG9MobileWorkstationPC--8ABB"
api.alsa.card.name = "sof-hda-dsp"
api.alsa.path = "hw:0"
api.alsa.use-acp = "true"
device.api = "alsa"
device.bus = "pci"
device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
device.description = "Alder Lake PCH-P High Definition Audio Controller"
device.enum.api = "udev"
device.icon_name = "audio-card-analog-pci"
device.name = "alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic"
device.nick = "sof-hda-dsp"
device.plugged.usec = "5567783"
device.product.id = "0x51c8"
device.product.name = "Alder Lake PCH-P High Definition Audio Controller"
device.subsystem = "sound"
sysfs.path = "/sys/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
device.vendor.id = "0x8086"
device.vendor.name = "Intel Corporation"
media.class = "Audio/Device"
factory.id = "14"
client.id = "32"
object.id = "40"
object.serial = "41"
object.path = "alsa:pcm:0"
alsa.card = "0"
alsa.card_name = "sof-hda-dsp"
alsa.long_card_name = "HP-HPZBookFirefly16inchG9MobileWorkstationPC--8ABB"
alsa.driver_name = "snd_soc_skl_hda_dsp"
device.string = "0"
Profiles:
off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
HiFi: Play HiFi quality Music (sinks: 4, sources: 2, priority: 8000, available: yes)
Active Profile: HiFi
Ports:
[Out] HDMI3: HDMI / DisplayPort 3 Output (type: HDMI, priority: 700, latency offset: 0 usec, availability group: HDMI/DP,pcm=5, not available)
Properties:
port.type = "hdmi"
port.availability-group = "HDMI/DP,pcm=5"
card.profile.port = "0"
Part of profile(s): HiFi
[Out] HDMI2: HDMI / DisplayPort 2 Output (type: HDMI, priority: 600, latency offset: 0 usec, availability group: HDMI/DP,pcm=4, not available)
Properties:
port.type = "hdmi"
port.availability-group = "HDMI/DP,pcm=4"
card.profile.port = "1"
Part of profile(s): HiFi
[Out] HDMI1: HDMI / DisplayPort 1 Output (type: HDMI, priority: 500, latency offset: 0 usec, availability group: HDMI/DP,pcm=3, not available)
Properties:
port.type = "hdmi"
port.availability-group = "HDMI/DP,pcm=3"
card.profile.port = "2"
Part of profile(s): HiFi
[Out] Speaker: Speaker (type: Speaker, priority: 100, latency offset: 0 usec, availability unknown)
Properties:
port.type = "speaker"
card.profile.port = "3"
Part of profile(s): HiFi
[Out] Headphones: Headphones (type: Headphones, priority: 200, latency offset: 0 usec, availability group: Headphone, not available)
Properties:
port.type = "headphones"
port.availability-group = "Headphone"
card.profile.port = "4"
Part of profile(s): HiFi
[In] Mic2: Headphones Stereo Microphone (type: Mic, priority: 200, latency offset: 0 usec, availability group: Mic, not available)
Properties:
port.type = "mic"
port.availability-group = "Mic"
card.profile.port = "5"
Part of profile(s): HiFi
[In] Mic1: Digital Microphone (type: Mic, priority: 100, latency offset: 0 usec, availability unknown)
Properties:
port.type = "mic"
card.profile.port = "6"
Part of profile(s): HiFi
kjozsa@manta:~$ pactl list sinks
Sink #46
State: SUSPENDED
Name: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_5__sink
Description: Alder Lake PCH-P High Definition Audio Controller HDMI / DisplayPort 3 Output
Driver: PipeWire
Sample Specification: s24-32le 2ch 48000Hz
Channel Map: front-left,front-right
Owner Module: 4294967295
Mute: no
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
Monitor Source: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_5__sink.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE DECIBEL_VOLUME LATENCY
Properties:
alsa.card = "0"
alsa.card_name = "sof-hda-dsp"
alsa.class = "generic"
alsa.device = "5"
alsa.driver_name = "snd_soc_skl_hda_dsp"
alsa.id = "HDMI3 (*)"
alsa.long_card_name = "HP-HPZBookFirefly16inchG9MobileWorkstationPC--8ABB"
alsa.mixer_device = "_ucm0001.hw:sofhdadsp"
alsa.name = ""
alsa.resolution_bits = "16"
alsa.subclass = "generic-mix"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
api.alsa.card.longname = "HP-HPZBookFirefly16inchG9MobileWorkstationPC--8ABB"
api.alsa.card.name = "sof-hda-dsp"
api.alsa.open.ucm = "true"
api.alsa.path = "hw:sofhdadsp,5"
api.alsa.pcm.card = "0"
api.alsa.pcm.stream = "playback"
audio.channels = "2"
audio.position = "FL,FR"
card.profile.device = "0"
device.api = "alsa"
device.class = "sound"
device.id = "40"
device.profile.description = "HDMI / DisplayPort 3 Output"
device.profile.name = "HiFi: hw:sofhdadsp,5: sink"
device.routes = "1"
factory.name = "api.alsa.pcm.sink"
media.class = "Audio/Sink"
device.description = "Alder Lake PCH-P High Definition Audio Controller"
node.name = "alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_5__sink"
node.nick = "HDMI / DisplayPort 3 Output"
node.pause-on-idle = "false"
object.path = "alsa:pcm:0:hw:sofhdadsp,5:playback"
priority.driver = "664"
priority.session = "664"
factory.id = "18"
clock.quantum-limit = "8192"
client.id = "32"
node.driver = "true"
factory.mode = "merge"
audio.adapt.follower = ""
library.name = "audioconvert/libspa-audioconvert"
object.id = "45"
object.serial = "46"
node.max-latency = "4096/48000"
api.acp.auto-port = "false"
api.acp.auto-profile = "false"
api.alsa.card = "0"
api.alsa.use-acp = "true"
device.bus = "pci"
device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
device.enum.api = "udev"
device.icon_name = "audio-card-analog-pci"
device.name = "alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic"
device.nick = "sof-hda-dsp"
device.plugged.usec = "5567783"
device.product.id = "0x51c8"
device.product.name = "Alder Lake PCH-P High Definition Audio Controller"
device.subsystem = "sound"
sysfs.path = "/sys/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
device.vendor.id = "0x8086"
device.vendor.name = "Intel Corporation"
device.string = "0"
Ports:
[Out] HDMI3: HDMI / DisplayPort 3 Output (type: HDMI, priority: 700, availability group: HDMI/DP,pcm=5, not available)
Active Port: [Out] HDMI3
Formats:
pcm
Sink #47
State: SUSPENDED
Name: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_4__sink
Description: Alder Lake PCH-P High Definition Audio Controller HDMI / DisplayPort 2 Output
Driver: PipeWire
Sample Specification: s24-32le 2ch 48000Hz
Channel Map: front-left,front-right
Owner Module: 4294967295
Mute: no
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
Monitor Source: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_4__sink.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE DECIBEL_VOLUME LATENCY
Properties:
alsa.card = "0"
alsa.card_name = "sof-hda-dsp"
alsa.class = "generic"
alsa.device = "4"
alsa.driver_name = "snd_soc_skl_hda_dsp"
alsa.id = "HDMI2 (*)"
alsa.long_card_name = "HP-HPZBookFirefly16inchG9MobileWorkstationPC--8ABB"
alsa.mixer_device = "_ucm0001.hw:sofhdadsp"
alsa.name = ""
alsa.resolution_bits = "16"
alsa.subclass = "generic-mix"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
api.alsa.card.longname = "HP-HPZBookFirefly16inchG9MobileWorkstationPC--8ABB"
api.alsa.card.name = "sof-hda-dsp"
api.alsa.open.ucm = "true"
api.alsa.path = "hw:sofhdadsp,4"
api.alsa.pcm.card = "0"
api.alsa.pcm.stream = "playback"
audio.channels = "2"
audio.position = "FL,FR"
card.profile.device = "1"
device.api = "alsa"
device.class = "sound"
device.id = "40"
device.profile.description = "HDMI / DisplayPort 2 Output"
device.profile.name = "HiFi: hw:sofhdadsp,4: sink"
device.routes = "1"
factory.name = "api.alsa.pcm.sink"
media.class = "Audio/Sink"
device.description = "Alder Lake PCH-P High Definition Audio Controller"
node.name = "alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_4__sink"
node.nick = "HDMI / DisplayPort 2 Output"
node.pause-on-idle = "false"
object.path = "alsa:pcm:0:hw:sofhdadsp,4:playback"
priority.driver = "680"
priority.session = "680"
factory.id = "18"
clock.quantum-limit = "8192"
client.id = "32"
node.driver = "true"
factory.mode = "merge"
audio.adapt.follower = ""
library.name = "audioconvert/libspa-audioconvert"
object.id = "46"
object.serial = "47"
node.max-latency = "4096/48000"
api.acp.auto-port = "false"
api.acp.auto-profile = "false"
api.alsa.card = "0"
api.alsa.use-acp = "true"
device.bus = "pci"
device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
device.enum.api = "udev"
device.icon_name = "audio-card-analog-pci"
device.name = "alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic"
device.nick = "sof-hda-dsp"
device.plugged.usec = "5567783"
device.product.id = "0x51c8"
device.product.name = "Alder Lake PCH-P High Definition Audio Controller"
device.subsystem = "sound"
sysfs.path = "/sys/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
device.vendor.id = "0x8086"
device.vendor.name = "Intel Corporation"
device.string = "0"
Ports:
[Out] HDMI2: HDMI / DisplayPort 2 Output (type: HDMI, priority: 600, availability group: HDMI/DP,pcm=4, not available)
Active Port: [Out] HDMI2
Formats:
pcm
Sink #48
State: SUSPENDED
Name: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_3__sink
Description: Alder Lake PCH-P High Definition Audio Controller HDMI / DisplayPort 1 Output
Driver: PipeWire
Sample Specification: s24-32le 2ch 48000Hz
Channel Map: front-left,front-right
Owner Module: 4294967295
Mute: no
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
Monitor Source: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_3__sink.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE DECIBEL_VOLUME LATENCY
Properties:
alsa.card = "0"
alsa.card_name = "sof-hda-dsp"
alsa.class = "generic"
alsa.device = "3"
alsa.driver_name = "snd_soc_skl_hda_dsp"
alsa.id = "HDMI1 (*)"
alsa.long_card_name = "HP-HPZBookFirefly16inchG9MobileWorkstationPC--8ABB"
alsa.mixer_device = "_ucm0001.hw:sofhdadsp"
alsa.name = ""
alsa.resolution_bits = "16"
alsa.subclass = "generic-mix"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
api.alsa.card.longname = "HP-HPZBookFirefly16inchG9MobileWorkstationPC--8ABB"
api.alsa.card.name = "sof-hda-dsp"
api.alsa.open.ucm = "true"
api.alsa.path = "hw:sofhdadsp,3"
api.alsa.pcm.card = "0"
api.alsa.pcm.stream = "playback"
audio.channels = "2"
audio.position = "FL,FR"
card.profile.device = "2"
device.api = "alsa"
device.class = "sound"
device.id = "40"
device.profile.description = "HDMI / DisplayPort 1 Output"
device.profile.name = "HiFi: hw:sofhdadsp,3: sink"
device.routes = "1"
factory.name = "api.alsa.pcm.sink"
media.class = "Audio/Sink"
device.description = "Alder Lake PCH-P High Definition Audio Controller"
node.name = "alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_3__sink"
node.nick = "HDMI / DisplayPort 1 Output"
node.pause-on-idle = "false"
object.path = "alsa:pcm:0:hw:sofhdadsp,3:playback"
priority.driver = "696"
priority.session = "696"
factory.id = "18"
clock.quantum-limit = "8192"
client.id = "32"
node.driver = "true"
factory.mode = "merge"
audio.adapt.follower = ""
library.name = "audioconvert/libspa-audioconvert"
object.id = "47"
object.serial = "48"
node.max-latency = "4096/48000"
api.acp.auto-port = "false"
api.acp.auto-profile = "false"
api.alsa.card = "0"
api.alsa.use-acp = "true"
device.bus = "pci"
device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
device.enum.api = "udev"
device.icon_name = "audio-card-analog-pci"
device.name = "alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic"
device.nick = "sof-hda-dsp"
device.plugged.usec = "5567783"
device.product.id = "0x51c8"
device.product.name = "Alder Lake PCH-P High Definition Audio Controller"
device.subsystem = "sound"
sysfs.path = "/sys/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
device.vendor.id = "0x8086"
device.vendor.name = "Intel Corporation"
device.string = "0"
Ports:
[Out] HDMI1: HDMI / DisplayPort 1 Output (type: HDMI, priority: 500, availability group: HDMI/DP,pcm=3, not available)
Active Port: [Out] HDMI1
Formats:
pcm
Sink #49
State: RUNNING
Name: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink
Description: Alder Lake PCH-P High Definition Audio Controller Speaker + Headphones
Driver: PipeWire
Sample Specification: s32le 2ch 48000Hz
Channel Map: front-left,front-right
Owner Module: 4294967295
Mute: no
Volume: front-left: 65183 / 99% / -0.14 dB, front-right: 65183 / 99% / -0.14 dB
balance 0.00
Base Volume: 65536 / 100% / 0.00 dB
Monitor Source: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
Properties:
alsa.card = "0"
alsa.card_name = "sof-hda-dsp"
alsa.class = "generic"
alsa.device = "0"
alsa.driver_name = "snd_soc_skl_hda_dsp"
alsa.id = "HDA Analog (*)"
alsa.long_card_name = "HP-HPZBookFirefly16inchG9MobileWorkstationPC--8ABB"
alsa.mixer_device = "_ucm0001.hw:sofhdadsp"
alsa.name = ""
alsa.resolution_bits = "16"
alsa.subclass = "generic-mix"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
api.alsa.card.longname = "HP-HPZBookFirefly16inchG9MobileWorkstationPC--8ABB"
api.alsa.card.name = "sof-hda-dsp"
api.alsa.open.ucm = "true"
api.alsa.path = "hw:sofhdadsp"
api.alsa.pcm.card = "0"
api.alsa.pcm.stream = "playback"
audio.channels = "2"
audio.position = "FL,FR"
card.profile.device = "3"
device.api = "alsa"
device.class = "sound"
device.id = "40"
device.profile.description = "Speaker + Headphones"
device.profile.name = "HiFi: hw:sofhdadsp: sink"
device.routes = "2"
factory.name = "api.alsa.pcm.sink"
media.class = "Audio/Sink"
device.description = "Alder Lake PCH-P High Definition Audio Controller"
node.name = "alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink"
node.nick = "Speaker + Headphones"
node.pause-on-idle = "false"
object.path = "alsa:pcm:0:hw:sofhdadsp:playback"
priority.driver = "1000"
priority.session = "1000"
factory.id = "18"
clock.quantum-limit = "8192"
client.id = "32"
node.driver = "true"
factory.mode = "merge"
audio.adapt.follower = ""
library.name = "audioconvert/libspa-audioconvert"
object.id = "48"
object.serial = "49"
node.max-latency = "4096/48000"
api.acp.auto-port = "false"
api.acp.auto-profile = "false"
api.alsa.card = "0"
api.alsa.use-acp = "true"
device.bus = "pci"
device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
device.enum.api = "udev"
device.icon_name = "audio-card-analog-pci"
device.name = "alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic"
device.nick = "sof-hda-dsp"
device.plugged.usec = "5567783"
device.product.id = "0x51c8"
device.product.name = "Alder Lake PCH-P High Definition Audio Controller"
device.subsystem = "sound"
sysfs.path = "/sys/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
device.vendor.id = "0x8086"
device.vendor.name = "Intel Corporation"
device.string = "0"
Ports:
[Out] Speaker: Speaker (type: Speaker, priority: 100, availability unknown)
[Out] Headphones: Headphones (type: Headphones, priority: 200, availability group: Headphone, not available)
Active Port: [Out] Speaker
Formats:
pcm
This actual hardware is a 2022 HP ZBook Firefly 16" btw, but having 6+ years of flawless experience with various ZBooks in the past I had no concern picking this machine. This one looks pretty good too so far.. except that speaker output thing. @V1del I hope you can do your usual magic here as well
Offline
Note that BIOS fast boot is not the same as Windows fast boot and the latter is the one that normally causes issues. https://wiki.archlinux.org/title/Dual_b … ibernation
Low hanging fruit is to check whether it's "just" a sof-firmware incompat and whether legacy HDA works by doing /etc/modprobe.d/oldHDA.conf
options snd_intel_dspcfg dsp_driver=1
and rebooting. This will usually break mic support but might fix the speakers, if that isn't it you can remove that file again and will potentially need to do some debugging. While it's a bug report for an ASUS zenbook, symptoms read similar and it contains some links for how to extract verb tables from a Windows driver: https://github.com/thesofproject/sof/issues/5867 https://github.com/thesofproject/sof/is … 1169296331
Last edited by V1del (2022-07-29 08:41:34)
Offline
Switching to legacy HDA changed my visible sound setup in `pavucontrol` completely (and yes, only Analog Stereo Output appears, so my mic seems to be gone indeed), but still I hear no sound from the speakers.
This hardware has never had Windows installed btw, I bought it with FreeDOS and then installed this UEFI-based Arch setup from USB. Maybe that's a manufacturing issue, eg. speaker port not plugged in on mobo?
The usual listings for debug with legacy HDA:
kjozsa@manta:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC245 Analog [ALC245 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 11: HDMI 5 [HDMI 5]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 12: HDMI 6 [HDMI 6]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 13: HDMI 7 [HDMI 7]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 14: HDMI 8 [HDMI 8]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 15: HDMI 9 [HDMI 9]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 16: HDMI 10 [HDMI 10]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 17: HDMI 11 [HDMI 11]
Subdevices: 1/1
Subdevice #0: subdevice #0
kjozsa@manta:~$ 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 0 [0%] [-65.25dB] [off]
Front Right: Playback 0 [0%] [-65.25dB] [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 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 253 [99%] [-0.40dB]
Front Right: Playback 253 [99%] [-0.40dB]
Simple mixer control 'Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
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 'IEC958',3
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',4
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',5
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',6
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',7
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',8
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',9
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',10
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',11
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 63
Front Left: Capture 39 [62%] [12.00dB] [on]
Front Right: Capture 39 [62%] [12.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Disabled'
kjozsa@manta:~$ pactl list cards
Card #43
Name: alsa_card.pci-0000_00_1f.3
Driver: alsa
Owner Module: n/a
Properties:
api.acp.auto-port = "false"
api.acp.auto-profile = "false"
api.alsa.card = "0"
api.alsa.card.longname = "HDA Intel PCH at 0x603d1d8000 irq 197"
api.alsa.card.name = "HDA Intel PCH"
api.alsa.path = "hw:0"
api.alsa.use-acp = "true"
device.api = "alsa"
device.bus = "pci"
device.bus_path = "pci-0000:00:1f.3"
device.description = "Built-in Audio"
device.enum.api = "udev"
device.form_factor = "internal"
device.icon_name = "audio-card-analog-pci"
device.name = "alsa_card.pci-0000_00_1f.3"
device.nick = "HDA Intel PCH"
device.plugged.usec = "5299308"
device.product.id = "0x51c8"
device.product.name = "Alder Lake PCH-P High Definition Audio Controller"
device.subsystem = "sound"
sysfs.path = "/sys/devices/pci0000:00/0000:00:1f.3/sound/card0"
device.vendor.id = "0x8086"
device.vendor.name = "Intel Corporation"
media.class = "Audio/Device"
factory.id = "14"
client.id = "32"
object.id = "42"
object.serial = "43"
object.path = "alsa:pcm:0"
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0x603d1d8000 irq 197"
alsa.driver_name = "snd_hda_intel"
device.string = "0"
Profiles:
off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6565, available: no)
output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6500, available: yes)
output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5965, available: no)
output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5900, available: no)
output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo (HDMI 2) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: no)
output:hdmi-stereo-extra2+input:analog-stereo: Digital Stereo (HDMI 3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: no)
output:hdmi-stereo-extra3+input:analog-stereo: Digital Stereo (HDMI 4) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: no)
output:hdmi-stereo-extra4+input:analog-stereo: Digital Stereo (HDMI 5) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: no)
output:hdmi-stereo-extra5+input:analog-stereo: Digital Stereo (HDMI 6) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: no)
output:hdmi-stereo-extra6+input:analog-stereo: Digital Stereo (HDMI 7) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: no)
output:hdmi-stereo-extra7+input:analog-stereo: Digital Stereo (HDMI 8) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: no)
output:hdmi-stereo-extra8+input:analog-stereo: Digital Stereo (HDMI 9) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: no)
output:hdmi-stereo-extra9+input:analog-stereo: Digital Stereo (HDMI 10) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: no)
output:hdmi-stereo-extra10+input:analog-stereo: Digital Stereo (HDMI 11) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: no)
output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5700, available: no)
output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (sinks: 1, sources: 0, priority: 5700, available: no)
output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (sinks: 1, sources: 0, priority: 5700, available: no)
output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (sinks: 1, sources: 0, priority: 5700, available: no)
output:hdmi-stereo-extra5: Digital Stereo (HDMI 6) Output (sinks: 1, sources: 0, priority: 5700, available: no)
output:hdmi-stereo-extra6: Digital Stereo (HDMI 7) Output (sinks: 1, sources: 0, priority: 5700, available: no)
output:hdmi-stereo-extra7: Digital Stereo (HDMI 8) Output (sinks: 1, sources: 0, priority: 5700, available: no)
output:hdmi-stereo-extra8: Digital Stereo (HDMI 9) Output (sinks: 1, sources: 0, priority: 5700, available: no)
output:hdmi-stereo-extra9: Digital Stereo (HDMI 10) Output (sinks: 1, sources: 0, priority: 5700, available: no)
output:hdmi-stereo-extra10: Digital Stereo (HDMI 11) Output (sinks: 1, sources: 0, priority: 5700, available: no)
output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 865, available: no)
output:hdmi-surround71+input:analog-stereo: Digital Surround 7.1 (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 865, available: no)
output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
output:hdmi-surround-extra1+input:analog-stereo: Digital Surround 5.1 (HDMI 2) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
output:hdmi-surround71-extra1+input:analog-stereo: Digital Surround 7.1 (HDMI 2) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
output:hdmi-surround-extra2+input:analog-stereo: Digital Surround 5.1 (HDMI 3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
output:hdmi-surround71-extra2+input:analog-stereo: Digital Surround 7.1 (HDMI 3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
output:hdmi-surround-extra3+input:analog-stereo: Digital Surround 5.1 (HDMI 4) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
output:hdmi-surround71-extra3+input:analog-stereo: Digital Surround 7.1 (HDMI 4) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
output:hdmi-surround-extra4+input:analog-stereo: Digital Surround 5.1 (HDMI 5) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
output:hdmi-surround71-extra4+input:analog-stereo: Digital Surround 7.1 (HDMI 5) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
output:hdmi-surround-extra5+input:analog-stereo: Digital Surround 5.1 (HDMI 6) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
output:hdmi-surround71-extra5+input:analog-stereo: Digital Surround 7.1 (HDMI 6) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
output:hdmi-surround-extra6+input:analog-stereo: Digital Surround 5.1 (HDMI 7) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
output:hdmi-surround71-extra6+input:analog-stereo: Digital Surround 7.1 (HDMI 7) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
output:hdmi-surround-extra7+input:analog-stereo: Digital Surround 5.1 (HDMI 8) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
output:hdmi-surround71-extra7+input:analog-stereo: Digital Surround 7.1 (HDMI 8) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
output:hdmi-surround-extra8+input:analog-stereo: Digital Surround 5.1 (HDMI 9) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
output:hdmi-surround71-extra8+input:analog-stereo: Digital Surround 7.1 (HDMI 9) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
output:hdmi-surround-extra9+input:analog-stereo: Digital Surround 5.1 (HDMI 10) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
output:hdmi-surround71-extra9+input:analog-stereo: Digital Surround 7.1 (HDMI 10) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
output:hdmi-surround-extra10+input:analog-stereo: Digital Surround 5.1 (HDMI 11) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
output:hdmi-surround71-extra10+input:analog-stereo: Digital Surround 7.1 (HDMI 11) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround-extra5: Digital Surround 5.1 (HDMI 6) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround71-extra5: Digital Surround 7.1 (HDMI 6) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround-extra6: Digital Surround 5.1 (HDMI 7) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround71-extra6: Digital Surround 7.1 (HDMI 7) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround-extra7: Digital Surround 5.1 (HDMI 8) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround71-extra7: Digital Surround 7.1 (HDMI 8) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround-extra8: Digital Surround 5.1 (HDMI 9) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround71-extra8: Digital Surround 7.1 (HDMI 9) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround-extra9: Digital Surround 5.1 (HDMI 10) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround71-extra9: Digital Surround 7.1 (HDMI 10) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround-extra10: Digital Surround 5.1 (HDMI 11) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround71-extra10: Digital Surround 7.1 (HDMI 11) Output (sinks: 1, sources: 0, priority: 600, available: no)
input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 65, available: no)
pro-audio: Pro Audio (sinks: 13, sources: 1, priority: 1, available: yes)
Active Profile: output:analog-stereo
Ports:
analog-input-mic: Microphone (type: Mic, priority: 8700, latency offset: 0 usec, availability group: Legacy 1, not available)
Properties:
port.type = "mic"
port.availability-group = "Legacy 1"
device.icon_name = "audio-input-microphone"
card.profile.port = "0"
Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround+input:analog-stereo, output:hdmi-surround71+input:analog-stereo, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1+input:analog-stereo, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2+input:analog-stereo, output:hdmi-stereo-extra3+input:analog-stereo, output:hdmi-surround-extra3+input:analog-stereo, output:hdmi-surround71-extra3+input:analog-stereo, output:hdmi-stereo-extra4+input:analog-stereo, output:hdmi-surround-extra4+input:analog-stereo, output:hdmi-surround71-extra4+input:analog-stereo, output:hdmi-stereo-extra5+input:analog-stereo, output:hdmi-surround-extra5+input:analog-stereo, output:hdmi-surround71-extra5+input:analog-stereo, output:hdmi-stereo-extra6+input:analog-stereo, output:hdmi-surround-extra6+input:analog-stereo, output:hdmi-surround71-extra6+input:analog-stereo, output:hdmi-stereo-extra7+input:analog-stereo, output:hdmi-surround-extra7+input:analog-stereo, output:hdmi-surround71-extra7+input:analog-stereo, output:hdmi-stereo-extra8+input:analog-stereo, output:hdmi-surround-extra8+input:analog-stereo, output:hdmi-surround71-extra8+input:analog-stereo, output:hdmi-stereo-extra9+input:analog-stereo, output:hdmi-surround-extra9+input:analog-stereo, output:hdmi-surround71-extra9+input:analog-stereo, output:hdmi-stereo-extra10+input:analog-stereo, output:hdmi-surround-extra10+input:analog-stereo, output:hdmi-surround71-extra10+input:analog-stereo
analog-output-speaker: Speakers (type: Speaker, priority: 10000, latency offset: 0 usec, availability group: Legacy 2, availability unknown)
Properties:
port.type = "speaker"
port.availability-group = "Legacy 2"
device.icon_name = "audio-speakers"
card.profile.port = "1"
Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
analog-output-headphones: Headphones (type: Headphones, priority: 9900, latency offset: 0 usec, availability group: Legacy 3, not available)
Properties:
port.type = "headphones"
port.availability-group = "Legacy 3"
device.icon_name = "audio-headphones"
card.profile.port = "2"
Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, availability group: Legacy 4, not available)
Properties:
port.type = "hdmi"
port.availability-group = "Legacy 4"
device.icon_name = "video-display"
card.profile.port = "3"
Part of profile(s): output:hdmi-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround, output:hdmi-surround+input:analog-stereo, output:hdmi-surround71, output:hdmi-surround71+input:analog-stereo
hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, latency offset: 0 usec, availability group: Legacy 5, not available)
Properties:
port.type = "hdmi"
port.availability-group = "Legacy 5"
device.icon_name = "video-display"
card.profile.port = "4"
Part of profile(s): output:hdmi-stereo-extra1, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1, output:hdmi-surround71-extra1+input:analog-stereo
hdmi-output-2: HDMI / DisplayPort 3 (type: HDMI, priority: 5700, latency offset: 0 usec, availability group: Legacy 6, not available)
Properties:
port.type = "hdmi"
port.availability-group = "Legacy 6"
device.icon_name = "video-display"
card.profile.port = "5"
Part of profile(s): output:hdmi-stereo-extra2, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2, output:hdmi-surround71-extra2+input:analog-stereo
hdmi-output-3: HDMI / DisplayPort 4 (type: HDMI, priority: 5600, latency offset: 0 usec, availability group: Legacy 7, not available)
Properties:
port.type = "hdmi"
port.availability-group = "Legacy 7"
device.icon_name = "video-display"
card.profile.port = "6"
Part of profile(s): output:hdmi-stereo-extra3, output:hdmi-stereo-extra3+input:analog-stereo, output:hdmi-surround-extra3, output:hdmi-surround-extra3+input:analog-stereo, output:hdmi-surround71-extra3, output:hdmi-surround71-extra3+input:analog-stereo
hdmi-output-4: HDMI / DisplayPort 5 (type: HDMI, priority: 5500, latency offset: 0 usec, availability group: Legacy 8, not available)
Properties:
port.type = "hdmi"
port.availability-group = "Legacy 8"
device.icon_name = "video-display"
card.profile.port = "7"
Part of profile(s): output:hdmi-stereo-extra4, output:hdmi-stereo-extra4+input:analog-stereo, output:hdmi-surround-extra4, output:hdmi-surround-extra4+input:analog-stereo, output:hdmi-surround71-extra4, output:hdmi-surround71-extra4+input:analog-stereo
hdmi-output-5: HDMI / DisplayPort 6 (type: HDMI, priority: 5400, latency offset: 0 usec, availability group: Legacy 9, not available)
Properties:
port.type = "hdmi"
port.availability-group = "Legacy 9"
device.icon_name = "video-display"
card.profile.port = "8"
Part of profile(s): output:hdmi-stereo-extra5, output:hdmi-stereo-extra5+input:analog-stereo, output:hdmi-surround-extra5, output:hdmi-surround-extra5+input:analog-stereo, output:hdmi-surround71-extra5, output:hdmi-surround71-extra5+input:analog-stereo
hdmi-output-6: HDMI / DisplayPort 7 (type: HDMI, priority: 5300, latency offset: 0 usec, availability group: Legacy 10, not available)
Properties:
port.type = "hdmi"
port.availability-group = "Legacy 10"
device.icon_name = "video-display"
card.profile.port = "9"
Part of profile(s): output:hdmi-stereo-extra6, output:hdmi-stereo-extra6+input:analog-stereo, output:hdmi-surround-extra6, output:hdmi-surround-extra6+input:analog-stereo, output:hdmi-surround71-extra6, output:hdmi-surround71-extra6+input:analog-stereo
hdmi-output-7: HDMI / DisplayPort 8 (type: HDMI, priority: 5200, latency offset: 0 usec, availability group: Legacy 11, not available)
Properties:
port.type = "hdmi"
port.availability-group = "Legacy 11"
device.icon_name = "video-display"
card.profile.port = "10"
Part of profile(s): output:hdmi-stereo-extra7, output:hdmi-stereo-extra7+input:analog-stereo, output:hdmi-surround-extra7, output:hdmi-surround-extra7+input:analog-stereo, output:hdmi-surround71-extra7, output:hdmi-surround71-extra7+input:analog-stereo
hdmi-output-8: HDMI / DisplayPort 9 (type: HDMI, priority: 5100, latency offset: 0 usec, availability group: Legacy 12, not available)
Properties:
port.type = "hdmi"
port.availability-group = "Legacy 12"
device.icon_name = "video-display"
card.profile.port = "11"
Part of profile(s): output:hdmi-stereo-extra8, output:hdmi-stereo-extra8+input:analog-stereo, output:hdmi-surround-extra8, output:hdmi-surround-extra8+input:analog-stereo, output:hdmi-surround71-extra8, output:hdmi-surround71-extra8+input:analog-stereo
hdmi-output-9: HDMI / DisplayPort 10 (type: HDMI, priority: 5000, latency offset: 0 usec, availability group: Legacy 13, not available)
Properties:
port.type = "hdmi"
port.availability-group = "Legacy 13"
device.icon_name = "video-display"
card.profile.port = "12"
Part of profile(s): output:hdmi-stereo-extra9, output:hdmi-stereo-extra9+input:analog-stereo, output:hdmi-surround-extra9, output:hdmi-surround-extra9+input:analog-stereo, output:hdmi-surround71-extra9, output:hdmi-surround71-extra9+input:analog-stereo
hdmi-output-10: HDMI / DisplayPort 11 (type: HDMI, priority: 4900, latency offset: 0 usec, availability group: Legacy 14, not available)
Properties:
port.type = "hdmi"
port.availability-group = "Legacy 14"
device.icon_name = "video-display"
card.profile.port = "13"
Part of profile(s): output:hdmi-stereo-extra10, output:hdmi-stereo-extra10+input:analog-stereo, output:hdmi-surround-extra10, output:hdmi-surround-extra10+input:analog-stereo, output:hdmi-surround71-extra10, output:hdmi-surround71-extra10+input:analog-stereo
kjozsa@manta:~$ pactl list sinks
Sink #515
State: SUSPENDED
Name: alsa_output.pci-0000_00_1f.3.analog-stereo.3
Description: Built-in Audio Analog Stereo
Driver: PipeWire
Sample Specification: s32le 2ch 48000Hz
Channel Map: front-left,front-right
Owner Module: 4294967295
Mute: no
Volume: front-left: 64222 / 98% / -0.53 dB, front-right: 64222 / 98% / -0.53 dB
balance 0.00
Base Volume: 65536 / 100% / 0.00 dB
Monitor Source: alsa_output.pci-0000_00_1f.3.analog-stereo.3.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
Properties:
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.class = "generic"
alsa.device = "0"
alsa.driver_name = "snd_hda_intel"
alsa.id = "ALC245 Analog"
alsa.long_card_name = "HDA Intel PCH at 0x603d1d8000 irq 197"
alsa.name = "ALC245 Analog"
alsa.resolution_bits = "16"
alsa.subclass = "generic-mix"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
api.alsa.card.longname = "HDA Intel PCH at 0x603d1d8000 irq 197"
api.alsa.card.name = "HDA Intel PCH"
api.alsa.path = "front:0"
api.alsa.pcm.card = "0"
api.alsa.pcm.stream = "playback"
audio.channels = "2"
audio.position = "FL,FR"
card.profile.device = "15"
device.api = "alsa"
device.class = "sound"
device.id = "42"
device.profile.description = "Analog Stereo"
device.profile.name = "analog-stereo"
device.routes = "2"
factory.name = "api.alsa.pcm.sink"
media.class = "Audio/Sink"
device.description = "Built-in Audio"
node.name = "alsa_output.pci-0000_00_1f.3.analog-stereo.3"
node.nick = "ALC245 Analog"
node.pause-on-idle = "false"
object.path = "alsa:pcm:0:front:0:playback"
priority.driver = "1009"
priority.session = "1009"
factory.id = "18"
clock.quantum-limit = "8192"
client.id = "32"
node.driver = "true"
factory.mode = "merge"
audio.adapt.follower = ""
library.name = "audioconvert/libspa-audioconvert"
object.id = "46"
object.serial = "515"
node.max-latency = "16384/48000"
api.acp.auto-port = "false"
api.acp.auto-profile = "false"
api.alsa.card = "0"
api.alsa.use-acp = "true"
device.bus = "pci"
device.bus_path = "pci-0000:00:1f.3"
device.enum.api = "udev"
device.form_factor = "internal"
device.icon_name = "audio-card-analog-pci"
device.name = "alsa_card.pci-0000_00_1f.3"
device.nick = "HDA Intel PCH"
device.plugged.usec = "5299308"
device.product.id = "0x51c8"
device.product.name = "Alder Lake PCH-P High Definition Audio Controller"
device.subsystem = "sound"
sysfs.path = "/sys/devices/pci0000:00/0000:00:1f.3/sound/card0"
device.vendor.id = "0x8086"
device.vendor.name = "Intel Corporation"
device.string = "0"
Ports:
analog-output-speaker: Speakers (type: Speaker, priority: 10000, availability group: Legacy 2, availability unknown)
analog-output-headphones: Headphones (type: Headphones, priority: 9900, availability group: Legacy 3, not available)
Active Port: analog-output-speaker
Formats:
pcm
Offline
- output is set to `Speaker + Headphones`
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 0 [0%] [-65.25dB] [off]
Front Right: Playback 0 [0%] [-65.25dB] [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]
You say "headphone+speaker" you hear "headphone" and alsa says "speaker" - try to play w/ the outputs state (and volume) w/
alsamixer -c0
Notably what happens when you mute the speaker and unmute the headphones…
Also looks eerily like https://bbs.archlinux.org/viewtopic.php?id=278422 and https://bbs.archlinux.org/viewtopic.php?id=278444
All different ALC but
snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
=>
dmesg | grep snd
?
Offline
Yes, I spent a significant time of trying various combinations of muting/unmuting shown devices in alsamixer, but had no luck yet. I gave it another round now, but no.. it's silent.
kjozsa@manta:~$ sudo dmesg | grep snd
[ 3.545671] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[ 3.545688] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[ 5.329428] snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC245: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[ 5.329433] snd_hda_codec_realtek ehdaudio0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 5.329435] snd_hda_codec_realtek ehdaudio0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 5.329436] snd_hda_codec_realtek ehdaudio0D0: mono: mono_out=0x0
[ 5.329437] snd_hda_codec_realtek ehdaudio0D0: inputs:
[ 5.329438] snd_hda_codec_realtek ehdaudio0D0: Mic=0x19
[ 5.371490] snd_hda_codec_realtek ehdaudio0D0: ASoC: sink widget AIF1TX overwritten
[ 5.371499] snd_hda_codec_realtek ehdaudio0D0: ASoC: source widget AIF1RX overwritten
Offline
So after getting a portable Windows USB pendrive and testing my speakers (flawless), it turns out that this HP ZBook Firefly laptop has a "Cirrus Logic High-Efficiency Boosted Class D Amplifier" (as it's also listed on its spec sheet), which needs another driver.. I also found related bugs
https://bugs.launchpad.net/ubuntu/+sour … ug/1965496 and
https://bugs.launchpad.net/ubuntu/+sour … ug/1966010
which seem to bring various kernel patches into the distro kernel to get this piece of hardware to work. I tried to switch to the mainline kernel (currently at 6.0.0-rc5) but no luck yet using the out of the box setup... I'll try to investigate further to get the Cirrus Logic amp to work.
Offline
I think I'm having the same issue on the HP Envy 16 (launched just a couple of weeks ago).
No sound via speakers, only via headphone jack.
I've already tried the options snd_intel_dspcfg dsp_driver=1 quirk with no luck.
Edit:
Yep, it's the same issue. Found this in the logs.
Sep 14 15:50:30 blue kernel: cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: error -EINVAL: Platform not supported -22
Sep 14 15:50:30 blue kernel: cs35l41-hda: probe of i2c-CSC3551:00-cs35l41-hda.0 failed with error -22
Sep 14 15:50:30 blue kernel: cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: error -EINVAL: Platform not supported -22
Sep 14 15:50:30 blue kernel: cs35l41-hda: probe of i2c-CSC3551:00-cs35l41-hda.1 failed with error -22
CS35L41 is: https://www.cirrus.com/products/cs35l41/
Last edited by wooptoo (2022-09-14 14:55:02)
Offline
I managed to get sound working by reverting to the old intel-hda driver.
Create /etc/modprobe.d/audiofix.conf with:
options snd-hda-intel dmic_detect=0
options snd-hda-intel model=laptop-amic enable=yes
The first line is to enable the speaker, the second for the internal microphone.
Reboot & confirm it's using intel-hda:
> inxi -A
Audio:
Device-1: Intel Alder Lake PCH-P High Definition Audio
driver: snd_hda_intel
…
I think blacklisting the snd_sof_pci_intel_tgl kernel module would have the same effect, haven't tried.
Last edited by wooptoo (2022-09-15 09:02:33)
Offline
@wooptoo I tried your workaround, but it did not get the speaker to work - I really think I need a driver for the Cirrus Logic amp first.
kjozsa@manta:~$ inxi -A
Audio:
Device-1: Intel Alder Lake PCH-P High Definition Audio
driver: snd_hda_intel
Sound Server-1: ALSA v: k6.0.0-rc5-1-mainline running: yes
Sound Server-2: PipeWire v: 0.3.57 running: yes
This is a nice tool though, thanks for mentioning it!
Offline
kjozsa: I managed to get it working but even if I set the speakers to 100% the volume is still too quiet (I can barely hear people in Teams meetings for example). It looks like it's definitely meant to be using some sort of amplification.
Offline
Any luck with the Cirrus Amp?
Just updated to 6.0.1 but still got nothing...
Offline
No, it does not work for me yet. I'm waiting for this patch to get into the mainline kernel, hopefully soon now.. I think this will probably help: https://github.com/torvalds/linux/commi … d3aac41f54
Offline
It works!!
kjozsa@manta:~$ uname -a
Linux manta 6.0.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 15 Oct 2022 14:00:49 +0000 x86_64 GNU/Linux
kjozsa@manta:~$ sudo dmesg | grep -i speak
[ 8.721819] input: PC Speaker as /devices/platform/pcspkr/input/input21
[ 10.661600] snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC245: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[ 10.661604] snd_hda_codec_realtek ehdaudio0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
kjozsa@manta:~$
and my speaker is now audible.. Happy days!
Offline
Good! On my side, I have a Zbook G9 Studio, I have the same issue, but even with 6.0.2-arch1-1 the speakers still do not work. It is a bit frustrating because I was looking at the Ubuntu bug reports, and it seems to me that the patches for my model are there. I imagine that they have not been integrated yet upstream though. I am very much tempted to extract them from the Ubuntu patchset and try applying them to the arch kernel ...
Offline
Hi all. I have an HP Dragonfly Elite G3. Following this thread helped me get some kind of audio out from the speakers (installed linux-mainline which has that latest patch - v6.1-rc5), however I have the same issue as @wooptoo - very quiet sound. I believe it's the amp init process for the cirrus module CS35L41 that is missing. I also attempted the hda-verb tricks in /dev/snd/hwC0D0 described in the hp spectre x360 wiki page, no luck. Perhaps the same fix to the Firefly G9 needs to be applied for the Dragonfly model as well?
I can also confirm sound works correctly in windows 11.
Here's an alsa-info.sh dump: http://alsa-project.org/db/?f=3079f7c1b … 959b08ee22
Offline
Good! On my side, I have a Zbook G9 Studio, I have the same issue, but even with 6.0.2-arch1-1 the speakers still do not work. It is a bit frustrating because I was looking at the Ubuntu bug reports, and it seems to me that the patches for my model are there. I imagine that they have not been integrated yet upstream though. I am very much tempted to extract them from the Ubuntu patchset and try applying them to the arch kernel ...
... and with the update to 6.1.1-arch1-1 it works also on my Zbook G9 Studio!
Offline
I managed to get sound working by reverting to the old intel-hda driver.
Create /etc/modprobe.d/audiofix.conf with:
options snd-hda-intel dmic_detect=0 options snd-hda-intel model=laptop-amic enable=yes
The first line is to enable the speaker, the second for the internal microphone.
Reboot & confirm it's using intel-hda:
> inxi -A Audio: Device-1: Intel Alder Lake PCH-P High Definition Audio driver: snd_hda_intel …
I think blacklisting the snd_sof_pci_intel_tgl kernel module would have the same effect, haven't tried.
I've bought a Vostro 5320 and this fixed the issue for me
Offline
install sof-firmware
Offline