From 1f9eb8fd10bb8ac80ebc2f5a3b18380959434001 Mon Sep 17 00:00:00 2001 From: Werner Sembach Date: Wed, 31 Aug 2022 19:12:39 +0200 Subject: [PATCH] Change default keyboard type as old RGB keyboards are not controllable from OS --- src/clevo_leds.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/clevo_leds.h b/src/clevo_leds.h index 65164d7..20b5f8c 100644 --- a/src/clevo_leds.h +++ b/src/clevo_leds.h @@ -59,10 +59,7 @@ void clevo_leds_set_color_extern(u32 color); #define CLEVO_KB_COLOR_DEFAULT_BLUE 0xff #define CLEVO_KB_COLOR_DEFAULT ((CLEVO_KB_COLOR_DEFAULT_RED << 16) + (CLEVO_KB_COLOR_DEFAULT_GREEN << 8) + CLEVO_KB_COLOR_DEFAULT_BLUE) -// The very first Clevos with keyboard backlight did have fixed color, but not yet the CLEVO_METHOD_ID_GET_SPECS. To -// not break these, we set this as default for the time being, better having an extra sysfs entry without function than -// a missing one. This is a temporary fix until we find a way to identify these early keyboard backlight devices. -static enum clevo_kb_backlight_types clevo_kb_backlight_type = CLEVO_KB_BACKLIGHT_TYPE_FIXED_COLOR; +static enum clevo_kb_backlight_types clevo_kb_backlight_type = CLEVO_KB_BACKLIGHT_TYPE_NONE; static bool leds_initiaized; static int clevo_evaluate_set_white_brightness(u8 brightness)