From 379f5e5243926c0b79113d5ea34355b3f804d027 Mon Sep 17 00:00:00 2001 From: Alejandro Garcia Date: Sun, 1 Nov 2026 15:38:18 -0800 Subject: [PATCH] kernel config: Bluetooth LE mice and keyboards, and headphone buttons Turn on what bluetoothd needs for common Bluetooth devices, as modules loaded on demand: - UHID: BLE mice and keyboards (HID over GATT) get their input devices through /dev/uhid. Without it bluetoothd logs "input-hog profile accept failed" and a paired BLE mouse never reaches the desktop. - HID_LOGITECH and HID_LOGITECH_HIDPP: Logitech's HID++ devices, such as the MX Master, with their battery and extra buttons. - INPUT_UINPUT: AVRCP, so headphone and speaker buttons (play, pause, volume) become key events. BT_RFCOMM stays off for now. With it, PipeWire offers the headset profile, and WirePlumber switches headphones to it whenever something opens a microphone: on the Pixel 7, music over A2DP cut out and mpv paused when a recording started. It can come with a WirePlumber setting that keeps headsets on A2DP, or with call support. All of it was tested on a Pixel 7 (the Pixel 7 Bluetooth plan, in a later PR): a Logitech MX Master 3 over BLE drove the shell, and a pair of Sony WF-1000XM5 played over A2DP with their play/pause and volume buttons working. Every phone with Bluetooth gets the same modules. Co-Authored-By: Claude Opus 5.5 --- kernel/configs/omamobile.config | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/kernel/configs/omamobile.config b/kernel/configs/omamobile.config index 241e98f11..48bbb778a 100644 --- a/kernel/configs/omamobile.config +++ b/kernel/configs/omamobile.config @@ -138,6 +138,17 @@ CONFIG_PCI_PWRCTRL_GENERIC=y CONFIG_DMA_RESTRICTED_POOL=y CONFIG_BT_HCIUART=m CONFIG_BT_HCIUART_BCM=y +# Bluetooth LE keyboards and mice (HID over GATT): bluetoothd creates their +# input devices through /dev/uhid. Without it the HOG profile fails and a +# paired BLE mouse never moves the pointer. Logitech's HID++ driver adds the +# battery and extra buttons of devices such as the MX Master. Modules, +# loaded on demand. +CONFIG_UHID=m +CONFIG_HID_LOGITECH=m +CONFIG_HID_LOGITECH_HIDPP=m +# AVRCP: bluetoothd turns headphone and speaker buttons (play, pause, skip) +# into key events through uinput. +CONFIG_INPUT_UINPUT=m CONFIG_MFD_MAX77759=m CONFIG_CHARGER_MAX77759=m CONFIG_BATTERY_MAX17042=m