Commit: 5cbdfbd83d663eb98bf81302f9b98d1f7ef4e8f0
Parent: ae4186cea7a8292e9b4fdd9e67d5f86a11f965c7
Author: Alex Deymo <deymo@chromium.org>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2013-04-23 10:39:29
Tree: cac431c77faa1ff80948df572392eac56d5d0a3f

input: Automatically attempt a reconnect when required. The HID 1.1 spec requires a host to attempt a reconnection when a HID device goes out of range and comes back. There is test (see TP/HCE/BV-04-I [Host Initiated Re-connection]) to ensure that the host initiates the connection when that happens. This patch adds a reconnection timer for HID devices trying to reconnect every 30s for a maximum of 3 minutes after the connection to a HID device with a ReconnectMode of "host" or "any" is closed.

Diffstat

M profiles/input/device.c | 67 ++++++++++++++++++++++++++++++++++++++++

1 files changed, 67 insertions(+), 0 deletions(-)

View Full Diff | Patch