Bug 893 - Support asynchronous FTDI transfers
Summary: Support asynchronous FTDI transfers
Status: RESOLVED WONTFIX
Alias: None
Product: libsigrok
Classification: Unclassified
Component: Driver: asix-sigma (show other bugs)
Version: unreleased development snapshot
Hardware: All All
: Normal normal
Target Milestone: ---
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-12 18:04 CET by jry
Modified: 2020-06-03 18:08 CEST (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jry 2017-02-12 18:04:22 CET
Original ASIX Sigma software is using (faster) asynchronous FTDI transfers.

Unfortunately libftdi in asynchronous mode doesn't return with timeout when it receives smaller than required data frame. It simply hangs in ftdi_transfer_data_done(): http://developer.intra2net.com/mailarchive/html/libftdi/2016/msg00118.html

We should probably switch from libftdi to libusb: http://sigrok.org/bugzilla/show_bug.cgi?id=878
Comment 1 Gerhard Sittig 2020-06-03 18:08:01 CEST
Since the async operation reportedly cannot be used with the external fdti 
library, I'm closing this item. The current driver implementation keeps 
returning to application code, which increases UI responsiveness. Speedup 
of the sample memory download could get addressed later, most probably 
after eliminating the ftdi lib dependency, ideally in common usb support 
code of the libsigrok component.