diff --git a/src/tuxedo_keyboard.c b/src/tuxedo_keyboard.c index 3b496b3..7743015 100644 --- a/src/tuxedo_keyboard.c +++ b/src/tuxedo_keyboard.c @@ -1,7 +1,7 @@ /* * tuxedo_keyboard.c * -* Copyright (C) 2018 TUXEDO Computers GmbH +* Copyright (C) 2018-2020 TUXEDO Computers GmbH * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -28,12 +28,19 @@ #include #include +#define CLEVO_EVENT_GUID "ABBC0F6B-8EA1-11D1-00A0-C90629100000" +#define CLEVO_EMAIL_GUID "ABBC0F6C-8EA1-11D1-00A0-C90629100000" +#define CLEVO_GET_GUID "ABBC0F6D-8EA1-11D1-00A0-C90629100000" + MODULE_AUTHOR ("Christian Loritz / TUXEDO Computers GmbH "); MODULE_DESCRIPTION("TUXEDO Computers Keyboard Backlight Driver"); MODULE_LICENSE("GPL"); MODULE_VERSION("2.0.1"); +MODULE_ALIAS("wmi:" CLEVO_EVENT_GUID); +MODULE_ALIAS("wmi:" CLEVO_GET_GUID); + /* :::: Module specific Constants and simple Macros :::: */ #define __TUXEDO_PR(lvl, fmt, ...) do { pr_##lvl(fmt, ##__VA_ARGS__); } while (0) @@ -45,10 +52,6 @@ MODULE_VERSION("2.0.1"); #define BRIGHTNESS_MAX 255 #define BRIGHTNESS_DEFAULT BRIGHTNESS_MAX -#define CLEVO_EVENT_GUID "ABBC0F6B-8EA1-11D1-00A0-C90629100000" -#define CLEVO_EMAIL_GUID "ABBC0F6C-8EA1-11D1-00A0-C90629100000" -#define CLEVO_GET_GUID "ABBC0F6D-8EA1-11D1-00A0-C90629100000" - #define REGION_LEFT 0xF0000000 #define REGION_CENTER 0xF1000000 #define REGION_RIGHT 0xF2000000