lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 27 Mar 2009 22:29:47 +0300
From:	Anton Vorontsov <avorontsov@...mvista.com>
To:	Kristoffer Ericson <kristoffer.ericson@...il.com>
Cc:	cbou@...l.ru,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: Using POWER or APM for battery handling

Hello Kristoffer,

On Fri, Mar 27, 2009 at 08:24:06PM +0100, Kristoffer Ericson wrote:
> Hey Anton,
> 
> My machines (HP Jornada 600-series and HP Jornada 700-series) both
> rely on batteries for power. Now, in the past it has all
> been handled by an APM_EMULATION driver that
> essentially detects the current state (loading YES/NO, 
> POWER_LEFT, ESTIMATED TIME LEFT,...) and adjusts
> the state of the machine.
> 
> My question is should I port this to instead
> use the power class (drivers/power) or not.

The driver is already there:
drivers/power/apm_power.c

So all you need is Jornada driver for the power supply class,
and then apm_power.c will work for your battery driver.

Feel free to ask if there is anything still not clear.

Thanks,

-- 
Anton Vorontsov
email: cbouatmailru@...il.com
irc://irc.freenode.net/bd2
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ