Bug 878 - Get rid of libftdi in libsigrok, use direct libusb1 calls or small wrappers
Summary: Get rid of libftdi in libsigrok, use direct libusb1 calls or small wrappers
Status: CONFIRMED
Alias: None
Product: libsigrok
Classification: Unclassified
Component: Common: USB handling code (show other bugs)
Version: unreleased development snapshot
Hardware: All All
: Normal normal
Target Milestone: ---
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-20 19:13 CET by Uwe Hermann
Modified: 2016-12-20 19:13 CET (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Uwe Hermann 2016-12-20 19:13:46 CET
Since more and more issues with libftdi come up and we don't actually use all that much functionality of the library, it would be nice if we could remove it completely as a libsigrok dependency.

That also has portability and simplification advantages of having to deal with fewer libraries on all OSes and architectures (Windows, Linux, Mac OS X, FreeBSD, Android, embedded stuff, cross-compile setups, etc. etc.).

Some drivers can be changed to simply use libusb1 directly without too much hassle, for others we might want to put some small helper wrappers into src/ftdi.c or such to avoid too much code duplication across drivers.

We can start to convert drivers to pure libusb1-based implementation one after the other with proper regression-testing; once all are converted, the libftdi dependency can be removed and this bug can be closed.