Skip to content

Instantly share code, notes, and snippets.

@infirit
Last active November 4, 2020 18:45
Show Gist options
  • Save infirit/231280f03ea2a936be79e0a8cbc07585 to your computer and use it in GitHub Desktop.
Save infirit/231280f03ea2a936be79e0a8cbc07585 to your computer and use it in GitHub Desktop.
Asus USB BT500 (bluetooth 5)
*** lsusb -v ***
Bus 001 Device 008: ID 0b05:190e ASUSTek Computer, Inc. ASUS USB-BT500
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 224 Wireless
bDeviceSubClass 1 Radio Frequency
bDeviceProtocol 1 Bluetooth
bMaxPacketSize0 64
idVendor 0x0b05 ASUSTek Computer, Inc.
idProduct 0x190e
bcdDevice 2.00
iManufacturer 1 Realtek
iProduct 2 ASUS USB-BT500
iSerial 3 00E04C239987
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 Bluetooth Radio
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 Bluetooth Radio
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 Bluetooth Radio
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 Bluetooth Radio
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 Bluetooth Radio
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 Bluetooth Radio
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 Bluetooth Radio
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
can't get debug descriptor: Resource temporarily unavailable
Device Status: 0x0001
Self Powered
*** Kernel log ***
[ 2301.029205] rtk_btusb: Realtek Bluetooth USB driver ver 3.1
[ 2301.029207] rtk_btcoex: rtk_btcoex_init: version: 1.2
[ 2301.029208] rtk_btcoex: create workqueue
[ 2301.029280] rtk_btcoex: alloc buffers 1792, 2432 for ev and l2
[ 2301.138566] rtk_btusb: btusb_probe intf->cur_altsetting->desc.bInterfaceNumber 0
[ 2301.138569] rtk_btusb: btusb_probe can_wakeup 1, may wakeup 0
[ 2301.138570] rtk_btusb: patch_add
[ 2301.138571] rtk_btusb: auto suspend is disabled
[ 2301.138573] rtk_btusb: pid = 0x190e
[ 2301.138575] rtk_btusb: patch_add: Reset gEVersion to 0xff
[ 2301.138581] rtk_btusb: set_bit(HCI_QUIRK_RESET_ON_CLOSE, &hdev->quirks);
[ 2301.138740] rtk_btusb: btusb_probe: done
[ 2301.138747] rtk_btusb: btusb_open start
[ 2301.138749] rtk_btusb: btusb_open hdev->promisc ==0
[ 2301.138750] rtk_btusb: download_patch start
[ 2301.138753] rtk_btusb: chip type value: 0x74
[ 2301.138756] rtk_btusb: HCI reset.
[ 2301.138787] usbcore: registered new interface driver rtk_btusb
[ 2301.153543] rtk_btusb: read_ver_rsp->lmp_subver = 0x8761
[ 2301.153545] rtk_btusb: read_ver_rsp->hci_rev = 0xb
[ 2301.153546] rtk_btusb: patch_entry->lmp_sub = 0x8761
[ 2301.153547] rtk_btusb: load_firmware start
[ 2301.153548] rtk_btusb: lmp_version = 0x8761
[ 2301.153550] rtk_btusb: config filename rtl8761bu_config
[ 2301.153613] rtk_btusb: no bdaddr file /opt/bdaddr
[ 2301.153615] rtk_btusb: Origin cfg len 6
[ 2301.153616] rtk_btusb: 55 ab 23 87 00 00
[ 2301.153617] rtk_btusb: New cfg len 6
[ 2301.153618] rtk_btusb: 55 ab 23 87 00 00
[ 2301.153623] rtk_btusb: fw name is rtl8761bu_fw
[ 2301.153669] rtk_btusb: This is not 8723a, use new patch style!
[ 2301.153671] rtk_btusb: rtk_get_eversion: gEVersion 255
[ 2301.157530] rtk_btusb: eversion->status = 0x0, eversion->version = 0x1
[ 2301.157533] rtk_btusb: load_firmware: New gEVersion 1
[ 2301.157535] rtk_btusb: rtk_get_fw_project_id: opcode 0, len 1, data 14
[ 2301.157537] rtk_btusb: lmp_version is 8761, project_id is 8761, match!
[ 2301.157538] rtk_btusb: fw_version = 0x9002b09
[ 2301.157539] rtk_btusb: number_of_total_patch = 2
[ 2301.157539] rtk_btusb: chipID 2
[ 2301.157541] rtk_btusb: patch_length 0x4570
[ 2301.157541] rtk_btusb: start_offset 0x00003780
[ 2301.157542] rtk_btusb: Svn version: 22481
[ 2301.157544] rtk_btusb: Coexistence: BTCOEX_20190327-0202
[ 2301.157545] rtk_btusb: buf_len = 0x4576
[ 2301.157554] rtk_btusb: fw: exists, config file: exists
[ 2301.157554] rtk_btusb: load_firmware done
[ 2301.157560] rtk_btusb: download_data start
[ 2301.678594] rtk_btusb: download_data done
[ 2301.678597] rtk_btusb: HCI reset.
[ 2301.692592] rtk_btusb: read_ver_rsp->lmp_subver = 0x2b09
[ 2301.692595] rtk_btusb: read_ver_rsp->hci_rev = 0x900
[ 2301.692596] rtk_btusb: patch_entry->lmp_sub = 0x8761
[ 2301.692601] rtk_btusb: Rtk patch end 0
[ 2301.692603] rtk_btusb: btusb_open set HCI_RUNNING
[ 2301.692616] rtk_btcoex: Open BTCOEX
[ 2301.692617] rtk_btusb: btusb_open end
[ 2301.698601] rtk_btcoex: BTCOEX hci_rev 0x0900
[ 2301.698603] rtk_btcoex: BTCOEX lmp_subver 0x2b09
[ 2301.727604] rtk_btusb: btusb_notify: hci0 evt 3
[ 2301.799679] rtk_btusb: btusb_flush add delay
[ 2301.809692] rtk_btusb: btusb_close
[ 2301.820493] rtk_btcoex: Close BTCOEX
[ 2301.820497] rtk_btcoex: -x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment