LinuxCommandLibrary

hid2hci

switches Bluetooth USB dongles between HID and HCI modes

TLDR

Switch device to HCI mode

$ sudo hid2hci --method=dell [vendor]:[product]
copy
Switch Dell device
$ sudo hid2hci --method=dell --devpath=/dev/bus/usb/[bus]/[device]
copy
Restore HID mode
$ sudo hid2hci --tohid --devpath=[device-path]
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

--method METHOD

Switching method (dell, csr).
--devpath PATH
USB device path.
--tohid
Switch to HID mode.
--tohci
Switch to HCI mode.
-v, --verbose
Verbose output.
--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

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community