Commit 01996c8
committed
coreos-modules: enable the Bluetooth subsystem
Flatcar currently ships no Bluetooth support at all: CONFIG_BT is absent
from the kernel configs, so olddefconfig resolves the whole subsystem to
n and no Bluetooth modules are built.
Enable the core stack (BR/EDR and LE) plus the HCI transports that matter
on the hardware Flatcar runs on:
- btusb, the transport used by essentially every USB adapter and by the
Bluetooth radio in Intel/Realtek/MediaTek/Qualcomm combo chips
- hci_uart with serdev, the usual transport on arm64 edge boards
- virtio_bt, for VMs with a paravirtualised adapter
- hci_vhci, which lets the stack be exercised without real hardware
Everything is a module, so nothing is loaded unless Bluetooth hardware is
present or the modules are loaded explicitly. RFKILL is enabled because
BlueZ needs it to unblock and power adapters, and SERIAL_DEV_BUS because
BT_HCIUART_SERDEV depends on it. CRYPTO_ECC/CRYPTO_ECDH are selected by
BT for LE Secure Connections.
DELL_RBTN is explicitly disabled in the amd64 config: it becomes visible
once RFKILL is enabled (X86_PLATFORM_DRIVERS_DELL is already y) but it is
a laptop radio-button driver unrelated to this change, and leaving it out
keeps the new module set to exactly the Bluetooth closure.
This adds 17 modules totalling ~2.45 MiB (arm64, stripped, uncompressed)
to /usr/lib/modules. Verified with olddefconfig against linux-6.12.102 for
both amd64 and arm64: apart from the symbols listed above, the resulting
.config is byte-identical to the current one on both architectures.
Userspace is deliberately left out of the image; BlueZ is a better fit for
a systemd-sysext.
Signed-off-by: Ananth Bhaskararaman <antsub@gmail.com>1 parent f93cac7 commit 01996c8
3 files changed
Lines changed: 34 additions & 0 deletions
File tree
- changelog/changes
- sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-modules/files
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
Lines changed: 32 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
83 | 84 | | |
84 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
85 | 115 | | |
86 | 116 | | |
87 | 117 | | |
| |||
847 | 877 | | |
848 | 878 | | |
849 | 879 | | |
| 880 | + | |
850 | 881 | | |
851 | 882 | | |
852 | 883 | | |
| |||
912 | 943 | | |
913 | 944 | | |
914 | 945 | | |
| 946 | + | |
915 | 947 | | |
916 | 948 | | |
917 | 949 | | |
| |||
0 commit comments