Bug 1220888 - Bluetooth stops working after kernel update if a bluetooth keyboard is paired
Summary: Bluetooth stops working after kernel update if a bluetooth keyboard is paired
Status: RESOLVED DUPLICATE of bug 1214133
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-04 14:23 UTC by Andrea Ippolito
Modified: 2024-03-04 14:39 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
journalctl (349.61 KB, text/plain)
2024-03-04 14:23 UTC, Andrea Ippolito
Details
contents of /var/lib/bluetooth (3.00 KB, application/gzip)
2024-03-04 14:24 UTC, Andrea Ippolito
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea Ippolito 2024-03-04 14:23:51 UTC
Created attachment 873201 [details]
journalctl

Hello,

as suggested on the opensuse forums, I'm reporting an issue where my the Bluetooth on my laptop stops working after installing a TW snapshot update, because of a failure when loading the relevant firmware file.

```
Mar 04 12:34:45 andromeda kernel: bluetooth hci0: Direct firmware load for mediatek/BT_RAM_CODE_MT7922_1_1_hdr.bin failed with error -2
Mar 04 12:34:45 andromeda kernel: Bluetooth: hci0: Failed to load firmware file (-2)
Mar 04 12:34:45 andromeda kernel: Bluetooth: hci0: Failed to set up firmware (-2)
```

The mentioned file exists:

```
 andrea  /usr/lib/firmware/mediatek  ll
total 7.5M
-rw-r--r-- 1 root root 502K Feb 23 17:25 BT_RAM_CODE_MT7922_1_1_hdr.bin.xz
-rw-r--r-- 1 root root 336K Feb 23 17:25 BT_RAM_CODE_MT7961_1_2_hdr.bin.xz
-rw-r--r-- 1 root root 135K Feb 23 17:25 WIFI_MT7922_patch_mcu_1_1_hdr.bin.xz
-rw-r--r-- 1 root root  43K Feb 23 17:25 WIFI_MT7961_patch_mcu_1_2_hdr.bin.xz
[...]
```

Effective workaround I was advised to apply on the forums:

`dracut -f --omit bluetooth --regenerate-all`

This one was also suggested:

`echo 'omit_dracutmodules+=" bluetooth "' > /etc/dracut.conf.d/disable_bluetooth.conf`

but I haven't applied it (yet) because I would need to manually revert it once the root cause is fixed and I'm not sure I'll remember to do so, whereas the dracut command is something I can control better (and I'm willing to execute it after every snapshot update), which I think is going to be needed...

Issue should be linked to the presence of a paired Bluetooth keyboard.

Attaching output of:
`sudo journalctl -b-3 --no-pager --full` for the boot where the issue occurred

as well as zipped contents of `/var/lib/bluetooth`


Allow me to thank forum user @arvidjaar for the kind help in the forums and providing guidance on how to report this properly with useful troubleshooting info.

I'm of course available to provide any further info or data.

6.7.7-1-default

CPU: 8-core AMD Ryzen 7 7840U w/ Radeon 780M Graphics (-MT MCP-)
speed/min/max: 524/400/5132:6076:5760:5605:5289:5918:5447 MHz
Kernel: 6.7.7-1-default x86_64 Up: 1h 54m Mem: 11.92/27.1 GiB (44.0%)
Storage: 953.87 GiB (23.3% used) Procs: 472 Shell: Bash inxi: 3.3.33

Thanks!
Comment 1 Andrea Ippolito 2024-03-04 14:24:39 UTC
Created attachment 873202 [details]
contents of /var/lib/bluetooth
Comment 2 Andrea Ippolito 2024-03-04 14:26:12 UTC
opensuse forums thread URL:

https://forums.opensuse.org/t/bluetooth-stops-working-after-kernel-update/168353/7

Code block formatting is not done the way I expected (triple back-tick), I apologize for that.
Comment 3 Antonio Feijoo 2024-03-04 14:39:43 UTC
I think this issue is already being addressed in bug 1214133

*** This bug has been marked as a duplicate of bug 1214133 ***