input: Add LEAutoSecurity setting to input.conf

System Internals / BlueZ - Luiz Augusto von Dentz [intel.com] - 16 March 2020 20:32 EDT

LEAutoSecurity can be used to enable/disable automatic upgrades of security for LE devices, by default it is enabled so existing devices that did not require security and were not bonded will automatically upgrade the security.

Note: Platforms disabling this setting would require users to manually bond the device which may require changes to the user interface to always force bonding for input devices as APIs such as Device.Connect will no longer work which maybe perceived as a regression.

f2778f587 input: Add LEAutoSecurity setting to input.conf
profiles/input/device.h | 1 +
profiles/input/hog.c | 13 +++++++++++--
profiles/input/input.conf | 5 +++++
profiles/input/manager.c | 11 ++++++++++-
4 files changed, 27 insertions(+), 3 deletions(-)

Upstream: git.kernel.org


  • Share