最終更新:2015-02-11 (水) 14:12:11 (3360d)  

Linux/USB/claim
Top / Linux / USB / claim

libusb-1.0

メモ

  • You must claim the interface you wish to use before you can perform I/O on any of its endpoints.
  • It is legal to attempt to claim an already-claimed interface, in which case libusb just returns 0 without doing anything.
  • If auto_detach_kernel_driver is set to 1 for dev, the kernel driver will be detached if necessary, on failure the detach error is returned.
  • Claiming of interfaces is a purely logical operation; it does not cause any requests to be sent over the bus. Interface claiming is used to instruct the underlying operating system that your application wishes to take ownership of the interface.
  • This is a non-blocking function.
  • Automatic kernel driver detachment is disabled on newly opened device handles by default.

libusb-0.1

Linuxカーネル

Android/USB Host API

ioctl