README 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. Description:
  2. -----------
  3. u3-tool is a tool for unlocking and configuring U3 smart USB Flash devices.
  4. Main features:
  5. - Change CD partition size and Replace CD image
  6. - (de-)secure data partition
  7. - Unlock secured data partition
  8. Supported device:
  9. ----------------
  10. In theory all U3 USB flash devices should be supported. A list of U3 compatible devices can be obtained from http://www.U3.com.
  11. The software is currently tested with the following drives:
  12. * Sandisk Cruzer Micro U3 512Mb
  13. * Sandisk Cruzer Micro U3 4Gb
  14. * Verbatim Store 'N Go 1Gb
  15. Selecting a subsystem:
  16. ---------------------
  17. U3-Tool can utilize a number of subsystems to access the USB drive. Which one to use depends on you Operating system and version.
  18. - sg
  19. The sg subsystem uses the Linux SCSI Generic interface to communicate with the device. The big advantage of this subsystem is that the u3-tool can issue commands to the device while the device is under control of the usb-storage Linux subsystem. This means that u3-tool can be used without having to unmount the volume or unassociate the device from any kernel drivers. Big disadvantage is that the sg system on older kernels(<2.6.22??) don't allow all commands to be executed.
  20. When building on Unix the 'u3-tool' executable uses this subsystem.
  21. - LibUSB
  22. The LibUSB subsystem uses LibUSB to send raw USB commands to the device. The advantage of this subsystem is that LibUSB should work on all Linux kernels >= 2.4, and should even work other operating systems.
  23. However... For LibUSB to be able send commands to the USB device it needs exclusive access to the device. This requires the Linux usb-storage system, which makes the device available as disk to the end-user, to release the device. So effectively this means that you can't use the device as disk and use U3-tool at the same time.
  24. When building on Unix the 'u3-tool-usb' executable uses this subsystem.
  25. - spt
  26. The spt subsystem uses Microsoft Windows SCSI pass through interface to communicate with the device. This is similar to the sg subsystem, with the difference that this is Windows specific.
  27. When building on Windows the 'u3-tool.exe' executable uses this subsystem.
  28. So what subsystem do you need to use? Simply said:
  29. - Microsoft Windows --> spt subsystem
  30. - Linux >2.6.21? --> sg subsystem
  31. - Linux <=2.6.21? --> LibUSB
  32. - Other OS(BSD/Mac OS?) --> LibUSB, but hasn't been tested
  33. Compilation:
  34. ------------
  35. If you have downloaded the source:
  36. - On Linux/Unix see INSTALL for instructions.
  37. - On Windows you need the mingw32 compiler. Type 'make -f Makefile.win' in the src/ directory. Or open the u3_tool.dev file with Bloodshed's Dev-C++(http://www.bloodshed.net/devcpp.html).