this post was submitted on 21 Jan 2026
19 points (95.2% liked)

Linux

63215 readers
272 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

[Solved] cross-posted from: https://lemmy.world/post/41957406

Exact problem as this archwiki forum post

I have also tried everything and at last here I am asking for any help, otherwise I don't think I would be able to continue using Linux on this laptop. I've tried everything from changing the kernel package to enabling all firmwares to using every kernel parameter I can find everything, nothing says any error or something anywhere. Only error i can find is hci device capabilities -22

Edit: The patch i needed was to add the driver info in btusb.c file. In nixos this is how you do it

  boot = {
    kernelPatches = [
      {
        name = "add-realtek-8852ce-btusb";
        patch = ./btusb.patch;
      }
    ];
}

first what you should do is git clone the linux kernel version you are using check using uname -r for me it was 6.12.(whatever, doesn't matter)

git clone --depth=1 git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git v6.12

then find the btusb.c file in drivers/bluetooth/ and add the line

{ USB_DEVICE(0x13d3, 0x3612), .driver_info = BTUSB_REALTEK |
BTUSB_WIDEBAND_SPEECH },

after these lines

static const struct usb_device_id quirks_table[] = {
 						     BTUSB_WIDEBAND_SPEECH },
 	{ USB_DEVICE(0x0cb8, 0xc558), .driver_info = BTUSB_REALTEK |
 						     BTUSB_WIDEBAND_SPEECH },

now we have made chages to this file right? it will be shows in git diff, so now you should be able to do git diff > btusb.patch this will create a .patch file, now copy this file to wherever folder you put the nixos configuration in, most likely /etc/nixos if not using custom config. Thats it!, now rebuild the configuration and DONE. props to @Maiq.

Author of patch: vedantsg123

I will try to get this patch upstream to not having to do this manually.

you are viewing a single comment's thread
view the rest of the comments
[–] mobsenpai@lemmy.world 0 points 1 month ago (2 children)

I'll do that. Thank you so much 🤗

[–] optissima@lemmy.ml 2 points 1 month ago (1 children)

I recommend if/when you do, add the link in this post for posterity!

[–] mobsenpai@lemmy.world 3 points 1 month ago (1 children)

Went ahead and explained it even, also posted on the original arch forum.

[–] Maiq@piefed.social 1 points 1 month ago (1 children)
[–] mobsenpai@lemmy.world 3 points 1 month ago (1 children)

Brother guess what? It actually fixed it. OMG I am soo happy, at last it got fixed, i was trying it for the last week and didn't work, but you swoop and in an instant fixed it. I just can't thank you enough really. I am really greatful to you.

[–] Maiq@piefed.social 3 points 1 month ago (1 children)

I just pointed you in the right direction. You did all the work. Glad to hear you got it going. This is the only drawback to buying niche laptops. They often require a bit of tinkering for a year or two while kernels get patched.

Nice write up by the way, might help the next person.

[–] mobsenpai@lemmy.world 2 points 1 month ago

Still if not for you, all efforts would have been futile. Thank you for your valuable inputs.