~/talk

A Tour of USB Device Controller (UDC) in Linux

links:none on file
slides:none on file

Covers the Linux UDC implementation for USB 2.0 EP0 control handling, explains how gadget core, UDC driver and endpoints interact, and shows queuing/completion of transfer requests and reset/address/configure sequences. Demonstrates testing with usbtest and gadget0 plus prebuilt gadgets (mass storage, Ethernet, serial) and reports practical behaviors: per-device 16 in + 16 out endpoint limit, CDC ACM uses three endpoints, functionfs vs raw gadget tradeoffs, and common failure modes that can hang the host requiring reboots.

AI-written summary · about

  1. 0:00USB Device Controller intro
  2. 12:48USB Gadget architecture
  3. 13:53UDC driver core
  4. 15:00UDC start/stop & pull-up
  5. 16:25Endpoint management
  6. 17:29Endpoint control
  7. 18:37Request handling
  8. 22:35UDC data structures
  9. 23:38Driver initialization
  10. 24:20USB bus events
  11. 25:26USB enumeration
  12. 26:31Endpoint zero transfers
  13. 28:43Data transfers on endpoints
  14. 29:06Testing UDC tools
  15. 31:57Practical gadget examples
  16. 34:07Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.