mac/libusb issue? #3

lutzbickhardt opened this Issue Sep 9, 2011 · 2 comments


None yet
2 participants

Hi Schakko,

trying to use node-usb the code never reaches ...4... , but does so without any prior errors, so I guess libusb is installed correctly

assert.doesNotThrow(function() { instance.setDebugLevel(0); });
var devices = instance.get_devices();

this runs under node 4.11, mac osx 10.6.8

Thanks Lutz


schakko commented Sep 12, 2011

Hi Lutz,
Did you try to run the code with sudo? It could be a permission problem.
You could run the test code with strace for gaining more debug information.

Hi Schakko,

using sudo it works -sort of-, meaning it finds a device <Bus 004 Device 001 ID 05ac:8005> by Apple (0x05ac) that the sysprofiler does not know about, then seg faults as you described.

I was under the impression that version 1.0.8 of the lib had solved the issue (as per their change log) but the I realized it is from May 2010, thus older than your code.

Thanks anyway!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment