Re: Re: Re: Smart Battery System driver

Matthew Garrett
2005-01-21T17:22:46Z

On Fri, 2005-01-21 at 12:06 -0500, Rich Townsend wrote:

> But aren't we really looking for a kernel-based libpower -- so that
> *nothing* in userspace needs be exposed to the specifics of the hardware?

No. The kernel should provide information and functionality, not define
policy. A good comparison point might be the lm-sensors code - each
driver provides all the information it can, and the userland libsensors
abstracts that away from everything else.

--
Matthew Garrett | mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl