On Tue, 19 Sep 2000, Jamey Hicks wrote:
> Until yesterday, there was no way to read the battery status from Linux.
> Now there is an obscure way to do so, documented in the linux kernel in
> include/linux/h3600_ts.h. On the iPAQ, the touchscreen, battery charger,
> some of the buttons, and the front light are controlled by a small
> microcontroller. Acccess to these is provided by a single driver.
Fine, I'll go and read this ("Read the source Luke...").
> Our plan is to provide a /proc/apm (or maybe /proc/acpi) interface so that
> standard battery monitors will work, along with apmd. I collected some
> links at http://www.handhelds.org/projects/power-management.html
Concerning the kernel internal power management interface we should surely
stick with the alread implemented routines and not reinvent the wheel.
Also a compatible /proc/apm may be nice but I do not think that this is
important.
Power saving on the iPaq is IMHO much different from power management on a
regular PC apart from the fact that it is handled completely different. Desktop
PCs use BIOS calls and BIOS generated events for the management. And if I
remember correctly there is no such thing as a BIOS on the iPaq and expecially
none with an APM or ACPI interface.
We should think about new ways of interfacing and try not to stick to
oldfashioned methods or you might end up implementing an APM compliant kernel
power management driver just for the sake to be compliant. APM was made for
notebooks, ACPI for general purpose PCs (desktop and notebooks). None of the
two is especially useful for PDAs given you do not have a supporting BIOS.
Just my $0.05...
> Contributions in this area are welcome.
Maybe, let's see ;)
> -Jamey
CU
nils faerber
-- kernel concepts Engel & Faerber GbR Tel: +49-271-771091-12 Dreisbachstr. 24 Fax: +49-271-771091-19 D-57250 Netphen D1 : +49-170-2729106 --Received on Tue Sep 19 06:22:38 2000
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:43:42 EDT