AminetAminet
Search:
84491 packages online
About
Recent
Browse
Search
Upload
Setup
Services

driver/other/anaiis_xmass.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:xmass examine massstorage
Author:Gilles Pelletier
Uploader:gilles pelletier live fr (Gilles Pelletier)
Type:driver/other
Version:0.02 (23-Apr-2024)
Requires:ANAIIS / Sirion
Architecture:m68k-amigaos
Date:2024-04-23
Download:http://aminet.net/driver/other/anaiis_xmass.lha - View contents
Readme:http://aminet.net/driver/other/anaiis_xmass.readme
Downloads:579

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

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


Steps
~~~~~
V0.02 23-Apr-2023 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.


Contents of driver/other/anaiis_xmass.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown]                  824    1519  54.2% -lh5- fe8b Apr 23 21:15 Anaiis_functions/xmass/anaiis_xmass.readme
[unknown]                  746    2503  29.8% -lh5- 404a Apr 20 13:36 Anaiis_functions/xmass/args.c
[unknown]                  258     478  54.0% -lh5- 5091 Apr 20 13:31 Anaiis_functions/xmass/args.c.info
[unknown]                   45      45 100.0% -lh0- 363d Sep 11  2023 Anaiis_functions/xmass/args.h
[unknown]                  215     478  45.0% -lh5- b4e9 Apr 20 13:31 Anaiis_functions/xmass/args.h.info
[unknown]                   70     115  60.9% -lh5- fc64 Sep 11  2023 Anaiis_functions/xmass/config.h
[unknown]                  215     478  45.0% -lh5- af3d Apr 20 13:32 Anaiis_functions/xmass/config.h.info
[unknown]                  269     628  42.8% -lh5- 5b8f Sep 11  2023 Anaiis_functions/xmass/gcc.info
[unknown]                  256     628  40.8% -lh5- 958c Sep 11  2023 Anaiis_functions/xmass/gcc/bin.info
[unknown]                11619   22160  52.4% -lh5- 8aa2 Apr 23 17:36 Anaiis_functions/xmass/gcc/bin/xmass
[unknown]                  415     854  48.6% -lh5- 1434 Mar 25 20:11 Anaiis_functions/xmass/gcc/bin/xmass.info
[unknown]                    5       5 100.0% -lh0- be68 Sep 11  2023 Anaiis_functions/xmass/gcc/build
[unknown]                  482     834  57.8% -lh5- c94b Sep 11  2023 Anaiis_functions/xmass/gcc/Build.info
[unknown]                  289    1033  28.0% -lh5- be76 Apr 23 11:36 Anaiis_functions/xmass/gcc/makefile
[unknown]                  188     830  22.7% -lh5- 8e52 Mar 25 20:03 Anaiis_functions/xmass/gcc/makefile.info
[unknown]                  259     628  41.2% -lh5- 127b Sep 11  2023 Anaiis_functions/xmass/gcc/obj.info
[unknown]                  842    1863  45.2% -lh5- 071a Apr 23 11:47 Anaiis_functions/xmass/gcc/obj/args.o
[unknown]                  184     285  64.6% -lh5- 1a5c Apr 23 11:47 Anaiis_functions/xmass/gcc/obj/libs.o
[unknown]                 2422    5463  44.3% -lh5- c9f9 Apr 23 17:36 Anaiis_functions/xmass/gcc/obj/main.o
[unknown]                 1629    4100  39.7% -lh5- 68c3 Apr 23 11:47 Anaiis_functions/xmass/gcc/obj/mass_storage.o
[unknown]                 2932    6110  48.0% -lh5- 3563 Apr 23 11:47 Anaiis_functions/xmass/gcc/obj/usb_device.o
[unknown]                  252     628  40.1% -lh5- 6ff8 Sep 11  2023 Anaiis_functions/xmass/gcc/res.info
[unknown]                  415     854  48.6% -lh5- 1434 Mar 25 20:05 Anaiis_functions/xmass/gcc/res/xmass.info
[unknown]                  257     628  40.9% -lh5- 6afc Sep 11  2023 Anaiis_functions/xmass/include.info
[unknown]                  153     266  57.5% -lh5- 8ef7 Sep 11  2023 Anaiis_functions/xmass/include/clib/usbfd_protos.h
[unknown]                  270     869  31.1% -lh5- 968f Sep 11  2023 Anaiis_functions/xmass/include/clib/usbhcd_protos.h
[unknown]                  348     732  47.5% -lh5- 9ca1 Sep 11  2023 Anaiis_functions/xmass/include/clib/usbresource_protos.h
[unknown]                  996    5749  17.3% -lh5- 578e Sep 11  2023 Anaiis_functions/xmass/include/clib/usbsys_protos.h
[unknown]                 1647   10034  16.4% -lh5- 2d6c Sep 11  2023 Anaiis_functions/xmass/include/inline/usbsys.h
[unknown]                  307     784  39.2% -lh5- fa72 Sep 11  2023 Anaiis_functions/xmass/include/pragmas/usbfd_pragmas.h
[unknown]                  455    1677  27.1% -lh5- 4e4e Sep 11  2023 Anaiis_functions/xmass/include/pragmas/usbhcd_pragmas.h
[unknown]                  387    1381  28.0% -lh5- 13be Sep 11  2023 Anaiis_functions/xmass/include/pragmas/usbresource_pragmas.h
[unknown]                 1199    6858  17.5% -lh5- 67a8 Sep 11  2023 Anaiis_functions/xmass/include/pragmas/usbsys_pragmas.h
[unknown]                  487    1482  32.9% -lh5- 9caf Sep 11  2023 Anaiis_functions/xmass/include/proto/usbfd.h
[unknown]                  517    1563  33.1% -lh5- 4907 Sep 11  2023 Anaiis_functions/xmass/include/proto/usbhcd.h
[unknown]                  542    1710  31.7% -lh5- 6bf1 Sep 11  2023 Anaiis_functions/xmass/include/proto/usbresource.h
[unknown]                  492    1501  32.8% -lh5- 965f Sep 11  2023 Anaiis_functions/xmass/include/proto/usbsys.h
[unknown]                  187     404  46.3% -lh5- bb81 Sep 11  2023 Anaiis_functions/xmass/include/readme
[unknown]                  473    1099  43.0% -lh5- 1697 Sep 11  2023 Anaiis_functions/xmass/include/usb/devclasses.h
[unknown]                 2000    6157  32.5% -lh5- 90da Sep 11  2023 Anaiis_functions/xmass/include/usb/hub.h
[unknown]                 5330   18860  28.3% -lh5- c9b5 Sep 11  2023 Anaiis_functions/xmass/include/usb/system.h
[unknown]                 2603    8294  31.4% -lh5- 951d Sep 11  2023 Anaiis_functions/xmass/include/usb/usb.h
[unknown]                  637    1714  37.2% -lh5- f031 Sep 11  2023 Anaiis_functions/xmass/include/usb/usbtags.h
[unknown]                   95     135  70.4% -lh5- 1305 Apr 23 11:38 Anaiis_functions/xmass/libs.c
[unknown]                  260     478  54.4% -lh5- 56c7 Apr 20 13:32 Anaiis_functions/xmass/libs.c.info
[unknown]                   91     124  73.4% -lh5- 7829 Apr 23 11:38 Anaiis_functions/xmass/libs.h
[unknown]                  210     478  43.9% -lh5- d029 Apr 20 13:32 Anaiis_functions/xmass/libs.h.info
[unknown]                 2320    8902  26.1% -lh5- a691 Apr 23 20:40 Anaiis_functions/xmass/main.c
[unknown]                  260     478  54.4% -lh5- 405f Apr 20 13:32 Anaiis_functions/xmass/main.c.info
[unknown]                 1623    7865  20.6% -lh5- df97 Apr 21 13:22 Anaiis_functions/xmass/mass_storage.c
[unknown]                  259     478  54.2% -lh5- 6741 Apr 20 13:32 Anaiis_functions/xmass/mass_storage.c.info
[unknown]                  474    1177  40.3% -lh5- c55e Mar 18 22:06 Anaiis_functions/xmass/mass_storage.h
[unknown]                  214     478  44.8% -lh5- 1b73 Apr 20 13:32 Anaiis_functions/xmass/mass_storage.h.info
[unknown]                  269     628  42.8% -lh5- 5b8f Sep 11  2023 Anaiis_functions/xmass/sas.info
[unknown]                  271     628  43.2% -lh5- 3296 Sep 11  2023 Anaiis_functions/xmass/sas/bin.info
[unknown]                11373   19112  59.5% -lh5- e294 Apr 23 20:47 Anaiis_functions/xmass/sas/bin/xmass
[unknown]                  419     854  49.1% -lh5- b276 Apr 14 10:40 Anaiis_functions/xmass/sas/bin/xmass.info
[unknown]                  491     837  58.7% -lh5- 6e53 Sep 11  2023 Anaiis_functions/xmass/sas/Build.info
[unknown]                 1711    2632  65.0% -lh5- a81a Sep 11  2023 Anaiis_functions/xmass/sas/Debug
[unknown]                  363     822  44.2% -lh5- 24e5 Sep 11  2023 Anaiis_functions/xmass/sas/Debug.info
[unknown]                  536     834  64.3% -lh5- 4a5c Sep 11  2023 Anaiis_functions/xmass/sas/Edit.info
[unknown]                  439     838  52.4% -lh5- 1c20 Sep 11  2023 Anaiis_functions/xmass/sas/Find.info
[unknown]                  385    1100  35.0% -lh5- 8e0a Apr 23 11:35 Anaiis_functions/xmass/sas/makefile
[unknown]                  197     834  23.6% -lh5- 9141 Sep 11  2023 Anaiis_functions/xmass/sas/makefile.info
[unknown]                  271     628  43.2% -lh5- 018e Sep 11  2023 Anaiis_functions/xmass/sas/obj.info
[unknown]                  770    1376  56.0% -lh5- 0635 Apr 23 18:26 Anaiis_functions/xmass/sas/obj/args.o
[unknown]                  207     284  72.9% -lh5- c0d6 Apr 23 18:26 Anaiis_functions/xmass/sas/obj/libs.o
[unknown]                 2159    3968  54.4% -lh5- 25a6 Apr 23 20:47 Anaiis_functions/xmass/sas/obj/main.o
[unknown]                 1693    3612  46.9% -lh5- 960c Apr 23 18:26 Anaiis_functions/xmass/sas/obj/mass_storage.o
[unknown]                 2394    4188  57.2% -lh5- c2e2 Apr 23 18:26 Anaiis_functions/xmass/sas/obj/usb_device.o
[unknown]                  445    2950  15.1% -lh5- 8fc0 Sep 11  2023 Anaiis_functions/xmass/sas/SCoptions.info
[unknown]                 5001   20032  25.0% -lh5- 6743 Apr 23 18:26 Anaiis_functions/xmass/usb_device.c
[unknown]                  256     478  53.6% -lh5- 9400 Apr 20 13:32 Anaiis_functions/xmass/usb_device.c.info
[unknown]                  325     689  47.2% -lh5- 7d2f Mar 24 14:26 Anaiis_functions/xmass/usb_device.h
[unknown]                  214     478  44.8% -lh5- 859f Apr 20 13:32 Anaiis_functions/xmass/usb_device.h.info
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total        75 files   80113  212676  37.7%            Apr 24 02:52

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>