블루투스 v5를 설정하는 방법

블루투스 v5를 설정하는 방법

Bluetooth 5 USB doogle을 작동시키려고 합니다(MPOW BH456A). Mpow 웹사이트에서 최신 버전의 Linux 드라이버를 다운로드하고 sudo make install INTERFACE=all. 다음 오류로 인해 이 작업이 실패합니다.

rmmod btusb
mv /lib/modules/5.10.22-100.fc32.x86_64/kernel/drivers/bluetooth/btusb.ko /lib/modules/5.10.22-100.fc32.x86_64/kernel/drivers/bluetooth/btusb_bak
mv: cannot stat '/lib/modules/5.10.22-100.fc32.x86_64/kernel/drivers/bluetooth/btusb.ko': No such file or directory
make: [Makefile:8: install] Error 1 (ignored)
rmmod rtk_btusb
rmmod: ERROR: Module rtk_btusb is not currently loaded
make: [Makefile:9: install] Error 1 (ignored)
make -C ./bluetooth_usb_driver
make[1]: Entering directory '/home/jason/Desktop/mpow driver/20201202_LINUX_BT_DRIVER/usb/bluetooth_usb_driver'
make -C /lib/modules/5.10.22-100.fc32.x86_64/build M=/home/jason/Desktop/mpow driver/20201202_LINUX_BT_DRIVER/usb/bluetooth_usb_driver modules
make[2]: Entering directory '/usr/src/kernels/5.10.22-100.fc32.x86_64'
make[2]: *** No rule to make target 'driver/20201202_LINUX_BT_DRIVER/usb/bluetooth_usb_driver'.  Stop.
make[2]: Leaving directory '/usr/src/kernels/5.10.22-100.fc32.x86_64'
make[1]: *** [Makefile:10: all] Error 2
make[1]: Leaving directory '/home/jason/Desktop/mpow driver/20201202_LINUX_BT_DRIVER/usb/bluetooth_usb_driver'
make: *** [Makefile:10: install] Error 2

저는 KDE 버전의 Fedora 32를 사용하고 있습니다.

출력 dmesg | grep bt:

[    8.518603] usbcore: registered new interface driver btusb
[    8.526797] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761b_fw.bin
[    8.530001] bluetooth hci0: Direct firmware load for rtl_bt/rtl8761b_fw.bin failed with error -2
[    8.530007] Bluetooth: hci0: RTL: firmware file rtl_bt/rtl8761b_fw.bin not found
[ 1044.227505] usbcore: deregistering interface driver btusb

출력 lsusb | grep -i blue:

Bus 008 Device 002: ID 0bda:8771 Realtek Semiconductor Corp. Bluetooth Radio

출력 uname -r:

5.10.22-100.fc32.x86_64

다음은 제가 따르려고 했던 Bluetooth 드라이버를 수동으로 설치하기 위한 MPOW 지침입니다.

-Installation

  1. Build and install USB driver, change to the driver directory
   $ cd usb
   $ sudo make install

  2. Copy the right FW file and config file to the correct path.
   $ sudo cp rtkbt-firmware/lib/firmware/rtl8xxxxx_fw /lib/firmware/
   $ sudo cp rtkbt-firmware/lib/firmware/rtl8xxxxx_config /lib/firmware/

   NOTE: PLEASE REFER THE FORWARD SECTION OF FILENAME LIST TO CORRESPOND THE FW FILENAME AND THE CONFIG FILENAME WITH THE CHIP.
           
  3. Insert Realtek Bluetooth dongle
    Check LMP subversion by the following command
    $ hciconfig -a

    Now RTK chip can be recognized by the system and bluetooth function can be used.

답변1

Ubuntu 20.04 솔루션을 설명하겠습니다. MPOW BH456A성공적으로 컴파일해서 사용했는데 장치 sudo make install INTERFACE=all가 여전히 인식되지 않습니다.

몇 가지 조사 끝에 출력에 명시된 대로 펌웨어 파일이 누락되었음을 설명하는 이 GitHub 저장소를 발견했습니다 firmware file rtl_bt/rtl8761b_fw.bin not found. 이 패치를 적용하려면 다음을 실행하세요.

git clone https://github.com/pedrovagner/fix-ubuntu-bluetooth-adapter
sh fix-ubuntu-bluetooth-adapter/project.sh fix

관련 정보