Attention: this is a legacy library and thus not supported by Toradex anymore. We recommend that you use the new libraries for all Toradex modules. Please see the Toradex CE Libraries and Code Samples for up-to-date information.
libusbx is an open source library that allows you to communicate with USB devices from userspace. As a library, it is meant to be used by developers, to facilitate the production of applications that communicate with USB hardware.
Please note that this Toradex cannot give any support for this project. We had the impression this could be a useful building block when designing an application based on Toradex computer modules.
For source code and documentation about the project, including the required registry settings, please refer to the libusbx project home page:
The libusbx driver was successfully built and tested in the following environment:
You can download a compiled version for Windows CE6 through the following link:
At the time of writing this article, the downloadable source code did not build in Platform Builder (PB).
The sources file was stored in Linux style, with LF line endings only. This caused the PB build process to finish without error message, but also without generating any code.
There's a simple workaround: open the sources file in a text editor, change line endings to CR+LF.