[Top] [All Lists]

Re: [PATCH v9 5/8] Loongson: YeeLoong: add hardware monitoring driver

To: Pavel Machek <>
Subject: Re: [PATCH v9 5/8] Loongson: YeeLoong: add hardware monitoring driver
From: Wu Zhangjin <>
Date: Wed, 09 Dec 2009 18:59:52 +0800
Cc: Ralf Baechle <>,,,, Dmitry Torokhov <>, "Rafael J . Wysocki" <>,,, Stephen Rothwell <>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=gamma; h=domainkey-signature:received:received:subject:from:reply-to:to:cc :in-reply-to:references:content-type:organization:date:message-id :mime-version:x-mailer:content-transfer-encoding; bh=857nE80KHgfbd2GB1vwxiyEimJlR66TOYfgwOmGsb8Q=; b=DwUxOeRzf06Ovhl2DMEPYSHHWsxrdpc5sTPHE7GDwDz3lWTc6wtzay0P6LQfF1NZkH AfNVut74JXG3ti6BaXkNFWkjgRx4AGKGBo+alT0S4RxPQ0Y/4x8o3V/rx9PcqgAVUdO3 xRgrcepxGhBQXaYMtt/QseYSM8SzGKJ1RlXJ4=
Domainkey-signature: a=rsa-sha1; c=nofws;; s=gamma; h=subject:from:reply-to:to:cc:in-reply-to:references:content-type :organization:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=spsgyYR8TiNOYPLc7X67OJiDF6MS66XiBmJJzfnm+TtBTWm5WkdVJ5Tor2P/3Pm4Tc KjXhr7/h/yv1AaGDACbyW4qlAvH5PTe0U3yh+b6wVUinJ+XRn60Pwwxuhbl2AfmZTsit cxABb/5rqnlMfA08rXEQqw36pzhaDOm8yxPqQ=
In-reply-to: <>
Organization: DSLab, Lanzhou University, China
Original-recipient: rfc822;
References: <> <> <>
On Tue, 2009-12-08 at 16:02 +0100, Pavel Machek wrote:
> Hi!
> > This patch adds hardware monitoring driver, it provides standard
> > interface(/sys/class/hwmon/) for lm-sensors/sensors-applet to monitor
> > the temperatures of CPU and battery, the PWM of fan, the current,
> > voltage of battery.
> It is probably ok for now, but in future current/voltage of battery
> should be exported as power_supply class (drivers/power)...

Currently, the version based on the power_supply class have some
problems when using with gnome-power-manager(the whole system will hang
there), but works well with kpowersave, after fixing the bug, we will
use it instead of this APM Emulated one.

Thanks & Regards!
        Wu Zhangjin

<Prev in Thread] Current Thread [Next in Thread>