Skip to content

feryw/gc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.                                           -e          Enable all active gadget.
-d          Disable all active gadget.
-a <function> [configs ...]   Add a gadget function.                           
-r <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.

About

A Simple Tool To Control Usb Gadget

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 98.0%
  • CMake 2.0%