Hi Chris
I have tested with btool and am uncertain of the result of my test.
Here is what I get (removing the PIN):
Blackberry devices found:
Device ID: 0xABCDEFG. PIN: 12345678, Description: RIM BlackBerry Device
Using device (PIN): 12345678
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.......
Barry::Error caught: Bad packet size. Packet: 26. DataSize(): 26.
Required size: 44
I take it this is a fail?
So then I moved bcharge out of /root and back to its original location.
Guess what? The drive mounted. I ran the btool -d and it listed all my
address book entries.
I ejected my phone / unmounted, then unplugged it. I plugged it back in
and the drive mounted again.
WEIRD.
BUT, I had rebooted about 30 minutes ago. I notice before that bcharge
worked if the machine had been freshly bounced.
Will keep you posted.
Louis
On Fri, 2010-05-28 at 19:34 -0400, Chris Frey wrote:
> On Mon, May 24, 2010 at 10:31:25PM +0200, Louis van Dyk wrote:
> > Hi Chris
> >
> > Sorry, this thing has slipped my mind until I needed to xfer a file to
> > my PC at home.
> >
> > I moved bcharge out of /usr/sbin/ into /root/. When I plugged the BB
> > in, the drive mounted. So you are correct. Bcharge DOES have something
> > to do with it.
>
> One last thing to check, to see if you can just ignore bcharge on your
> system. As root, try doing a:
>
> btool -d "Address Book"
>
> If you can access the database like this, then you don't need bcharge.
>
> There are 3 issues involved here:
>
> - battery charging (lsusb -v should report 500mA) which often needs
> bcharge, but may not always, depending on your firmware
> version
>
> - database access, also often needs bcharge... test with btool
>
> - drive mounting... never needs bcharge
>
> It does sound like bcharge may need to be fixed for your particular device.
> Unfortunately, I'd need a USB capture of how Windows handles this, in
> order to fix it. Such captures need to be done with Windows in a
> virtual machine, so that all resets and control messages are captured
> outside of it.
>
> Check if you can still access the database without bcharge, first.
>
> - Chris
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Barry-devel mailing list
> Barry-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/barry-devel
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel