SitiSchu / mkinitpico-asuskbdlight

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

License:MIT License


Languages

Language:Shell 100.0%