No description
- Shell 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .gitignore | ||
| .SRCINFO | ||
| asuskbdlight-hook | ||
| asuskbdlight-install | ||
| build_and_install.sh | ||
| LICENSE | ||
| PKGBUILD | ||
| README.md | ||
mkinitpico-asuskbdlight
This is a initcpio hook that can be used to turn the /sys/class/leds/asus::kbd_backlight keyboard
backlight on during boot. This is usefull when prompted to type the LUKS passphrase, for instance.
Only tested on a ASUS B9940UA
Install
Build:
makepkg .
sudo pacman -U ./mkinitpico-asuskbdlight-*.pkg.tar.zst
Edit /etc/mkinitcpio.conf:
HOOKS=(base udev autodetect modconf block keyboard asuskbdlight encrypt filesystems resume)
Regenerate initramfs:
sudo mkinitcpio -p linux
Reboot.