tangled
alpha
login
or
join now
matthew-hre.com
/
flake
0
fork
atom
My NixOS configuration (mirror)
0
fork
atom
overview
issues
pulls
pipelines
fixed broken bluetooth config
matthew-hre.com
1 year ago
11c8b723
3f00a392
+40
-1
3 changed files
expand all
collapse all
unified
split
hosts
thwomp
btusb.patch
configuration.nix
system
hardware
bluetooth.nix
+27
hosts/thwomp/btusb.patch
···
1
1
+
From c71085bcea25ab5e46ee1ca93c30da6a0bb6bd72 Mon Sep 17 00:00:00 2001
2
2
+
From: Matthew Hrehirchuk <49077192+matthew-hre@users.noreply.github.com>
3
3
+
Date: Sun, 23 Feb 2025 16:35:59 -0700
4
4
+
Subject: [PATCH] update btusb.c
5
5
+
6
6
+
---
7
7
+
drivers/bluetooth/btusb.c | 6 ++++++
8
8
+
1 file changed, 6 insertions(+)
9
9
+
10
10
+
diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
11
11
+
index 90966dfbd2781f..ef07e54e6ac2df 100644
12
12
+
--- a/drivers/bluetooth/btusb.c
13
13
+
+++ b/drivers/bluetooth/btusb.c
14
14
+
@@ -519,6 +519,12 @@ static const struct usb_device_id quirks_table[] = {
15
15
+
BTUSB_WIDEBAND_SPEECH },
16
16
+
17
17
+
/* Realtek 8852BE Bluetooth devices */
18
18
+
+
19
19
+
+ /* stupid budget asus mobo... stupid stupid... */
20
20
+
+ { USB_DEVICE(0x0489, 0xe112), .driver_info = BTUSB_REALTEK |
21
21
+
+ BTUSB_WIDEBAND_SPEECH },
22
22
+
+
23
23
+
+
24
24
+
{ USB_DEVICE(0x0cb8, 0xc559), .driver_info = BTUSB_REALTEK |
25
25
+
BTUSB_WIDEBAND_SPEECH },
26
26
+
{ USB_DEVICE(0x0bda, 0x4853), .driver_info = BTUSB_REALTEK |
27
27
+
+10
-1
hosts/thwomp/configuration.nix
···
52
52
53
53
hardware.bluetooth.settings.General.Experimental = "true";
54
54
hardware.enableAllFirmware = true;
55
55
+
hardware.firmware = [
56
56
+
pkgs.firmwareLinuxNonfree
57
57
+
];
58
58
+
59
59
+
boot.kernelPatches = [
60
60
+
{
61
61
+
name = "btusb-patch";
62
62
+
patch = ./btusb.patch;
63
63
+
}
64
64
+
];
55
65
56
66
hardware.graphics.enable = true;
57
57
-
hardware.xone.enable = true;
58
67
59
68
environment.sessionVariables = {
60
69
NIXOS_OZONE_WL = "1";
+3
system/hardware/bluetooth.nix
···
2
2
hardware.bluetooth = {
3
3
enable = true;
4
4
powerOnBoot = true;
5
5
+
settings = {
6
6
+
Policy.AutoEnable = true;
7
7
+
};
5
8
};
6
9
}