I've recently got an old Blackberry (7130g, locked on rogers) that I'm
trying to use on linux, and am getting:
   Usb::Error caught: (-110, No error): Timeout in usb_bulk_read


When I plug it in, it seems to get recognised:
        Mar 20 12:14:22 corn kernel: [356645.814332] usb 2-1.3: new full speed 
USB device using ehci_hcd and address 15
        Mar 20 12:14:22 corn kernel: [356645.924836] usb 2-1.3: configuration 
#1 chosen from 1 choice
        Mar 20 12:14:23 corn kernel: [356646.689081] usb 2-1.3: First magic 
command failed: -32.
        Mar 20 12:14:23 corn kernel: [356646.717230] usb 2-1.3: USB disconnect, 
address 15
        Mar 20 12:14:23 corn kernel: [356647.106249] usb 2-1.3: new full speed 
USB device using ehci_hcd and address 16
        Mar 20 12:14:23 corn kernel: [356647.216500] usb 2-1.3: configuration 
#1 chosen from 1 choice


And I think things look proper, USB-wise, based on lsusb:
        Bus 002 Device 016: ID 0fca:0001 Research In Motion, Ltd. Blackberry 
Handheld
        Device Descriptor:
          bLength                18
          bDescriptorType         1
          bcdUSB               1.10
          bDeviceClass          255 Vendor Specific Class
          bDeviceSubClass       255 Vendor Specific Subclass
          bDeviceProtocol       255 Vendor Specific Protocol
          bMaxPacketSize0        16
          idVendor           0x0fca Research In Motion, Ltd.
          idProduct          0x0001 Blackberry Handheld
          bcdDevice            1.04
          iManufacturer           1 Research In Motion
          iProduct                2 BlackBerry Device
          iSerial                 0 
          bNumConfigurations      1
          Configuration Descriptor:
            bLength                 9
            bDescriptorType         2
            wTotalLength           46
            bNumInterfaces          1
            bConfigurationValue     1
            iConfiguration          0 
            bmAttributes         0x80
              (Bus Powered)
            MaxPower              500mA
            Interface Descriptor:
              bLength                 9
              bDescriptorType         4
              bInterfaceNumber        0
              bAlternateSetting       0
              bNumEndpoints           4
              bInterfaceClass       255 Vendor Specific Class
              bInterfaceSubClass    255 Vendor Specific Subclass
              bInterfaceProtocol    255 Vendor Specific Protocol
              iInterface              0 
              Endpoint Descriptor:
                bLength                 7
                bDescriptorType         5
                bEndpointAddress     0x81  EP 1 IN
                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     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     0x83  EP 3 IN
                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     0x04  EP 4 OUT
                bmAttributes            2
                  Transfer Type            Bulk
                  Synch Type               None
                  Usage Type               Data
                wMaxPacketSize     0x0040  1x 64 bytes
                bInterval               0
        Device Status:     0x0000
          (Bus Powered)

But the btool (or bidentify) always seems to end with:
        usb_open(0x606120)
        usb_claim_interface(0x603460,0)
        usb_clear_halt(0x603460,131)
        usb_clear_halt(0x603460,4)
        BulkWrite to endpoint 4:
            00000000: 00 00 10 00 01 ff 00 00 a8 18 da 8d 6c 02 00 00 
............l...

        usb_release_interface(0x603460,0)
        usb_close(0x603460)
        exception caught: (-110, No error): Timeout in usb_bulk_read

This seems to happen on 2 seperate machines, using 2 seperate kernels:
  Ubuntu: Linux corn 2.6.24-23-generic #1 SMP Mon Jan 26 01:04:16 UTC 2009 
x86_64 GNU/Linux
  Debian: Linux pumpkin 2.6.26-1-amd64 #1 SMP Sat Jan 10 17:57:00 UTC 2009 
x86_64 GNU/Linux 

I've put dumps of everything I can think of up:
        http://www.highrise.ca/aidan/barry/     

Anything obvious I've missed?  Any pointers as to how or where to go to
start learning about the interaction and how to debug something like
this?

a.

-- 
Aidan Van Dyk                                             Create like a god,
ai...@highrise.ca                                       command like a king,
http://www.highrise.ca/                                   work like a slave.

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to