Bluetooth stops working after kernel update

I installed Tumbleweed on my laptop for the first time.
And after a kernel update, I noticed that my Bluetooth stopped working.
I got an error like this:

Direct firmware load for mediatek/BT_RAM_CODE_MT7922_1_1_hdr.bin failed error code -2

After a lot of research, I discovered that the problem was in the initrd files, but after recreating them nothing changed.
So I began my research again. Then I recreated the initrd using:

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

Now my Bluetooth works again.
I’m a Linux noob, just wanted to know if there was another way to solve this and make a topic to help someone with the same problem.

1 Like

It’s my understand an error code 2 is related to “missing file or sub-directory”.

Did you attempt to locate the “*.bin” file shown in your first code quote ?
(before recreating initrd)

Yes, I did.
It was located in:


I didn’t understand why it couldn’t be loaded.

Probably because it was not extracted. .xz is a compression format, similar to .gzip or .bzip2. Maybe just extracting it might have solved it. But anyways you solved your issue, so that’s good.

Most of them are zipped to xz, see in your firmware directory.

1 Like

Sorry for the late reply.
However, uncompressing the file does not make the Bluetooth work.