Bluetooth Input devices

From Gentoo Wiki
Jump to: navigation, search

This article describes the setup of Bluetooth input devices.



You need Bluetooth and evdev support. Also you need to activate the following kernel options:

Device Drivers  --->
    [*] HID Devices  --->

          You may need some special driver for your input device:
          Special HID drivers  --->
                <*> ...

[*] Networking support  --->
    <*>   Bluetooth subsystem support  --->
          <*>   L2CAP protocol support
          <*>   HIDP protocol support

BlueZ settings

Change the value of UserspaceHID to true in /etc/bluetooth/input.conf:

FILE /etc/bluetooth/input.conf
# Enable HID protocol handling in userspace input profile
# Defaults to false (HIDP handled in HIDP kernel module)


To configure the input devices use the specialized desktop management tools:

Some Bluetooth input devices are initially not in HID mode, but in HCI mode. This is handled by udev in /lib/udev/rules.d/97-hid2hci.rules. Additional devices can be added in a custom rule file which needs to be placed in /etc/udev/rules.d. Refer to the udev article for more details.