usb: usbtmc: Add test functions to set HALT Feature (Stall)
Greg Kroah-Hartman
maintainerPATCH 10/12 usb: usbtmc: Add test functions to set HALT Feature (Stall)
Quoted 5 lines · Guido Kiener
The ioctls
USBTMC_IOCTL_SET_OUT_HALTorUSBTMC_IOCTL_SET_IN_HALTsend aSET_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