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

Brilliant.

> 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
<snip>
> 
> 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:
> 
> CONFIG_LEMOTE_YEELOONG2F=m
<snip>

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,
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=594684#25
I used them in the install guide.

On the wiki you made this change:
http://wiki.debian.org/DebianYeeloong/Todo?action=diff&rev1=10&rev2=11
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
http://wiki.debian.org/DebianYeeloong/HowTo/Install#Squeeze_boot_loader_GRUB

_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.
Problem:
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.
Solution:
* Get a 'yeeloong' directory in:
http://d-i.debian.org/daily-images/mipsel/daily/
http://ftp.debian.org/debian/dists/wheezy/main/installer-mipsel/current/images/
* Generate a kernel and install initrd using:
http://packages.debian.org/wheezy/linux-image-2.6-loongson-2f

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

2. A working X (including VGA output)
Problem:
Currently the 'X' in Debian Wheezy does not work on the Yeeloong.
Patches and an xorg.conf exist to make X work, see:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=594684
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=624695
Solution:
* Get the 'mips-sarea' patch, which fixes X not starting, into 'X':
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=594684
* Get the 'sm712_CRT_enable' patch, which enables VGA output, into 'X':
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=624695
* 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
Yeeloong.

3. Better GRUB support.
Problem:
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.
Solution:
* 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.

Desirable:
1. Lemote's PMON packaged.
Problem:
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.
Solution:
* Create an official Debian package of Lemote's pmon(2000) software:
http://dev.lemote.com/code/pmon
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:
http://olph.gdium.com/wiki/doku.php/manual:pmon_full#pmon_upgrade

Have I missed anything?

Regards,
Mike.

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