How To Install bluez-hid2hci on Rocky Linux 8

In this tutorial we learn how to install bluez-hid2hci on Rocky Linux 8. bluez-hid2hci is Put HID proxying bluetooth HCI’s into HCI mode

Introduction

In this tutorial we learn how to install bluez-hid2hci on Rocky Linux 8.

What is bluez-hid2hci

Most allinone PC’s and bluetooth keyboard / mouse sets which include a bluetooth dongle, ship with a so called HID proxying bluetooth HCI. The HID proxying makes the keyboard / mouse show up as regular USB HID devices (after connecting using the connect button on the device + keyboard), which makes them work without requiring any manual configuration. The bluez-hid2hci package contains the hid2hci utility and udev rules to automatically switch supported Bluetooth devices into regular HCI mode. Install this package if you want to use the bluetooth function of the HCI with other bluetooth devices like for example a mobile phone. Note that after installing this package you will first need to pair your bluetooth keyboard and mouse with the bluetooth adapter before you can use them again. Since you cannot use your bluetooth keyboard and mouse until they are paired, this will require the use of a regular (wired) USB keyboard and mouse.

We can use yum or dnf to install bluez-hid2hci on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install bluez-hid2hci.

Install bluez-hid2hci on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install bluez-hid2hci using dnf by running the following command:

sudo dnf -y install bluez-hid2hci

Install bluez-hid2hci on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install bluez-hid2hci using yum by running the following command:

sudo yum -y install bluez-hid2hci

How To Uninstall bluez-hid2hci on Rocky Linux 8

To uninstall only the bluez-hid2hci package we can use the following command:

sudo dnf remove bluez-hid2hci

bluez-hid2hci Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/02
/usr/lib/.build-id/02/877351bfd5b8065171b913ecc8146747f62d28
/usr/lib/udev/hid2hci
/usr/lib/udev/rules.d/97-hid2hci.rules
/usr/share/man/man1/hid2hci.1.gz

References

Summary

In this tutorial we learn how to install bluez-hid2hci on Rocky Linux 8 using yum and dnf.