Message ID | 20240209185237.3611995-2-luiz.dentz@gmail.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | [BlueZ,v2,1/3] hog-lib: Don't destroy UHID device on detach | expand |
Context | Check | Description |
---|---|---|
tedd_an/pre-ci_am | success | Success |
tedd_an/CheckPatch | success | CheckPatch PASS |
tedd_an/GitLint | success | Gitlint PASS |
tedd_an/IncrementalBuild | success | Incremental Build PASS |
diff --git a/profiles/input/input.conf b/profiles/input/input.conf index d8645f3dd664..00a34eb63de1 100644 --- a/profiles/input/input.conf +++ b/profiles/input/input.conf @@ -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 diff --git a/profiles/input/manager.c b/profiles/input/manager.c index 92789a003c89..69ed646727d5 100644 --- a/profiles/input/manager.c +++ b/profiles/input/manager.c @@ -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/input.conf | 2 +- profiles/input/manager.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)