Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

node.js bindings for libusb-1.0

branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 examples
Octocat-spinner-32 src
Octocat-spinner-32 tests
Octocat-spinner-32 util
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Makefile
Octocat-spinner-32 README
Octocat-spinner-32 lsusb.js
Octocat-spinner-32 package.json
Octocat-spinner-32 usb.js
Octocat-spinner-32 usb_ids.js
Octocat-spinner-32 wscript
README
libusb-1.0 bindings for Node.js
==============================
node-usb is just a sample of how to interact between node.js ->  Google V8 -> external libraries (in this case libusb-1.0).
At the moment only discovering of availble devices is possible and no asynchronous support is integrated.

Tested with Node version 0.2.4

Installation
==============================
Make sure you have installed libusb-1.0-0-dev (Ubuntu: sudo apt-get install libusb-1.0-0-dev).
Just run
	make setup
in current directory and wait. "Unit tests" can be executed with
	node tests/node-usb-test.js

If you want to use the USB vendor ids, execute
	make create-usb-ids

Examples
=============================
A simple version of lsusb can be executed by typing
	node examples/lsusb.js


TODO
=============================
* Move to asynchronous calls
* read/write streams
* ...

More information
==============================
Christopher Klein <ckl[at]ecw[dot]de>
http://twitter.com/schakko
http://wap.ecw.de
Something went wrong with that request. Please try again.