hi,guys
      I wan't to know the blackberry 7230 can use as a gprs modem for my
pc.
because when I use the pppob connect it get error like this.

Bad packet size. Packet: 26. DataSize(): 26. Required size: 44

and the attached file is the pppob's log file whih one connect.
please help me !
os is debian etch, kernel is 2.6.18-6-686
barry version is the lastest stable version.


huang mingyou
device_desc loaded
bLength: 18
bDescriptorType: 1
bcdUSB: 256
bDeviceClass: 255
bDeviceSubClass: 255
bDeviceProtocol: 255
bMaxPacketSize0: 8
idVendor: 4042
idProduct: 1
bcdDevice: 2
iManufacturer: 1
iProduct: 2
iSerialNumber: 0
bNumConfigurations: 1

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

    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: 129
bmAttributes: 2
wMaxPacketSize: 64
bInterval: 0
bRefresh: 0
bSynchAddress: 0

      endpoint added to map with bEndpointAddress: 129
        pair.read = 129
        pair.type = 2
      endpoint_desc #1 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: 129,write: 2,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: 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: 131,write: 4,type: 2)
    interface added to map with bInterfaceNumber: 0
  config added to map with bConfigurationValue: 1
usb_open(0x80543f0)
usb_claim_interface(0x804f380,0)
usb_clear_halt(0x804f380,131)
usb_clear_halt(0x804f380,4)
BulkWrite to endpoint 4:
    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 4:
    00000000: 00 00 0c 00 05 ff 00 00 14 00 01 00              ............

SocketZero::RawReceive: Endpoint 131
Received:
    00000000: 00 00 20 00 06 ff 00 00 14 00 01 00 d3 58 61 ec  .. ..........Xa.
    00000010: c8 ce 72 eb 0b 30 7d 4d fd 29 8d 03 74 97 cc 5f  ..r..0}M.)..t.._

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

SocketZero::RawReceive: Endpoint 131
Received:
    00000000: 00 00 14 00 06 ff 00 01 08 00 04 00 03 00 00 00  ................
    00000010: 86 9a 1a 20                                      ... 

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

SocketZero::RawReceive: Endpoint 131
Received:
    00000000: 00 00 bc 01 06 ff 00 02 b0 01 02 00 03 00 04 00  ................
    00000010: b0 01 00 00 01 01 01 04 03 05 00 94 52 49 4d 20  ............RIM 
    00000020: 37 32 30 30 20 53 65 72 69 65 73 20 43 6f 6c 6f  7200 Series Colo
    00000030: 75 72 20 47 50 52 53 20 48 61 6e 64 68 65 6c 64  ur GPRS 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 73 6d 61 6a  ............smaj
    00000060: 6b 69 63 00 00 00 00 00 00 00 00 00 41 75 67 20  kic.........Aug 
    00000070: 30 38 20 32 30 30 33 00 00 00 00 00 31 30 3a 32  08 2003.....10:2
    00000080: 34 3a 32 38 00 00 00 00 00 00 00 00 00 01 07 00  4:28............
    00000090: 00 00 00 00 ff ff 7e 01 9c 00 00 00 0a 00 00 00  ......~.........
    000000a0: b0 00 00 00 40 00 00 00 01 04 02 60 03 01 04 1d  [EMAIL PROTECTED]
    000000b0: ff ff ff ff ff ff ff ff ff ff ff ff 4a 56 be 92  ............JV..
    000000c0: 05 00 01 00 03 0c 00 00 00 00 00 01 ff ff 7f 01  ................
    000000d0: 03 0c 00 01 00 00 00 20 ff ff 7f 20 0a 08 00 00  ....... ... ....
    000000e0: 00 40 7f 01 08 10 00 00 00 00 01 00 ff ff 7c 01  [EMAIL PROTECTED]|.
    000000f0: 00 00 01 00 07 14 00 00 00 00 01 00 00 00 01 20  ............... 
    00000100: ff ff 7e 20 00 00 01 00 02 08 00 00 00 00 01 01  ..~ ............
    00000110: 05 14 00 00 00 20 00 00 00 00 7f 01 ff 3f 7f 01  ..... .......?..
    00000120: 00 40 00 00 05 14 00 00 00 20 00 00 00 40 00 20  [EMAIL PROTECTED] [EMAIL PROTECTED] 
    00000130: ff ff 00 20 00 40 00 00 05 14 00 00 00 20 00 00  ... [EMAIL PROTECTED] ..
    00000140: 00 00 7f 20 ff bf 7f 20 00 40 00 00 0c 0c 00 00  ... ... [EMAIL PROTECTED]
    00000150: 00 00 7d 01 ff ff 7e 01 09 08 00 00 36 6d 9a e4  ..}...~.....6m..
    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              ............

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

SocketZero::RawReceive: Endpoint 131
Received:
    00000000: 00 00 0c 00 06 ff 00 03 00 00 00 00              ............

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

SocketZero::RawReceive: Endpoint 131
Received:
    00000000: 00 00 0c 00 06 ff 00 04 00 00 00 00              ............

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

SocketZero::RawReceive: Endpoint 131
Received:
    00000000: 00 00 0c 00 06 ff 00 05 00 00 00 00              ............

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

SocketZero::RawReceive: Endpoint 131
Received:
    00000000: 00 00 0c 00 06 ff 00 06 00 00 00 00              ............

Using ReadEndpoint: 131
      WriteEndpoint: 4
usb_release_interface(0x804f380,0)
usb_close(0x804f380)
Using Serial mode...
usb_open(0x80543f0)
Controller: Using threaded socket router
usb_claim_interface(0x804f568,0)
usb_clear_halt(0x804f568,131)
usb_clear_halt(0x804f568,4)
BulkWrite to endpoint 4:
    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 2c 00 08 05 00 07 52 49 4d 20 44 65 73 6b  ..,.....RIM Desk
    00000010: 74 6f 70 00 00 00 00 00 00 00 00 00 01 00 04 00  top.............
    00000020: 02 00 04 00 03 01 00 00 04 01 00 00              ............

BulkWrite to endpoint 4:
    00000000: 00 00 08 00 0a 05 00 08                          ........

SocketZero::RawReceive: Endpoint 0
Received:
    00000000: 00 00 0c 00 13 05 01 00 00 00 00 00              ............

SocketZero::RawReceive: Endpoint 0
Received:
    00000000: 00 00 08 00 10 05 00 08                          ........

BulkWrite to endpoint 4:
    00000000: 05 00 0a 00 40 00 00 01 00 00                    [EMAIL PROTECTED]

SocketZero::RawReceive: Endpoint 0
Received:
    00000000: 00 00 0c 00 13 05 01 00 01 00 00 00              ............

SocketZero::RawReceive: Endpoint 0
Received:
    00000000: 05 00 0a 00 40 00 00 02 00 04                    [EMAIL PROTECTED]

BulkWrite to endpoint 4:
    00000000: 05 00 07 00 41 00 00                             ....A..

SocketZero::RawReceive: Endpoint 0
Received:
    00000000: 00 00 0c 00 13 05 01 00 02 00 00 00              ............

SocketZero::RawReceive: Endpoint 0
Received:
    00000000: 05 00 35 00 40 00 0c 01 53 65 72 76 69 63 65 20  [EMAIL PROTECTED] 
    00000010: 42 6f 6f 6b 0e 02 44 65 76 69 63 65 20 4f 70 74  Book..Device Opt
    00000020: 69 6f 6e 73 0f 03 44 61 74 61 62 61 73 65 20 41  ions..Database A
    00000030: 63 63 65 73 73                                   ccess

BulkWrite to endpoint 4:
    00000000: 05 00 07 00 41 00 00                             ....A..

SocketZero::RawReceive: Endpoint 0
Received:
    00000000: 00 00 0c 00 13 05 01 00 03 00 00 00              ............

SocketZero::RawReceive: Endpoint 0
Received:
    00000000: 05 00 07 00 41 00 00                             ....A..

Command table:
    Command: 0x1 'Service Book'
    Command: 0x2 'Device Options'
    Command: 0x3 'Database Access'

BulkWrite to endpoint 4:
    00000000: 05 00 07 00 40 03 4c                             [EMAIL PROTECTED]

SocketZero::RawReceive: Endpoint 0
Received:
    00000000: 00 00 0c 00 13 05 01 00 04 00 00 00              ............

SocketZero::RawReceive: Endpoint 0
Received:
    00000000: 05 00 88 03 40 03 4c 20 00 00 00 01 00 00 00 00  [EMAIL PROTECTED] ........
    00000010: 10 00 00 00 0e 00 43 6f 6e 74 65 6e 74 20 53 74  ......Content St
    00000020: 6f 72 65 00 01 00 01 00 00 00 00 0d 00 00 00 0d  ore.............
    00000030: 00 53 65 72 76 69 63 65 20 42 6f 6f 6b 00 02 00  .Service Book...
    00000040: 02 00 00 00 00 6c 00 00 00 09 00 41 75 74 6f 54  .....l.....AutoT
    00000050: 65 78 74 00 03 00 01 00 00 00 00 02 00 00 00 19  ext.............
    00000060: 00 44 65 66 61 75 6c 74 20 53 65 72 76 69 63 65  .Default Service
    00000070: 20 53 65 6c 65 63 74 6f 72 00 04 00 01 00 00 00   Selector.......
    00000080: 00 00 00 00 00 17 00 48 61 6e 64 68 65 6c 64 20  .......Handheld 
    00000090: 43 6f 6e 66 69 67 75 72 61 74 69 6f 6e 00 05 00  Configuration...
    000000a0: 00 00 00 00 00 01 00 00 00 12 00 50 69 6e 79 69  ...........Pinyi
    000000b0: 6e 20 49 4d 20 6f 70 74 69 6f 6e 73 00 06 00 01  n IM options....
    000000c0: 00 00 00 00 ab 00 00 00 0f 00 48 61 6e 64 68 65  ..........Handhe
    000000d0: 6c 64 20 41 67 65 6e 74 00 07 00 00 00 00 00 00  ld Agent........
    000000e0: 01 00 00 00 11 00 46 69 72 65 77 61 6c 6c 20 4f  ......Firewall O
    000000f0: 70 74 69 6f 6e 73 00 08 00 00 00 00 00 00 01 00  ptions..........
    00000100: 00 00 07 00 50 6f 6c 69 63 79 00 09 00 01 00 00  ....Policy......
    00000110: 00 00 00 00 00 00 0f 00 44 65 76 69 63 65 20 4f  ........Device O
    00000120: 70 74 69 6f 6e 73 00 0a 00 00 00 00 00 00 09 00  ptions..........
    00000130: 00 00 08 00 4f 70 74 69 6f 6e 73 00 0b 00 01 00  ....Options.....
    00000140: 00 00 00 04 00 00 00 0e 00 52 4d 53 20 44 61 74  .........RMS Dat
    00000150: 61 62 61 73 65 73 00 0c 00 00 00 00 00 00 01 00  abases..........
    00000160: 00 00 16 00 4c 65 61 72 6e 69 6e 67 20 44 61 74  ....Learning Dat
    00000170: 61 20 4d 61 6e 61 67 65 72 00 0d 00 01 00 00 00  a Manager.......
    00000180: 00 01 00 00 00 11 00 50 72 6f 66 69 6c 65 73 20  .......Profiles 
    00000190: 4f 70 74 69 6f 6e 73 00 0e 00 01 00 00 00 00 05  Options.........
    000001a0: 00 00 00 09 00 50 72 6f 66 69 6c 65 73 00 0f 00  .....Profiles...
    000001b0: 00 00 00 00 00 02 00 00 00 0b 00 43 61 74 65 67  ...........Categ
    000001c0: 6f 72 69 65 73 00 10 00 01 00 00 00 00 01 00 00  ories...........
    000001d0: 00 15 00 4d 65 73 73 61 67 65 20 4c 69 73 74 20  ...Message List 
    000001e0: 4f 70 74 69 6f 6e 73 00 11 00 03 00 00 00 00 00  Options.........
    000001f0: 00 00 00 09 00 4d 65 73 73 61 67 65 73 00 12 00  .....Messages...
    00000200: 05 00 00 00 00 0e 00 00 00 0d 00 53 4d 53 20 4d  ...........SMS M
    00000210: 65 73 73 61 67 65 73 00 13 00 00 00 00 00 00 01  essages.........
    00000220: 00 00 00 0a 00 46 6f 6c 64 65 72 20 49 64 00 14  .....Folder Id..
    00000230: 00 00 00 00 00 00 00 00 00 00 08 00 46 6f 6c 64  ............Fold
    00000240: 65 72 73 00 15 00 00 00 00 00 00 00 00 00 00 10  ers.............
    00000250: 00 50 75 72 67 65 64 20 4d 65 73 73 61 67 65 73  .Purged Messages
    00000260: 00 16 00 00 00 00 00 00 01 00 00 00 10 00 52 65  ..............Re
    00000270: 63 69 70 69 65 6e 74 20 43 61 63 68 65 00 17 00  cipient Cache...
    00000280: 00 00 00 00 00 01 00 00 00 15 00 52 69 62 62 6f  ...........Ribbo
    00000290: 6e 20 42 61 72 20 50 6f 73 69 74 69 6f 6e 73 00  n Bar Positions.
    000002a0: 18 00 00 00 00 00 00 01 00 00 00 15 00 41 64 64  .............Add
    000002b0: 72 65 73 73 20 42 6f 6f 6b 20 4f 70 74 69 6f 6e  ress Book Option
    000002c0: 73 00 19 00 00 00 00 00 00 6b 00 00 00 0d 00 41  s........k.....A
    000002d0: 64 64 72 65 73 73 20 42 6f 6f 6b 00 1a 00 00 00  ddress Book.....
    000002e0: 00 00 00 01 00 00 00 0e 00 50 68 6f 6e 65 20 4f  .........Phone O
    000002f0: 70 74 69 6f 6e 73 00 1b 00 00 00 00 00 00 4c 00  ptions........L.
    00000300: 00 00 10 00 50 68 6f 6e 65 20 43 61 6c 6c 20 4c  ....Phone Call L
    00000310: 6f 67 73 00 1c 00 00 00 00 00 00 1e 00 00 00 0e  ogs.............
    00000320: 00 50 68 6f 6e 65 20 48 6f 74 6c 69 73 74 00 1d  .Phone Hotlist..
    00000330: 00 00 00 00 00 00 01 00 00 00 13 00 41 74 74 61  ............Atta
    00000340: 63 68 6d 65 6e 74 20 4f 70 74 69 6f 6e 73 00 1e  chment Options..
    00000350: 00 00 00 00 00 00 00 00 00 00 10 00 41 74 74 61  ............Atta
    00000360: 63 68 6d 65 6e 74 20 44 61 74 61 00 1f 00 00 00  chment Data.....
    00000370: 00 00 00 07 00 00 00 0f 00 51 75 69 63 6b 20 43  .........Quick C
    00000380: 6f 6e 74 61 63 74 73 00                          ontacts.

BulkWrite to endpoint 4:
    00000000: 05 00 07 00 41 00 00                             ....A..

SocketZero::RawReceive: Endpoint 0
Received:
    00000000: 00 00 0c 00 13 05 01 00 05 00 00 00              ............

SocketZero::RawReceive: Endpoint 0
Received:
    00000000: 05 00 07 00 41 00 00                             ....A..

BulkWrite to endpoint 4:
    00000000: 00 00 18 00 07 ff 00 08 52 49 4d 5f 55 73 62 53  ........RIM_UsbS
    00000010: 65 72 44 61 74 61 00 00                          erData..

SocketZero::RawReceive: Endpoint 0
Received:
    00000000: 00 00 1a 00 09 ff 00 08 52 49 4d 5f 55 73 62 53  ........RIM_UsbS
    00000010: 65 72 44 61 74 61 00 00 01 00                    erData....

Bad packet size. Packet: 26. DataSize(): 26. Required size: 44
    00000000: 00 00 1a 00 09 ff 00 08 52 49 4d 5f 55 73 62 53  ........RIM_UsbS
    00000010: 65 72 44 61 74 61 00 00 01 00                    erData....

BulkWrite to endpoint 4:
    00000000: 00 00 08 00 0b 05 00 09                          ........

SocketZero::RawReceive: Endpoint 0
Received:
    00000000: 00 00 08 00 0c 05 00 09                          ........

Packet:
    00000000: 00 00 08 00 0c 05 00 09                          ........

usb_release_interface(0x804f568,0)
usb_close(0x804f568)
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to