Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 3595  / 1 Year ago, thu, december 22, 2022, 1:47:01

I just changed my 4.0 adapter for the new Bluetooth 5.0 adapter, but found out it doesn't work on Ubuntu. Can someone please help me and tell what steps exactly I need to follow to be able to make it work?



  1. lsusb output:
    Bus 001 Device 004: ID 0bda:8771 Realtek Semiconductor Corp. Bluetooth Radio

  2. hciconfig -a:


    BD Address: 00:00:00:00:00:00  ACL MTU: 0:0  SCO MTU: 0:0
DOWN
RX bytes:21 acl:0 sco:0 events:2 errors:0
TX bytes:6 acl:0 sco:0 commands:2 errors:0
Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Packet type: DM1 DH1 HV1
Link policy:
Link mode: SLAVE ACCEPT


  1. hcitool dev is empty

  2. bluetoothctl --version is bluetoothctl: 5.53

  3. rfkill is:


ID TYPE      DEVICE      SOFT      HARD
1 bluetooth hci0 unblocked unblocked


  1. btmon is:


Failed to bind channel: Operation not permitted 

What commands outputs else you want me to show here? Adapter is DEXP AT-BT501, chipset is RTL8761B. Ubuntu is 20.04 LTS.


UPD: Ubuntu mainline says my kernel is 5.13.0-37, the device is working, because it has no problem on Windows.


UPD2: Logs say Bluetooth: hci0: RTL: firmware file rtl_bt/rtl8761b_fw.bin not found


More From » drivers

 Answers
2

The binary for the RTL8761b is not currently part of the Linux kernel but, according to this Ubuntu Forums post, you can obtain it from a GitHub repository.


Here's how:



  1. Open Terminal (if it's not already open)

  2. Change to the temporary directory:
    cd /tmp


  3. Download the configuration and firmware files from GitHub:
    wget https://raw.githubusercontent.com/Realtek-OpenSource/android_hardware_realtek/rtk1395/bt/rtkbt/Firmware/BT/rtl8761b_config
    wget https://raw.githubusercontent.com/Realtek-OpenSource/android_hardware_realtek/rtk1395/bt/rtkbt/Firmware/BT/rtl8761b_fw

     

  4. Move the appropriate files to your /lib/firmware/rtl_bt directory:
    sudo mv rtl8761b_config /lib/firmware/rtl_bt/rtl8761b_config.bin
    sudo mv rtl8761b_fw /lib/firmware/rtl_bt/rtl8761b_fw.bin


  5. Run modprobe:
    sudo modprobe btusb


  6. Restart the Bluetooth service:
    sudo systemctl start bluetooth.service



If everything is good, Bluetooth will now be operational. Running hciconfig -a will confirm whether the system can use the radio or not.


[#722] Friday, December 23, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tigehanc

Total Points: 162
Total Questions: 113
Total Answers: 122

Location: Zambia
Member since Sat, Oct 31, 2020
4 Years ago
;