lighting-node-pro icon indicating copy to clipboard operation
lighting-node-pro copied to clipboard

Manjaro Install Instructions

Open RattyDAVE opened this issue 5 years ago • 2 comments

Getting this script to work on Manjaro was not a easy as it should.

Here is what I did.

#Install Git
sudo pacman -S git

cd ~
git clone https://github.com/benburkhart1/lighting-node-pro.git
cd lighting-node-pro

#Install NPM (as for some reason not installed as default)
sudo pacman -S npm
sudo npm install

#Install USB as it didnt automatically install
sudo npm install usb

#Add and reload UDEV
sudo echo 'SUBSYSTEM=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="0c0b", MODE="0666"' >> /etc/udev/rules.d/85-corsair.rules
sudo udevadm control --reload-rules
sudo udevadm trigger

#test
node index.js --animation Tracer -p "colors=blue,black"

RattyDAVE avatar Nov 13 '19 10:11 RattyDAVE

Thanks!

gagandaroach avatar Apr 08 '20 06:04 gagandaroach

for me sudo echo 'SUBSYSTEM=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="0c0b", MODE="0666"' >> /etc/udev/rules.d/85-corsair.rules didn't worked the redirect since didn't had permission to write it here even if echo is called with sudo. instead i piped it into a sudo tee : sudo echo 'SUBSYSTEM=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="0c0b", MODE="0666"' | s tee /etc/udev/rules.d/85-corsair.rules

mirsella avatar Nov 09 '20 18:11 mirsella