mac/libusb issue?
lutzbickhardt opened this issue · 2 comments
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); });
console.log(“…3…”);
var devices = instance.get_devices();
console.log(“…4…”);
this runs under node 4.11, mac osx 10.6.8
Thanks Lutz
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!