Re: [PATCH v3 00/19] Report power supply from hid-logitech-hidpp

2017-06-06 Thread Bastien Nocera
On Tue, 2017-06-06 at 09:25 +0200, Benjamin Tissoires wrote: > > Well, as Bastien said, the issue is that old user space is buggy, and > even if we postpone the switch to 4.13, there will always be someone > who > did not updated upower and who will complain. > > As soon as I started the develop

Re: [PATCH v3 00/19] Report power supply from hid-logitech-hidpp

2017-06-06 Thread Benjamin Tissoires
[Sorry for the delay, public holiday yesterday and I wasn't home] On Jun 05 2017 or thereabouts, Jiri Kosina wrote: > On Fri, 2 Jun 2017, Dave Hansen wrote: > > > This will allow upower to not handle those devices anymore and to > > have more > > immediate reportng of the device to

Re: [PATCH v3 00/19] Report power supply from hid-logitech-hidpp

2017-06-05 Thread Bastien Nocera
On Mon, 2017-06-05 at 07:53 -0700, Dave Hansen wrote: > On 06/05/2017 06:09 AM, Bastien Nocera wrote: > > > I agree with Dave. If there is no solution found in time for > > > -rc5, > > > reverting to previous state would be the proper way to go. > > > > I don't see how it's possible to retroactiv

Re: [PATCH v3 00/19] Report power supply from hid-logitech-hidpp

2017-06-05 Thread Dave Hansen
On 06/05/2017 06:09 AM, Bastien Nocera wrote: >> I agree with Dave. If there is no solution found in time for -rc5, >> reverting to previous state would be the proper way to go. > I don't see how it's possible to retroactively fix user-space. It's not possible to retroactively change userspace.

Re: [PATCH v3 00/19] Report power supply from hid-logitech-hidpp

2017-06-05 Thread Bastien Nocera
On Mon, 2017-06-05 at 10:01 +0200, Jiri Kosina wrote: > On Fri, 2 Jun 2017, Dave Hansen wrote: > > > > > > > This will allow upower to not handle those devices anymore > > > > > > and to > > > > > > have more > > > > > > immediate reportng of the device to the system. > > > > > > > > > > FWIW, I'

Re: [PATCH v3 00/19] Report power supply from hid-logitech-hidpp

2017-06-05 Thread Jiri Kosina
On Fri, 2 Jun 2017, Dave Hansen wrote: > This will allow upower to not handle those devices anymore and to > have more > immediate reportng of the device to the system. > >>> FWIW, I'm on Ubuntu 14.04, and upower *is* reporting my mouse battery > >>> as > >>> if it were a laptop bat

Re: [PATCH v3 00/19] Report power supply from hid-logitech-hidpp

2017-06-02 Thread Dave Hansen
On 06/02/2017 12:29 AM, Benjamin Tissoires wrote: > On Jun 01 2017 or thereabouts, Bastien Nocera wrote: >> On Thu, 2017-06-01 at 11:06 -0700, Dave Hansen wrote: >>> On 03/27/2017 07:59 AM, Benjamin Tissoires wrote: this is finally a rework of the series that provides kernel power_supply

Re: [PATCH v3 00/19] Report power supply from hid-logitech-hidpp

2017-06-02 Thread Benjamin Tissoires
On Jun 02 2017 or thereabouts, Bastien Nocera wrote: > On Fri, 2017-06-02 at 09:29 +0200, Benjamin Tissoires wrote: > > > > > Bastien, is is possible to have a simple udev rule that tells upower > > to > > ignore the battery device if builtin_power_supply is there? > > That way we can tell people

Re: [PATCH v3 00/19] Report power supply from hid-logitech-hidpp

2017-06-02 Thread Bastien Nocera
On Fri, 2017-06-02 at 09:29 +0200, Benjamin Tissoires wrote: > > Bastien, is is possible to have a simple udev rule that tells upower > to > ignore the battery device if builtin_power_supply is there? > That way we can tell people running old upower to use this to be sure > to > ignore the kernel

Re: [PATCH v3 00/19] Report power supply from hid-logitech-hidpp

2017-06-02 Thread Benjamin Tissoires
On Jun 01 2017 or thereabouts, Bastien Nocera wrote: > On Thu, 2017-06-01 at 11:06 -0700, Dave Hansen wrote: > > On 03/27/2017 07:59 AM, Benjamin Tissoires wrote: > > > this is finally a rework of the series that provides kernel > > > power_supply > > > for hidpp devices. > > > > > > This will all

Re: [PATCH v3 00/19] Report power supply from hid-logitech-hidpp

2017-06-01 Thread Bastien Nocera
On Thu, 2017-06-01 at 11:06 -0700, Dave Hansen wrote: > On 03/27/2017 07:59 AM, Benjamin Tissoires wrote: > > 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

Re: [PATCH v3 00/19] Report power supply from hid-logitech-hidpp

2017-06-01 Thread Dave Hansen
On 03/27/2017 07:59 AM, Benjamin Tissoires wrote: > 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. FWIW, I'm on Ubuntu 1

Re: [PATCH v3 00/19] Report power supply from hid-logitech-hidpp

2017-03-27 Thread Bastien Nocera
On Mon, 2017-03-27 at 16:59 +0200, Benjamin Tissoires wrote: > 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

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

2017-03-27 Thread Benjamin Tissoires
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