diff --git a/input.c b/input.c index a8c9987..fdf5156 100644 --- a/input.c +++ b/input.c @@ -1,6 +1,6 @@ /* * input.c - * + * * Copyright (C) 2017 Jeremy Soller * Copyright (C) 2014-2016 Arnoud Willemsen * Copyright (C) 2013-2015 TUXEDO Computers GmbH @@ -26,7 +26,7 @@ static DEFINE_MUTEX(s76_input_report_mutex); #define POLL_FREQ_MIN 1 #define POLL_FREQ_MAX 20 -#define POLL_FREQ_DEFAULT 5 +#define POLL_FREQ_DEFAULT 1 static int param_set_poll_freq(const char *val, const struct kernel_param *kp) { diff --git a/kb.c b/kb.c index 69eed44..14a9d0e 100644 --- a/kb.c +++ b/kb.c @@ -117,7 +117,7 @@ module_param_named(kb_brightness, param_kb_brightness, kb_brightness, S_IRUSR); MODULE_PARM_DESC(kb_brightness, "Set the brightness of the keyboard backlight"); -static bool param_kb_off; +static bool param_kb_off = true; module_param_named(kb_off, param_kb_off, bool, S_IRUSR); MODULE_PARM_DESC(kb_off, "Switch keyboard backlight off");