[Bug 329540] Re: Blackberry Utils Timing out on Jaunty
Paul O'Keefe
pbokeefe at bellsouth.net
Fri Feb 27 19:34:56 UTC 2009
On Fri, 2009-02-27 at 19:11 +0000, Paul O'Keefe wrote:
> The following patch has been discussed on the barry mailing list and the
> Kernel USB Mailing list. Please consider for inclusion in the 0.14
> version of barry-util prior to the Jaunty release
>
Trying again with patch included here as plain text
---------------------------------------------------
diff -Naur barry.orig/src/usbwrap.cc barry.patch/src/usbwrap.cc
--- barry.orig/src/usbwrap.cc 2009-02-27 01:54:00.000000000 +0000
+++ barry.patch/src/usbwrap.cc 2009-02-27 01:56:34.000000000 +0000
@@ -187,6 +187,11 @@
dout("usb_clear_halt(" << std::dec << m_handle << "," << std::dec <<
ep << ")");
int ret = usb_clear_halt(m_handle, ep);
m_lasterror = ret;
+
+ //Paul O'Keefe paul at megabelle.net 26-feb-2009
+ //Device may hang if commands sent immediately after this call.
+ //Add small sleep to allow device to settle before continuing
+ usleep(100000);
return ret >= 0;
}
diff -Naur barry.orig/src/usbwrap.h barry.patch/src/usbwrap.h
--- barry.orig/src/usbwrap.h 2009-02-27 01:54:00.000000000 +0000
+++ barry.patch/src/usbwrap.h 2009-02-27 01:55:04.000000000 +0000
@@ -29,6 +29,9 @@
#include <map>
#include "error.h"
+// Paul O'Keefe. paul at megabelle.net 26-feb-2009
+#include <unistd.h>
+
#define USBWRAP_DEFAULT_TIMEOUT 30000
namespace Barry { class Data; }
----------------------------------------------------
>
>
> On Mon, 2009-02-23 at 03:11 +0000, Paul O'Keefe wrote:
> > Have been testing against the Ubuntu built kernels and Kernel mainline.
> > Fails against any Kernel build from Ubuntu since 2.6.28-7. Fails against
> > mainline 2.6.28.6 and 2.6.29-rc5 on both x86 and x86_64.
> >
> > Back trace shows waiting on a bulk usb read, last userland in libusb,
> > and hung in kernel space.
> >
> > Works correctly if run under gdb. Thinking a timing issue.
> >
> > Current thought is that write may not complete to device. Examined code and there is an unlimited wait time on the read.
> > Sent from my BlackBerry
> >
> > -----Original Message-----
> > From: Andrew Starr-Bochicchio <a.starr.b at gmail.com>
> >
> > Date: Mon, 23 Feb 2009 02:50:59
> > To: <pbokeefe at bellsouth.net>
> > Subject: [Bug 329540] Re: Blackberry Utils Timing out on Jaunty
> >
> >
> > ** Also affects: linux (Ubuntu)
> > Importance: Undecided
> > Status: New
> >
> > ** Changed in: barry (Ubuntu)
> > Status: New => Triaged
> >
> > --
> > Blackberry Utils Timing out on Jaunty
> > https://bugs.launchpad.net/bugs/329540
> > You received this bug notification because you are a direct subscriber
> > of the bug.
> >
> > Status in “barry” source package in Ubuntu: Triaged
> > Status in “linux” source package in Ubuntu: New
> >
> > 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 at pokeefe-laptop:~$ btool
> > 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 at pokeefe-laptop:~$ btool -vt > /tmp/btool.log
> >
> > 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
> > bConfigurationValue: 1
> > 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 bConfigurationValue: 1
> > usb_open(0x847d810)
> > usb_claim_interface(0x8475720,0)
> > usb_clear_halt(0x8475720,135)
> > usb_clear_halt(0x8475720,9)
> > 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::RawReceive: Endpoint 135
> > 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::RawReceive: Endpoint 135
> > 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::RawReceive: Endpoint 135
> > 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 .... at .......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::RawReceive: Endpoint 135
> > 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::RawReceive: Endpoint 135
> > 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::RawReceive: Endpoint 135
> > 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::RawReceive: Endpoint 135
> > Received:
> > 00000000: 00 00 10 00 06 ff 00 06 04 00 08 00 00 01 00 00 ................
> >
> > Using ReadEndpoint: 135
> > WriteEndpoint: 9
> > usb_release_interface(0x8475720,0)
> > usb_close(0x8475720)
> > 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_interface(0x8475ba0,0)
> > usb_clear_halt(0x8475ba0,135)
> > usb_clear_halt(0x8475ba0,9)
> > 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::RawReceive: Endpoint 0
> > 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_interface(0x8475ba0,0)
> > usb_close(0x8475ba0)
> >
> > --
> > Blackberry Utils Timing out on Jaunty
> > https://bugs.launchpad.net/bugs/329540
> > You received this bug notification because you are a direct subscriber
> > of the bug.
> >
> > Status in “barry” source package in Ubuntu: Triaged
> > Status in “linux” source package in Ubuntu: New
> >
> > 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 at pokeefe-laptop:~$ btool
> > 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 at pokeefe-laptop:~$ btool -vt > /tmp/btool.log
> >
> > 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
> > bConfigurationValue: 1
> > 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 bConfigurationValue: 1
> > usb_open(0x847d810)
> > usb_claim_interface(0x8475720,0)
> > usb_clear_halt(0x8475720,135)
> > usb_clear_halt(0x8475720,9)
> > 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::RawReceive: Endpoint 135
> > 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::RawReceive: Endpoint 135
> > 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::RawReceive: Endpoint 135
> > 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 .... at .......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::RawReceive: Endpoint 135
> > 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::RawReceive: Endpoint 135
> > 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::RawReceive: Endpoint 135
> > 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::RawReceive: Endpoint 135
> > Received:
> > 00000000: 00 00 10 00 06 ff 00 06 04 00 08 00 00 01 00 00 ................
> >
> > Using ReadEndpoint: 135
> > WriteEndpoint: 9
> > usb_release_interface(0x8475720,0)
> > usb_close(0x8475720)
> > 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_interface(0x8475ba0,0)
> > usb_clear_halt(0x8475ba0,135)
> > usb_clear_halt(0x8475ba0,9)
> > 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::RawReceive: Endpoint 0
> > 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_interface(0x8475ba0,0)
> > usb_close(0x8475ba0)
>
>
> ** Attachment added: "okeefe_0.15.patch"
> http://launchpadlibrarian.net/23197068/okeefe_0.15.patch
>
> --
> Blackberry Utils Timing out on Jaunty
> https://bugs.launchpad.net/bugs/329540
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “barry” source package in Ubuntu: Triaged
> Status in “linux” source package in Ubuntu: New
>
> 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 at pokeefe-laptop:~$ btool
> 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 at pokeefe-laptop:~$ btool -vt > /tmp/btool.log
>
> 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
> bConfigurationValue: 1
> 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 bConfigurationValue: 1
> usb_open(0x847d810)
> usb_claim_interface(0x8475720,0)
> usb_clear_halt(0x8475720,135)
> usb_clear_halt(0x8475720,9)
> 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::RawReceive: Endpoint 135
> 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::RawReceive: Endpoint 135
> 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::RawReceive: Endpoint 135
> 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 .... at .......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::RawReceive: Endpoint 135
> 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::RawReceive: Endpoint 135
> 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::RawReceive: Endpoint 135
> 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::RawReceive: Endpoint 135
> Received:
> 00000000: 00 00 10 00 06 ff 00 06 04 00 08 00 00 01 00 00 ................
>
> Using ReadEndpoint: 135
> WriteEndpoint: 9
> usb_release_interface(0x8475720,0)
> usb_close(0x8475720)
> 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_interface(0x8475ba0,0)
> usb_clear_halt(0x8475ba0,135)
> usb_clear_halt(0x8475ba0,9)
> 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::RawReceive: Endpoint 0
> 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_interface(0x8475ba0,0)
> usb_close(0x8475ba0)
--
Blackberry Utils Timing out on Jaunty
https://bugs.launchpad.net/bugs/329540
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list