最終更新:2015-02-02 (月) 20:06:22 (3369d)
usb_device_connect_kernel_driver
Top / usb_device_connect_kernel_driver
/* Requests the kernel to connect or disconnect its driver for the specified interface. * This can be used to ask the kernel to disconnect its driver for a device * so usb_device_claim_interface can claim it instead. */
int usb_device_connect_kernel_driver(struct usb_device *device, unsigned int interface, int connect);
メモ
- USBDEVFS_CONNECT?かUSBDEVFS_DISCONNECTをioctl
ctl.ioctl_code = (connect ? USBDEVFS_CONNECT : USBDEVFS_DISCONNECT);