Hi,

Just write a small configuration file for the sensors(provided by the
lm-sensors package) command and now it can give a more readable
report:

$ sensors
yeeloong-virtual-0
Adapter: Virtual device
Voltage:            +12.46 V
Fan RPM:            4403 RPM
CPU Temperature:     +51.0°C  (high = +60.0°C)
Battery Temperature: +23.0°C
Current:             +0.00 A

You can download it from
http://dev.lemote.com/code/linux-loongson-community/raw-attachment/wiki/WikiStart/yeeloong-sensors.conf
or just copy the following content into a file and place the file in
/etc/sensors.d/:

chip "yeeloong-*"

   label in1 "Voltage"
   label fan1 "Fan RPM"
   label temp1 "CPU Temperature"
   label temp2 "Battery Temperature"
   label curr1 "Current"

And of course, you can use Chinese or the other languages, change the
3rd row above.

Regards,
Wu Zhangjin

-- 
You received this message because you are subscribed to the Google Groups 
"loongson-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/loongson-dev?hl=en.

Reply via email to