On Tue, Jul 31, 2007 at 12:39:20AM -0400, Martin Owens wrote: > The solution it seems is to get btool while probing to look for a > blackberry pearl in MSD mode and switch it to full mode without going > to the trouble of having to run bcharge; in fact I would go so far as > to suggest creating a seperate application for doing this action and > putting a modification in the hal so when ever a pearl is plugged in > it's moved to the duel mode every time, this I think we should do > outside of the barry distribution (it's more of a hal/udev/kernel > thing anyway) since we don't want to _require_ people to install > barry to get their pearl to do sane things with the usb stack. (I'd > also suggest putting bcharge in hal too, but that's a personal > request)
bcharge already switches the device to dual mode, but even then, the device appears as Mass Storage, and most systems still load usb_storage and claim the device anyway. Once this happens, there's nothing btool or bcharge can do. You have to rmmod usb_storage before you can access it. Alternately run "bcharge -o" to set the device so Mass Storage is not available. There is a kernel module in the latest kernel called berry_charge.c that is based on bcharge. But even there, usb_storage is still a problem. It's a system configuration problem, due to the way USB works. - Chris ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Barry-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/barry-devel
