USB Host Testing
960
*** Device Bluet a12:1 - connected ***
product: CSR8510 A10
BDADDR: 11:71:da:7d:1a:0
*** BTHID Device Joystick1 0:0 - connected ***
Serial:
*** dump the USBHost Debug data ***
USB2 PLL running
reset waited 6
USBHS_ASYNCLISTADDR = 0
USBHS_PERIODICLISTBASE = 20008000
periodictable = 20008000
port change: 10001803
connect
begin reset
port change: 10001805
port enabled
end recovery
new_Device: 12 Mbit/sec
new_Pipe
enumeration:
enumeration:
enumeration:
Device Descriptor:
12 01 00 02 E0 01 01 40 12 0A 01 00 91 88 00 02 00 01
VendorID = 0A12, ProductID = 0001, Version = 8891
Class/Subclass/Protocol = 224 / 1 / 1
Number of Configurations = 1
enumeration:
enumeration:
Product: CSR8510 A10
enumeration:
Config data length = 177
enumeration:
Configuration Descriptor:
09 02 B1 00 02 01 00 E0 32
NumInterfaces = 2
ConfigurationValue = 1
09 04 00 00 03 E0 01 01 00
Interface = 0
Number of endpoints = 3
Class/Subclass/Protocol = 224 / 1 / 1
07 05 81 03 10 00 01
Endpoint = 1 IN
Type = Interrupt
Max Size = 16
Polling Interval = 1
07 05 02 02 40 00 01
Endpoint = 2 OUT
Type = Bulk
Max Size = 64
Polling Interval = 1
07 05 82 02 40 00 01
Endpoint = 2 IN
Type = Bulk
Max Size = 64
Polling Interval = 1
09 04 01 00 02 E0 01 01 00
Interface = 1
Number of endpoints = 2
Class/Subclass/Protocol = 224 / 1 / 1
07 05 03 01 00 00 01
Endpoint = 3 OUT
Type = Isochronous
Max Size = 0
Polling Interval = 1
07 05 83 01 00 00 01
Endpoint = 3 IN
Type = Isochronous
Max Size = 0
Polling Interval = 1
09 04 01 01 02 E0 01 01 00
Interface = 1
Number of endpoints = 2
Class/Subclass/Protocol = 224 / 1 / 1
07 05 03 01 09 00 01
Endpoint = 3 OUT
Type = Isochronous
Max Size = 9
Polling Interval = 1
07 05 83 01 09 00 01
Endpoint = 3 IN
Type = Isochronous
Max Size = 9
Polling Interval = 1
09 04 01 02 02 E0 01 01 00
Interface = 1
Number of endpoints = 2
Class/Subclass/Protocol = 224 / 1 / 1
07 05 03 01 11 00 01
Endpoint = 3 OUT
Type = Isochronous
Max Size = 17
Polling Interval = 1
07 05 83 01 11 00 01
Endpoint = 3 IN
Type = Isochronous
Max Size = 17
Polling Interval = 1
09 04 01 03 02 E0 01 01 00
Interface = 1
Number of endpoints = 2
Class/Subclass/Protocol = 224 / 1 / 1
07 05 03 01 19 00 01
Endpoint = 3 OUT
Type = Isochronous
Max Size = 25
Polling Interval = 1
07 05 83 01 19 00 01
Endpoint = 3 IN
Type = Isochronous
Max Size = 25
Polling Interval = 1
09 04 01 04 02 E0 01 01 00
Interface = 1
Number of endpoints = 2
Class/Subclass/Protocol = 224 / 1 / 1
07 05 03 01 21 00 01
Endpoint = 3 OUT
Type = Isochronous
Max Size = 33
Polling Interval = 1
07 05 83 01 21 00 01
Endpoint = 3 IN
Type = Isochronous
Max Size = 33
Polling Interval = 1
09 04 01 05 02 E0 01 01 00
Interface = 1
Number of endpoints = 2
Class/Subclass/Protocol = 224 / 1 / 1
07 05 03 01 31 00 01
Endpoint = 3 OUT
Type = Isochronous
Max Size = 49
Polling Interval = 1
07 05 83 01 31 00 01
Endpoint = 3 IN
Type = Isochronous
Max Size = 49
Polling Interval = 1
enumeration:
USBHub memory usage = 960
USBHub claim_device this=20005AE0
USBHub memory usage = 960
USBHub claim_device this=20005EA0
HIDParser claim this=20004200
HIDParser claim this=20004820
HIDParser claim this=20006300
HIDParser claim this=20004E60
HIDParser claim this=20005480
JoystickController claim this=20007100
BluetoothController claim this=200069E0
BluetoothController claim this=200069e0 vid:pid=a12:1
9 4 0 0 3 e0 1 1 0 7 5 81 3 10 0 1 7 5 2 2 40 0 1 7 5 82 2 40 0 1 9 4 1 0 2 e0 1 1 0 7 5 3 1 0 0 1 7 5 83 1 0 0 1 9 4 1 1 2 e0 1 1 0 7 5
3 1 9 0 1 7 5 83 1 9 0 1 9 4 1 2 2 e0 1 1 0 7 5 3 1 11 0 1 7 5 83 1 11 0 1 9 4 1 3 2 e0 1 1 0 7 5 3 1 19 0 1 7 5 83 1 19 0 1 9 4 1 4 2 e0
1 1 0 7 5 3 1 21 0 1 7 5 83 1 21 0 1 9 4 1 5 2 e0 1 1 0 7 5 3 1 31 0 1 7 5 83 1 31 0 1
rxep=1(16) txep=2(64) rx2ep=2(64)
BluetoothController, rxep=1(16), txep=2(64)
new_Pipe
allocate_interrupt_pipe_bandwidth
best_bandwidth = 3, at offset = 0, shift= 0
new_Pipe
allocate_interrupt_pipe_bandwidth
best_bandwidth = 6, at offset = 0, shift= 1
new_Pipe
HCI_RESET called (03 0c 00 )
control callback (bluetooth) 1
Control callback (bluetooth): 1 : 3 c 0
0E 04 01 03 0C 00
BT rx_data(6): e 4 1 3 c 0
Command Completed!
HCI_WRITE_CLASS_OF_DEV called (24 0c 03 04 08 00 )
control callback (bluetooth) 3
Control callback (bluetooth): 3 : 24 c 3 4 8 0
0E 04 01 24 0C 00
BT rx_data(6): e 4 1 24 c 0
Command Completed!
HCI_Read_BD_ADDR called (09 10 00 )
control callback (bluetooth) 4
Control callback (bluetooth): 4 : 9 10 0
0E 0A 01 09 10 00 11 71 DA 7D 1A 00
BT rx_data(12): e a 1 9 10 0 11 71 da 7d 1a 0
Command Completed!
BD Addr 0:1a:7d:da:71:11
HCI_Read_Local_Version_Information called (01 10 00 )
control callback (bluetooth) 4
Control callback (bluetooth): 4 : 1 10 0
0E 0C 01 01 10 00 06 BB 22 06 0A 00 BB 22
BT rx_data(14): e c 1 1 10 0 6 bb 22 6 a 0 bb 22
Command Completed!
Local Version: 6
HCI_WRITE_INQUIRY_MODE called (45 0c 01 02 )
control callback (bluetooth) 6
Control callback (bluetooth): 6 : 45 c 1 2
0E 04 01 45 0C 00
BT rx_data(6): e 4 1 45 c 0
Command Completed!
HCI_Set_Event_Mask called (01 0c 08 ff ff ff ff ff 5f 00 00 )
control callback (bluetooth) 7
Control callback (bluetooth): 7 : 1 c 8 ff ff ff ff ff 5f 0 0
0E 04 01 01 0C 00
BT rx_data(6): e 4 1 1 c 0
Command Completed!
HCI_INQUIRY called (01 04 05 33 8b 9e 30 0a )
control callback (bluetooth) 8
Control callback (bluetooth): 8 : 1 4 5 33 8b 9e 30 a
0F 04 00 01 01 04
BT rx_data(6): f 4 0 1 1 4
Command 401 Status 0
2F FF 01 DC 13 D6 1B AA 9C 01 02 08 05 00 08 5A
BT rx_data(16): 2f ff 1 dc 13 d6 1b aa 9c 1 2 8 5 0 8 5a
A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
BT rx_data(16): a0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
BT rx_data(16): 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
BT rx_data(16): 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
BT rx_data(16): 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
BT rx_data(16): 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
BT rx_data(16): 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
BT rx_data(16): 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
BT rx_data(16): 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
BT rx_data(16): 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
BT rx_data(16): 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
BT rx_data(16): 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
BT rx_data(16): 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
BT rx_data(16): 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
BT rx_data(16): 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
BT rx_data(16): 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
00
BT rx_data(1): 0
Extended Inquiry Result - Count: 1
BD:dc:13:d6:1b:aa:9c, PS:1, class: 508
Peripheral device
Gamepad
BluetoothController::find_driver driver 20007118
JoystickController::claim_bluetooth TRUE
*** Claimed ***
HCI_INQUIRY_CANCEL called (02 04 00 )
control callback (bluetooth) 64
Control callback (bluetooth): 100 : 2 4 0
0E 04 01 02 04 00
BT rx_data(6): e 4 1 2 4 0
Command Completed!
HCI_CREATE_CONNECTION called (05 04 0d dc 13 d6 1b aa 9c 18 cc 01 00 00 00 00 )
control callback (bluetooth) 65
Control callback (bluetooth): 101 : 5 4 d dc 13 d6 1b aa 9c 18 cc 1 0 0 0 0
0F 04 00 01 05 04
BT rx_data(6): f 4 0 1 5 4
Command 405 Status 0
03 0B 00 48 00 DC 13 D6 1B AA 9C 01 00
BT rx_data(13): 3 b 0 48 0 dc 13 d6 1b aa 9c 1 0
Connection Complete - ST:0 LH:48
HCI_AUTH_REQUESTED called (11 04 02 48 00 )
control callback (bluetooth) 6E
Control callback (bluetooth): 110 : 11 4 2 48 0
0F 04 00 00 11 04
BT rx_data(6): f 4 0 0 11 4
Command 411 Status 0
=====================
BT rx2_data(16): 48 20 c 0 8 0 1 0 2 1 4 0 1 0 40 0
[COLOR="#FF0000"] L2CAP Connection Request: ID: 1, PSM: 1, SCID: 40[/COLOR]
[COLOR="#008000"]L2CAP_CMD_CONNECTION_RESPONSE called(48 20 10 00 0c 00 01 00 03 01 08 00 50 00 40 00 01 00 00 00 )[/COLOR]
tx_data(bluetooth) 6E
tx_data callback (bluetooth): 205 : 48 20 10 0 c 0 1 0 3 1 8 0 50 0 40 0 1 0 0 0
[COLOR="#008000"]L2CAP_CMD_CONNECTION_RESPONSE called(48 20 10 00 0c 00 01 00 03 01 08 00 50 00 40 00 00 00 00 00 )[/COLOR]
tx_data(bluetooth) 6E
tx_data callback (bluetooth): 206 : 48 20 10 0 c 0 1 0 3 1 8 0 50 0 40 0 0 0 0 0
[COLOR="#008000"]L2CAP_ConfigRequest called(48 20 10 00 0c 00 01 00 04 02 08 00 40 00 00 00 01 02 ff ff )[/COLOR]
tx_data(bluetooth) 6E
tx_data callback (bluetooth): 0 : 48 20 10 0 c 0 1 0 4 2 8 0 40 0 0 0 1 2 ff ff
1B 03 48 00 05
BT rx_data(5): 1b 3 48 0 5
17 06 DC 13 D6 1B AA 9C
BT rx_data(8): 17 6 dc 13 d6 1b aa 9c
Event: Link Key Request dc:13:d6:1b:aa:9c
HCI_LINK_KEY_NEG_REPLY called (0c 04 06 dc 13 d6 1b aa 9c )
0F 04 00 01 00 00
BT rx_data(6): f 4 0 1 0 0
Command 0 Status 0
control callback (bluetooth) 78
Control callback (bluetooth): 120 : c 4 6 dc 13 d6 1b aa 9c
0E 0A 01 0C 04 00 DC 13 D6 1B AA 9C
BT rx_data(12): e a 1 c 4 0 dc 13 d6 1b aa 9c
Command Completed!
16 06 DC 13 D6 1B AA 9C
BT rx_data(8): 16 6 dc 13 d6 1b aa 9c
Event: Pin Code Request dc:13:d6:1b:aa:9c
HCI_PIN_CODE_REPLY called (0d 04 17 dc 13 d6 1b aa 9c 04 30 30 30 30 00 00 00 00 00 00 00 00 00 00 00 00 )
13 05 01 48 00 01 00
BT rx_data(7): 13 5 1 48 0 1 0
control callback (bluetooth) 82
Control callback (bluetooth): 130 : d 4 17 dc 13 d6 1b aa 9c 4 30 30 30 30 0 0 0 0 0 0 0 0 0 0 0 0
=====================
BT rx2_data(20): 48 20 10 0 c 0 1 0 4 2 8 0 50 0 0 0 1 2 c8 5
L2CAP config Request: ID: 2, Dest:50, Flags:0, Options: 1 2 c8 5
13 05 01 48 00 01 00
BT rx_data(7): 13 5 1 48 0 1 0
=====================
BT rx2_data(18): 48 20 e 0 a 0 1 0 5 2 6 0 50 0 0 0 0 0
L2CAP config Response: ID: 2, Source:50, Flags:0, Result:0, Config: 5c8
0E 0A 01 0D 04 00 DC 13 D6 1B AA 9C
BT rx_data(12): e a 1 d 4 0 dc 13 d6 1b aa 9c
Command Completed!
13 05 01 48 00 01 00
BT rx_data(7): 13 5 1 48 0 1 0
*** dump the USBHost Debug data ***
06 03 06 48 00
BT rx_data(5): 6 3 6 48 0
Event: HCI Authentication complete(6): handle: 48
ConnectionRequest called(48 20 0c 00 08 00 01 00 02 00 04 00 11 00 70 00 )
tx_data(bluetooth) 82
tx_data callback (bluetooth): 0 : 48 20 c 0 8 0 1 0 2 0 4 0 11 0 70 0
13 05 01 48 00 01 00
BT rx_data(7): 13 5 1 48 0 1 0
=====================
BT rx2_data(20): 48 20 10 0 c 0 1 0 3 0 8 0 40 0 70 0 3 0 0 0
L2CAP Connection Response: ID: 0, Dest:40, Source:70, Result:3, Status: 0
Control Response
L2CAP_ConfigRequest called(48 20 10 00 0c 00 01 00 04 00 08 00 40 00 00 00 01 02 ff ff )
tx_data(bluetooth) 82
tx_data callback (bluetooth): 0 : 48 20 10 0 c 0 1 0 4 0 8 0 40 0 0 0 1 2 ff ff
=====================
BT rx2_data(18): 48 20 e 0 a 0 1 0 1 0 6 0 2 0 40 0 0 0
L2CAP command reject: ID: 0, length:6, Reason:2, Data: 0 40
13 05 01 48 00 01 00
BT rx_data(7): 13 5 1 48 0 1 0
*** dump the USBHost Debug data ***