/wakeUp

A bash script and udev rule to wake up the OLKB Planck keyboard when you plug it in.

Primary LanguageShellGNU General Public License v3.0GPL-3.0

wakeUp for OLKB Planck

This is a udev rule and a bash script that will wake up your keyboard so you can use it after plugging it in, without having to either reboot or cat /dev/hidraw.

Put the udev rule in /etc/udev/rules.d/

Make sure you either put pollkb.sh in ~/code/wakeUp/ or if you prefer another location edit the udev rule to match the location you prefer.

Check that permissions for 99-olkb-plank.rules are correct. If they are not, they can be correctly set with chmod 644 /etc/udev/rules.d/99-olkb-planck.rules