Current status:
playdoh:BBBlfs jason$ node --version
v7.5.0
playdoh:BBBlfs jason$ gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/c++/4.2.1
Apple LLVM version 8.0.0 (clang-800.0.38)
Target: x86_64-apple-darwin16.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
playdoh:BBBlfs jason$ node main.js
Device {
busNumber: 20,
deviceAddress: 22,
deviceDescriptor:
{ bLength: 18,
bDescriptorType: 1,
bcdUSB: 512,
bDeviceClass: 2,
bDeviceSubClass: 0,
bDeviceProtocol: 0,
bMaxPacketSize0: 64,
idVendor: 1105,
idProduct: 24897,
bcdDevice: 0,
iManufacturer: 33,
iProduct: 37,
iSerialNumber: 0,
bNumConfigurations: 1 },
portNumbers: [ 1, 1 ] }
Interface {
device:
Device {
busNumber: 20,
deviceAddress: 22,
deviceDescriptor:
{ bLength: 18,
bDescriptorType: 1,
bcdUSB: 512,
bDeviceClass: 2,
bDeviceSubClass: 0,
bDeviceProtocol: 0,
bMaxPacketSize0: 64,
idVendor: 1105,
idProduct: 24897,
bcdDevice: 0,
iManufacturer: 33,
iProduct: 37,
iSerialNumber: 0,
bNumConfigurations: 1 },
portNumbers: [ 1, 1 ],
interfaces: [ [Object], [Circular] ],
_configDescriptor:
{ bLength: 9,
bDescriptorType: 2,
wTotalLength: 70,
bNumInterfaces: 2,
bConfigurationValue: 1,
iConfiguration: 1,
bmAttributes: 192,
bMaxPower: 50,
extra: <Buffer 03 09 03>,
interfaces: [Object] } },
id: 1,
altSetting: 0,
descriptor:
{ bLength: 9,
bDescriptorType: 4,
bInterfaceNumber: 1,
bAlternateSetting: 0,
bNumEndpoints: 2,
bInterfaceClass: 10,
bInterfaceSubClass: 0,
bInterfaceProtocol: 0,
iInterface: 2,
extra: <Buffer >,
endpoints: [ [Object], [Object] ] },
interfaceNumber: 1,
endpoints:
[ InEndpoint {
device: [Object],
descriptor: [Object],
address: 129,
transferType: 2 },
OutEndpoint {
device: [Object],
descriptor: [Object],
address: 2,
transferType: 2 } ] }
isKernelDriverActive = false
/Users/jason/workspace/BBBlfs/node_modules/usb/usb.js:168
this.device.__claimInterface(this.id)
^
Error: LIBUSB_ERROR_ACCESS
at Interface.claim (/Users/jason/workspace/BBBlfs/node_modules/usb/usb.js:168:14)
at Object.<anonymous> (/Users/jason/workspace/BBBlfs/main.js:13:36)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.runMain (module.js:605:10)
at run (bootstrap_node.js:418:7)
at startup (bootstrap_node.js:139:9)