Hey, I have the blackberry pearl (8100)  v4.2.0.73 Platform 2.2.0.4 and when
I run bcharge -o I get:

Scanning for Blackberry devices...
Found device #003...adjusting charge setting...adjusting Pearl mode to
single...done

but then if I run it again, I'll still get the same message, but in the code
it has this snippet:

88    if( dev->config &&
89         dev->descriptor.bNumConfigurations >= 1 &&
90         dev->config[0].MaxPower < 250 ) {
91         printf("adjusting charge setting");
92         charge(handle);
93         apply = true;
94     }
95     else {
96         printf("already at 500mA");
97     }

which looks to me like it should tell me that its already charging.

so then I did lsusb -v -d 0fca:006

which returned:
Bus 002 Device 003: 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


which still shows the power being set at 100mA.


Am I doing something wrong or is there something I could do to help and fix
the problem?
-------------------------------------------------------------------------
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

Reply via email to