On Tue, Jan 30, 2007 at 06:33:43PM -0500, Rick Scott wrote: > In the end, I would like to be able to > "cat </dev/blackberry/20098fa9/Address Book/Rick Scott/PIN" > to retrieve my pin, similarly to set new entries. In other > words, treat the various databases like a filesystem that you could > browse.
It is an interesting idea to make the databases available as a filesystem, but note that doing so would put us even more on the "too early" side. :-) This would mean that parsing and building of individual database record formats would also need to be in the kernel. I hadn't assumed that would be the case originally, but if so, only about 4 databases have been reverse engineered so far. This seems a bit much to put in the kernel. Alternatively, the driver would stop at the "Address Book" level in the above filesystem example. You could read and write raw records, such as: cat "/sys/.../blackberry/$DEVICEPIN/Address Book/$RECORDID" or cat "/sys/.../blackberry/$DEVICEPIN/Address Book/$RECORDINDEX" ... as ID's can have duplicates. Then use some userlevel library to do the parsing and building. - Chris ------------------------------------------------------------------------- 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