You need to implement the entire USB mass storage protocol in Java if you 
want to access a mass storage device (which your memory stick is).  I 
haven't looked at it but I think it's pretty big!  Also, if you actually 
want to get files off of the stick, you'll need to implement a FAT32 
driver (or a driver for whatever filesystem you're using on your key).

Plus, you'll have to remove the normal Linux mass storage driver from your 
memory stick, since it will automatically be driving the device for you.

Unless you have a really, really good reason for wanting to do it, I'd 
highly recommend against writing a full mass storage driver and FAT32 
driver in Java on javax.usb...javax.usb is, I think, more useful for 
nonstandard devices without OS drivers, or devices with a direct, simpler 
protocol (i.e. not multiple layers of complex protocols).

Good luck! :)


On Wed, 21 Sep 2005, siva balan wrote:

>hi all thanking you ..for ur information
> now my programs working well..problem is setting the class path for
>CLASS files.. now i interfaced USB mouse in my program.. getting
>configurations,click events,X,Y interrupts are over.. now i want to use
>USB memory stick with JUSB API..my doubt is..how to access the files in
>the memory Stick.. how to know the file system in mass storage device..
>if anyone knows this .. kindly help me...
> 
>thanks in advance 
> 
>regards
>

-- 
Dan Streetman
[EMAIL PROTECTED]
---------------------
186,272 miles per second:
It isn't just a good idea, it's the law!


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
javax-usb-devel mailing list
javax-usb-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/javax-usb-devel

Reply via email to