Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3200

Hardware • Trouble with TP-Link UB5A / UB500 Bluetooth USB dongle - Bullseye

$
0
0
Hi

I am using a PocketBeagle that is on Bullseye 5.10 and I am trying to get the TP-Link Nano USB Bluetooth 5.0 UB5A (same as UB500) dongle working.

The vendor:product id is 2357:0604 it's version 2.0 and the chip is Realtek RTL8761B.

I have manually installed firmware as it's not present in the 5.10 distribution, taking the deb file from here:

http://ftp.us.debian.org/debian/pool/no ... +1_all.deb

and installing using

dpkg -i firmware-realtek_20230210-5~bpo11+1_all.deb

As I have found others have posted about both here and linux mint forums, the device is recognised but hcitool scan doesn't find any devices.

This is my first post and I'm new at troubleshooting linux hardware so if I've missed anything in the diag stuff below I can run any other commands necessary.

Thanks!

Code:

debian@BeagleBone:~$ inxi -Fxxxrzperl: warning: Setting locale failed.perl: warning: Please check that your locale settings:LANGUAGE = (unset),LC_ALL = (unset),LANG = "en_GB.UTF-8"    are supported and installed on your system.perl: warning: Falling back to the standard locale ("C").System:    Kernel: 5.10.168-ti-r71 armv7l bits: 32 compiler: gcc v: 10.2.1 Console: tty 0            Distro: Debian GNU/Linux 11 (bullseye) Machine:   Type: ARM Device System: TI AM335x PocketBeagle details: Generic AM33XX rev: N/A serial: <filter> CPU:       Info: Single Core model: ARMv7 v7l variant: cortex-a8 bits: 32 type: UP arch: v7l rev: 2            features: Use -f option to see features bogomips: 995            Speed: 1000 MHz min/max: 300/1000 MHz Core speed (MHz): 1: 1000 Graphics:  Message: No ARM data found for this feature.            Display: server: No display server data found. Headless machine? tty: 221x90            Message: Advanced graphics data unavailable in console. Try -G --display Audio:     Message: No ARM data found for this feature. Network:   Message: No ARM data found for this feature.            IF-ID-1: can0 state: down mac: N/A            IF-ID-2: can1 state: down mac: N/A            IF-ID-3: usb0 state: up speed: N/A duplex: N/A mac: <filter>            IF-ID-4: usb1 state: up speed: N/A duplex: N/A mac: <filter> Bluetooth: Device-1: TP-Link UB5A Adapter type: USB driver: btusb v: 0.8 bus ID: 2-1:2 chip ID: 2357:0604 class ID: e001            serial: <filter>            Report: ID: hci0 state: up running bt-v: 3.0 lmp-v: 5.1 sub-v: 8761 hci-v: 5.1 rev: b address: <filter> Drives:    Local Storage: total: 14.44 GiB used: 3 GiB (20.8%)            ID-1: /dev/mmcblk0 model: SA16G size: 14.44 GiB rotation: SSD serial: <filter> scheme: MBR Partition: ID-1: / size: 14.13 GiB used: 3 GiB (21.2%) fs: ext4 dev: /dev/mmcblk0p1 Swap:      Alert: No Swap data was found. Sensors:   Message: No sensors data was found. Is sensors configured? Repos:     Packages: apt: 596            Active apt repos in: /etc/apt/sources.list            1: deb http://deb.debian.org/debian bullseye main contrib non-free           2: deb http://security.debian.org/debian-security bullseye-security main contrib non-free           3: deb http://deb.debian.org/debian bullseye-updates main contrib non-free           4: deb [arch=armhf signed-by=/usr/share/keyrings/rcn-ee-archive-keyring.gpg] http://repos.rcn-ee.com/debian/ bullseye main           Active apt repos in: /etc/apt/sources.list.d/brostrend.list            1: deb https://linux.brostrend.com stable main previousInfo:      Processes: 106 Uptime: 43m Memory: 482.6 MiB used: 78.2 MiB (16.2%) Init: systemd v: 247 runlevel: 5 Compilers:            gcc: 10.2.1 alt: 10 Shell: Bash v: 5.1.4 running in: tty 0 inxi: 3.3.01 

Code:

debian@BeagleBone:~$ dmesg | grep -i usb[    4.285073] usbcore: registered new interface driver usbfs[    4.285134] usbcore: registered new interface driver hub[    4.285193] usbcore: registered new device driver usb[    7.334189] usbcore: registered new interface driver smsc95xx[    7.336860] am335x-phy-driver 47401300.usb-phy: supply vcc not found, using dummy regulator[    7.337257] am335x-phy-driver 47401300.usb-phy: dummy supplies not allowed for exclusive requests[    7.344254] am335x-phy-driver 47401b00.usb-phy: supply vcc not found, using dummy regulator[    7.344570] am335x-phy-driver 47401b00.usb-phy: dummy supplies not allowed for exclusive requests[    7.347359] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver[    7.352738] musb-hdrc musb-hdrc.0: MUSB HDRC host driver[    7.352784] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1[    7.353149] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10[    7.353162] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1[    7.353172] usb usb1: Product: MUSB HDRC host driver[    7.353181] usb usb1: Manufacturer: Linux 5.10.168-ti-r71 musb-hcd[    7.353189] usb usb1: SerialNumber: musb-hdrc.0[    7.354083] hub 1-0:1.0: USB hub found[    7.361860] musb-hdrc musb-hdrc.1: MUSB HDRC host driver[    7.361908] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2[    7.362452] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10[    7.362467] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1[    7.362477] usb usb2: Product: MUSB HDRC host driver[    7.362485] usb usb2: Manufacturer: Linux 5.10.168-ti-r71 musb-hcd[    7.362494] usb usb2: SerialNumber: musb-hdrc.1[    7.363492] hub 2-0:1.0: USB hub found[    7.408903] usbcore: registered new interface driver usbhid[    7.408916] usbhid: USB HID core driver[    7.778915] usb 2-1: new full-speed USB device number 2 using musb-hdrc[    7.927636] usb 2-1: New USB device found, idVendor=2357, idProduct=0604, bcdDevice= 2.00[    7.927662] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3[    7.927672] usb 2-1: Product: TP-Link UB5A Adapter[    7.927681] usb 2-1: Manufacturer:  [    7.927689] usb 2-1: SerialNumber: E848B8C84000[   29.777155] usb0: HOST MAC 1c:63:49:f1:b6:fb[   29.777179] usb0: MAC 1c:63:49:f1:b6:fc[   29.798552] usb1: HOST MAC 1c:63:49:f1:b6:fd[   29.798577] usb1: MAC 1c:63:49:f1:b6:fe[   40.368244] usbcore: registered new interface driver btusb[  517.115893] usb 2-1: USB disconnect, device number 2[  521.355927] usb 2-1: new full-speed USB device number 3 using musb-hdrc[  521.505781] usb 2-1: New USB device found, idVendor=2357, idProduct=0604, bcdDevice= 2.00[  521.505808] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3[  521.505818] usb 2-1: Product: TP-Link UB5A Adapter[  521.505827] usb 2-1: Manufacturer:  [  521.505836] usb 2-1: SerialNumber: E848B8C84000

Code:

debian@BeagleBone:~$ dmesg | grep -i bluetooth[   39.900881] Bluetooth: Core ver 2.22[   39.901113] Bluetooth: HCI device and connection manager initialized[   39.901148] Bluetooth: HCI socket layer initialized[   39.901164] Bluetooth: L2CAP socket layer initialized[   39.901206] Bluetooth: SCO socket layer initialized[   44.622913] Bluetooth: BNEP (Ethernet Emulation) ver 1.3[   44.622937] Bluetooth: BNEP filters: protocol multicast[   44.622972] Bluetooth: BNEP socket layer initialized

Code:

debian@BeagleBone:~$ lsmodModule                  Size  Used bypru_rproc              28672  0cmac                   16384  3algif_hash             16384  1irq_pruss_intc         20480  0aes_arm_bs             24576  2crypto_simd            16384  1 aes_arm_bscryptd                 20480  2 crypto_simdalgif_skcipher         16384  1af_alg                 24576  6 algif_hash,algif_skcipherbnep                   28672  2pm33xx                 20480  0pruss                  20480  1 pru_rprocpvrsrvkm              368640  0btusb                  57344  0btrtl                  24576  1 btusbbtbcm                  16384  1 btusbbtintel                24576  1 btusbbluetooth             520192  28 btrtl,btintel,bnep,btbcm,btusbc_can_platform         16384  0c_can                  24576  1 c_can_platformcan_dev                28672  1 c_canevdev                  24576  1wkup_m3_ipc            20480  1 pm33xxuio_pdrv_genirq        20480  0uio                    20480  1 uio_pdrv_genirqcpufreq_dt             20480  0

Code:

debian@BeagleBone:~$ lsusbBus 002 Device 003: ID 2357:0604 TP-Link TP-Link UB5A AdapterBus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubBus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubdebian@BeagleBone:~$ lsusb -vd 2357:0604Bus 002 Device 003: ID 2357:0604 TP-Link TP-Link UB5A AdapterCouldn't open device, some information will be missingDevice Descriptor:  bLength                18  bDescriptorType         1  bcdUSB               1.10  bDeviceClass          224 Wireless  bDeviceSubClass         1 Radio Frequency  bDeviceProtocol         1 Bluetooth  bMaxPacketSize0        64  idVendor           0x2357 TP-Link  idProduct          0x0604   bcdDevice            2.00  iManufacturer           1    iProduct                2 TP-Link UB5A Adapter  iSerial                 3 E848B8C84000  bNumConfigurations      1  Configuration Descriptor:    bLength                 9    bDescriptorType         2    wTotalLength       0x00b1    bNumInterfaces          2    bConfigurationValue     1    iConfiguration          0     bmAttributes         0xe0      Self Powered      Remote Wakeup    MaxPower              500mA    Interface Descriptor:      bLength                 9      bDescriptorType         4      bInterfaceNumber        0      bAlternateSetting       0      bNumEndpoints           3      bInterfaceClass       224 Wireless      bInterfaceSubClass      1 Radio Frequency      bInterfaceProtocol      1 Bluetooth      iInterface              4       Endpoint Descriptor:        bLength                 7        bDescriptorType         5        bEndpointAddress     0x81  EP 1 IN        bmAttributes            3          Transfer Type            Interrupt          Synch Type               None          Usage Type               Data        wMaxPacketSize     0x0010  1x 16 bytes        bInterval               1      Endpoint Descriptor:        bLength                 7        bDescriptorType         5        bEndpointAddress     0x02  EP 2 OUT        bmAttributes            2          Transfer Type            Bulk          Synch Type               None          Usage Type               Data        wMaxPacketSize     0x0040  1x 64 bytes        bInterval               0      Endpoint Descriptor:        bLength                 7        bDescriptorType         5        bEndpointAddress     0x82  EP 2 IN        bmAttributes            2          Transfer Type            Bulk          Synch Type               None          Usage Type               Data        wMaxPacketSize     0x0040  1x 64 bytes        bInterval               0    Interface Descriptor:      bLength                 9      bDescriptorType         4      bInterfaceNumber        1      bAlternateSetting       0      bNumEndpoints           2      bInterfaceClass       224 Wireless      bInterfaceSubClass      1 Radio Frequency      bInterfaceProtocol      1 Bluetooth      iInterface              4       Endpoint Descriptor:        bLength                 7        bDescriptorType         5        bEndpointAddress     0x03  EP 3 OUT        bmAttributes            1          Transfer Type            Isochronous          Synch Type               None          Usage Type               Data        wMaxPacketSize     0x0000  1x 0 bytes        bInterval               1      Endpoint Descriptor:        bLength                 7        bDescriptorType         5        bEndpointAddress     0x83  EP 3 IN        bmAttributes            1          Transfer Type            Isochronous          Synch Type               None          Usage Type               Data        wMaxPacketSize     0x0000  1x 0 bytes        bInterval               1    Interface Descriptor:      bLength                 9      bDescriptorType         4      bInterfaceNumber        1      bAlternateSetting       1      bNumEndpoints           2      bInterfaceClass       224 Wireless      bInterfaceSubClass      1 Radio Frequency      bInterfaceProtocol      1 Bluetooth      iInterface              4       Endpoint Descriptor:        bLength                 7        bDescriptorType         5        bEndpointAddress     0x03  EP 3 OUT        bmAttributes            1          Transfer Type            Isochronous          Synch Type               None          Usage Type               Data        wMaxPacketSize     0x0009  1x 9 bytes        bInterval               1      Endpoint Descriptor:        bLength                 7        bDescriptorType         5        bEndpointAddress     0x83  EP 3 IN        bmAttributes            1          Transfer Type            Isochronous          Synch Type               None          Usage Type               Data        wMaxPacketSize     0x0009  1x 9 bytes        bInterval               1    Interface Descriptor:      bLength                 9      bDescriptorType         4      bInterfaceNumber        1      bAlternateSetting       2      bNumEndpoints           2      bInterfaceClass       224 Wireless      bInterfaceSubClass      1 Radio Frequency      bInterfaceProtocol      1 Bluetooth      iInterface              4       Endpoint Descriptor:        bLength                 7        bDescriptorType         5        bEndpointAddress     0x03  EP 3 OUT        bmAttributes            1          Transfer Type            Isochronous          Synch Type               None          Usage Type               Data        wMaxPacketSize     0x0011  1x 17 bytes        bInterval               1      Endpoint Descriptor:        bLength                 7        bDescriptorType         5        bEndpointAddress     0x83  EP 3 IN        bmAttributes            1          Transfer Type            Isochronous          Synch Type               None          Usage Type               Data        wMaxPacketSize     0x0011  1x 17 bytes        bInterval               1    Interface Descriptor:      bLength                 9      bDescriptorType         4      bInterfaceNumber        1      bAlternateSetting       3      bNumEndpoints           2      bInterfaceClass       224 Wireless      bInterfaceSubClass      1 Radio Frequency      bInterfaceProtocol      1 Bluetooth      iInterface              4       Endpoint Descriptor:        bLength                 7        bDescriptorType         5        bEndpointAddress     0x03  EP 3 OUT        bmAttributes            1          Transfer Type            Isochronous          Synch Type               None          Usage Type               Data        wMaxPacketSize     0x0019  1x 25 bytes        bInterval               1      Endpoint Descriptor:        bLength                 7        bDescriptorType         5        bEndpointAddress     0x83  EP 3 IN        bmAttributes            1          Transfer Type            Isochronous          Synch Type               None          Usage Type               Data        wMaxPacketSize     0x0019  1x 25 bytes        bInterval               1    Interface Descriptor:      bLength                 9      bDescriptorType         4      bInterfaceNumber        1      bAlternateSetting       4      bNumEndpoints           2      bInterfaceClass       224 Wireless      bInterfaceSubClass      1 Radio Frequency      bInterfaceProtocol      1 Bluetooth      iInterface              4       Endpoint Descriptor:        bLength                 7        bDescriptorType         5        bEndpointAddress     0x03  EP 3 OUT        bmAttributes            1          Transfer Type            Isochronous          Synch Type               None          Usage Type               Data        wMaxPacketSize     0x0021  1x 33 bytes        bInterval               1      Endpoint Descriptor:        bLength                 7        bDescriptorType         5        bEndpointAddress     0x83  EP 3 IN        bmAttributes            1          Transfer Type            Isochronous          Synch Type               None          Usage Type               Data        wMaxPacketSize     0x0021  1x 33 bytes        bInterval               1    Interface Descriptor:      bLength                 9      bDescriptorType         4      bInterfaceNumber        1      bAlternateSetting       5      bNumEndpoints           2      bInterfaceClass       224 Wireless      bInterfaceSubClass      1 Radio Frequency      bInterfaceProtocol      1 Bluetooth      iInterface              4       Endpoint Descriptor:        bLength                 7        bDescriptorType         5        bEndpointAddress     0x03  EP 3 OUT        bmAttributes            1          Transfer Type            Isochronous          Synch Type               None          Usage Type               Data        wMaxPacketSize     0x0031  1x 49 bytes        bInterval               1      Endpoint Descriptor:        bLength                 7        bDescriptorType         5        bEndpointAddress     0x83  EP 3 IN        bmAttributes            1          Transfer Type            Isochronous          Synch Type               None          Usage Type               Data        wMaxPacketSize     0x0031  1x 49 bytes        bInterval               1

Code:

debian@BeagleBone:~$ systemctl status bluetooth● bluetooth.service - Bluetooth service     Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)     Active: active (running) since Sun 2024-01-07 14:41:04 UTC; 43min ago       Docs: man:bluetoothd(8)   Main PID: 920 (bluetoothd)     Status: "Running"      Tasks: 1 (limit: 1022)     Memory: 3.1M        CPU: 193ms     CGroup: /system.slice/bluetooth.service             └─920 /usr/libexec/bluetooth/bluetoothd --noplugin=sap --compatJan 07 14:41:04 BeagleBone systemd[1]: Starting Bluetooth service...Jan 07 14:41:04 BeagleBone bluetoothd[920]: Bluetooth daemon 5.55Jan 07 14:41:04 BeagleBone systemd[1]: Started Bluetooth service.Jan 07 14:41:04 BeagleBone bluetoothd[920]: Starting SDP serverJan 07 14:41:04 BeagleBone bluetoothd[920]: Excluding (cli) sapJan 07 14:41:04 BeagleBone bluetoothd[920]: Bluetooth management interface 1.18 initialized

Code:

debian@BeagleBone:~$ cat /etc/systemd/system/bluetooth.target.wants/bluetooth.service [Unit]Description=Bluetooth serviceDocumentation=man:bluetoothd(8)ConditionPathIsDirectory=/sys/class/bluetooth[Service]Type=dbusBusName=org.bluezExecStart=/usr/libexec/bluetooth/bluetoothd --noplugin=sap --compatNotifyAccess=main#WatchdogSec=10#Restart=on-failureCapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICELimitNPROC=1ProtectHome=trueProtectSystem=full[Install]WantedBy=bluetooth.targetAlias=dbus-org.bluez.service

Code:

debian@BeagleBone:/usr/lib$ rfkillID TYPE      DEVICE      SOFT      HARD 0 bluetooth hci0   unblocked unblocked

Code:

debian@BeagleBone:/usr/lib$ hcitool devDevices:hci0E8:48:B8:C8:40:00debian@BeagleBone:/usr/lib$ hciconfig -ahci0:Type: Primary  Bus: USBBD Address: E8:48:B8:C8:40:00  ACL MTU: 1021:6  SCO MTU: 255:12UP RUNNING RX bytes:1048 acl:0 sco:0 events:61 errors:0TX bytes:2723 acl:0 sco:0 commands:60 errors:0Features: 0xff 0xff 0xff 0xfe 0xdb 0xfd 0x7b 0x87Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: RSWITCH HOLD SNIFF PARK Link mode: SLAVE ACCEPT Name: 'BeagleBone'Class: 0x000000Service Classes: UnspecifiedDevice Class: Miscellaneous, HCI Version: 5.1 (0xa)  Revision: 0xbLMP Version: 5.1 (0xa)  Subversion: 0x8761Manufacturer: Realtek Semiconductor Corporation (93)
Log having inserted the device:

Code:

debian@BeagleBone:~$ tail /var/log/syslog  Jan  7 15:26:30 BeagleBone kernel: [ 2769.919194] usb 2-1: new full-speed USB device number 4 using musb-hdrcJan  7 15:26:30 BeagleBone kernel: [ 2770.068951] usb 2-1: New USB device found, idVendor=2357, idProduct=0604, bcdDevice= 2.00Jan  7 15:26:30 BeagleBone kernel: [ 2770.068977] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3Jan  7 15:26:30 BeagleBone kernel: [ 2770.068987] usb 2-1: Product: TP-Link UB5A AdapterJan  7 15:26:30 BeagleBone kernel: [ 2770.068996] usb 2-1: Manufacturer:  Jan  7 15:26:30 BeagleBone kernel: [ 2770.069005] usb 2-1: SerialNumber: E848B8C84000Jan  7 15:26:30 BeagleBone systemd[1]: Starting Load/Save RF Kill Switch Status...Jan  7 15:26:31 BeagleBone systemd[1]: Started Load/Save RF Kill Switch Status.Jan  7 15:26:31 BeagleBone systemd[981]: Reached target Bluetooth.Jan  7 15:26:31 BeagleBone systemd[1]: Reached target Bluetooth.
Nothing shown in the scan

Code:

debian@BeagleBone:/usr/lib$ hcitool scanScanning ...

Statistics: Posted by scuba-hacker — 2024-01-07 15:32 — Replies 0 — Views 23



Viewing all articles
Browse latest Browse all 3200

Trending Articles