You are not logged in.

#1 2021-12-14 13:59:20

LeCifr
Member
Registered: 2021-12-14
Posts: 2

No audio. PulseAudio. No analog device detected. Laptop.

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 #0

pacmd 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-d03bffff

I 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 #0

and adding

#load-module module-alsa-source device=hw:1,0

and restarting pulseaudio makes it visible.

Do you have any idea what's going on?

Offline

#2 2021-12-14 15:37:00

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,081

Re: No audio. PulseAudio. No analog device detected. Laptop.

Try installing sof-firmware and reboot, maybe post

sudo dmesg | grep -iE 'snd|sof'

Offline

#3 2021-12-14 15:58:12

LeCifr
Member
Registered: 2021-12-14
Posts: 2

Re: No audio. PulseAudio. No analog device detected. Laptop.

V1del wrote:

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

#4 2021-12-17 14:21:49

ndhakara
Member
Registered: 2015-01-16
Posts: 25

Re: No audio. PulseAudio. No analog device detected. Laptop.

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 hmm

Offline

#5 2021-12-18 20:51:46

Wondertan
Member
Registered: 2021-12-14
Posts: 6

Re: No audio. PulseAudio. No analog device detected. Laptop.

Install of latest `alsa-ucm-conf` solved the issue for me.

Offline

Board footer

Powered by FluxBB