Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

USB Gadgets

Icenowy Zheng edited this page Oct 10, 2016 · 1 revision

USB Gadgets

In Linux kernel, USB gadgets mean the function of a USB Device Controller (in peripheral mode).

Legacy Gadgets

"Legacy Gadgets" are pre-defined single-function/composite USB gadgets. Their kernel module's name is g_*.

g_serial

The Serial Gadget has only one function: Serial over USB.

After the module is inserted, a CDC ACM Serial device will appear on the Host machine (/dev/ttyACMx), and a Gadget Serial device will appear on the gadget machine (/dev/ttyGSx).

Clone this wiki locally