I would like to write a java routine to send and receive from a usb port. I have been looking at several sites and it appears to more than a trivial task. I did run into this response to the question on a site and am curious about the statement concerning mounting it and writing to it like a drive. Anyone have any insite on this approach and maybe a little explanation as to how to do it?
The following is the posting from the other site:
if you are looking to directly build something in low level you can see http://www.beyondlogic.org/
for information about specs...
If you want some examples of code you can look at http://www.libusb.org/wiki/libusb-1.0
... It's in C though.
If you just want to communicate with the USB in linux, you can just have linux mount it and write to it as a regular drive without having to deal with all the other stuff...