sof-audio-pci-intel-tgl 0000:00:1f.3: error: sof_probe_work failed err: -2

fedora 42, using pipewire on hyprland. no music output.

[Sun Apr 13 18:10:26 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040380<br>[Sun Apr 13 18:10:26 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])<br>[Sun Apr 13 18:10:26 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode<br>[Sun Apr 13 18:10:26 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 5<br>[Sun Apr 13 18:10:26 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now<br>[Sun Apr 13 18:10:26 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: NHLT device BT(0) detected, ssp_mask 0x4<br>[Sun Apr 13 18:10:26 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: BT link detected in NHLT tables: 0x4<br>[Sun Apr 13 18:10:26 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: DMICs detected in NHLT tables: 4<br>[Sun Apr 13 18:10:26 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: SOF firmware and/or topology file not found.<br>[Sun Apr 13 18:10:26 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: Supported default profiles<br>[Sun Apr 13 18:10:26 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: - ipc type 0 (Requested):<br>[Sun Apr 13 18:10:26 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware file: intel/sof/sof-tgl.ri<br>[Sun Apr 13 18:10:26 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: Topology file: intel/sof-tplg/sof-hda-generic-4ch.tplg<br>[Sun Apr 13 18:10:26 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: Check if you have 'sof-firmware' package installed.<br>[Sun Apr 13 18:10:26 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: Optionally it can be manually downloaded from:<br>[Sun Apr 13 18:10:26 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: https://github.com/thesofproject/sof-bin/<br>[Sun Apr 13 18:10:26 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: error: sof_probe_work failed err: -2

Solution:

dnf install alsa-sof-firmware

now it works.

[Sun Apr 13 18:17:13 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040380<br>[Sun Apr 13 18:17:13 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])<br>[Sun Apr 13 18:17:13 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode<br>[Sun Apr 13 18:17:13 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 5<br>[Sun Apr 13 18:17:13 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now<br>[Sun Apr 13 18:17:13 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: NHLT device BT(0) detected, ssp_mask 0x4<br>[Sun Apr 13 18:17:13 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: BT link detected in NHLT tables: 0x4<br>[Sun Apr 13 18:17:13 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: DMICs detected in NHLT tables: 4<br>[Sun Apr 13 18:17:13 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware paths/files for ipc type 0:<br>[Sun Apr 13 18:17:13 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware file: intel/sof/sof-tgl.ri<br>[Sun Apr 13 18:17:13 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: Topology file: intel/sof-tplg/sof-hda-generic-4ch.tplg<br>[Sun Apr 13 18:17:13 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864<br>[Sun Apr 13 18:17:13 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:1<br>[Sun Apr 13 18:17:14 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864<br>[Sun Apr 13 18:17:14 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:1<br>[Sun Apr 13 18:17:14 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: Topology: ABI 3:22:1 Kernel ABI 3:23:1

xfce4-terminal doesnt update cwd on new tab @fedora41

时间持续比较长了,在Fedora 41 xfce环境下,xfce4-terminal新建tab页不会使用和前序一样的working directory,而是会自动使用默认的路径。

以为是xfce .config的问题,毕竟已经持续刷新了很多年的版本,只好把.config删了重建环境,也没用。

为了发现根因, 把xfce4-terminal换成了terminator, 然后再切新标签,就碰巧发现问题了。

gi.repository.GLib.GError: g_convert_error: The hostname of the URI file://suse.407/home/suse/Desktop” is invalid (4)<br>Traceback (most recent call last):<br>  File "/usr/lib/python3.13/site-packages/terminatorlib/terminal.py", line 980, in on_keypress<br>    getattr(self, "key_" + mapping)()<br>    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^<br>  File "/usr/lib/python3.13/site-packages/terminatorlib/terminal.py", line 2069, in key_new_tab<br>    self.get_toplevel().tab_new(self)<br>    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^<br>  File "/usr/lib/python3.13/site-packages/terminatorlib/window.py", line 269, in tab_new<br>    cwd = widget.get_cwd()<br>  File "/usr/lib/python3.13/site-packages/terminatorlib/terminal.py", line 260, in get_cwd<br>    return(GLib.filename_from_uri(vte_cwd)[0])<br>           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^<br>gi.repository.GLib.GError: g_convert_error: The hostname of the URI “file://suse.407/home/suse/Desktop” is invalid (4)<br>

然后就找到问题了
g_filename_from_uri rejects valid host names according to RFC 1123

https://gitlab.gnome.org/GNOME/glib/-/issues/3523

所以问题就是在主机名, 我的这台电脑多年用的数字名称,也不用等修复问题了, 把这个主机名一改就好, 豁然开朗。

W/R, change hostname from ‘suse.407’ to ‘suse.s407’

Fedora 39 upgraded and kernel not shown in grub list

After fedora upgraded from 38->39, new kernel not listed in grub list.

According to this post, because the entry in /boot/efi/xxxxxxxxxxxxxxxx directory, the new kernel initrd file was generated in a wrong place.

FIX:
1. remove the folder:
#rm /boot/efi/xxxxxxxxxxxxxxxx
like : rm -rf /boot/efi/a169b9c4383646aebda5f63e812b9c24/
2. re-install kernel:
#dnf reinstall kernel

New kernel versions get stored in /boot/efi and dont show in grub after fedora 39 update

https://discussion.fedoraproject.org/t/new-kernel-versions-get-stored-in-boot-efi-and-dont-show-in-grub-after-fedora-39-update/92847