libftdi Archives

Subject: Re: endpoints numbers (default & actual)

From: Anton Smirnov <dev@xxxxxxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Tue, 6 Aug 2013 19:19:03 +0600
i've found my request sent is exactly as expected according to this manual:

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 libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx


Current Thread