LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

hid2hci

switches Bluetooth USB dongles between HID and HCI modes

TLDR

Switch device to HCI mode
$ sudo hid2hci --mode=hci --method=csr --devpath=[/sys/devices/...]
copy
Switch Dell device to HCI mode
$ sudo hid2hci --mode=hci --method=dell --devpath=[/sys/devices/...]
copy
Restore device to HID mode
$ sudo hid2hci --mode=hid --method=csr --devpath=[/sys/devices/...]
copy

SYNOPSIS

hid2hci [options]

DESCRIPTION

hid2hci switches Bluetooth USB dongles between HID and HCI modes. Some devices boot in HID mode and need switching to function as Bluetooth controllers.The tool is needed for certain USB Bluetooth adapters that start in keyboard/mouse mode. After switching, bluez can use the device.

PARAMETERS

--mode MODE

Target mode to switch the device to: hid or hci.
--method METHOD
Vendor-specific switching method (csr, csr2, logitech-hdi, dell).
--devpath PATH
Device path in /sys.
--help
Display help information.

CAVEATS

Device-specific. Requires correct method. Part of BlueZ package.

HISTORY

hid2hci was developed as part of BlueZ to handle USB Bluetooth adapters with dual-mode firmware.

SEE ALSO

Copied to clipboard
Kai