Blackberry Utils Timing out on Jaunty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
barry (Ubuntu) |
Triaged
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: barry-util
New package barry-util (and associated barrybackup-gui) non-functional for current configuration:
Compilation of barry package on Intrepid using same dependencies works correctly.
breset tool functions properly
btool discovers device correctly:
---------
pokeefe@
Blackberry devices found:
Device ID: 0x94d0810. PIN: 3039712f, Description: RIM BlackBerry Device
Using device (PIN): 3039712f
---------
btool cannot pull databases from device, receives timeout instead -- Bad packet size. Packet: 26. DataSize(): 26. Required size: 44.
---------
pokeefe@
device_desc loaded
bLength: 18
bDescriptorType: 1
bcdUSB: 512
bDeviceClass: 0
bDeviceSubClass: 0
bDeviceProtocol: 0
bMaxPacketSize0: 64
idVendor: 4042
idProduct: 32772
bcdDevice: 513
iManufacturer: 1
iProduct: 5
iSerialNumber: 3
bNumConfigurations: 1
config_desc #0 loaded
bLength: 9
bDescriptorType: 2
wTotalLength: 97
bNumInterfaces: 2
bConfigurationV
iConfiguration: 0
bmAttributes: 128
MaxPower: 250
interface_desc #0 loaded
bLength: 9
bDescriptorType: 4
bInterfaceNumber: 0
bAlternateSetting: 0
bNumEndpoints: 8
bInterfaceClass: 255
bInterfaceSubClass: 1
bInterfaceProtocol: 255
iInterface: 2
endpoint_desc #0 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 131
bmAttributes: 2
wMaxPacketSize: 512
bInterval: 0
bRefresh: 0
bSynchAddress: 0
endpoint added to map with bEndpointAddress: 131
pair.read = 131
pair.type = 2
endpoint_desc #1 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 5
bmAttributes: 2
wMaxPacketSize: 512
bInterval: 0
bRefresh: 0
bSynchAddress: 0
endpoint added to map with bEndpointAddress: 5
pair.write = 5
pair.type = 2
pair added! (read: 131,write: 5,type: 2)
endpoint_desc #2 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 135
bmAttributes: 2
wMaxPacketSize: 512
bInterval: 0
bRefresh: 0
bSynchAddress: 0
endpoint added to map with bEndpointAddress: 135
pair.read = 135
pair.type = 2
endpoint_desc #3 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 9
bmAttributes: 2
wMaxPacketSize: 512
bInterval: 0
bRefresh: 0
bSynchAddress: 0
endpoint added to map with bEndpointAddress: 9
pair.write = 9
pair.type = 2
pair added! (read: 135,write: 9,type: 2)
endpoint_desc #4 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 138
bmAttributes: 2
wMaxPacketSize: 512
bInterval: 0
bRefresh: 0
bSynchAddress: 0
endpoint added to map with bEndpointAddress: 138
pair.read = 138
pair.type = 2
endpoint_desc #5 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 11
bmAttributes: 2
wMaxPacketSize: 512
bInterval: 0
bRefresh: 0
bSynchAddress: 0
endpoint added to map with bEndpointAddress: 11
pair.write = 11
pair.type = 2
pair added! (read: 138,write: 11,type: 2)
endpoint_desc #6 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 140
bmAttributes: 2
wMaxPacketSize: 512
bInterval: 0
bRefresh: 0
bSynchAddress: 0
endpoint added to map with bEndpointAddress: 140
pair.read = 140
pair.type = 2
endpoint_desc #7 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 15
bmAttributes: 2
wMaxPacketSize: 512
bInterval: 0
bRefresh: 0
bSynchAddress: 0
endpoint added to map with bEndpointAddress: 15
pair.write = 15
pair.type = 2
pair added! (read: 140,write: 15,type: 2)
interface added to map with bInterfaceNumber: 0
interface_desc #0 loaded
bLength: 9
bDescriptorType: 4
bInterfaceNumber: 1
bAlternateSetting: 0
bNumEndpoints: 2
bInterfaceClass: 8
bInterfaceSubClass: 6
bInterfaceProtocol: 80
iInterface: 0
endpoint_desc #0 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 2
bmAttributes: 2
wMaxPacketSize: 512
bInterval: 0
bRefresh: 0
bSynchAddress: 0
endpoint added to map with bEndpointAddress: 2
pair.write = 2
pair.type = 2
endpoint_desc #1 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 134
bmAttributes: 2
wMaxPacketSize: 512
bInterval: 0
bRefresh: 0
bSynchAddress: 0
endpoint added to map with bEndpointAddress: 134
pair.read = 134
pair.type = 2
pair added! (read: 134,write: 2,type: 2)
interface added to map with bInterfaceNumber: 1
config added to map with bConfigurationV
usb_open(0x847d810)
usb_claim_
usb_clear_
usb_clear_
BulkWrite to endpoint 9:
00000000: 00 00 10 00 01 ff 00 00 a8 18 da 8d 6c 02 00 00 ............l...
BulkRead (135):
00000000: 00 00 10 00 02 ff 00 00 a8 18 da 8d 6c 02 00 00 ............l...
BulkWrite to endpoint 9:
00000000: 00 00 0c 00 05 ff 00 00 14 00 01 00 ............
SocketZero:
Received:
00000000: 00 00 20 00 06 ff 00 00 14 00 01 00 29 f5 5d 27 .. .........).]'
00000010: ba dc 99 80 64 1a 5e 6e 8e c9 11 6d e3 84 e8 a1 ....d.^n...m....
BulkWrite to endpoint 9:
00000000: 00 00 0c 00 05 ff 00 01 08 00 04 00 ............
SocketZero:
Received:
00000000: 00 00 14 00 06 ff 00 01 08 00 04 00 04 00 00 00 ................
00000010: 2f 71 39 30 /q90
BulkWrite to endpoint 9:
00000000: 00 00 0c 00 05 ff 00 02 08 00 02 00 ............
SocketZero:
Received:
00000000: 00 00 c4 01 06 ff 00 02 b8 01 02 00 0c 00 04 00 ................
00000010: b8 01 00 00 0e 00 03 05 04 0f 00 04 52 49 4d 20 ............RIM
00000020: 42 6c 61 63 6b 42 65 72 72 79 20 44 65 76 69 63 BlackBerry Devic
00000030: 65 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e...............
00000040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000050: 00 00 00 00 00 00 00 00 00 00 00 00 6e 64 69 6e ............ndin
00000060: 67 00 00 00 00 00 00 00 00 00 00 00 4a 61 6e 20 g...........Jan
00000070: 20 33 20 32 30 30 38 00 00 00 00 00 31 32 3a 33 3 2008.....12:3
00000080: 39 3a 30 37 00 00 00 00 00 00 00 00 00 01 07 00 9:07............
00000090: 00 00 00 00 00 00 00 00 a4 00 00 00 0a 00 00 00 ................
000000a0: b8 00 00 00 40 00 00 00 01 00 00 00 78 58 00 00 ....@.......xX..
000000b0: 01 08 02 84 03 01 04 04 07 06 ff ff ff ff ff ff ................
000000c0: ff ff ff ff 4a 56 be 92 0e 00 01 00 03 0c 00 00 ....JV..........
000000d0: 00 00 00 00 ff ff ff 03 03 0c 00 01 00 00 00 08 ................
000000e0: ff ff ff 09 02 08 00 00 00 00 04 00 08 10 00 00 ................
000000f0: 00 00 02 00 ff ff db 03 00 00 02 00 07 14 00 00 ................
00000100: 00 00 02 00 00 00 02 08 ff ff fb 09 00 00 02 00 ................
00000110: 14 0c 00 00 00 00 dc 03 ff ff dd 03 0f 10 00 00 ................
00000120: 00 00 de 03 ff ff df 03 00 00 02 00 06 14 00 00 ................
00000130: 00 00 02 00 00 00 e0 03 ff ff eb 03 00 00 02 00 ................
00000140: 05 14 00 00 00 00 02 00 00 00 ec 03 ff ff f5 03 ................
00000150: 00 00 02 00 0c 0c 00 00 00 00 f6 03 ff ff f7 03 ................
00000160: 0e 10 00 00 00 00 f8 03 ff ff fb 03 00 00 02 00 ................
00000170: 09 08 00 00 88 d0 f7 c4 ff ff ff ff ff ff ff ff ................
00000180: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
00000190: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
000001a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
000001b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
000001c0: ff ff ff ff ....
BulkWrite to endpoint 9:
00000000: 00 00 0c 00 05 ff 00 03 04 00 05 00 ............
SocketZero:
Received:
00000000: 00 00 0c 00 06 ff 00 03 00 00 00 00 ............
BulkWrite to endpoint 9:
00000000: 00 00 0c 00 05 ff 00 04 04 00 06 00 ............
SocketZero:
Received:
00000000: 00 00 0c 00 06 ff 00 04 00 00 00 00 ............
BulkWrite to endpoint 9:
00000000: 00 00 0c 00 05 ff 00 05 04 00 07 00 ............
SocketZero:
Received:
00000000: 00 00 10 00 06 ff 00 05 04 00 07 00 00 02 00 00 ................
BulkWrite to endpoint 9:
00000000: 00 00 0c 00 05 ff 00 06 04 00 08 00 ............
SocketZero:
Received:
00000000: 00 00 10 00 06 ff 00 06 04 00 08 00 00 01 00 00 ................
Using ReadEndpoint: 135
WriteEndp
usb_release_
usb_close(
Blackberry devices found:
Device ID: 0x847d810. PIN: 3039712f, Description: RIM BlackBerry Device, Interface: 0x0, Endpoints: (read: 0x87, write: 0x9, type: 0x2, ZeroSocketSequence: 0x7
Using device (PIN): 3039712f
usb_open(0x847d810)
Controller: Using threaded socket router
usb_claim_
usb_clear_
usb_clear_
BulkWrite to endpoint 9:
00000000: 00 00 18 00 07 ff 00 07 52 49 4d 20 44 65 73 6b ........RIM Desk
00000010: 74 6f 70 00 00 00 00 00 top.....
SocketZero:
Received:
00000000: 00 00 1a 00 09 ff 00 07 52 49 4d 20 44 65 73 6b ........RIM Desk
00000010: 74 6f 70 00 00 00 00 00 02 00 top.......
Bad packet size. Packet: 26. DataSize(): 26. Required size: 44
00000000: 00 00 1a 00 09 ff 00 07 52 49 4d 20 44 65 73 6b ........RIM Desk
00000010: 74 6f 70 00 00 00 00 00 02 00 top.......
usb_release_
usb_close(
Changed in barry: | |
status: | New → Triaged |
probe.cc already included commented out area that had a device reset followed by a sleep. Uncommenting those two lines made the device function under Jaunty.
---
Investigation:
--> Program functioned properly under gdb in single step mode
--> Suspect a timeout problem on the USB bus
--> Mailing list had indicated a reset function added last summer for one instance
--> Found reset already in the code but commented out. Waiting on answer on mailing list for how upstream wants to handle.