You are not logged in.

#1 2021-10-23 15:17:52

fabrixx
Member
From: Italy
Registered: 2015-06-07
Posts: 111

[SOLVED]USB Bluetooth 5.0 tp-link UB500

I bought a new Bluetooth 5.0 adapter, tp-link UB500

Bus 001 Device 006: ID 2357:0604 TP-Link TP-Link UB500 Adapter

I downloaded/unzip Windows drivers and found information on the drivers to install:

Copyright(c) 2017,  RealTeK Technology Inc. All Right Reserved.
 *   
 *	Realtek Bluetooth 8761B Driver package Release Note

RTBlueR_Windows_1015.1016.1016.0427.2021_2.00.263_F027_B
Version:		
1015.1016.1016.210427

I installed from AUR rtl8761usb-dkms and I checked for /lib/firmware/rtl_bt/rtl8761b_fw.bin and /lib/firmware/rtl8761b_config.bin

yay bluez 
yay bluez utils
systemctl start bluetooth.service

After installing sudo dmesg | grep bluetooth gives no message and the switch to enable bluetooth in Gnome Settings is stuck.

Edit: https://bugs.launchpad.net/ubuntu/+sour … ug/1948502

Last edited by fabrixx (2021-11-22 18:19:01)

Offline

#2 2021-10-24 10:24:43

twistkey
Member
Registered: 2021-06-10
Posts: 14

Re: [SOLVED]USB Bluetooth 5.0 tp-link UB500

Did you get this to work? I have the same device (TP-Link UB500) and while it seems to be detected by the OS, it does not appear to be able to scan for devices. My machine's internal bluetooth device works OK.

Offline

#3 2021-10-24 11:06:10

progandy
Member
Registered: 2012-05-17
Posts: 5,190

Re: [SOLVED]USB Bluetooth 5.0 tp-link UB500

It looks like that adapter will be supported in a new kernel version: https://www.spinics.net/lists/linux-blu … 94476.html
For the dkms driver, a similar entry would have to be added to "btusb_table" in usb/bluetooth_usb_driver/rtk_bt.c

Last edited by progandy (2021-10-24 11:17:30)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#4 2021-10-26 18:29:58

fabrixx
Member
From: Italy
Registered: 2015-06-07
Posts: 111

Re: [SOLVED]USB Bluetooth 5.0 tp-link UB500

I found this: https://kernel.googlesource.com/pub/scm … 52186632e4

It would be interesting to test this: https://aur.archlinux.org/packages/linux-mainline/


nov 14 09:03:50 archlinux systemd[1]: Starting Bluetooth service...
nov 14 09:03:50 archlinux bluetoothd[2335]: Bluetooth daemon 5.62
nov 14 09:03:50 archlinux bluetoothd[2335]: D-Bus setup failed: Connection ":1.116" is not allowed to own the service "org.bluez" >
nov 14 09:03:50 archlinux bluetoothd[2335]: src/main.c:main() Unable to get on D-Bus
nov 14 09:03:50 archlinux systemd[1]: bluetooth.service: Main process exited, code=exited, status=1/FAILURE
nov 14 09:03:50 archlinux systemd[1]: bluetooth.service: Failed with result 'exit-code'.
nov 14 09:03:50 archlinux systemd[1]: Failed to start Bluetooth service.

Last edited by fabrixx (2021-11-14 08:06:10)

Offline

#5 2021-11-14 07:44:55

fabrixx
Member
From: Italy
Registered: 2015-06-07
Posts: 111

Re: [SOLVED]USB Bluetooth 5.0 tp-link UB500

I installed the 5.15.2-arch1-1 kernel update but the problem did not go away.
I tried to follow this guide with no success at he moment.

nov 14 08:47:32 archlinux kernel: usb 1-3: new full-speed USB device number 8 using xhci_hcd
nov 14 08:47:32 archlinux kernel: usb 1-3: New USB device found, idVendor=2357, idProduct=0604, bcdDevice= 2.00
nov 14 08:47:32 archlinux kernel: usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
nov 14 08:47:32 archlinux kernel: usb 1-3: Product: TP-Link UB500 Adapter
nov 14 08:47:32 archlinux kernel: usb 1-3: Manufacturer:  
nov 14 08:47:32 archlinux kernel: usb 1-3: SerialNumber: E848B8C82000
nov 14 08:47:32 archlinux upowerd[766]: treating change event as add on /sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-3
× bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; disabled; vendo>
     Active: failed (Result: exit-code) since Sun 2021-11-14 09:05:40 UTC; 1min>
       Docs: man:bluetoothd(8)
    Process: 3191 ExecStart=/usr/lib/bluetooth/bluetoothd (code=exited, status=>
   Main PID: 3191 (code=exited, status=1/FAILURE)
     Status: "Starting up"
        CPU: 6ms

nov 14 09:05:40 archlinux systemd[1]: Starting Bluetooth service...
nov 14 09:05:40 archlinux bluetoothd[3191]: Bluetooth daemon 5.62
nov 14 09:05:40 archlinux bluetoothd[3191]: D-Bus setup failed: Connection ":1.>
nov 14 09:05:40 archlinux bluetoothd[3191]: src/main.c:main() Unable to get on >
nov 14 09:05:40 archlinux systemd[1]: bluetooth.service: Main process exited, c>
nov 14 09:05:40 archlinux systemd[1]: bluetooth.service: Failed with result 'ex>
nov 14 09:05:40 archlinux systemd[1]: Failed to start Bluetooth service.

Last edited by fabrixx (2021-11-14 08:07:38)

Offline

#6 2021-11-14 08:04:58

progandy
Member
Registered: 2012-05-17
Posts: 5,190

Re: [SOLVED]USB Bluetooth 5.0 tp-link UB500

The patch will land in linux 5.16: https://lore.kernel.org/lkml/2021110205 … ernel.org/


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#7 2021-11-22 18:20:26

fabrixx
Member
From: Italy
Registered: 2015-06-07
Posts: 111

Re: [SOLVED]USB Bluetooth 5.0 tp-link UB500

Solved with kernel 5.15.4-arch1-1

Offline

#8 2021-11-23 03:15:01

twistkey
Member
Registered: 2021-06-10
Posts: 14

Re: [SOLVED]USB Bluetooth 5.0 tp-link UB500

fabrixx wrote:

Solved with kernel 5.15.4-arch1-1

Solved as in, the driver is included in 5.15.4-arch1-1 by default?

EDIT: the answer is yes, I can see the relevant change in git.

Last edited by twistkey (2021-11-23 03:26:58)

Offline

#9 2022-04-27 07:44:57

souravdas142
Member
Registered: 2020-01-22
Posts: 8

Re: [SOLVED]USB Bluetooth 5.0 tp-link UB500

Anyone here facing distorted voice while using HFP profile with mSBC codec ?
seeing this thread I bought the device but voice is distorted when use mSBC codec.
there are some error message showing on `dmesg` like :

[  349.811185] Bluetooth: hci0: SCO packet for unknown connection handle 2048
[  349.821191] Bluetooth: hci0: SCO packet for unknown connection handle 1433
[  349.851183] Bluetooth: hci0: SCO packet for unknown connection handle 2774
[  349.861247] Bluetooth: hci0: SCO packet for unknown connection handle 675
[  349.881194] Bluetooth: hci0: SCO packet for unknown connection handle 1578
[  349.891256] Bluetooth: hci0: SCO packet for unknown connection handle 3114
[  349.901194] Bluetooth: hci0: SCO packet for unknown connection handle 256
[  349.921227] Bluetooth: hci0: SCO packet for unknown connection handle 2191
[  349.921245] Bluetooth: hci0: SCO packet for unknown connection handle 470

Kernel : 5.17.4
pipewire: 0.3.50

Offline

Board footer

Powered by FluxBB