Skip to content

xstevens/usbg.rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

usbg.rs

USB Gadget Configfs Library

Building the HID + ECM example

Rust has built-in support to compile examples. You can build the HID + ECM example like so:

cargo build --example hidecm

Demo

asciicast

Vagrant

A Vagrant box is available that pre-installs packages needed to compile a loopback dummy_hcd kernel module. Be aware that the provisioning step is a two-step process and requires a vagrant reload and execution of the script mentioned at the end of the first provision to build and install the kernel module.

Before running the shell scripts accompanying the examples, run sudo modprobe dummy_hcd to load the loopback.

About

USB Gadget Configfs Library

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published