You are not logged in.

#1 2024-03-18 23:53:07

Pascuack
Member
Registered: 2024-03-18
Posts: 1

[SOLVED] HUAWEI MateBook 16 speakers do not work

Hi,

Huawei MateBook 16 (CREM-WFD9), with the sound card CX11970.

Upon a fresh installation using Pipewire (I have also attempted with PulseAudio), I have encountered a problem where the laptop speakers do not function properly. However, when I connect headphones, they do work properly.

Here is the output of:

sudo fuser -v /dev/snd/*
aplay -lL
amixer -c0
pactl list cards
pactl list sinks
sudo dmesg | grep -E 'snd|sof' 
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  pascuack    637 F.... pipewire
                     pascuack    638 F.... wireplumber
/dev/snd/controlC1:  pascuack    637 F.... pipewire
                     pascuack    638 F.... wireplumber
/dev/snd/controlC2:  pascuack    637 F.... pipewire
                     pascuack    638 F.... wireplumber
/dev/snd/pcmC1D0p:   pascuack    637 F...m pipewire
/dev/snd/seq:        pascuack    637 F.... pipewire
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
pipewire
    PipeWire Sound Server
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 PipeWire Media Server)
hdmi:CARD=Generic,DEV=0
    HD-Audio Generic, HDMI 0
    HDMI Audio Output
usbstream:CARD=Generic
    HD-Audio Generic
    USB Stream Output
sysdefault:CARD=Generic_1
    HD-Audio Generic, CX11970 Analog
    Default Audio Device
front:CARD=Generic_1,DEV=0
    HD-Audio Generic, CX11970 Analog
    Front output / input
surround21:CARD=Generic_1,DEV=0
    HD-Audio Generic, CX11970 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Generic_1,DEV=0
    HD-Audio Generic, CX11970 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic_1,DEV=0
    HD-Audio Generic, CX11970 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic_1,DEV=0
    HD-Audio Generic, CX11970 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic_1,DEV=0
    HD-Audio Generic, CX11970 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic_1,DEV=0
    HD-Audio Generic, CX11970 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
usbstream:CARD=Generic_1
    HD-Audio Generic
    USB Stream Output
usbstream:CARD=acp
    acp
    USB Stream Output
**** 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 1: Generic_1 [HD-Audio Generic], device 0: CX11970 Analog [CX11970 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Card #45
        Name: alsa_card.pci-0000_03_00.6
        Driver: alsa
        Owner Module: n/a
        Properties:
                api.acp.auto-port = "false"
                api.acp.auto-profile = "false"
                api.alsa.card = "1"
                api.alsa.card.longname = "HD-Audio Generic at 0xd04c0000 irq 93"
                api.alsa.card.name = "HD-Audio Generic"
                api.alsa.path = "hw:1"
                api.alsa.use-acp = "true"
                api.dbus.ReserveDevice1 = "Audio1"
                device.api = "alsa"
                device.bus = "pci"
                device.bus_path = "pci-0000:03:00.6"
                device.description = "Family 17h/19h HD Audio Controller"
                device.enum.api = "udev"
                device.icon_name = "audio-card-analog-pci"
                device.name = "alsa_card.pci-0000_03_00.6"
                device.nick = "HD-Audio Generic"
                device.plugged.usec = "2749763"
                device.product.id = "0x15e3"
                device.product.name = "Family 17h/19h HD Audio Controller"
                device.subsystem = "sound"
                sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:03:00.6/sound/card1"
                device.vendor.id = "0x1022"
                device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
                media.class = "Audio/Device"
                factory.id = "14"
                client.id = "34"
                object.id = "45"
                object.serial = "45"
                object.path = "alsa:pcm:1"
                alsa.card = "1"
                alsa.card_name = "HD-Audio Generic"
                alsa.long_card_name = "HD-Audio Generic at 0xd04c0000 irq 93"
                alsa.driver_name = "snd_hda_intel"
                device.string = "1"
        Profiles:
                off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
                HiFi: Play HiFi quality Music (sinks: 1, sources: 2, priority: 8000, available: yes)
                pro-audio: Pro Audio (sinks: 1, sources: 1, priority: 1, available: yes)
        Active Profile: HiFi
        Ports:
                [Out] Speaker: Speaker (type: Speaker, priority: 100, latency offset: 0 usec, availability unknown)
                        Properties:
                                port.type = "speaker"
                                device.icon_name = "audio-speakers"
                                card.profile.port = "0"
                        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"
                                device.icon_name = "audio-headphones"
                                card.profile.port = "1"
                        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"
                                device.icon_name = "audio-input-microphone"
                                card.profile.port = "2"
                        Part of profile(s): HiFi
                [In] Mic1: Digital Microphone (type: Mic, priority: 100, latency offset: 0 usec, availability unknown)
                        Properties:
                                port.type = "mic"
                                device.icon_name = "audio-input-microphone"
                                card.profile.port = "3"
                        Part of profile(s): HiFi

Card #46
        Name: alsa_card.pci-0000_03_00.1
        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 = "HD-Audio Generic at 0xd04c8000 irq 92"
                api.alsa.card.name = "HD-Audio Generic"
                api.alsa.path = "hw:0"
                api.alsa.use-acp = "true"
                api.dbus.ReserveDevice1 = "Audio0"
                device.api = "alsa"
                device.bus = "pci"
                device.bus_path = "pci-0000:03:00.1"
                device.description = "Renoir Radeon High Definition Audio Controller"
                device.enum.api = "udev"
                device.icon_name = "audio-card-analog-pci"
                device.name = "alsa_card.pci-0000_03_00.1"
                device.nick = "HD-Audio Generic"
                device.plugged.usec = "2716241"
                device.product.id = "0x1637"
                device.product.name = "Renoir Radeon High Definition Audio Controller"
                device.subsystem = "sound"
                sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:03:00.1/sound/card0"
                device.vendor.id = "0x1002"
                device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
                media.class = "Audio/Device"
                factory.id = "14"
                client.id = "34"
                object.id = "46"
                object.serial = "46"
                object.path = "alsa:pcm:0"
                alsa.card = "0"
                alsa.card_name = "HD-Audio Generic"
                alsa.long_card_name = "HD-Audio Generic at 0xd04c8000 irq 92"
                alsa.driver_name = "snd_hda_intel"
                device.string = "0"
        Profiles:
                off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
                HiFi: Play HiFi quality Music (sinks: 1, sources: 0, priority: 8000, available: no)
                pro-audio: Pro Audio (sinks: 1, sources: 0, priority: 1, available: yes)
        Active Profile: off
        Ports:
                [Out] HDMI1: HDMI / DisplayPort 1 Output (type: HDMI, priority: 1100, latency offset: 0 usec, availability group: HDMI/DP,pcm=3, not available)
                        Properties:
                                port.type = "hdmi"
                                port.availability-group = "HDMI/DP,pcm=3"
                                device.icon_name = "video-display"
                                card.profile.port = "0"
                        Part of profile(s): HiFi
Sink #47
        State: RUNNING
        Name: alsa_output.pci-0000_03_00.6.HiFi__hw_Generic_1__sink
        Description: Family 17h/19h HD 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: 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_03_00.6.HiFi__hw_Generic_1__sink.monitor
        Latency: 0 usec, configured 0 usec
        Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
        Properties:
                alsa.card = "1"
                alsa.card_name = "HD-Audio Generic"
                alsa.class = "generic"
                alsa.device = "0"
                alsa.driver_name = "snd_hda_intel"
                alsa.id = "CX11970 Analog"
                alsa.long_card_name = "HD-Audio Generic at 0xd04c0000 irq 93"
                alsa.mixer_device = "_ucm0002.hw:Generic_1"
                alsa.name = "CX11970 Analog"
                alsa.resolution_bits = "16"
                alsa.subclass = "generic-mix"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                api.alsa.card.longname = "HD-Audio Generic at 0xd04c0000 irq 93"
                api.alsa.card.name = "HD-Audio Generic"
                api.alsa.open.ucm = "true"
                api.alsa.path = "hw:Generic_1"
                api.alsa.pcm.card = "1"
                api.alsa.pcm.stream = "playback"
                audio.channels = "2"
                audio.position = "FL,FR"
                card.profile.device = "0"
                device.api = "alsa"
                device.class = "sound"
                device.id = "45"
                device.profile.description = "Speaker + Headphones"
                device.profile.name = "HiFi: hw:Generic_1: sink"
                device.routes = "2"
                factory.name = "api.alsa.pcm.sink"
                media.class = "Audio/Sink"
                device.description = "Family 17h/19h HD Audio Controller"
                node.name = "alsa_output.pci-0000_03_00.6.HiFi__hw_Generic_1__sink"
                node.nick = "CX11970 Analog"
                node.pause-on-idle = "false"
                object.path = "alsa:pcm:1:hw:Generic_1:playback"
                priority.driver = "1000"
                priority.session = "1000"
                factory.id = "18"
                clock.quantum-limit = "8192"
                client.id = "34"
                node.driver = "true"
                factory.mode = "merge"
                audio.adapt.follower = ""
                library.name = "audioconvert/libspa-audioconvert"
                object.id = "47"
                object.serial = "47"
                node.max-latency = "16384/48000"
                api.alsa.period-size = "1024"
                api.alsa.period-num = "32"
                api.alsa.headroom = "0"
                api.acp.auto-port = "false"
                api.acp.auto-profile = "false"
                api.alsa.card = "1"
                api.alsa.use-acp = "true"
                api.dbus.ReserveDevice1 = "Audio1"
                device.bus = "pci"
                device.bus_path = "pci-0000:03:00.6"
                device.enum.api = "udev"
                device.icon_name = "audio-card-analog-pci"
                device.name = "alsa_card.pci-0000_03_00.6"
                device.nick = "HD-Audio Generic"
                device.plugged.usec = "2749763"
                device.product.id = "0x15e3"
                device.product.name = "Family 17h/19h HD Audio Controller"
                device.subsystem = "sound"
                sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:03:00.6/sound/card1"
                device.vendor.id = "0x1022"
                device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
                device.string = "1"
        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
[    0.031594] software IO TLB: area num 16.
[    0.483507] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.483510] software IO TLB: mapped [mem 0x00000000c56d3000-0x00000000c96d3000] (64MB)
[    2.508123] snd_rn_pci_acp3x 0000:03:00.5: enabling device (0000 -> 0002)
[    2.699603] snd_hda_intel 0000:03:00.1: enabling device (0000 -> 0002)
[    2.699882] snd_hda_intel 0000:03:00.1: Handle vga_switcheroo audio client
[    2.700228] snd_hda_intel 0000:03:00.6: enabling device (0000 -> 0002)
[    2.728855] snd_hda_codec_conexant hdaudioC1D0: CX11970: BIOS auto-probing.
[    2.729698] snd_hda_codec_conexant hdaudioC1D0: autoconfig for CX11970: line_outs=1 (0x1d/0x0/0x0/0x0/0x0) type:speaker
[    2.729703] snd_hda_codec_conexant hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    2.729705] snd_hda_codec_conexant hdaudioC1D0:    hp_outs=1 (0x18/0x0/0x0/0x0/0x0)
[    2.729706] snd_hda_codec_conexant hdaudioC1D0:    mono: mono_out=0x0
[    2.729708] snd_hda_codec_conexant hdaudioC1D0:    inputs:
[    2.729709] snd_hda_codec_conexant hdaudioC1D0:      Mic=0x19
[    5.332046] snd_hda_intel 0000:03:00.1: bound 0000:03:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])

EDIT:
I didn't turn off the pc or do anything, but today when I unlocked it, it worked.
Same kernel:

Linux Quierrel 6.8.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 16 Mar 2024 17:15:35 +0000 x86_64 GNU/Linux

Fresh installation of arch with pulseaudio, install pipewire-audio pipewire-alsa pipewire-pulse pipewire-jack (eliminating the conflict with pulse). And let the dwarfs cook...

I honestly don't know what happened.

Last edited by Pascuack (2024-03-19 12:11:00)

Offline

Board footer

Powered by FluxBB