You are not logged in.
Hello,
I recently installed linux on my Huawei Matebook d14 2020 (ryzen 4800H). Pulse audio does not detect an analog output for my internal speaker:
aplay -l
returns:
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0pacmd list-sinks
1 sink(s) available.
* index: 0
name: <auto_null>
driver: <module-null-sink.c>
flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 1000
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: 344 KiB
max rewind: 344 KiB
monitor source: 0
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
module: 13
properties:
device.description = "Dummy Output"
device.class = "abstract"
device.icon_name = "audio-card"lshw -c multimedia:
*-multimedia:0
description: Audio device
product: Advanced Micro Devices, Inc. [AMD/ATI]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0.1
bus info: pci@0000:04:00.1
version: 00
width: 32 bits
clock: 33MHz
capabilities: pm pciexpress msi bus_master cap_list
configuration: driver=snd_hda_intel latency=0
resources: irq:74 memory:d03c0000-d03c3fff
*-usb:1
description: Video
product: HD Camera
vendor: SunplusIT Inc
physical id: 4
bus info: usb@3:4
version: 20.04
capabilities: usb-2.01
configuration: driver=uvcvideo maxpower=500mA speed=480Mbit/s
*-multimedia:1
description: Multimedia controller
product: Raven/Raven2/FireFlight/Renoir Audio Processor
vendor: Advanced Micro Devices, Inc. [AMD]
physical id: 0.5
bus info: pci@0000:04:00.5
version: 01
width: 32 bits
clock: 33MHz
capabilities: pm pciexpress msi bus_master cap_list
configuration: driver=snd_rn_pci_acp3x latency=0
resources: irq:73 memory:d0380000-d03bffffI can make hdmi sound work if I set it on default.pa
It also does not automatically recognize my microphone but I can see it on arecord -l
card 1: acp [acp], device 0: DMIC capture dmic-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0and adding
#load-module module-alsa-source device=hw:1,0and restarting pulseaudio makes it visible.
Do you have any idea what's going on?
Offline
Try installing sof-firmware and reboot, maybe post
sudo dmesg | grep -iE 'snd|sof'Offline
Try installing sof-firmware and reboot, maybe post
sudo dmesg | grep -iE 'snd|sof'
[ 0.293784] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 1.899177] snd_rn_pci_acp3x 0000:04:00.5: enabling device (0000 -> 0002)
[ 2.237081] snd_hda_intel 0000:04:00.1: enabling device (0000 -> 0002)
[ 2.237173] snd_hda_intel 0000:04:00.1: Handle vga_switcheroo audio client
[ 2.239765] acp_pdm_mach acp_pdm_mach.0: snd_soc_register_card(acp) failed: -517
[ 3.945046] snd_hda_intel 0000:04:00.1: bound 0000:04:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])Offline
I have similiar problem with matebook 14s 2021. Headphone and speaker aren't recognize correctly. When I plug headphone, sound comes from speakers. When unplugging headphone, sound mutes. From alsamixer, I can set volume on but this is not best practice. I think huawei uptodate matebook series laptops have similiar problem ![]()
Offline
Install of latest `alsa-ucm-conf` solved the issue for me.
Offline