markubiak / minidsp-control

Control and display module for the MiniDSP 2x4 HD
MIT License
6 stars 1 forks source link

Installation failure #1

Open laudiblellc opened 4 years ago

laudiblellc commented 4 years ago

Hi, I am not experienced in npm or nodejs and get a failure when installing on an RPi 4. I've attached a log that appears after I git clone your repository, then enter the directory and perform npm install. This is on a fresh Raspbian installation. 2020-09-15T20_00_18_840Z-debug.log

laudiblellc commented 4 years ago

I googled it and apt-installing lubudev-dev solved the issue. Maybe you want to add that as an install prereq. Thanks!

laudiblellc commented 4 years ago

Now, the monitor fails this way: nodejs ./minidsp.js monitor /home/pi/node-minidsp/node_modules/node-hid/nodehid.js:49 this._raw = new (Function.prototype.bind.apply(binding.HID, ^

Error: cannot open device with vendor id 0x2752 and product id 0x11 at new HID (/home/pi/node-minidsp/node_modules/node-hid/nodehid.js:49:17) at new USBTransport (/home/pi/node-minidsp/src/transport/usb.js:15:27) at device (/home/pi/node-minidsp/minidsp.js:57:43) at Command.program.command.description.action (/home/pi/node-minidsp/minidsp.js:119:13) at Command.listener (/home/pi/node-minidsp/node_modules/commander/index.js:315:8) at Command.emit (events.js:198:13) at Command.parseArgs (/home/pi/node-minidsp/node_modules/commander/index.js:651:12) at Command.parse (/home/pi/node-minidsp/node_modules/commander/index.js:474:21) at Object. (/home/pi/node-minidsp/minidsp.js:152:9) at Module._compile (internal/modules/cjs/loader.js:778:30)

laudiblellc commented 4 years ago

OK, executing the script with sudo works, but none of the commands exit automatically, but need to be killed. Any ideas? Thanks,