According to USBTMC usb488 subclass spec, wValue hast to be 0 for both
LOCAL_LOCKOUT and GO_TO_LOCAL. At least required for R&S HMO1002, the
bad request results in a STALL. Fixes bug #783.
LIBUSB_ENDPOINT_IN |
LIBUSB_REQUEST_TYPE_CLASS |
LIBUSB_RECIPIENT_INTERFACE,
- LOCAL_LOCKOUT, 1,
+ LOCAL_LOCKOUT, 0,
uscpi->interface,
&status, 1,
TRANSFER_TIMEOUT);
LIBUSB_ENDPOINT_IN |
LIBUSB_REQUEST_TYPE_CLASS |
LIBUSB_RECIPIENT_INTERFACE,
- GO_TO_LOCAL, 1,
+ GO_TO_LOCAL, 0,
uscpi->interface,
&status, 1,
TRANSFER_TIMEOUT);