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

Michael Dorrington michael.dorrington at gmail.com
Sun May 1 09:53:27 UTC 2011

Jason Woofenden wrote:
> Hi all,
> I'm glad to discover this list and yeeloong-dev!

I am glad you have discovered it.

> 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.

Great, we need this to have a completely Debian system on the Yeeloong.

> Then today as I started working on how to get the fan to
> 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 don't know. But I appreciate the work you are doing on adjusting the
fan speed so the fan is only as noisy as it needs to be.

> I looked in /boot/config-2.6.37-libre-lemote
> And found this:

As Matt Kraai has said, I recommend submitting a bug report for it. If
you don't want to submit it then I can submit it.

Thanks for your instructions on building a working xorg-server,
I used them in the install guide.

On the wiki you made this change:
Is this because the gNewSense update-grub generates grub.elf? Does the
Debian update-grub do this? If not then can we get this from gNewSense
into Debian's update-grub so that we do not have to do the manual steps
described in the install guide at the end of the 'Squeeze boot loader
GRUB' section

_Release Goal_
I am going to suggest 'Yeeloong' to be a release goal of Wheezy so that
a complete Debian system can be installed and used on the Yeeloong using
the standard methods. Nearly all the parts are already exist, for
instance the kernel is now in Wheezy, but the following essential parts
are missing:

1. Official Debian 'netboot' installer kernel image and initrd.
There is currently no official Debian installer for the Yeeloong. The
workaround is to use the Linux-libre/gNewsSense kernel and the Debian
'malta' initrd but the initrd installer does not have everything in it
that people might want on the Yeeloong, for instance LVM, and the
installer does not know about the Yeeloong.
* Get a 'yeeloong' directory in:
* Generate a kernel and install initrd using:

How do we make this happen? Speak to the mip(sel) people? D-I people?

2. A working X (including VGA output)
Currently the 'X' in Debian Wheezy does not work on the Yeeloong.
Patches and an xorg.conf exist to make X work, see:
* Get the 'mips-sarea' patch, which fixes X not starting, into 'X':
* Get the 'sm712_CRT_enable' patch, which enables VGA output, into 'X':
* Get a working xorg.conf automatically installed on the Yeeloong or fix
'X' such that it does not require an xorg.conf in order to work on the

3. Better GRUB support.
Currently grub.elf must be manually created along with a /boot/boot.cfg
to load it. The automatically generated /boot/grub/grub.cfg needs to be
fixed every time. The /etc/default/grub values of 'Linux command line'
(and 'Linux default command line) are not pre-filled with the correct
values in the debconf questions.
* Get the automatic creation of grub.elf into grub-yeeloong.
* Get the correct creation of /boot/grub/grub.cfg into grub-yeeloong.
* Get the automatic creation of a /boot/boot.cfg which loads grub.elf
into grub-yeeloong.
* Get the detection or creation of the correct 'Linux command line'
value (and 'Linux default command line) into grub-yeeloong.

1. Lemote's PMON packaged.
No Debian package exists for the Lemote's version of PMON2000, the
'BIOS' in the Yeeloong. One of the main points of the Yeeloong (and one
of the reasons for RMS using it) is its free software BIOS.
* Create an official Debian package of Lemote's pmon(2000) software:
The firmware generated by the package will need to be tested as it risks
bricking the device. Someone with a suitable EEPROM tools and/or
experience would be ideal, see:

Have I missed anything?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 898 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-yeeloong-project/attachments/20110501/dc0c2569/attachment.pgp>

More information about the debian-yeeloong-project mailing list