1 - About

The prtr-luausb module is a simple, low-level binding of the libusb1 API for Lua.

The name luausb is not original, but it reflects the purpose of the library. The prtr- prefix (a contraction for piratery.net, the website domain) is used because other libusb bindings may emerge with the same naming problems.


All support is done through the Lua mailing list.

Feel free to ask for further developments. I can't guarantee that I'll develop everything you ask, but I want my code to be as useful as possible, so I'll do my best to help you. You can also send me request or bug reports (for code and documentation) directly at jerome.vuarand@gmail.com.


This module is written and maintained by Jérôme Vuarand.

It is available under a MIT-style license.

2 - Installation

prtr-luausb sources are available in its Mercurial repository:

hg clone http://hg.piratery.net/luausb/

Tarballs of the latest code can be downloaded directly from there: as gz, bz2 or zip.

Finally, I published some rockspecs:

luarocks install prtr-luausb

3 - Manual

This module is still a work in progress. As such no documentation is maintained. Look at the source for more information.

To use it:

require 'usb'