|
From: <se...@ar...> - 2001-06-24 06:03:07
|
> I've started porting libnjb (Nomad Jukebox) to libusb so as to support Linux; > it was originally written for BSD USB. Is there any documentation on the > libusb API, or some sample code that might help get me started? There is not much documentation on libusb API the last I looked at it (v0.1.3b). However, I have played with libusb a bit, as it has always been my plan to do a port of libnjb to Linux (I've been lazy and haven't gotten around to it yet). Anyway, what I can do is point you at the library I have been building for the Intel Pocket Concert, which uses libusb. The general architecture of my Pocket Concert API is very, very similar to my libnjb architecture, and will show you how I went about modifying my NJB approach to work with libusb. The Pocket Concert library isn't complete, but the parts you are interested in are all there. I even used consistent names for the source files between the Pocket Concert and NJB libraries, which will make it ultra-easy to follow. You can get my in-progress Pocket Concert code at: http://www.aracnet.com/~seagull/IPC/libipc.tar.gz Please do not redistribute this package, as it is nowhere near ready, and the working name I am using is very poor. It's best if it doesn't get out at this point. :) Cheers, -+JLS -- \ carpe cavy! seagull @ aracnet.com \ http://www.aracnet.com/~seagull \ (seize the guinea pig!) |