On Sat, 18 Sep 2004, Craig Perry wrote: > I've got a rim blackberry 7230, and I would be interested in getting it > to talk to linux and freebsd. I've spent the last week reading the usb > specs etc. And lots of usb source code, and I gotta say the usb code is > actually quite comprehensible :o)
What's a rim blackberry 7230? > Anyway I know the basics from other modules I've written, so I've got my > skeletal usb driver claiming the vendor/product I'd when connected in > 2.6.8 > > I've been using usb snoopy on windows to trap the comms between the > desktop manager software for blackberry on windows and the device, and > so far everytime, usb snoopy records the same transactions from the > device on connection, so I suspect by just spitting this data sequence > out at the blackberry I can create a connection. > > Now where do I go from here? > > Rim are not very forthcomming with information, and the licence for > desktop manager says I can't decompile it, to see how to talk to this > device. That's not a good situation. While your driver can parrot the data you've seen, unless you know what it means you won't be able to handle errors or other exceptional situations. > Usb snoopy seems to only record the control pipe, is this all I need? > How would I then read / write from the device? No, USB Snoopy records bulk and interrupt pipes too. Probably isochronous as well, but I haven't tried it. If you're seeing data only for the control pipe, it must be because no other pipes are in use. > I suspect it may emulate a serial port in some way, just purely because > their previous devices have all been serial affairs. > > In this case could I just base most of it on the ipaq driver or similar? > How could I confirm my suspicions? > > Any help / pointers appreciated. Sorry I can't be of more help. In general it's extremely difficult to drive a device without knowing how it works, whether from published standards, other drivers, or from the manufacturer. Alan Stern ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
