benburkhart1 / lighting-node-pro

Interface for Corsair Lighting Node Pro LED controller + Corsair LL fans
MIT License
36 stars 8 forks source link

Manjaro Install Instructions #5

Open RattyDAVE opened 4 years ago

RattyDAVE commented 4 years ago

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"
gagandaroach commented 4 years ago

Thanks!

mirsella commented 3 years ago

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