Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I use Mass Storage devices (e.g. USB hard drive) with javax.usb?

Devices javax.usb USB
0
Posted

Can I use Mass Storage devices (e.g. USB hard drive) with javax.usb?

0

Like HID, Mass Storage is a protocol layered on USB. To talk to a USB Mass Storage device, you must implement USB<->Mass Storage translation on top of javax.usb. This is going to be much harder than HID<->USB translation. Additionally, the device stores its filesystem like any other storage device, by using a partition table and filesystem(s). So you will have to implement code to handle partition tables and filesystems (probably the standard MSDOS partition table and FAT32 filesystem, although storage devices can use anything). All those layers are very complex and each OS has very complex drivers to handle all the layers, so implementing them on top of javax.usb would be extremely difficult, but it is possible (good luck!). It should be mentioned that all OSes already have USB Mass Storage support and will make the USB device available through standard storage access mechanisms (i.e. standard I/O). In almost all cases you should be able to access USB Mass Storage devices through norm

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123