Module rusl::usb

source ·

Functions§

  • Make a bulk transfer on the hid fd specified by fd at endpoint, data is either an input or output buffer, timeout is specified in milliseconds.
  • Claim a usb interface, this is normally done under the hood when using ioctl against an interface. However, it can be used for simply claiming, or checking if the interface is already claimed.
  • Release a usb interface.
  • Reset a usb device. Can’t find a good doc definition of what that means, but it will release any claimed interfaces on the device.