USB
  • control when the link's power session is active
  • Transaction
  • Token(IN/OUT/PING[high speed])
  • Data(DATA0/DATA1)
  • Handshake(ACK/NAK/STALL/NYET[high speed])
  • Data Flow Types
  • Used to configure the device, get information about it, send commands to it, retrieve status information.
  • reliable short data packets
  • Control Read/Write Sequences
    • setup stage(Setup Transaction)
    • data stage(Bulk transaction)
    • status stage(Bulk Transaction)
  • USB Descriptor Hierarchy
    • <kernel src>/include/linux/usb/ch9.h
      • defined in chapter 9 of the USB 2.0 specification and in the Wireless USB 1.0 (spread around).
  • Represent the devices connected to the USB bus
  • A USB device has only one device descriptor
  • struct usb_device
  • struct usb_device_descriptor
    • bMaxPacketSize0
      • the maximum packet size for the Default Control Pipe
page_revision: 53, last_edited: 1240976393|%e %b %Y, %H:%M %Z (%O ago)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License