[debian-yeeloong-project] Fan speed auto-adjust

Jason Woofenden jason at jasonwoof.com
Mon Apr 25 01:23:51 UTC 2011

Hi all,

I'm glad to discover this list and yeeloong-dev!

I've been running debian unstable on my lemote for a few months
now, and I'm happy to find people to discuss and collaborate with.

The latest loongson-2f kernel (2.6.38-2) works quite well on my
lemote, except there's no battery monitor.

Then today as I started working on how to get the fan to
auto-shutoff/adjust, I found that it's missing the
yeeloong_laptop kernel module.

This module seems to be needed for battery monitoring, and also
temperature monitoring and fan speed control.

So I booted back into the 2.6.37-libre-lemote kernel I had
downloaded from GNewSense, and noticed that with this kernel, the
wifi comes on automatically (with the debian loongson-2f I have to
press fn-F5 to enable the radio.)

I then ran pwmconfig (from apt-get fancontrol) and used the values
from this post:


Then I ran this to fire it up: /etc/init.d/fancontrol start

And now the fan shuts off or runs much slower when my lemote is

Anybody know if it's safe to set the temperature thresholds higher?
The fan does come on a bit when it's idling. The case and exhaust
air are not very warm.

I looked in /boot/config-2.6.37-libre-lemote

And found this:


Which I'm guessing enables building the yeeloong_laptop.ko

/boot/config-2.6.38-2-loongson-2f does not contain this option at
all (no comment saying it's not set or anything)

OK, I think that's about all I know on this subject.

Take care,    - Jason

More information about the debian-yeeloong-project mailing list