Hello, Status update: I can read C but I haven't done C programming in a very long time so I've been avoiding hacking barry while I'm still not sure of everything that's going on.
Fortunately for me I do know python, and python has pyusb which has allowed me to play around with my Blackberry Pearl from the comfort of a high level language. So what I've found is, Once bcharge has run and the device is in 004 mode (MSD+Serial) the computer will mount the MSD; if I attempt to use btool -l it dies horribly with permission denied because the usb_storage has already claimed the device. But I had a poke around probe.cc and ran btool -v -l and bashed some of the commands on the python command line and I can still access the information even though usb_storage is in the way; it seems I don't need to claim the device to send bulkWrite or bulkRead (at least in pyusb) Attached is my python hacking log; I may just end up making a python utility which fills some nice udev attributes using udev rules; I also noticed that bcharge would be run more than once in the current rule set so I'm going to investigate adding that it should only run bcharge when bmaxpower=="100mA" since that is a sysfs property available to the udev rule. Best Regards, Martin owens
barry.python-acking
Description: Binary data
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Barry-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/barry-devel
