[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20060727224235.GA23195@kroah.com>
Date: Thu, 27 Jul 2006 15:42:35 -0700
From: Greg KH <greg@...ah.com>
To: Matthew Garrett <mjg59@...f.ucam.org>
Cc: Shem Multinymous <multinymous@...il.com>,
Pavel Machek <pavel@...e.cz>, vojtech@...e.cz,
Len Brown <len.brown@...el.com>,
kernel list <linux-kernel@...r.kernel.org>,
linux-thinkpad@...ux-thinkpad.org
Subject: Re: Generic battery interface
On Thu, Jul 27, 2006 at 03:44:52PM +0100, Matthew Garrett wrote:
> On Thu, Jul 27, 2006 at 05:39:06PM +0300, Shem Multinymous wrote:
>
> > Can we really assume there's one driver providing all battery-related
> > attributes?
>
> Hmm. That's a good point.
>
> > So, if we insist on a standard battery device class name, how do we
> > cope with multiple sources of information and control functions?
>
> Ignoring the multiple sources of information bit for the moment, we need
> to figure out the correct method of event notification anyway. There's a
> long-term plan to get rid of /proc/acpi, so acpi notifications need to
> be more more generic in any case.
You can poll sysfs files to be notified when states change...
thanks,
greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists