Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Sep 5, 2012
  1. Update

    URL updated
Commits on Apr 1, 2012
  1. Added hint for ignoring failed unit tests (#10)

    Christopher Klein authored
  2. - Readme file renamed

    Christopher Klein authored
    - Removed semicolons from line end
    - Added check for pkg-config as suggested in #9 (thanks to geuis)
  3. Buffer type is now used

    Christopher Klein authored
Commits on Mar 26, 2012
  1. Fixed e-mail

    Christopher Klein authored
  2. - Data to write to an USB device must be passed as a Buffer object - …

    Christopher Klein authored
    …and not as an array.
    - bulk and interrupt transfer mode can now READ data from an USB device
Commits on Mar 24, 2012
  1. Added support for USB control transfer

    Christopher Klein authored
    Device.controlTransfer(bytesToRead, bmRequestType, bRequest, 0, 0, function(data) {}) works as expected.
    data will be a node.js buffer object which makes byte manipulation easy.
    I update the Kinect example to read the accelerometer axes from the device (taken from
Commits on Jan 16, 2012
  1. Fixed ObjectWrap::IsNearDeath assert

    Christopher Klein authored
  2. Removed absolute path from require statement

    Christopher Klein authored
Commits on Jan 11, 2012
  1. Fixes for bramps branch

    ckl-linuxmint12 authored
  2. Merge branch 'master' of into bramp…

    Christopher Klein authored
Commits on Jan 10, 2012
  1. - libev replaced with libuv

    Christopher Klein authored
    - removed EventEmitter and node_events.h dependency
    - BUG: still problems with ev_rt_now - not able to solve this at the moment (node.js in latest v0.5 and v0.6 and pre-v0.7.0)
Commits on Oct 14, 2011
  1. @bramp

    Flipped the internals to ensure a object would not be garbage collect…

    bramp authored
    …ed when it was still in us. For example, a Interface object depends on it's parent Device object, but did not hold a reference to it.
    Now each child object holds a reference to it's creator. This avoids many use after free problems. The external API has not changed.
    Also fixed a few issues with the configuration descriptors being used at the wrong time.
Commits on Oct 12, 2011
  1. @bramp
  2. @bramp
  3. @bramp

    Used the concept of libusb contexts. Makes this a little safer if the…

    bramp authored
    …re are other users of USB in this Nodejs process.
Commits on Oct 11, 2011
  1. @bramp

    Multiple changes to fix the memory management of this extension.

    bramp authored
    1) Ref() was incorrectly used to ensure the objects were kept around forever. These have been removed, and are becoming more valid.
    2) Changed the request struct, to include reference to the Object issuing the async call. This allows correct Ref()/Unref() handling between queuing the eio event, and it actually finishing. Also, this allowed some members of the structs to be removed as they were contained in the original Object.
    3) Moved the request structs to be in a consistent location.
    Soon handling will be added to ensure that Child Devices/Interface hold a reference to their parent Usb object. This will protect against premature garbage collection.
  2. @bramp
  3. @bramp
Commits on Oct 10, 2011
  1. @bramp

    Fixed the double include guards. The macro had a inconsisant trailing…

    bramp authored
    … _, which meant the guard didn't work.
  2. @bramp

    Rearranged some code to avoid using V8 methods inside of the EIO thre…

    bramp authored
    …ads. This is not allowed and can cause crashes.
    Also changed the callback code to properly check for a optional callback, and use it only if it was set.
Commits on Oct 8, 2011
  1. @bramp
Commits on Feb 23, 2011
  1. Fixed require() statements

    Christopher Klein authored
  2. Removed file

    Christopher Klein authored
  3. Merge branch 'master' of

    Christopher Klein authored
Commits on Feb 22, 2011
  1. Added first version of ToneLabST GUI (depends on express)

    Christopher Klein authored
Commits on Dec 22, 2010
  1. Added documentation

    Christopher Klein authored
    - added API documentation
    - renamed the examples
  2. API changes and segmentation fault fixes

    Christopher Klein authored
    - endpoint.submitNative is now working. pthread_mutex_lock error occurs, if the interface is not claimed before using it
    - unit test fixed: added interface.claim()
    - added V8 Ref() methods in wrapped objects, so devices/interfaces/endpoints are not GCed
    - Renamed Device::Ref() / Device::Unref() to AddReference() / RemoveReference()
    - Fixed wrong argument count message (timeout parameter is now optional)
  3. Added motor control to Microsoft Kinect example

    Christopher Klein authored
    - Changed allowed parameter for ControlTransfer to Int32
  4. LED of Microsoft Kinect example can now be controlled

    Christopher Klein authored
    - fixed Kinect example
    - added newline for dump byte macro
    - added debug output for Device::ControlTransfer
    - fixed wrong value assignment
Commits on Dec 21, 2010
  1. Added transfer methods (not tested yet)

    Christopher Klein authored
    - added example for using Microsofts Kinect with node.js (just simple blinking LEDs)
    - introduced bulk and interrupt transfers for Endpoints
    - introduced control transfer for Device
    - Renamed Endpoint.submit; have to investigate threading problems later
  2. fixed macro definition

    Christopher Klein authored
Commits on Dec 15, 2010
  1. Added byte dump macro

    Christopher Klein authored
  2. added __VA_ARGS__ to DEBUG macro

    Christopher Klein authored
Commits on Dec 14, 2010
  1. introduced endpoint.submit() for async reading/writing

    Christopher Klein authored
Something went wrong with that request. Please try again.