Skip to content

Report power supply from hid-logitech-hidpp

Benjamin Tissoires linux-input lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest19 patches 16 repliesIn review
  2. v215 patches 7 repliesSuperseded
  3. v117 patches 10 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/19HID: logitech-dj: allow devices to request full pairing informationdrivers/hid/hid-logitech-dj.c+11 -80 replies
2/19HID: logitech-hidpp: Add scope to batterydrivers/hid/hid-logitech-hidpp.c+4 -03 replies
3/19HID: logitech-hidpp: make sure we only register one battery per devicedrivers/hid/hid-logitech-hidpp.c+3 -00 replies
4/19HID: logitech-hidpp: do not query the name through HID++ for 1.0 devicesdrivers/hid/hid-logitech-hidpp.c+2 -00 replies
5/19HID: logitech-hidpp: create a capabilities bits fielddrivers/hid/hid-logitech-hidpp.c+6 -40 replies
6/19HID: logitech-hidpp: rework probe path for unifying devicesdrivers/hid/hid-logitech-hidpp.c+67 -190 replies
7/19HID: logitech-hidpp: retrieve the HID++ device name when availabledrivers/hid/hid-logitech-hidpp.c+7 -70 replies
8/19HID: logitech-hidpp: rework hidpp_connect_event()drivers/hid/hid-logitech-hidpp.c+5 -140 replies
9/19HID: logitech-hidpp: handle battery events in hidpp_raw_hidpp_event()drivers/hid/hid-logitech-hidpp.c+7 -60 replies
10/19HID: logitech-hidpp: forward device info in power_supplydrivers/hid/hid-logitech-hidpp.c+15 -00 replies
11/19HID: logitech-hidpp: create the battery for all types of HID++ devicesdrivers/hid/hid-logitech-hidpp.c+43 -510 replies
12/19HID: logitech-hidpp: return an error if the queried feature is not presentdrivers/hid/hid-logitech-hidpp.c+3 -00 replies
13/19HID: logitech-hidpp: notify battery on connectdrivers/hid/hid-logitech-hidpp.c+7 -00 replies
14/19HID: logitech-hidpp: battery: provide ONLINE propertydrivers/hid/hid-logitech-hidpp.c+20 -110 replies
15/19HID: logitech-hidpp: rename battery level into capacitydrivers/hid/hid-logitech-hidpp.c+28 -270 replies
16/19HID: logitech-hidpp: battery: provide CAPACITY_LEVELdrivers/hid/hid-logitech-hidpp.c+94 -100 replies
17/19HID: logitech-hidpp: add support for battery status for the K750drivers/hid/hid-logitech-hidpp.c+113 -20 replies
18/19HID: logitech-hidpp: enable HID++ 1.0 battery reportingdrivers/hid/hid-logitech-hidpp.c+230 -40 replies
19/19HID: logitech-hidpp: add a sysfs file to tell we support power_supplydrivers/hid/hid-logitech-hidpp.c+20 -00 replies

Reviews trailers per patch

None of the 19 patches has a Reviewed-by or Acked-by.

PatchPeter Hutterer
1/19
2/19T-b
3/19
4/19
5/19
6/19
7/19
8/19
9/19
10/19
11/19
12/19
13/19
14/19
15/19
16/19
17/19
18/19
19/19

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 00/19] Report power supply from hid-logitech-hidpp

Hi,

this is finally a rework of the series that provides kernel power_supply for hidpp devices.

This will allow upower to not handle those devices anymore and to have more immediate reportng of the device to the system.

I have splitted the series to not support non unifying receivers here. I got the non Unifying (DJ) receivers working locally, but given I am not so sure it will not break the G920, I'd rather send a shorter series later (this one is big enough already).

Cheers,
Benjamin

Bastien Nocera (1):
HID: logitech-hidpp: Add scope to battery

Benjamin Tissoires (18):
HID: logitech-dj: allow devices to request full pairing information
HID: logitech-hidpp: make sure we only register one battery per device
HID: logitech-hidpp: do not query the name through HID++ for 1.0
devices
HID: logitech-hidpp: create a capabilities bits field
HID: logitech-hidpp: rework probe path for unifying devices
HID: logitech-hidpp: retrieve the HID++ device name when available
HID: logitech-hidpp: rework hidpp_connect_event()
HID: logitech-hidpp: handle battery events in hidpp_raw_hidpp_event()
HID: logitech-hidpp: forward device info in power_supply
HID: logitech-hidpp: create the battery for all types of HID++ devices
HID: logitech-hidpp: return an error if the queried feature is not
present
HID: logitech-hidpp: notify battery on connect
HID: logitech-hidpp: battery: provide ONLINE property
HID: logitech-hidpp: rename battery level into capacity
HID: logitech-hidpp: battery: provide CAPACITY_LEVEL
HID: logitech-hidpp: add support for battery status for the K750
HID: logitech-hidpp: enable HID++ 1.0 battery reporting
HID: logitech-hidpp: add a sysfs file to tell we support power_supply

 drivers/hid/hid-logitech-dj.c    |  19 +-
 drivers/hid/hid-logitech-hidpp.c | 741 +++++++++++++++++++++++++++++++++------
 2 files changed, 641 insertions(+), 119 deletions(-)
Signature · 1 line
2.9.3