I'm trying to run a Node.js script that connects to a HID device (HTC Vive tracker) and sends feature reports to it, to run from boot.
I've tried using rc.local
, a systemd file but none of it works if I power on the Raspberry Pi, however running it from rc.local
works if I manually reboot the Raspberry Pi.
The script uses Node-hid to initialise the connection and is invoked by simply using node /path/to/script
.
reboot
feature? – MatsK Jan 15 '18 at 11:34@reboot
oncrontab
? – Francesco Gusmeroli Jan 15 '18 at 13:05