Skip to content

Instantly share code, notes, and snippets.

diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c
index bcfaf32..cdd2d27 100644
--- a/drivers/hid/hid-input.c
+++ b/drivers/hid/hid-input.c
@@ -582,24 +582,25 @@ static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_fiel
break;
case HID_UP_GENDESK:
- if ((usage->hid & 0xf0) == 0x80) { /* SystemControl */
- switch (usage->hid & 0xf) {
#!/bin/sh
sudo mkinitcpio -r "$LINUX_DEV_PATH"/modules_install \
-k "$KERNEL_RELEASE" \
-c "$LINUX_DEV_PATH"/mkinitcpio.conf \
-g "$LINUX_DEV_PATH"/initramfs-linux.img