From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751195AbdFBMyQ (ORCPT ); Fri, 2 Jun 2017 08:54:16 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:57853 "EHLO relay2-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751128AbdFBMyO (ORCPT ); Fri, 2 Jun 2017 08:54:14 -0400 X-Originating-IP: 83.155.44.161 Message-ID: <1496408048.2570.11.camel@hadess.net> Subject: Re: [PATCH v3 00/19] Report power supply from hid-logitech-hidpp From: Bastien Nocera To: Benjamin Tissoires Cc: Dave Hansen , Jiri Kosina , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Date: Fri, 02 Jun 2017 14:54:08 +0200 In-Reply-To: <20170602072907.GK1293@mail.corp.redhat.com> References: <20170327145939.29824-1-benjamin.tissoires@redhat.com> <0cdc8dda-de3f-c3d0-07da-65612860a70f@intel.com> <1496345185.2570.3.camel@hadess.net> <20170602072907.GK1293@mail.corp.redhat.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.24.2 (3.24.2-1.fc26) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 device and just rely on the upower hidpp support? I'm not sure where we'd ship that in a way that would make it work differently based on the version of UPower. In UPower? Well, UPower 0.99.x is the stable track for UPower, and the git master already has support for this feature. I'm not sure what else would need to be done.