How To Install bluez-hid2hci on CentOS 7

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

Introduction

In this tutorial we learn how to install bluez-hid2hci on CentOS 7.

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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install bluez-hid2hci.

Install bluez-hid2hci on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install bluez-hid2hci

Install bluez-hid2hci on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install bluez-hid2hci

How To Uninstall bluez-hid2hci on CentOS 7

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

sudo dnf remove bluez-hid2hci

References

Summary

In this tutorial we learn how to install bluez-hid2hci on CentOS 7 using yum and dnf.