On Wed, Jan 24, 2007 at 02:57:35PM -0500, Chris Frey wrote:
> On Wed, Jan 24, 2007 at 11:05:10AM -0800, Greg KH wrote:
> > Thanks to the work of the "Barry" project
> >     <http://www.netdirect.ca/software/packages/barry/>
> > I've created a simple little kernel driver to automatically switch a
> > BlackBerry into charging mode whenever it is plugged in.
> 
> Hi, I'm from the above mentioned Barry project.
> 
> This driver is fantastic, thanks!
> 
> Just as a heads-up, for the Blackberry Pearl, it has a different
> product ID:
> 
> > +#define RIM_VENDOR         0x0fca
> > +#define BLACKBERRY         0x0001
> 
> Pearl is 0x0006 instead of 0x0001.
> 
> You can see the updated bcharge.cc in CVS at the moment:
> 
> http://barry.cvs.sourceforge.net/barry/barry/tools/bcharge.cc?revision=1.4&view=markup
> 
> The reason this hasn't been properly released yet is that the Pearl
> also seems to have two modes:
> 
> The default mode presents an SDcard interface, class 8, Mass Storage,
> to the kernel, which usually snaps it right up.  The interface used
> by the Windows software to read contacts and calendar items, etc,
> is a class 0xFF.  This class doesn't always show up in the lsusb -v
> list.

How does it switch between the two modes, is it a user driven switch, or
is it another "magical command" type thing?

> So I strongly suspect there will be a similar handshake for the Pearl
> just to get it to show both classes on its lsusb -v listing.  When I figure
> that out, I'll let you know or send a patch.

Please do, if you just send the info, that should be all that I need to
add this to the driver.  So for now I'll hold off adding that device id.

> The kernel is the best place for these little USB dances, so thanks again.

No problem, glad to help out.

thanks,

greg k-h

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to