Dear Experts,
I can“t get Barry (pppob) to work under the following context:
. OS: Ubuntu 8.10 (kernel 2.6.27-8-eeepc)
. Barry ppa 0.15-0git20081127
. Blackberry Bold (os / firmware: v4.6.0.185)
Excerpt of pppob -l xxx -P xxx -s -v:
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: 106
bNumInterfaces: 3
bConfigurationValue: 1
iConfiguration: 0
bmAttributes: 128
MaxPower: 250
interface_desc #0 loaded
bLength: 9
bDescriptorType: 4
bInterfaceNumber: 0
bAlternateSetting: 0
bNumEndpoints: 6
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)
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: 141
bmAttributes: 2
wMaxPacketSize: 512
bInterval: 0
bRefresh: 0
bSynchAddress: 0
endpoint added to map with bEndpointAddress: 141
pair.read = 141
pair.type = 2
endpoint_desc #1 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 14
bmAttributes: 2
wMaxPacketSize: 512
bInterval: 0
bRefresh: 0
bSynchAddress: 0
endpoint added to map with bEndpointAddress: 14
pair.write = 14
pair.type = 2
pair added! (read: 141,write: 14,type: 2)
interface added to map with bInterfaceNumber: 1
interface_desc #0 loaded
bLength: 9
bDescriptorType: 4
bInterfaceNumber: 2
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: 2
config added to map with bConfigurationValue: 1
usb_open(0x813a800)
usb_claim_interface(0x8142000,0)
usb_clear_halt(0x8142000,135)
usb_clear_halt(0x8142000,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 f3 e5 2f 0b ..
.........../.
00000010: 04 93 18 9e 53 ae cb fd c3 de 15 5a 9c a0 76 50
....S......Z..vP
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 07 00 00 00
................
00000010: 8d 03 70 25 ..p%
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 c8 01 06 ff 00 02 bc 01 02 00 00 00 06 00
................
00000010: bc 01 00 00 12 00 04 05 07 0e 00 84 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 73 63 68 65
............sche
00000060: 6e 00 00 00 00 00 00 00 00 00 00 00 4d 61 79 20
n...........May
00000070: 32 38 20 32 30 30 38 00 00 00 00 00 31 35 3a 35 28
2008.....15:5
00000080: 35 3a 32 36 00 00 00 00 00 00 00 00 00 01 0f 00
5:26............
00000090: 01 00 00 00 00 00 00 00 a8 00 00 00 0a 00 00 00
................
000000a0: bc 00 00 00 40 00 00 00 04 00 00 00 00 e5 01 5c
....@..........\
000000b0: 00 00 02 00 01 10 02 e7 03 02 04 0f 07 25 ff ff
.............%..
000000c0: ff ff ff ff ff ff ff ff 4a 56 be 92 0e 00 01 00
........JV......
000000d0: 1d 0c 00 00 00 00 00 00 e4 03 00 00 18 0c 00 00
................
000000e0: 00 00 00 00 00 00 00 00 19 08 00 00 02 00 00 00
................
000000f0: 1a 08 00 00 d3 03 00 00 1e 0c 00 00 d4 03 00 00
................
00000100: e4 03 00 00 09 08 00 00 e1 8c 58 98 ff ff ff ff
..........X.....
00000110: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
................
00000120: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
................
00000130: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
................
00000140: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
................
00000150: ff ff ff ff ff ff ff ff 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 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 0c 00 06 ff 00 06 00 00 00 00 ............
Using ReadEndpoint: 135
WriteEndpoint: 9
usb_release_interface(0x8142000,0)
usb_close(0x8142000)
Using Serial mode...
usb_open(0x813a800)
Controller: Using threaded socket router
usb_claim_interface(0x8132430,0)
usb_clear_halt(0x8132430,135)
usb_clear_halt(0x8132430,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(0x8132430,0)
usb_close(0x8132430)
-----------
Thanks in advance for your support and feedback on how to resolve this!
Rgds,
Jean-Christophe Massot.
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel