Line 207:
Line 207:
| 26 (ioctl) || USBV0_IOCTL_DEVREMOVALHOOK || - || - || Both
| 26 (ioctl) || USBV0_IOCTL_DEVREMOVALHOOK || - || - || Both
|
|
−
Returns when the device is unplugged or reset (in which cases the return value is IPC_SUCCESS / IPC_OK), or when /dev/usb/oh0 is closed (IPC_ENOENT).
+
Returns when the device is unplugged or reset (in which cases the return value is IPC_SUCCESS / IPC_OK), or when the child device (/dev/usb/oh0/%x/%x) is closed (IPC_ENOENT).
Only one hook is allowed at the same time. Further ioctls to set up another hook before it is triggered result in IPC_EEXIST.
Only one hook is allowed at the same time. Further ioctls to set up another hook before it is triggered result in IPC_EEXIST.