]> www.infradead.org Git - users/jedix/linux-maple.git/commit
HID: Kysona: Add periodic online check
authorLode Willems <me@lodewillems.com>
Mon, 3 Mar 2025 12:30:42 +0000 (13:30 +0100)
committerJiri Kosina <jkosina@suse.com>
Thu, 24 Apr 2025 09:23:08 +0000 (11:23 +0200)
commit113521a4d2b0c48639b5b8a3bc087d6bbab20caa
tree06b919d65c6cad50314d5ce7271afe2df3185a3e
parent5e06802b426baa2d3c2a5d7784a6d4c2a9338c3e
HID: Kysona: Add periodic online check

This patch adds a periodic online check at the same interval the battery
status gets requested.
With this change the driver can detect when the mouse is turned off while
the dongle is still plugged in.

Tested with a Kysona M600 V-HUB Special Edition.

Signed-off-by: Lode Willems <me@lodewillems.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/hid-kysona.c