Re: Re: first shoot for smartbattery

Bruno Ducrot
2005-01-04T10:24:24Z

On Tue, Jan 04, 2005 at 01:56:26AM +0000, Pedro Venda wrote:
> Would the result be the creation of /proc/acpi/battery and
> /proc/acpi/ac_adapter
> like other batteries?

Something like this. But only to provide compatibility with existing
programs. A long term goal would be to design a generic API for battery
stuff (APM, ACPI Control Method Battery, smartbatteries subsystem and
PMU come to mind).

> The way I see it, the i2c-acpi-ec driver allows the creation of the /proc
> files
> so that userland programs can use them normally. Am I totally wrong and
> should
> quickly look for the brown bag?

I would like to not touch i2c-acpi-ec for this. It should
only provide the smbus access. All other components should be done
elsewhere IMHO.

--
Bruno Ducrot

-- Which is worse: ignorance or apathy?
-- Don't know. Don't care.