Re: [PATCH v9 5/8] Loongson: YeeLoong: add hardware monitoring driver
Wu Zhangjin <[email protected]> Wed, 09 Dec 2009 18:59:52 +0800
| Newsgroups | org.kernel.vger.linux-laptop,org.kernel.vger.linux-kernel,org.kernel.vger.linux-mips |
|---|---|
| Message-ID | <[email protected]> |
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