I'm trying to get bcharge to run on Ubuntu/edgy with a Pearl 8100. I got
it to run correctly but it says that my device is not a pearl. I started
looking through the code and noticed that the constant for
IPRODUCT_RIM_COMPOSITE is set to 5 in bcharge.cc and on lsusb iProduct
is 4. I changed the constant to 4 and compiled and ran again. This time
I got what looks to be a successful output, but when I run lsusb again
to verify the changes, Max Power is still at 100mA. If I run it again it
just gives me the same output with no change.
This is the output from running bcharge:
Found device #005...adjusting charge setting...adjusting Pearl mode to
dual...done
This is some information from lsusb regarding my device:
Bus 001 Device 005: ID 0fca:0006 Research In Motion, Ltd.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 16
idVendor 0x0fca Research In Motion, Ltd.
idProduct 0x0006
bcdDevice 1.06
iManufacturer 1
iProduct 4
iSerial 3
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk (Zip)
iInterface 4
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 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x06 EP 6 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
If anyone could give me any tips on why it would be doing this or if it
can be solved, I would extremely appreciate it.
Thanks for such an amazing application and thanks for your support!
- Jamal
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Barry-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/barry-devel