LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH v2 0/4] Read battery voltage from G403 and G900 mice
@ 2019-06-05 19:45 Pedro Vanzella
  2019-06-05 19:45 ` [PATCH v2 1/4] HID: hid-logitech-hidpp: add quirk to handle battery voltage Pedro Vanzella
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Pedro Vanzella @ 2019-06-05 19:45 UTC (permalink / raw)
  To: linux-input; +Cc: Pedro Vanzella, Jiri Kosina, Benjamin Tissoires, linux-kernel

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-08-19 13:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-05 19:45 [PATCH v2 0/4] Read battery voltage from G403 and G900 mice Pedro Vanzella
2019-06-05 19:45 ` [PATCH v2 1/4] HID: hid-logitech-hidpp: add quirk to handle battery voltage Pedro Vanzella
2019-06-05 19:45 ` [PATCH v2 2/4] HID: hid-logitech-hidpp: add function to query " Pedro Vanzella
2019-06-05 19:45 ` [PATCH v2 3/4] HID: hid-logitech-hidpp: report battery voltage to the power supply Pedro Vanzella
2019-06-05 19:45 ` [PATCH v2 4/4] HID: hid-logitech-hidpp: subscribe to battery voltage events Pedro Vanzella
2019-06-05 22:24 ` [PATCH v2 0/4] Read battery voltage from G403 and G900 mice Filipe Laíns
2019-06-05 23:41   ` Pedro Vanzella
2019-08-19 13:44 ` Filipe Laíns

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).