~/talk

Debugging Usually Slightly Broken (USB) Devices and Drivers

links:none on file
slides:none on file

Covers USB descriptors, Linux matching and how to force or change bindings by writing to sysfs (for example echo 04e8 6860 > driver/g_serial/new_id), shows using interface authorization and device authorization to block or permit functions, demonstrates building a gadget with ConfigFS on an Odroid and getting a TTY, and uses usbmon + Wireshark to capture transfer-level traffic (notes usbmon shows transfers only, not low-level transactions; hardware analyzers cost more).

AI-written summary · about

  1. 0:00Intro
  2. 1:42This presentation...
  3. 2:28What USB is about?
  4. 3:38Endpoints...
  5. 4:57Endpoint types
  6. 7:14USB descriptors
  7. 9:00USB classes
  8. 10:45Step by step
  9. 12:00USB Device Details
  10. 13:11What USB driver really is?
  11. 14:16How driver is chosen?
  12. 14:43USB device identity
  13. 15:54USB Host Big Picture
  14. 16:46Automation is good...
  15. 17:54sys/bus/usb/devices/demystified
  16. 19:17Limit number of allowed devices
  17. 20:26Use only subset of functionality
  18. 21:52Change configuration
  19. 22:10Add Device ID to driver
  20. 23:14Dynamic IDs formats
  21. 24:45Bind/Unbind particular interface Check which driver is bound
  22. 34:08USB bus
  23. 34:38USB transfer vs transaction
  24. 35:42USB Request Block
  25. 37:49Typical USB driver
  26. 39:06Typical bugs?
  27. 41:25HW USB sniffers - Commercial
  28. 42:10HW USB sniffers - Open Hardware
  29. 42:49USB Mon
  30. 44:14Data validity
  31. 44:38Good old friend Wireshark
  32. 47:54Summary
~/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.