On Sat, Nov 24, 2007 at 07:07:30PM -0500, Martin Owens wrote:
> Hey Blackberry People
> 
> I'm looking to investigate the data we get with btool so I need
> everyone who has a blackberry device to run the following command and
> email me the log file it generates so I can compare all the data and
> work out more fields than just description and pin. (more docs would
> be good too)
> 
> sudo btool -v -l > ~/barry.log

Attached are logs for a 7750 and an 8830.

- Chris

device_desc loaded
bLength: 18
bDescriptorType: 1
bcdUSB: 257
bDeviceClass: 255
bDeviceSubClass: 255
bDeviceProtocol: 255
bMaxPacketSize0: 16
idVendor: 4042
idProduct: 1
bcdDevice: 260
iManufacturer: 1
iProduct: 2
iSerialNumber: 0
bNumConfigurations: 2

  config_desc #0 loaded
bLength: 9
bDescriptorType: 2
wTotalLength: 46
bNumInterfaces: 1
bConfigurationValue: 1
iConfiguration: 0
bmAttributes: 128
MaxPower: 250

    interface_desc #0 loaded
bLength: 9
bDescriptorType: 4
bInterfaceNumber: 0
bAlternateSetting: 0
bNumEndpoints: 4
bInterfaceClass: 255
bInterfaceSubClass: 255
bInterfaceProtocol: 255
iInterface: 0

      endpoint_desc #0 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 131
bmAttributes: 2
wMaxPacketSize: 64
bInterval: 10
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: 6
bmAttributes: 2
wMaxPacketSize: 64
bInterval: 10
bRefresh: 0
bSynchAddress: 0

      endpoint added to map with bEndpointAddress: 6
        pair.write = 6
        pair.type = 2
        pair added! (read: 131,write: 6,type: 2)
      endpoint_desc #2 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 130
bmAttributes: 2
wMaxPacketSize: 64
bInterval: 10
bRefresh: 0
bSynchAddress: 0

      endpoint added to map with bEndpointAddress: 130
        pair.read = 130
        pair.type = 2
      endpoint_desc #3 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 5
bmAttributes: 2
wMaxPacketSize: 64
bInterval: 10
bRefresh: 0
bSynchAddress: 0

      endpoint added to map with bEndpointAddress: 5
        pair.write = 5
        pair.type = 2
        pair added! (read: 130,write: 5,type: 2)
    interface added to map with bInterfaceNumber: 0
  config added to map with bConfigurationValue: 1
  config_desc #1 loaded
bLength: 9
bDescriptorType: 2
wTotalLength: 46
bNumInterfaces: 1
bConfigurationValue: 1
iConfiguration: 0
bmAttributes: 128
MaxPower: 250

    interface_desc #0 loaded
bLength: 9
bDescriptorType: 4
bInterfaceNumber: 0
bAlternateSetting: 0
bNumEndpoints: 4
bInterfaceClass: 255
bInterfaceSubClass: 255
bInterfaceProtocol: 255
iInterface: 0

      endpoint_desc #0 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 131
bmAttributes: 2
wMaxPacketSize: 64
bInterval: 10
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: 6
bmAttributes: 2
wMaxPacketSize: 64
bInterval: 10
bRefresh: 0
bSynchAddress: 0

      endpoint added to map with bEndpointAddress: 6
        pair.write = 6
        pair.type = 2
        pair added! (read: 131,write: 6,type: 2)
      endpoint_desc #2 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 130
bmAttributes: 2
wMaxPacketSize: 64
bInterval: 10
bRefresh: 0
bSynchAddress: 0

      endpoint added to map with bEndpointAddress: 130
        pair.read = 130
        pair.type = 2
      endpoint_desc #3 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 5
bmAttributes: 2
wMaxPacketSize: 64
bInterval: 10
bRefresh: 0
bSynchAddress: 0

      endpoint added to map with bEndpointAddress: 5
        pair.write = 5
        pair.type = 2
        pair added! (read: 130,write: 5,type: 2)
    interface added to map with bInterfaceNumber: 0
  config added to map with bConfigurationValue: 1
usb_open(0x80d79e8)
usb_claim_interface(0x80dbce8,0)
usb_clear_halt(0x80dbce8,130)
usb_clear_halt(0x80dbce8,5)
BulkWrite to endpoint 5:
    00000000: 00 00 10 00 01 ff 00 00 a8 18 da 8d 6c 02 00 00  ............l...

BulkRead (130):
    00000000: 00 00 10 00 02 ff 00 00 a8 18 da 8d 6c 02 00 00  ............l...

BulkWrite to endpoint 5:
    00000000: 00 00 0c 00 05 ff 00 00 14 00 01 00              ............

Socket::Send: Endpoint 130
Received:
    00000000: 00 00 20 00 06 ff 00 00 14 00 01 00 51 e1 33 6b  .. .........Q.3k
    00000010: f3 09 bc 37 3b a3 5e ed ff 30 a1 3a 60 c9 81 8e  ...7;.^..0.:`...

BulkWrite to endpoint 5:
    00000000: 00 00 0c 00 05 ff 00 01 08 00 04 00              ............

Socket::Send: Endpoint 130
Received:
    00000000: 00 00 14 00 06 ff 00 01 08 00 04 00 04 00 00 00  ................
    00000010: e3 ef 09 30                                      ...0

BulkWrite to endpoint 5:
    00000000: 00 00 0c 00 05 ff 00 02 08 00 02 00              ............

Socket::Send: Endpoint 130
Received:
    00000000: 00 00 bc 01 06 ff 00 02 b0 01 02 00 03 00 04 00  ................
    00000010: b0 01 00 00 06 03 01 04 04 04 00 04 52 49 4d 20  ............RIM 
    00000020: 37 37 30 30 20 53 65 72 69 65 73 20 43 6f 6c 6f  7700 Series Colo
    00000030: 75 72 20 43 44 4d 41 20 48 61 6e 64 68 65 6c 64  ur CDMA Handheld
    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 66 70 6f 77  ............fpow
    00000060: 65 72 00 00 00 00 00 00 00 00 00 00 44 65 63 20  er..........Dec 
    00000070: 31 30 20 32 30 30 33 00 00 00 00 00 31 31 3a 35  10 2003.....11:5
    00000080: 33 3a 34 32 00 00 00 00 00 00 00 00 00 01 ff ff  3:42............
    00000090: 00 00 00 00 ff ff 7c 01 9c 00 00 00 0a 00 00 00  ......|.........
    000000a0: b0 00 00 00 40 00 00 00 01 03 02 80 03 01 04 05  [EMAIL PROTECTED]
    000000b0: 32 01 ff ff ff ff ff ff ff ff ff ff 4a 56 be 92  2...........JV..
    000000c0: 06 00 01 00 03 0c 00 00 00 00 00 00 ff ff ff 00  ................
    000000d0: 04 10 00 00 00 00 40 00 ff ff 7f 00 00 00 c0 01  [EMAIL PROTECTED]
    000000e0: 04 10 00 00 00 00 80 00 ff ff ff 00 00 00 00 01  ................
    000000f0: 01 0c 00 00 00 00 01 00 ff ff 38 00 05 14 00 00  ..........8.....
    00000100: 00 00 01 00 00 00 39 00 ff ff 3b 00 00 00 01 00  ......9...;.....
    00000110: 0c 0c 00 00 00 00 3c 00 ff ff 3d 00 06 14 00 00  ......<...=.....
    00000120: 00 00 01 00 00 00 3e 00 ff ff 3f 00 00 00 01 00  ......>...?.....
    00000130: 0f 10 00 00 00 00 7f 01 ff 3f 7f 01 00 20 00 00  .........?... ..
    00000140: 0a 08 00 00 00 40 7f 01 0e 10 00 00 00 60 7f 01  [EMAIL PROTECTED]
    00000150: ff 9f 7f 01 00 20 00 00 07 14 00 00 00 00 01 00  ..... ..........
    00000160: 00 00 00 01 ff ff 7e 01 00 00 01 00 07 14 00 00  ......~.........
    00000170: 00 00 01 00 00 00 c0 01 ff ff ff 01 00 00 01 00  ................
    00000180: 09 08 00 00 b1 44 4b 56 ff ff ff ff ff ff ff ff  .....DKV........
    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              ............

BulkWrite to endpoint 5:
    00000000: 00 00 0c 00 05 ff 00 03 04 00 05 00              ............

Socket::Send: Endpoint 130
Received:
    00000000: 00 00 0c 00 06 ff 00 03 00 00 00 00              ............

BulkWrite to endpoint 5:
    00000000: 00 00 0c 00 05 ff 00 04 04 00 06 00              ............

Socket::Send: Endpoint 130
Received:
    00000000: 00 00 0c 00 06 ff 00 04 00 00 00 00              ............

BulkWrite to endpoint 5:
    00000000: 00 00 0c 00 05 ff 00 05 04 00 07 00              ............

Socket::Send: Endpoint 130
Received:
    00000000: 00 00 0c 00 06 ff 00 05 00 00 00 00              ............

BulkWrite to endpoint 5:
    00000000: 00 00 0c 00 05 ff 00 06 04 00 08 00              ............

Socket::Send: Endpoint 130
Received:
    00000000: 00 00 0c 00 06 ff 00 06 00 00 00 00              ............

Using ReadEndpoint: 130
      WriteEndpoint: 5
usb_release_interface(0x80dbce8,0)
usb_close(0x80dbce8)
Blackberry devices found:
Device ID: 0x80d79e8. PIN: 3009efe3, Description: RIM 7700 Series Colour CDMA 
Handheld
device_desc loaded
bLength: 18
bDescriptorType: 1
bcdUSB: 272
bDeviceClass: 0
bDeviceSubClass: 0
bDeviceProtocol: 0
bMaxPacketSize0: 64
idVendor: 4042
idProduct: 4
bcdDevice: 262
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: 133
bmAttributes: 2
wMaxPacketSize: 64
bInterval: 0
bRefresh: 0
bSynchAddress: 0

      endpoint added to map with bEndpointAddress: 133
        pair.read = 133
        pair.type = 2
      endpoint_desc #1 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 5
bmAttributes: 2
wMaxPacketSize: 64
bInterval: 0
bRefresh: 0
bSynchAddress: 0

      endpoint added to map with bEndpointAddress: 5
        pair.write = 5
        pair.type = 2
        pair added! (read: 133,write: 5,type: 2)
      endpoint_desc #2 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 131
bmAttributes: 2
wMaxPacketSize: 64
bInterval: 0
bRefresh: 0
bSynchAddress: 0

      endpoint added to map with bEndpointAddress: 131
        pair.read = 131
        pair.type = 2
      endpoint_desc #3 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 3
bmAttributes: 2
wMaxPacketSize: 64
bInterval: 0
bRefresh: 0
bSynchAddress: 0

      endpoint added to map with bEndpointAddress: 3
        pair.write = 3
        pair.type = 2
        pair added! (read: 131,write: 3,type: 2)
      endpoint_desc #4 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 130
bmAttributes: 2
wMaxPacketSize: 64
bInterval: 0
bRefresh: 0
bSynchAddress: 0

      endpoint added to map with bEndpointAddress: 130
        pair.read = 130
        pair.type = 2
      endpoint_desc #5 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 2
bmAttributes: 2
wMaxPacketSize: 64
bInterval: 0
bRefresh: 0
bSynchAddress: 0

      endpoint added to map with bEndpointAddress: 2
        pair.write = 2
        pair.type = 2
        pair added! (read: 130,write: 2,type: 2)
      endpoint_desc #6 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 132
bmAttributes: 2
wMaxPacketSize: 64
bInterval: 0
bRefresh: 0
bSynchAddress: 0

      endpoint added to map with bEndpointAddress: 132
        pair.read = 132
        pair.type = 2
      endpoint_desc #7 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 4
bmAttributes: 2
wMaxPacketSize: 64
bInterval: 0
bRefresh: 0
bSynchAddress: 0

      endpoint added to map with bEndpointAddress: 4
        pair.write = 4
        pair.type = 2
        pair added! (read: 132,write: 4,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: 4

      endpoint_desc #0 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 134
bmAttributes: 2
wMaxPacketSize: 64
bInterval: 0
bRefresh: 0
bSynchAddress: 0

      endpoint added to map with bEndpointAddress: 134
        pair.read = 134
        pair.type = 2
      endpoint_desc #1 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 7
bmAttributes: 2
wMaxPacketSize: 64
bInterval: 0
bRefresh: 0
bSynchAddress: 0

      endpoint added to map with bEndpointAddress: 7
        pair.write = 7
        pair.type = 2
        pair added! (read: 134,write: 7,type: 2)
    interface added to map with bInterfaceNumber: 1
  config added to map with bConfigurationValue: 1
usb_open(0x80d79e8)
usb_claim_interface(0x80dbce8,0)
usb_clear_halt(0x80dbce8,131)
usb_clear_halt(0x80dbce8,3)
BulkWrite to endpoint 3:
    00000000: 00 00 10 00 01 ff 00 00 a8 18 da 8d 6c 02 00 00  ............l...

BulkRead (131):
    00000000: 00 00 10 00 02 ff 00 00 a8 18 da 8d 6c 02 00 00  ............l...

BulkWrite to endpoint 3:
    00000000: 00 00 0c 00 05 ff 00 00 14 00 01 00              ............

Socket::Send: Endpoint 131
Received:
    00000000: 00 00 20 00 06 ff 00 00 14 00 01 00 9c aa 30 4d  .. ...........0M
    00000010: 1f 6b a6 16 f3 7e a0 83 d8 12 6e 59 e9 bc d3 6a  .k...~....nY...j

BulkWrite to endpoint 3:
    00000000: 00 00 0c 00 05 ff 00 01 08 00 04 00              ............

Socket::Send: Endpoint 131
Received:
    00000000: 00 00 14 00 06 ff 00 01 08 00 04 00 04 00 00 00  ................
    00000010: bd 31 17 30                                      .1.0

BulkWrite to endpoint 3:
    00000000: 00 00 0c 00 05 ff 00 02 08 00 02 00              ............

Socket::Send: Endpoint 131
Received:
    00000000: 00 00 c4 01 06 ff 00 02 b8 01 02 00 0a 00 04 00  ................
    00000010: b8 01 00 00 01 1d 02 05 04 0e 00 04 52 49 4d 20  ............RIM 
    00000020: 38 38 30 30 20 53 65 72 69 65 73 20 43 6f 6c 6f  8800 Series Colo
    00000030: 75 72 20 43 44 4d 41 20 48 61 6e 64 68 65 6c 64  ur CDMA Handheld
    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 61 61 6b 62  ............aakb
    00000060: 61 72 69 00 00 00 00 00 00 00 00 00 44 65 63 20  ari.........Dec 
    00000070: 32 32 20 32 30 30 36 00 00 00 00 00 31 32 3a 33  22 2006.....12:3
    00000080: 36 3a 35 32 00 00 00 00 00 00 00 00 00 01 07 00  6:52............
    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 2c 55 00 00  [EMAIL 
PROTECTED],U..
    000000b0: 01 0b 02 84 03 01 04 03 07 06 0a 01 ff ff ff ff  ................
    000000c0: ff ff ff ff 4a 56 be 92 0c 00 01 00 03 0c 00 00  ....JV..........
    000000d0: 00 00 00 00 ff ff ff 03 02 08 00 00 00 00 04 00  ................
    000000e0: 08 10 00 00 00 00 02 00 ff ff db 03 00 00 02 00  ................
    000000f0: 14 0c 00 00 00 00 dc 03 ff ff dd 03 0f 10 00 00  ................
    00000100: 00 00 de 03 ff ff df 03 00 00 02 00 06 14 00 00  ................
    00000110: 00 00 02 00 00 00 e0 03 ff ff eb 03 00 00 02 00  ................
    00000120: 05 14 00 00 00 00 02 00 00 00 ec 03 ff ff f5 03  ................
    00000130: 00 00 02 00 0c 0c 00 00 00 00 f6 03 ff ff f7 03  ................
    00000140: 0e 10 00 00 00 00 f8 03 ff ff fb 03 00 00 02 00  ................
    00000150: 09 08 00 00 a7 04 e0 28 ff ff ff ff ff ff ff ff  .......(........
    00000160: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
    00000170: ff ff ff ff ff ff ff ff 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 3:
    00000000: 00 00 0c 00 05 ff 00 03 04 00 05 00              ............

Socket::Send: Endpoint 131
Received:
    00000000: 00 00 0c 00 06 ff 00 03 00 00 00 00              ............

BulkWrite to endpoint 3:
    00000000: 00 00 0c 00 05 ff 00 04 04 00 06 00              ............

Socket::Send: Endpoint 131
Received:
    00000000: 00 00 10 00 06 ff 00 04 04 00 06 00 00 01 00 00  ................

BulkWrite to endpoint 3:
    00000000: 00 00 0c 00 05 ff 00 05 04 00 07 00              ............

Socket::Send: Endpoint 131
Received:
    00000000: 00 00 10 00 06 ff 00 05 04 00 07 00 00 02 00 00  ................

BulkWrite to endpoint 3:
    00000000: 00 00 0c 00 05 ff 00 06 04 00 08 00              ............

Socket::Send: Endpoint 131
Received:
    00000000: 00 00 10 00 06 ff 00 06 04 00 08 00 00 01 00 00  ................

Using ReadEndpoint: 131
      WriteEndpoint: 3
usb_release_interface(0x80dbce8,0)
usb_close(0x80dbce8)
Blackberry devices found:
Device ID: 0x80d79e8. PIN: 301731bd, Description: RIM 8800 Series Colour CDMA 
Handheld
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Barry-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to