2022-01-24 21:59:51 +08:00
2022-01-20 16:52:55 +08:00
2022-01-20 16:52:55 +08:00
2022-01-20 16:52:55 +08:00
2022-01-20 16:52:55 +08:00
2022-01-20 16:52:55 +08:00
2022-01-20 16:52:55 +08:00
2022-01-24 21:39:33 +08:00
2022-01-20 16:52:55 +08:00
2022-01-20 16:52:55 +08:00
2022-01-20 16:52:55 +08:00
2022-01-20 16:52:55 +08:00
2022-01-20 16:52:55 +08:00
2022-01-20 16:52:55 +08:00
2022-01-20 16:52:55 +08:00
2022-01-20 16:52:55 +08:00
2022-01-20 16:52:55 +08:00
2022-01-20 16:52:55 +08:00
2022-01-20 16:52:55 +08:00
2022-01-20 16:52:55 +08:00
2022-01-20 16:52:55 +08:00
2022-01-20 16:52:55 +08:00
2022-01-20 16:52:55 +08:00
2022-01-20 16:52:55 +08:00
2022-01-20 16:52:55 +08:00
2022-01-20 16:50:57 +08:00
2022-01-20 16:52:55 +08:00

Gadget Controller

A Simple Tool To Control Usb Gadget

Dependency

  • Cmake
  • libusbgx

Compile

git clone https://github.com/HandsomeMod/gc.git
cd gc
mkdir build
cd build
cmake ..
make

Usage

Usage : gc [options....] 
-h          Show this help. 
-l          Show active gadget functions. 
-c          Clean all active gadget.                                            
-a <function> [configs ...]   Add a gadget function.                            
-d <name>      Delete a gadget function by name in list (-l).  

Examples

# Add a rndis function to gadget
gc -a rndis
# Show Gadget Status
gc -l
# Add a mass storage function to gadget
gc -a mass /home/user

License

Gadget Controller is licensed under GPL-2.0.

Description
No description provided
Readme GPL-2.0 76 KiB
Languages
C 97.7%
CMake 2.3%