[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190605194533.18717-1-pedro@pedrovanzella.com>
Date: Wed, 5 Jun 2019 15:45:29 -0400
From: Pedro Vanzella <pedro@...rovanzella.com>
To: linux-input@...r.kernel.org
Cc: Pedro Vanzella <pedro@...rovanzella.com>,
Jiri Kosina <jikos@...nel.org>,
Benjamin Tissoires <benjamin.tissoires@...hat.com>,
linux-kernel@...r.kernel.org
Subject: [PATCH v2 0/4] Read battery voltage from G403 and G900 mice
The gaming line of Logitech devices doesn't use the old hidpp20 feature
for battery level reporting. Instead, they report the current voltage
of the battery, in millivolts.
This patch set handles this case by adding a quirk to the devices we know
to have this new feature, in both wired and wireless mode.
This version of the patch set is better split, as well as adding the
quirk to make sure we don't needlessly probe every device connected.
Pedro Vanzella (4):
HID: hid-logitech-hidpp: add quirk to handle battery voltage
HID: hid-logitech-hidpp: add function to query battery voltage
HID: hid-logitech-hidpp: report battery voltage to the power supply
HID: hid-logitech-hidpp: subscribe to battery voltage events
drivers/hid/hid-logitech-hidpp.c | 150 ++++++++++++++++++++++++++++++-
1 file changed, 147 insertions(+), 3 deletions(-)
--
2.21.0
Powered by blists - more mailing lists