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] [day] [month] [year] [list]
Date:	Sun, 5 Nov 2006 22:02:48 +0100
From:	Jean Delvare <khali@...ux-fr.org>
To:	Pavel Machek <pavel@....cz>
Cc:	U Kuehn <ukuehn@....org>, linux-thinkpad@...ux-thinkpad.org,
	Henrique de Moraes Holschuh <hmh@....eng.br>,
	Greg KH <greg@...ah.com>,
	Shem Multinymous <multinymous@...il.com>,
	David Zeuthen <davidz@...hat.com>,
	Richard Hughes <hughsient@...il.com>,
	David Woodhouse <dwmw2@...radead.org>,
	Dan Williams <dcbw@...hat.com>, linux-kernel@...r.kernel.org,
	devel@...top.org, sfr@...b.auug.org.au, len.brown@...el.com,
	benh@...nel.crashing.org
Subject: Re: [ltp] Re: [PATCH v2] Re: Battery class driver.

On Sun, 5 Nov 2006 21:52:18 +0100, Pavel Machek wrote:
> On Fri 2006-11-03 14:12:22, U Kuehn wrote:
> > That very much depends on the system. Having a laptop where the current
> > power consumption is around 10 Watts (or, at about 10 to 12 Volts,
> > nearly 1 A), having a resolution of 10 or even 100 mA would be OK.
> > However, on your cellphone with a standby consumption of 2mA, such a
> > resolution would be meaningless. What kind of resultion does the
> > hardware usually support?
> 
> I do not know details. Siemens phones have current monitors, but I do
> not recall how accurate those are. Anyway, at least for some
> applications mA is not enough, so we probably should use finer
> unit. Or use ampers and let kernel be "as precise as it needs" in
> simulated floating point.

No. Fixed point, please. Use µA as the unit if needed.

-- 
Jean Delvare
-
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