UB500 dongle fails to do anything on my Ubuntu 22.04

Bug #2089765 reported by John Magdy Lotfy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bluez (Ubuntu)
New
Undecided
Unassigned

Bug Description

I recently bought a Bluetooth dongle **TP Link UB500** and tried to use it on my Ubuntu 22.04.5 machine and it connects but failed to pair and there is not any successful attempt to use it as expected like casting audio to my Bluetooth Speaker or even doing any activity on my Bluetooth Keyboard like pressing keys...

**lsusb**:
```
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 008: ID 2357:0604 TP-Link TP-Link Bluetooth USB Adapter
<some devices like mouse and keyboard...>
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
```

**dmesg | egrep -i "blue|firm"**:
```
[32363.755083] Bluetooth: hci0: Opcode 0x2042 failed: -16
[32363.760951] Bluetooth: hci0: Opcode 0x2042 failed: -16
[32363.763987] Bluetooth: hci0: Opcode 0x2042 failed: -16
[32363.768976] Bluetooth: hci0: Opcode 0x2042 failed: -16
[32370.087975] Bluetooth: hci0: Opcode 0x2042 failed: -16
```

**lsmod | grep "bt"**:
```
btusb 77824 0
btrtl 32768 1 btusb
btintel 57344 1 btusb
btbcm 24576 1 btusb
btmtk 12288 1 btusb
bluetooth 1028096 44 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm
btcoexist 294912 1 rtl8192ee
rtlwifi 143360 3 rtl_pci,btcoexist,rtl8192ee
```

**journalctl -f -u bluetooth**:
```
Nov 27 00:17:19 BrownTurbo-Linux bluetoothd[1924]: src/device.c:load_gatt_db() No cache for <DEVICE ADDRESS>
```

**journalctl -xeu bluetooth | grep blue | grep -v systemd**:
```
Nov 24 04:17:20 BrownTurbo-Linux bluetoothd[7993]: Bluetooth daemon 5.64
░░ Subject: A start job for unit bluetooth.service has finished successfully
░░ A start job for unit bluetooth.service has finished successfully.
Nov 24 04:17:20 BrownTurbo-Linux bluetoothd[7993]: Starting SDP server
Nov 24 04:17:21 BrownTurbo-Linux bluetoothd[7993]: Bluetooth management interface 1.22 initialized
░░ Subject: A start job for unit bluetooth.service has begun execution
░░ A start job for unit bluetooth.service has begun execution.
Nov 25 14:44:39 BrownTurbo-Linux bluetoothd[17984]: Bluetooth daemon 5.64
░░ Subject: A start job for unit bluetooth.service has finished successfully
░░ A start job for unit bluetooth.service has finished successfully.
Nov 25 14:44:39 BrownTurbo-Linux bluetoothd[17984]: Starting SDP server
Nov 25 14:44:39 BrownTurbo-Linux bluetoothd[17984]: Bluetooth management interface 1.22 initialized
Nov 25 16:18:16 BrownTurbo-Linux bluetoothd[17984]: Failed to set mode: Failed (0x03)
Nov 25 16:18:16 BrownTurbo-Linux bluetoothd[17984]: Endpoint registered: sender=:1.203 path=/org/bluez/hci0/A2DP/LDAC/Source/1
Nov 25 16:18:16 BrownTurbo-Linux bluetoothd[17984]: Endpoint registered: sender=:1.203 path=/org/bluez/hci0/A2DP/LDAC/Source/2
Nov 25 16:18:16 BrownTurbo-Linux bluetoothd[17984]: Endpoint registered: sender=:1.203 path=/org/bluez/hci0/A2DP/SBC/Source/1
Nov 25 16:18:16 BrownTurbo-Linux bluetoothd[17984]: Endpoint registered: sender=:1.203 path=/org/bluez/hci0/A2DP/SBC/Source/2
Nov 25 16:18:48 BrownTurbo-Linux bluetoothd[17984]: src/device.c:load_gatt_db() No cache for F7:7E:CB:74:F6:A9
Nov 25 16:20:16 BrownTurbo-Linux bluetoothd[17984]: Wrong size of start discovery return parameters
Nov 25 16:24:43 BrownTurbo-Linux bluetoothd[17984]: src/device.c:load_gatt_db() No cache for F7:7E:CB:74:F6:A9
Nov 25 16:27:26 BrownTurbo-Linux bluetoothd[17984]: Failed to set mode: Failed (0x03)
Nov 25 16:51:03 BrownTurbo-Linux bluetoothd[17984]: src/device.c:load_gatt_db() No cache for F7:7E:CB:74:F6:A9
Nov 25 16:51:36 BrownTurbo-Linux bluetoothd[17984]: Wrong size of start discovery return parameters
Nov 25 17:10:41 BrownTurbo-Linux bluetoothd[17984]: Wrong size of start discovery return parameters
Nov 26 00:08:56 BrownTurbo-Linux bluetoothd[17984]: Failed to set mode: Failed (0x03)
Nov 26 01:18:53 BrownTurbo-Linux bluetoothd[17984]: Endpoint unregistered: sender=:1.203 path=/org/bluez/hci0/A2DP/LDAC/Source/1
Nov 26 01:18:53 BrownTurbo-Linux bluetoothd[17984]: Endpoint unregistered: sender=:1.203 path=/org/bluez/hci0/A2DP/LDAC/Source/2
Nov 26 01:18:53 BrownTurbo-Linux bluetoothd[17984]: Endpoint unregistered: sender=:1.203 path=/org/bluez/hci0/A2DP/SBC/Source/1
Nov 26 01:18:53 BrownTurbo-Linux bluetoothd[17984]: Endpoint unregistered: sender=:1.203 path=/org/bluez/hci0/A2DP/SBC/Source/2
░░ Subject: A stop job for unit bluetooth.service has begun execution
░░ A stop job for unit bluetooth.service has begun execution.
Nov 26 01:18:57 BrownTurbo-Linux bluetoothd[17984]: Terminating
Nov 26 01:19:02 BrownTurbo-Linux bluetoothd[17984]: Stopping SDP server
Nov 26 01:19:02 BrownTurbo-Linux bluetoothd[17984]: Exit
░░ The unit bluetooth.service has successfully entered the 'dead' state.
░░ Subject: A stop job for unit bluetooth.service has finished
░░ A stop job for unit bluetooth.service has finished.
░░ Subject: A start job for unit bluetooth.service has begun execution
░░ A start job for unit bluetooth.service has begun execution.
Nov 26 15:18:18 BrownTurbo-Linux bluetoothd[1924]: Bluetooth daemon 5.64
░░ Subject: A start job for unit bluetooth.service has finished successfully
░░ A start job for unit bluetooth.service has finished successfully.
Nov 26 15:18:35 BrownTurbo-Linux bluetoothd[1924]: Starting SDP server
Nov 26 15:18:36 BrownTurbo-Linux bluetoothd[1924]: Bluetooth management interface 1.22 initialized
Nov 26 15:18:40 BrownTurbo-Linux bluetoothd[1924]: Failed to set mode: Failed (0x03)
Nov 26 15:18:40 BrownTurbo-Linux bluetoothd[1924]: Endpoint registered: sender=:1.14 path=/org/bluez/hci0/A2DP/LDAC/Source/1
Nov 26 15:18:40 BrownTurbo-Linux bluetoothd[1924]: Endpoint registered: sender=:1.14 path=/org/bluez/hci0/A2DP/LDAC/Source/2
Nov 26 15:18:40 BrownTurbo-Linux bluetoothd[1924]: Endpoint registered: sender=:1.14 path=/org/bluez/hci0/A2DP/SBC/Source/1
Nov 26 15:18:40 BrownTurbo-Linux bluetoothd[1924]: Endpoint registered: sender=:1.14 path=/org/bluez/hci0/A2DP/SBC/Source/2
Nov 26 23:07:42 BrownTurbo-Linux bluetoothd[1924]: Endpoint registered: sender=:1.14 path=/org/bluez/hci0/A2DP/SBC/Source/3
Nov 26 23:16:11 BrownTurbo-Linux bluetoothd[1924]: Wrong size of start discovery return parameters
Nov 26 23:16:14 BrownTurbo-Linux bluetoothd[1924]: Endpoint unregistered: sender=:1.14 path=/org/bluez/hci0/A2DP/LDAC/Source/1
Nov 26 23:16:14 BrownTurbo-Linux bluetoothd[1924]: Endpoint unregistered: sender=:1.14 path=/org/bluez/hci0/A2DP/LDAC/Source/2
Nov 26 23:16:14 BrownTurbo-Linux bluetoothd[1924]: Endpoint unregistered: sender=:1.14 path=/org/bluez/hci0/A2DP/SBC/Source/1
Nov 26 23:16:14 BrownTurbo-Linux bluetoothd[1924]: Endpoint unregistered: sender=:1.14 path=/org/bluez/hci0/A2DP/SBC/Source/2
Nov 26 23:16:14 BrownTurbo-Linux bluetoothd[1924]: Endpoint unregistered: sender=:1.14 path=/org/bluez/hci0/A2DP/SBC/Source/3
Nov 26 23:17:38 BrownTurbo-Linux bluetoothd[1924]: Endpoint registered: sender=:1.14 path=/org/bluez/hci1/A2DP/LDAC/Source/1
Nov 26 23:17:38 BrownTurbo-Linux bluetoothd[1924]: Failed to set mode: Failed (0x03)
Nov 26 23:17:38 BrownTurbo-Linux bluetoothd[1924]: Endpoint registered: sender=:1.14 path=/org/bluez/hci1/A2DP/LDAC/Source/2
Nov 26 23:17:38 BrownTurbo-Linux bluetoothd[1924]: Endpoint registered: sender=:1.14 path=/org/bluez/hci1/A2DP/SBC/Source/1
Nov 26 23:17:38 BrownTurbo-Linux bluetoothd[1924]: Endpoint registered: sender=:1.14 path=/org/bluez/hci1/A2DP/SBC/Source/2
Nov 26 23:18:17 BrownTurbo-Linux bluetoothd[1924]: src/device.c:load_gatt_db() No cache for F7:7E:CB:74:F6:A9
Nov 26 23:40:16 BrownTurbo-Linux bluetoothd[1924]: Endpoint unregistered: sender=:1.14 path=/org/bluez/hci1/A2DP/LDAC/Source/1
Nov 26 23:40:16 BrownTurbo-Linux bluetoothd[1924]: Endpoint unregistered: sender=:1.14 path=/org/bluez/hci1/A2DP/LDAC/Source/2
Nov 26 23:40:16 BrownTurbo-Linux bluetoothd[1924]: Endpoint unregistered: sender=:1.14 path=/org/bluez/hci1/A2DP/SBC/Source/1
Nov 26 23:40:16 BrownTurbo-Linux bluetoothd[1924]: Endpoint unregistered: sender=:1.14 path=/org/bluez/hci1/A2DP/SBC/Source/2
Nov 26 23:40:31 BrownTurbo-Linux bluetoothd[1924]: Endpoint registered: sender=:1.14 path=/org/bluez/hci0/A2DP/LDAC/Source/1
Nov 26 23:40:31 BrownTurbo-Linux bluetoothd[1924]: Endpoint registered: sender=:1.14 path=/org/bluez/hci0/A2DP/LDAC/Source/2
Nov 26 23:40:31 BrownTurbo-Linux bluetoothd[1924]: Endpoint registered: sender=:1.14 path=/org/bluez/hci0/A2DP/SBC/Source/1
Nov 26 23:40:31 BrownTurbo-Linux bluetoothd[1924]: Endpoint registered: sender=:1.14 path=/org/bluez/hci0/A2DP/SBC/Source/2
Nov 26 23:40:47 BrownTurbo-Linux bluetoothd[1924]: Endpoint unregistered: sender=:1.14 path=/org/bluez/hci0/A2DP/LDAC/Source/1
Nov 26 23:40:47 BrownTurbo-Linux bluetoothd[1924]: Endpoint unregistered: sender=:1.14 path=/org/bluez/hci0/A2DP/LDAC/Source/2
Nov 26 23:40:47 BrownTurbo-Linux bluetoothd[1924]: Endpoint unregistered: sender=:1.14 path=/org/bluez/hci0/A2DP/SBC/Source/1
Nov 26 23:40:47 BrownTurbo-Linux bluetoothd[1924]: Endpoint unregistered: sender=:1.14 path=/org/bluez/hci0/A2DP/SBC/Source/2
Nov 26 23:40:58 BrownTurbo-Linux bluetoothd[1924]: Endpoint registered: sender=:1.14 path=/org/bluez/hci0/A2DP/LDAC/Source/1
Nov 26 23:40:58 BrownTurbo-Linux bluetoothd[1924]: src/adv_monitor.c:btd_adv_monitor_power_down() Unexpected NULL btd_adv_monitor_manager object upon power down
Nov 26 23:40:58 BrownTurbo-Linux bluetoothd[1924]: Endpoint registered: sender=:1.14 path=/org/bluez/hci0/A2DP/LDAC/Source/2
Nov 26 23:40:58 BrownTurbo-Linux bluetoothd[1924]: Endpoint registered: sender=:1.14 path=/org/bluez/hci0/A2DP/SBC/Source/1
Nov 26 23:40:58 BrownTurbo-Linux bluetoothd[1924]: Endpoint registered: sender=:1.14 path=/org/bluez/hci0/A2DP/SBC/Source/2
Nov 26 23:41:18 BrownTurbo-Linux bluetoothd[1924]: Endpoint registered: sender=:1.14 path=/org/bluez/hci0/A2DP/SBC/Source/3
Nov 27 00:17:19 BrownTurbo-Linux bluetoothd[1924]: src/device.c:load_gatt_db() No cache for <ADDRESS>
```

**hcitool scan**:
```
Device is not available: No such device
```

**hcitool lescan**:
```
Could not open device: No such device
```

**uname -a**:
```
Linux BrownTurbo-Linux 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
```

i tried asking on TP Link site about this problem (https://community.tp-link.com/en/home/forum/topic/718448?replyId=1446856) and they said that this dongle doesn't support Linux while as far as i know Linux Kernel supports many dongles including TP Link UB500 (reference: https://github.com/tedboudros/tplink-ub500-linux-patch-guide && https://www.reddit.com/r/linuxhardware/comments/t7hzdb/comment/ilmw7zu/)

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Libera.chat.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/2089765/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Revision history for this message
John Magdy Lotfy (zorono) wrote (last edit ):

i am not totally sure but i think it is related to linux modules or linux-firmware or bluez

affects: ubuntu → bluez (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.