From: Stefan P. <sp...@st...> - 2003-01-02 10:45:53
|
On Tue, 31 Dec 2002, Pavel Kriz wrote: > I've spent only 2 days of sniffing and writing code - this was the first > I had to do, when I bought my iFP ;-) So the code is very "dirty". (and > also I'm no C programmer, my favourite language is perl) Now, I work on > rewriting code to be a regular shared library. Good work after a two day effort. > I'm looking for some simple solution how to mount an iFP's filesystem. > Multiplatformity would be good, but I'm afraid it's almost impossible. > Any suggestions? (I have some idea, but want to hear yours...) Mine or general? Mine are; great! I also thought about doing a filesystem driver to emulate a "removable media". There exist something called "userland filesystem". Maybe something? The download time is quite severe compared to other "filesystems" and I don't know what happens if you run the whole in kernel mode. The computer will seems to freeze as long as you don't have a preemptable kernel. If you need some kind of kerneldriver(s) you could kiss multiplatformity goodbye. Hm, I assume you mean different OSes with multiplatformity. If you mean the same OS but different hardware I think it's possible though. I had a look at the rio driver for Linux. Very simple. Maybe it's possible to use that one as a first replacement for libusb. I haven't found the time to try it out yet though. > > I had to make a minor change to make it work though. It seems that in all > > version of libusb pre-1.7 (1.6 and 1.5 at least) the function > > usb_find_devices() returns 0, independent of how many USB thingies it > > finds. I simply removed the if surrounding the call to usb_find_devices() > > and it worked perfect. > > Ok, I'll fix this, although it's not a serious bug. No, it wasn't. I wanted to point it out if anyone else got stuck in some way. Debian stable has 0.1.5 and testing has 0.1.6a. /----------------------------------\ ! Stefan Petersen, MSc EE ! \ ! http://www.stacken.kth.se/~spe/ ! \_________________________ ! spe at stacken.kth.se ! / ! umop apisdn 'sdoo ! ! stefan.petersen at home.se ! / --------------------- \----------------------------------/ |