BlackBerry Forums Support Community
              

Reply
 
Thread Tools
Old 03-28-2007, 02:59 PM   #21
rivviepop
BlackBerry Extraordinaire
 
rivviepop's Avatar
 
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Posts: 2,166
Default

Please Login to Remove!

Quote:
Originally Posted by jfanaian
The only problem is that MaxPower is still 100mA :(
Code:
  idProduct          0x0006
Well that's no fun -- ok. the first clue here is that the idProduct is still 0x0006, when after bcharge is run it should be 0x0004. So, lemme ask some questions about your setup:

- what OS version is on your Pearl?
- have you tried this as root user (maybe it's a permissions problem)?
- do you see anything in /var/log/messages that might provide a clue?

I don't know specifically what's wrong, but we can try and find out...
__________________
[ Linux & BlackBerry ] http://www.blackberryforums.com/linux-users-corner/
Offline   Reply With Quote
Old 03-28-2007, 03:03 PM   #22
jfanaian
New Member
 
Join Date: Mar 2007
Model: 8100
Posts: 13
Default

Quote:
Originally Posted by rivviepop
- have you tried this as root user (maybe it's a permissions problem)?
That did the trick! Works perfect. Thank you so much.

What I did notice is that mass storage is disabled (I'm assuming because I can no longer access it) so does that mean that I can't access the device while charging? I have no problem with this as I can just unplug and plug it back in to access files, and I really don't need to while I'm charging all that often. Just for simplicity of not having to replug it everytime.

Thanks again, it works great!
Offline   Reply With Quote
Old 03-28-2007, 03:42 PM   #23
rivviepop
BlackBerry Extraordinaire
 
rivviepop's Avatar
 
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Posts: 2,166
Default

Quote:
Originally Posted by jfanaian
That did the trick! Works perfect. Thank you so much.
Sweet, I like easy answers.

Quote:
What I did notice is that mass storage is disabled (I'm assuming because I can no longer access it) so does that mean that I can't access the device while charging?
Mine works just fine -- do you actually have mass storage enabled on the Pearl and all that jazz? Also, I have another thread here on the forums where sometimes my mass storage doesn't mount -- I figured out it's because things "went too fast" with bcharge around.

My solution:
- put device mass storage into Prompt mode to mount
- plug in device, wait.
- Initial "not enough charge" screen flashes the goes away (indicating bcharge has run), then the "do you want to enable mass storage?" screen.
- *wait* a second or two, *then* press Yes.

Sometimes if it's the first time I've plugged in the Pearl since a reboot it doesn't work on the first try. I unplug, wait a second or two, then plug it back in; my guess is in this situation 'usb-storage.o' (kernel module) hasn't ever been loaded before, so it doesn't happen fast enough (remember, it has to load vfat, usb-storage, etc.) before the Pearl kicks in; the 2nd time you plug it in all these modules are loaded already in memory, so stuff Just Works(tm).
__________________
[ Linux & BlackBerry ] http://www.blackberryforums.com/linux-users-corner/
Offline   Reply With Quote
Old 03-28-2007, 04:05 PM   #24
jfanaian
New Member
 
Join Date: Mar 2007
Model: 8100
Posts: 13
Default

I tried that, except the message doesn't show up anymore but its still at 100mA. What I do is plug it in, wait a few seconds. It prompts me to enable media support. I execute bcharge, verify that its at 500mA. Then tell it yes. It stays at 500mA but it does not mount the device.

Its no big deal though, I don't often use the storage so I don't mind switching out. Its nothing to waste your time on. I'm just glad I can charge it. Thanks so much!
Offline   Reply With Quote
Old 03-28-2007, 05:13 PM   #25
HuwSy
Talking BlackBerry Encyclopedia
 
HuwSy's Avatar
 
Join Date: Mar 2006
Location: Over the hills and far away...
Model: 9800
PIN: .
Carrier: Orange
Posts: 428
Default

Im having a problem with my lowly old 7100t, i connect it and it doesnt seam to run bcharge automatically (during boot it says the UDEV rule is invalid and iv tried both forms within the rule file to no avail. but im using ubuntu 7.04 feisty fawn so i can expect a few strangnesses). But when i run bcharge manually as root it says its changed the charge state and looking in lsusb -v it says its at 500mA but the charge icon on my Bb vanishes after a second or so of connection regardless. The only way i can get any form of charge process is by leaving barrybackup open/connected, even then tho its only a slow charge. Any ideas?

Heres what lsusb gives:

Code:
Bus 001 Device 003: 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        64
  idVendor           0x0fca Research In Motion, Ltd.
  idProduct          0x0001 Blackberry Handheld
  bcdDevice            1.04
  iManufacturer           1 Research In Motion
  iProduct                2 Terminal mobile RIM
  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    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0 
      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
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 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     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
Device Status:     0x0000
  (Bus Powered)
then this is what it gives when connected to by barry backup:

EDIT: removed as its identical...
__________________
Huw - www.huenik.com
BB 9800

Last edited by HuwSy; 03-29-2007 at 08:59 AM..
Offline   Reply With Quote
Old 03-28-2007, 05:32 PM   #26
rivviepop
BlackBerry Extraordinaire
 
rivviepop's Avatar
 
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Posts: 2,166
Default

Quote:
Originally Posted by HuwSy
But when i run bcharge manually as root it says its changed the charge state and looking in lsusb -v it says its at 500mA but the charge icon on my Bb vanishes after a second or so of connection regardless. The only way i can get any form of charge process is by leaving barrybackup open/connected, even then tho its only a slow charge.

Heres what lsusb gives:
The two outputs are identical; and according to them the computer is sending 500mA out the port as desired. So, if your 7100 is empty (out of battery), you plug it in and run bcharge -- does it actually charge up after an hour or two? Or, are you saying if you leave it plugged in for 2 hours that nothing happens, you get no charge at all?

According to your lsusb output, the computer is attempting to charge the device -- you sure the 7100 doesn't have some sort of OS flaw with the charging icon?
__________________
[ Linux & BlackBerry ] http://www.blackberryforums.com/linux-users-corner/
Offline   Reply With Quote
Old 03-29-2007, 08:58 AM   #27
HuwSy
Talking BlackBerry Encyclopedia
 
HuwSy's Avatar
 
Join Date: Mar 2006
Location: Over the hills and far away...
Model: 9800
PIN: .
Carrier: Orange
Posts: 428
Default

I can get it to charge through windows or on the mains adaptor fine, but under linux it doesnt charge even after several hours of being connected with supposidly 500mA going to it. Is there any other way to check the usb output without cutting into some cables.
__________________
Huw - www.huenik.com
BB 9800
Offline   Reply With Quote
Old 03-29-2007, 12:57 PM   #28
rivviepop
BlackBerry Extraordinaire
 
rivviepop's Avatar
 
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Posts: 2,166
Default

Quote:
Originally Posted by HuwSy
Is there any other way to check the usb output without cutting into some cables.
I bet there is using a multimeter (or something like that?), but I'll admit I'm a n00b when it comes to things like this, sorry. I have never been very good at the electrical engineering aspect of life (or differnential equations, while we're at it :-/).
__________________
[ Linux & BlackBerry ] http://www.blackberryforums.com/linux-users-corner/
Offline   Reply With Quote
Old 04-03-2007, 04:50 PM   #29
rivviepop
BlackBerry Extraordinaire
 
rivviepop's Avatar
 
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Posts: 2,166
Default

A crosspost/note from another thread -- we've got a kernel module in the works!

Linux Headquarters - Kernel v2.6.21-rc5 /drivers/usb/misc/berry_charge.c
__________________
[ Linux & BlackBerry ] http://www.blackberryforums.com/linux-users-corner/
Offline   Reply With Quote
Old 04-11-2007, 07:27 AM   #30
ubuntuthinking
New Member
 
Join Date: Feb 2007
Model: 8700g
Carrier: TMO
Posts: 6
Default

Wirelessly posted (BlackBerry8700/4.1.0 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/100)

I installed bcharge from the files on Sourceforge. It runs for about a second then charging stops?? I'm on ub untu fiesty fawn.
Offline   Reply With Quote
Old 04-11-2007, 07:44 AM   #31
HuwSy
Talking BlackBerry Encyclopedia
 
HuwSy's Avatar
 
Join Date: Mar 2006
Location: Over the hills and far away...
Model: 9800
PIN: .
Carrier: Orange
Posts: 428
Default

Im thinking its something to do with Fiesty Fawn, cos it happens to me ever since i upgraded. I knnow the udev version is newer than expected which might have an effect. The .deb version sometimes charges if i connect the bb then remove it straight away remove it then connect it again straight away. How fast this is done effects the chances of this working in my experience. The CVS version doesnt seam to work atall for me at the moment. When i have more time il look into it more.
__________________
Huw - www.huenik.com
BB 9800
Offline   Reply With Quote
Old 04-11-2007, 07:06 PM   #32
ubuntuthinking
New Member
 
Join Date: Feb 2007
Model: 8700g
Carrier: TMO
Posts: 6
Default

Thanks HuSwy,

I'm stuck on the fence with M$ due to the Blackberry issues. If I can:

a) Charge it via USB &
b) Load applications

I would delete Windows off my drive. Right now, I've got an XP Guest on a Ubuntu host...and no connection.
Offline   Reply With Quote
Old 04-12-2007, 05:40 AM   #33
HuwSy
Talking BlackBerry Encyclopedia
 
HuwSy's Avatar
 
Join Date: Mar 2006
Location: Over the hills and far away...
Model: 9800
PIN: .
Carrier: Orange
Posts: 428
Default

Barry Tools works in backing up and restoring under Feisty, however bcharge stopped working after I moved from Edgy to Feisty. The only way to load apps via computer is under windows, this cant even be done under mac yet, and syncronising with something like evolution is in progress but not there yet under linux. Best dual booting for the time being.
__________________
Huw - www.huenik.com
BB 9800
Offline   Reply With Quote
Old 04-12-2007, 08:06 PM   #34
ubuntuthinking
New Member
 
Join Date: Feb 2007
Model: 8700g
Carrier: TMO
Posts: 6
Default

Thanks for the help. I can survive with .jad files for now. But how do you do a backup and restore? I have not located that in the documentation...yet.
Offline   Reply With Quote
Old 04-13-2007, 03:27 AM   #35
HuwSy
Talking BlackBerry Encyclopedia
 
HuwSy's Avatar
 
Join Date: Mar 2006
Location: Over the hills and far away...
Model: 9800
PIN: .
Carrier: Orange
Posts: 428
Default

You have to build btool then barrybackup from the sorce code available off sf.net then run barrybackup as root (or atleast sudo) Hopefully there will be .deb and .rpm versions of these when the next version is released.
__________________
Huw - www.huenik.com
BB 9800
Offline   Reply With Quote
Old 04-19-2007, 06:21 PM   #36
rivviepop
BlackBerry Extraordinaire
 
rivviepop's Avatar
 
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Posts: 2,166
Default

News from the mailing list:

Quote:
Originally Posted by Chris Frey
I recently got my hands on a new 8800 Pearl, and tweaked the CVS version
of bcharge to work better with the Pearl. The CVS version of bcharge
has been broken for a while now, and I believe it is now fixed.

There are 3 ways to run bcharge now, with the Pearl:

bcharge
Will change to 500mA, and switch idProduct mode from 0006 to 0004 (dual).
bcharge -o
Will change to 500mA and switch from 0006 to 0001 (classic)
bcharge -d
Will change to 500mA and switch from 0001 to 0004 (dual).
This is the behaviour I had hoped for earlier, but I tried to do it
automatically, which seems impossible, from just the USB data. I'm sure
if I talked to the device to get manufacturer, product strings, etc
I could do more checks, but that would make bcharge more complicated
than necessary. I think the above command line switches are a good balance.
I personally haven't had a chance to test the new code yet.
__________________
[ Linux & BlackBerry ] http://www.blackberryforums.com/linux-users-corner/
Offline   Reply With Quote
Old 04-20-2007, 01:39 PM   #37
erroneus
Knows Where the Search Button Is
 
erroneus's Avatar
 
Join Date: Feb 2007
Location: Texas
Model: 8100
Carrier: T-Mobile
Posts: 42
Default

Don't forget those of us who hangs on every word from you, Rivviepop! If there's an RPM somewhere, I hope you will make it available to us!
__________________
Device: Blackberry 8100 v4.2.0.64
Carrier: T-Mobile USA
BES: 4.1.0.38
Desktop OS: Fedora 7 Linux, Windows XP (vmware)
Offline   Reply With Quote
Old 05-07-2007, 11:38 AM   #38
HuwSy
Talking BlackBerry Encyclopedia
 
HuwSy's Avatar
 
Join Date: Mar 2006
Location: Over the hills and far away...
Model: 9800
PIN: .
Carrier: Orange
Posts: 428
Default

Yey BCharge works again for me. Not sure if its due to recent compilation from CVS (as i know v0.7 didnt work for me) or if its due to my move to Ubuntu Gutsy Gibbon (cos Iv never got it to charge under Feisty Fawn)
__________________
Huw - www.huenik.com
BB 9800
Offline   Reply With Quote
Old 05-12-2007, 02:21 AM   #39
foczq
New Member
 
Join Date: May 2007
Model: 7100v
PIN: N/A
Carrier: what?
Posts: 1
Default

Quote:
Originally Posted by ubuntuthinking View Post
Wirelessly posted (BlackBerry8700/4.1.0 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/100)

I installed bcharge from the files on Sourceforge. It runs for about a second then charging stops?? I'm on ub untu fiesty fawn.
I have the same situation...
Offline   Reply With Quote
Old 05-15-2007, 11:36 PM   #40
breakerfall
Talking BlackBerry Encyclopedia
 
breakerfall's Avatar
 
Join Date: Apr 2005
Model: 9530
OS: 4.7.0.90
PIN: EAPPLE!
Carrier: VZW
Posts: 214
Default

Quote:
Originally Posted by foczq View Post
I have the same situation...
dammit, i hate me-too-ing...

ME TOO!

feisty, charge icon stays on for about 2 seconds...
__________________
Kyocera6035 | Kyocera7135 | oGo(!) | SMT5600 | BB7250 | BB7130e | XV6700 | MotoQ | BB8703e | BB8830 | Storm
Offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


NETWORK INSTRUMENT GIGASTOR- 2U (2X) XEON E5-2630- 64 GB PC3 RAM picture

NETWORK INSTRUMENT GIGASTOR- 2U (2X) XEON E5-2630- 64 GB PC3 RAM

$356.99



Trenton 92-506313-XXX W/ 2x Intel Xeon Processors & 4GB DDR2 RAM picture

Trenton 92-506313-XXX W/ 2x Intel Xeon Processors & 4GB DDR2 RAM

$285.99



TYAN S5387-EFI EATX DUAL XEON LGA 771 SERVER MOTHERBOARD 2GBE 500P GFX SATA RAID picture

TYAN S5387-EFI EATX DUAL XEON LGA 771 SERVER MOTHERBOARD 2GBE 500P GFX SATA RAID

$150.00



POSEIDON XEON D-1500 PRODRIVE TECH BOX picture

POSEIDON XEON D-1500 PRODRIVE TECH BOX

$500.00



10 PCS HP Xeon E5 V4 CPU Cage Clip Cover Bracket Holder for DL380 G9 DL360 G9 picture

10 PCS HP Xeon E5 V4 CPU Cage Clip Cover Bracket Holder for DL380 G9 DL360 G9

$28.08



Intel Xeon E5-2690 2.90GHz Eight Core Processor picture

Intel Xeon E5-2690 2.90GHz Eight Core Processor

$60.00







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.