Hi all,

So far I was using BlackBerry pearl with opensync and file plugins and it was 
fine.
Now I got new device: 8707g and I have some problems wit it.

After connecting:

................
Bus 003 Device 045: 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        64
  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     0x85  EP 5 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval              10
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x05  EP 5 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval              10
      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              10
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval              10
Device Status:     0x0000
  (Bus Powered)
..................

btool -l report my device's pin properly but only once. if I do btool -l again 
it hangs just after:

usb_open(0x80a4a60)
usb_set_configuration(0x8097a88,1)
usb_claim_interface(0x8097a88,0)
BulkWrite to endpoint 3:
    00000000: 00 00 10 00 01 ff 00 00 a8 18 da 8d 6c 02 00 
00  ............l...

usb_release_interface(0x8097a88,0)
usb_close(0x8097a88)
Usb::Error caught: (-110, No error): Timeout in usb_bulk_read

I compared lsubs -v output, and it is exactly the same before first and second 
attempt.

I tried to do btool -tv as well:

Device ID: 0x80a4a60. PIN: xxxxxxxx, Description: RIM 8700 Series Colour UMTS 
Handheld
usb_open(0x80a4a60)
usb_set_configuration(0x8097a88,1)
usb_claim_interface(0x8097a88,0)
BulkWrite to endpoint 3:
    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.....

Socket::Send: Endpoint 131
Received:
    00000000: 00 00 0c 00 13 0a 01 00 00 00 00 00              ............

Bad packet size. Packet: 12. DataSize(): 12. Required size: 44
    00000000: 00 00 0c 00 13 0a 01 00 00 00 00 00              ............

usb_release_interface(0x8097a88,0)
usb_close(0x8097a88)
Barry::Error caught: Bad packet size. Packet: 12. DataSize(): 12. Required 
size: 44


Do you know any easy way to fix this problems? Is there any other info you 
would like to have regarding this device or any other tests I could do to 
help with debugging?

-- 
Regards
Jacek Nykis

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Barry-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to