Short:        xmass examine massstorage
Author:       Gilles Pelletier
Uploader:     gilles pelletier live fr (Gilles Pelletier)
Type:         driver/other
Version:      0.04 (08-May-2025)
Requires:     ANAIIS / Sirion
Architecture: m68k-amigaos

Introduction
~~~~~~~~~~~~
Proof of concept, an educational way to approach a difficult subject: 
Why my USB stick doesn't want to work ?

Sample program to access an USB mass storage device through libusb on Linux 
based on the work of Hiroka Ihara
https://github.com/ihr486/libusb-msdbot  

Compiler needed
~~~~~~~~~~~~~~~
gcc (ADE) and sasc 6.58
ADE can be found here https://aminet.net/package/dev/gcc/ADE

The files
~~~~~~~~~
main.c           the main program
usb_device.h
usb_device.c     how to access to usb device, adapted to the ANAIIS/Sirion stack
mass_storage.h
mass_storage.c   some handy functions to manage the bulk only protocol

and other files
config.h
args.h
args.c           Amiga specific, CLI Workbench icon parameters
libs.h
libs.c           Amiga specific, something to delay
dump.h
dump.c           MBR/BPB dump

Future
~~~~~~
- read RDB or MBR to detect the filesystem to use.


Steps
~~~~~
V0.04 14-May-2025 Fix testunitready
      27-Sep-2024 Complete MBR/BPB dump

V0.03 28-Sep-2024 block zero dump

V0.02 23-Apr-2024 bump release

V0.01 03-Sep-2023 basic checks
      02-Sep-2023 gcc version
      01-Sep-2023 CLI/WB arguments
      31-Jul-2023 Adapt libusb code to ANAIIS


Contact address
~~~~~~~~~~~~~~~
Any mail, comments, suggestions, documentations are welcome!

Please send a mail with the title "ANAIIS" at the following mail address
gilles dot pelletier at live dot fr

Many thanks.
