Install bluetooth adapter
by lattimro from LinuxQuestions.org on (#6QYRJ)
Hi Folks,
I am trying to install an USB Bluetooth adapter.
Code:lsusb
Bus 002 Device 004: ID 046d:c52f Logitech, Inc. Unifying Receiver
Bus 002 Device 003: ID 0bda:8771 Realtek Semiconductor Corp. Bluetooth Radio
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 04f2:b128 Chicony Electronics Co., Ltd USB2.0 UVC WebCam
Bus 001 Device 003: ID 0bda:0138 Realtek Semiconductor Corp. RTS5138 Card Reader Controller
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubI have the drivers provided with the device but I do not know how to install this rtk_btusb module which is not found as you can see bellow:
Code:root@toshiba//home/brad/Downloads/20201202_LINUX_BT_DRIVER# make install INTERFACE=all
mkdir -p /lib/modules/5.15.161/kernel/drivers/bluetooth
Start Realtek Bluetooth USB driver installation
mkdir -p /lib/firmware
Copy rtkbt-firmware/lib/firmware/rtl*_fw to /lib/firmware
cp -a rtkbt-firmware/lib/firmware/rtl*_fw /lib/firmware
Copy rtkbt-firmware/lib/firmware/rtl*_config /lib/firmware
cp -a rtkbt-firmware/lib/firmware/rtl*_config /lib/firmware
make -C usb install
make[1]: Entering directory '/home/brad/Downloads/20201202_LINUX_BT_DRIVER/usb'
rmmod btusb
rmmod: ERROR: Module btusb is not currently loaded
make[1]: [Makefile:7: install] Error 1 (ignored)
mv /lib/modules/5.15.161/kernel/drivers/bluetooth/btusb.ko /lib/modules/5.15.161/kernel/drivers/bluetooth/btusb_bak
mv: cannot stat '/lib/modules/5.15.161/kernel/drivers/bluetooth/btusb.ko': No such file or directory
make[1]: [Makefile:8: install] Error 1 (ignored)
rmmod rtk_btusb
rmmod: ERROR: Module rtk_btusb is not currently loaded
make[1]: [Makefile:9: install] Error 1 (ignored)
make -C ./bluetooth_usb_driver
make[2]: Entering directory '/home/brad/Downloads/20201202_LINUX_BT_DRIVER/usb/bluetooth_usb_driver'
make -C /lib/modules/5.15.161/build M=/home/brad/Downloads/20201202_LINUX_BT_DRIVER/usb/bluetooth_usb_driver modules
make[3]: Entering directory '/home/brad/Downloads/20201202_LINUX_BT_DRIVER/usb/bluetooth_usb_driver'
make[3]: *** /lib/modules/5.15.161/build: No such file or directory. Stop.
make[3]: Leaving directory '/home/brad/Downloads/20201202_LINUX_BT_DRIVER/usb/bluetooth_usb_driver'
make[2]: *** [Makefile:10: all] Error 2
make[2]: Leaving directory '/home/brad/Downloads/20201202_LINUX_BT_DRIVER/usb/bluetooth_usb_driver'
make[1]: *** [Makefile:10: install] Error 2
make[1]: Leaving directory '/home/brad/Downloads/20201202_LINUX_BT_DRIVER/usb'
make: *** [Makefile:28: install] Error 2
root@toshiba//home/brad/Downloads/20201202_LINUX_BT_DRIVER#On other Distros the adapter installed flawless.
Thanks!
I am trying to install an USB Bluetooth adapter.
Code:lsusb
Bus 002 Device 004: ID 046d:c52f Logitech, Inc. Unifying Receiver
Bus 002 Device 003: ID 0bda:8771 Realtek Semiconductor Corp. Bluetooth Radio
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 04f2:b128 Chicony Electronics Co., Ltd USB2.0 UVC WebCam
Bus 001 Device 003: ID 0bda:0138 Realtek Semiconductor Corp. RTS5138 Card Reader Controller
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubI have the drivers provided with the device but I do not know how to install this rtk_btusb module which is not found as you can see bellow:
Code:root@toshiba//home/brad/Downloads/20201202_LINUX_BT_DRIVER# make install INTERFACE=all
mkdir -p /lib/modules/5.15.161/kernel/drivers/bluetooth
Start Realtek Bluetooth USB driver installation
mkdir -p /lib/firmware
Copy rtkbt-firmware/lib/firmware/rtl*_fw to /lib/firmware
cp -a rtkbt-firmware/lib/firmware/rtl*_fw /lib/firmware
Copy rtkbt-firmware/lib/firmware/rtl*_config /lib/firmware
cp -a rtkbt-firmware/lib/firmware/rtl*_config /lib/firmware
make -C usb install
make[1]: Entering directory '/home/brad/Downloads/20201202_LINUX_BT_DRIVER/usb'
rmmod btusb
rmmod: ERROR: Module btusb is not currently loaded
make[1]: [Makefile:7: install] Error 1 (ignored)
mv /lib/modules/5.15.161/kernel/drivers/bluetooth/btusb.ko /lib/modules/5.15.161/kernel/drivers/bluetooth/btusb_bak
mv: cannot stat '/lib/modules/5.15.161/kernel/drivers/bluetooth/btusb.ko': No such file or directory
make[1]: [Makefile:8: install] Error 1 (ignored)
rmmod rtk_btusb
rmmod: ERROR: Module rtk_btusb is not currently loaded
make[1]: [Makefile:9: install] Error 1 (ignored)
make -C ./bluetooth_usb_driver
make[2]: Entering directory '/home/brad/Downloads/20201202_LINUX_BT_DRIVER/usb/bluetooth_usb_driver'
make -C /lib/modules/5.15.161/build M=/home/brad/Downloads/20201202_LINUX_BT_DRIVER/usb/bluetooth_usb_driver modules
make[3]: Entering directory '/home/brad/Downloads/20201202_LINUX_BT_DRIVER/usb/bluetooth_usb_driver'
make[3]: *** /lib/modules/5.15.161/build: No such file or directory. Stop.
make[3]: Leaving directory '/home/brad/Downloads/20201202_LINUX_BT_DRIVER/usb/bluetooth_usb_driver'
make[2]: *** [Makefile:10: all] Error 2
make[2]: Leaving directory '/home/brad/Downloads/20201202_LINUX_BT_DRIVER/usb/bluetooth_usb_driver'
make[1]: *** [Makefile:10: install] Error 2
make[1]: Leaving directory '/home/brad/Downloads/20201202_LINUX_BT_DRIVER/usb'
make: *** [Makefile:28: install] Error 2
root@toshiba//home/brad/Downloads/20201202_LINUX_BT_DRIVER#On other Distros the adapter installed flawless.
Thanks!