@@ -81,7 +81,7 @@ struct input_device {
};
static int idle_timeout = 0;
-static bool uhid_enabled = false;
+static bool uhid_enabled = true;
static bool classic_bonded_only = true;
void input_set_idle_timeout(int timeout)
@@ -9,7 +9,7 @@
#IdleTimeout=30
# Enable HID protocol handling in userspace input profile
-# Defaults to false (HIDP handled in HIDP kernel module)
+# Defaults to true (Use UHID instead of kernel HIDP)
#UserspaceHID=true
# Limit HID connections to bonded devices
@@ -83,7 +83,7 @@ static int input_init(void)
config = load_config_file(CONFIGDIR "/input.conf");
if (config) {
int idle_timeout;
- gboolean uhid_enabled, classic_bonded_only, auto_sec;
+ gboolean uhid_enabled = TRUE, classic_bonded_only, auto_sec;
idle_timeout = g_key_file_get_integer(config, "General",
"IdleTimeout", &err);
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> This makes UserspaceHID defaults to true so the plugin has more control over the input device lifetime. --- profiles/input/device.c | 2 +- profiles/input/input.conf | 2 +- profiles/input/manager.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)