Dratini: audio stopped working

Hi there,

I’ve been running arch on my hp pro c640 ‘dratini’, but I recently noticed that at some point the speakers have stopped working. Now I know my way around most of Linux but audio and video stuff is magic to me so I don’t really know where to start.

Here is some info that I think might be usefull:

 wpctl status
PipeWire 'pipewire-0' [1.2.7, maud@maudchrome, cookie:755207235]
 └─ Clients:
        32. WirePlumber                         [1.2.7, maud@maudchrome, pid:607]
        40. WirePlumber [export]                [1.2.7, maud@maudchrome, pid:607]
        52. xdg-desktop-portal-hyprland         [1.2.7, maud@maudchrome, pid:798]
        53. pipewire                            [1.2.7, maud@maudchrome, pid:808]
        54. waybar                              [1.2.7, maud@maudchrome, pid:702]
        60. Blueman                             [1.2.7, maud@maudchrome, pid:706]
        61. wpctl                               [1.2.7, maud@maudchrome, pid:1166]

Audio
 ├─ Devices:
 │      41. Comet Lake PCH-LP cAVS              [alsa]
 │  
 ├─ Sinks:
 │  *   55. Dummy Output                        [vol: 1.20]
 │  
 ├─ Sources:
 │  
 ├─ Filters:
 │  
 └─ Streams:

It sees some device, but no source and only a dummy sink.
Bluetooth audio does still work I believe.

I have run the script by weirdtreething (thanks for that!)

this may be usefull aswell:

dmesg | grep sof
[    3.486456] sof-audio-pci-intel-cnl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[    3.506912] sof-audio-pci-intel-cnl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    3.514220] sof-audio-pci-intel-cnl 0000:00:1f.3: use msi interrupt mode
[    3.530792] sof-audio-pci-intel-cnl 0000:00:1f.3: NHLT table not found
[    3.530834] sof-audio-pci-intel-cnl 0000:00:1f.3: hda codecs found, mask 4
[    3.530835] sof-audio-pci-intel-cnl 0000:00:1f.3: BT link detected in NHLT tables: 0x0
[    3.530837] sof-audio-pci-intel-cnl 0000:00:1f.3: DMICs detected in NHLT tables: 0
[    3.537480] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware paths/files for ipc type 0:
[    3.537483] sof-audio-pci-intel-cnl 0000:00:1f.3:  Firmware file:     intel/sof/community/sof-cml.ri
[    3.537484] sof-audio-pci-intel-cnl 0000:00:1f.3:  Topology file:     intel/sof-tplg/sof-cml-rt5682-max98357a.tplg
[    3.538924] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware info: version 2:2:0-57864
[    3.538926] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:1
[    3.538929] sof-audio-pci-intel-cnl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30
[    3.651186] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware info: version 2:2:0-57864
[    3.651191] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:1
[    3.689882] sof-audio-pci-intel-cnl 0000:00:1f.3: Topology: ABI 3:22:1 Kernel ABI 3:23:1
[    3.690032] sof_rt5682 cml_rt5682_def: ASoC: Parent card not yet available, widget card binding deferred
[    3.733704] input: sof-rt5682 Headset Jack as /devices/pci0000:00/0000:00:1f.3/cml_rt5682_def/sound/card0/input10
[    3.745144] input: sof-rt5682 HDMI/DP,pcm=2 as /devices/pci0000:00/0000:00:1f.3/cml_rt5682_def/sound/card0/input11
[    3.745190] input: sof-rt5682 HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/cml_rt5682_def/sound/card0/input12
[    3.745252] input: sof-rt5682 HDMI/DP,pcm=4 as /devices/pci0000:00/0000:00:1f.3/cml_rt5682_def/sound/card0/input13
[   12.639278] sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx error for 0x60010000 (msg/reply size: 108/20): -22
[   12.639284] sof-audio-pci-intel-cnl 0000:00:1f.3: HW params ipc failed for stream 1
[   12.639287] sof-audio-pci-intel-cnl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22
[   12.639883] sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx error for 0x60010000 (msg/reply size: 108/20): -22
[   12.639887] sof-audio-pci-intel-cnl 0000:00:1f.3: HW params ipc failed for stream 1
[   12.639888] sof-audio-pci-intel-cnl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22
[   12.640490] sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx error for 0x60010000 (msg/reply size: 108/20): -22
[   12.640496] sof-audio-pci-intel-cnl 0000:00:1f.3: HW params ipc failed for stream 1
[   12.640498] sof-audio-pci-intel-cnl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22
[   12.641145] sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx error for 0x60010000 (msg/reply size: 108/20): -22
[   12.641151] sof-audio-pci-intel-cnl 0000:00:1f.3: HW params ipc failed for stream 1
[   12.641153] sof-audio-pci-intel-cnl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22
[   12.650502] sof-audio-pci-intel-cnl 0000:00:1f.3: sof_ipc3_keyword_dapm_event: Cannot find PCM for DETECT9.0
[   12.650509] sof-audio-pci-intel-cnl 0000:00:1f.3: ASoC: PRE_PMU: DETECT9.0 event failed: -22
[   12.650514] sof-audio-pci-intel-cnl 0000:00:1f.3: sof_ipc3_keyword_dapm_event: Cannot find PCM for DETECT9.0
[   12.650517] sof-audio-pci-intel-cnl 0000:00:1f.3: ASoC: POST_PMU: DETECT9.0 event failed: -22
[   12.650660] sof-audio-pci-intel-cnl 0000:00:1f.3: sof_ipc3_keyword_dapm_event: Cannot find PCM for DETECT9.0
[   12.650662] sof-audio-pci-intel-cnl 0000:00:1f.3: ASoC: PRE_PMD: DETECT9.0 event failed: -22
[   12.650665] sof-audio-pci-intel-cnl 0000:00:1f.3: sof_ipc3_keyword_dapm_event: Cannot find PCM for DETECT9.0
[   12.650667] sof-audio-pci-intel-cnl 0000:00:1f.3: ASoC: POST_PMD: DETECT9.0 event failed: -22

I think the issues on WTT’s audio script repo is a better place for this report.

1 Like

Found the solution there, for some reason I had thought of rerunning that script but not checking those issues :upside_down_face:

Solution: Recent alsa-ucm-conf update requires ucm syntax 7 · Issue #185 · WeirdTreeThing/chromebook-linux-audio · GitHub