On Thu, May 17, 2018 at 07:03:34PM +0200, Guido Kiener wrote:
> The ioctls USBTMC_IOCTL_SET_OUT_HALT or USBTMC_IOCTL_SET_IN_HALT
> send a SET_FEATURE(HALT) request to the corresponding OUT or IN pipe.
> 
> Useful for testing devices and client applications: The ioctls force
> the device to simulate the error state at the specified pipe.

Nice for testing, yes, but is this really needed in the generic kernel
driver?  Shouldn't you be testing your device with the correct usbtest
driver instead?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to