最終更新:2018-02-05 (月) 16:51:37 (2265d)  

libusb-0.1/linux.h
Top / libusb-0.1 / linux.h

https://github.com/txgcwm/Linux-C-Examples/blob/master/Linux_Dnw/libusb-0.1.12/linux.h

ioctllibusb-0.1/関数
IOCTL_USB_CONTROL_IOWR?('U', 0, struct usb_ctrltransfer?)usb_control_msg
IOCTL_USB_BULK?_IOWR?('U', 2, struct usb_bulktransfer?)not used
IOCTL_USB_RESETEP?_IOR?('U', 3, unsigned int)usb_resetep?
IOCTL_USB_SETINTF?_IOR?('U', 4, struct usb_setinterface?)usb_set_altinterface?
IOCTL_USB_SETCONFIG_IOR?('U', 5, unsigned int)usb_set_configuration
IOCTL_USB_GETDRIVER?_IOW?('U', 8, struct usb_getdriver?)usb_get_driver_np
IOCTL_USB_SUBMITURB?_IOR?('U', 10, struct usb_urb?)usb_urb_transfer
IOCTL_USB_DISCARDURB?_IO('U', 11)usb_urb_transfer
IOCTL_USB_REAPURB?_IOW?('U', 12, void *)usb_urb_transfer
IOCTL_USB_REAPURBNDELAY?_IOW?('U', 13, void *)usb_urb_transfer
IOCTL_USB_CLAIMINTF_IOR?('U', 15, unsigned int)usb_claim_interface
IOCTL_USB_RELEASEINTF?_IOR?('U', 16, unsigned int)usb_release_interface
IOCTL_USB_CONNECTINFO?_IOW?('U', 17, struct usb_connectinfo?)usb_os_find_devices
IOCTL_USB_IOCTL?_IOWR?('U', 18, struct usb_ioctl?)
IOCTL_USB_HUB_PORTINFO?_IOR?('U', 19, struct usb_hub_portinfo?)IOCTL_USB_HUB_PORTINFO?
IOCTL_USB_RESET?_IO('U', 20)usb_reset?
IOCTL_USB_CLEAR_HALT?_IOR?('U', 21, unsigned int)usb_clear_halt?
IOCTL_USB_DISCONNECT?_IO('U', 22)usb_detach_kernel_driver_np
IOCTL_USB_CONNECT?_IO('U', 23)usb_os_find_devices