From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Hughes Subject: Re: [GIT PULL] power_supply: add power supply scope Date: Thu, 8 Dec 2011 10:05:46 +0000 Message-ID: References: <4ED90E6D.8090402@goop.org> <4ED9BDF8.3010600@goop.org> <4EDE4C7A.1010802@goop.org> <4EDFA192.7000602@goop.org> <4EE015D1.5070005@goop.org> <20111208100204.GA31434@oksana.dev.rtsoft.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from mail-ey0-f174.google.com ([209.85.215.174]:64886 "EHLO mail-ey0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751585Ab1LHKFr (ORCPT ); Thu, 8 Dec 2011 05:05:47 -0500 In-Reply-To: <20111208100204.GA31434@oksana.dev.rtsoft.ru> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Anton Vorontsov Cc: Jeremy Fitzhardinge , David Woodhouse , Linux Kernel Mailing List , Daniel Nicoletti , linux-input@vger.kernel.org, Jiri Kosina , vojtech@ucw.cz, Przemo Firszt , Richard Hughes On 8 December 2011 10:02, Anton Vorontsov wrote: > I see one problem with this approach. Userland will need patching > to distinguish system and device power supplies. So, even with > the patch applied, old userland will behave incorrectly. Userland will need patching anyway, as old versions of upower assumed anything showing up in /sys/class/power_supply was powering the system. Richard.