i've found my request sent is exactly as expected according to this manual:
http://yosemitefoothills.com/Electronics/FTDI_Chip_Commands.html (reset)
so i'm still getting EPIPE error:
case -EPIPE:
usbi_dbg("unsupported control request");
status = LIBUSB_TRANSFER_STALL;
break;
i'm pretty sure ftdi and ftdi->usb_dev to be not null and valid:
usb_control_msg(ftdi->usb_dev,
FTDI_DEVICE_OUT_REQTYPE,
SIO_RESET_REQUEST, SIO_RESET_SIO,
ftdi->index, NULL, 0, ftdi->usb_write_timeout) != 0)
any ideas?
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to [email protected]