Ok, I"ve been reading and following the other thread related to
Barry, and since I saw the latest post about the cvs update, I
redownloaded and compiled. Currently the cvs code finds the pearl,
and I can choose each of the bcharge options and all of that.
Note that this is a new 8100 pearl from Cingular, with the latest
firmware - 4.2.0.71 (so this might be evidence that a bios upgrade
won't solve the timeout if you're getting it).
Note that after a 'bcharge -o' the phone shows the charge symbol for
about 3 secs, then gives up and does not charge.
Any advice, tips, etc would be great! love the project, btw.
This is on feisty:
Linux bicho 2.6.20-14-generic #2 SMP Mon Apr 2 20:37:49 UTC 2007 i686
GNU/Linux
which uses a new underlying usb driver:
ii libusb-0.1-4 0.1.12-2
userspace USB programming library
ii libusb-dev 0.1.12-2
userspace USB programming library developmen
(I only include this because I thought that it might be relevant)
However, I am still getting the timeout on btool -lt :
[EMAIL PROTECTED]:/download/barry-0.6$ sudo btool -lv
usb_set_debug: Setting debugging level to 9 (on)
usb_os_init: Found USB VFS at /dev/bus/usb
usb_os_find_busses: Skipping non bus directory devices
usb_os_find_busses: Found 005
usb_os_find_busses: Found 002
usb_os_find_busses: Found 004
usb_os_find_busses: Found 003
usb_os_find_busses: Found 001
usb_os_find_devices: Found 001 on 005
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 049 on 001
invalid descriptor length of 0
Unable to parse descriptors
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
device_desc loaded
bLength: 18
bDescriptorType: 1
bcdUSB: 272
bDeviceClass: 255
bDeviceSubClass: 255
bDeviceProtocol: 255
bMaxPacketSize0: 16
idVendor: 4042
idProduct: 1
bcdDevice: 262
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: 250
interface_desc #0 loaded
bLength: 9
bDescriptorType: 4
bInterfaceNumber: 0
bAlternateSetting: 0
bNumEndpoints: 4
bInterfaceClass: 255
bInterfaceSubClass: 1
bInterfaceProtocol: 255
iInterface: 2
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: 0
bDescriptorType: 0
bEndpointAddress: 0
bmAttributes: 0
wMaxPacketSize: 0
bInterval: 0
bRefresh: 0
bSynchAddress: 0
endpoint added to map with bEndpointAddress: 0
pair.write = 0
pair.type = 0
endpoint_desc #3 loaded
bLength: 0
bDescriptorType: 0
bEndpointAddress: 0
bmAttributes: 0
wMaxPacketSize: 0
bInterval: 0
bRefresh: 0
bSynchAddress: 0
endpoint added to map with bEndpointAddress: 0
pair.write = 0
pair.type = 0
interface added to map with bInterfaceNumber: 0
config added to map with bConfigurationValue: 1
BulkWrite to endpoint 2:
00000000: 00 00 10 00 01 ff 00 00 a8 18 da 8d 6c 02 00 00
............l...
Usb::Error caught: Timeout in usb_bulk_read
here is my lsusb -v
Bus 001 Device 051: 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.06
iManufacturer 1
iProduct 2
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 1
bInterfaceProtocol 255
iInterface 2
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
UNRECOGNIZED: 63 61 0a 09 30 38 20 20 4a 61 6d 61 69 63 61
0a 09 30 39 20 11 00 00 00 00 84 06 08 01 00 00 00 30 61 20 20 21 00
00 00 09 04 00 00 04 ff 01 ff 02 72 69 6e 20 84 06 08 00 00 00 00 00
00 00 00 6d 62 61 62 59 00 00 00 07 05 81 02 40 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 07 05 02 02 40 00 00
Endpoint Descriptor:
bLength 0
bDescriptorType 0
bEndpointAddress 0x00 EP 0 OUT
bmAttributes 0
Transfer Type Control
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 0
Endpoint Descriptor:
bLength 0
bDescriptorType 0
bEndpointAddress 0x00 EP 0 OUT
bmAttributes 0
Transfer Type Control
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 0
cannot read device status, Operation not permitted (1)
and finally, here is the dmesg relevant output:
[ 7228.176000] usb 1-2: new full speed USB device using uhci_hcd and
address 50
[ 7228.324000] usb 1-2: config index 0 descriptor too short (expected
46, got 32)
[ 7228.356000] usb 1-2: configuration #1 chosen from 1 choice
[ 7228.392000] scsi34 : SCSI emulation for USB Mass Storage devices
[ 7228.392000] usb-storage: device found at 50
[ 7228.392000] usb-storage: waiting for device to settle before scanning
[ 7238.272000] usb 1-2: usbfs: interface 0 claimed by usbfs while
'bcharge' sets config #1
[ 7238.396000] usb 1-2: reset full speed USB device using uhci_hcd and
address 50
[ 7238.776000] usb 1-2: USB disconnect, address 50
[ 7239.520000] usb 1-2: new full speed USB device using uhci_hcd and
address 51
[ 7239.668000] usb 1-2: config 1 interface 0 altsetting 0 has 2
endpoint descriptors, different from the interface descriptor's value: 4
[ 7239.688000] usb 1-2: configuration #1 chosen from 1 choice
you can see the orig connect, then bcharge's reset of the usb device
(I assume, anyway)
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Barry-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/barry-devel