How To Install bluez-hid2hci on CentOS 8
Introduction
In this tutorial we learn how to install bluez-hid2hci
on CentOS 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 CentOS 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 CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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 CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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 CentOS 8
To uninstall only the bluez-hid2hci
package we can use the following command:
sudo dnf remove bluez-hid2hci
bluez-hid2hci Package Contents on CentOS 8
/usr/lib/.build-id
/usr/lib/.build-id/a6
/usr/lib/.build-id/a6/e2638eb0db985be6c7d55bbaa4135be2443a6e
/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 CentOS 8 using yum and dnf.