LDP/LDP/howto/docbook/Ecology-HOWTO.xml

4281 lines
141 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
<!ENTITY howto "http://tldp.org/HOWTO/">
<!ENTITY genindex SYSTEM "genindex.sgm">
<!ENTITY index SYSTEM "index.sgml">
<!ENTITY % draftonly "IGNORE">
]>
<book>
<bookinfo>
<title>Linux Ecology-HOWTO</title>
<author>
<firstname> Werner</firstname> <!-- space for better rendering with Lynx -->
<surname>Heuser</surname>
<affiliation>
<address>
<email>wehe[AT]tuxmobil.org</email>
</address>
</affiliation>
</author>
<author>
<firstname> Wade</firstname> <!-- space for better rendering with Lynx -->
<surname>Hampton</surname>
<affiliation>
<address>
<email>whampton[AT]staffnet.com</email>
</address>
</affiliation>
</author>
<author>
<firstname> Michael</firstname> <!-- space for better rendering with Lynx -->
<surname>Opdenacker</surname>
<affiliation>
<address>
<email>michael[AT]free-electrons.com</email>
</address>
</affiliation>
</author>
<legalnotice>
<para>
Copyright &copy; 1999-2009 by Werner Heuser. This document may be
distributed under the terms set forth in the LDP license at
<ulink url="http://tldp.org/COPYRIGHT.html">COPYRIGHT</ulink>.
The information in this document is correct to the best of my knowledge, but
there's a always a chance I've made some mistakes, so don't follow
everything too blindly, especially if it seems wrong. Nothing here should
have a detrimental effect on your computer, but just in case I take no
responsibility for any damages incurred from the use of the information
contained herein. All trademarks belong to their owners.
</para>
</legalnotice>
<copyright>
<year>1999-2009</year>
<holder>Werner Heuser</holder>
</copyright>
<pubdate>0.20, 2009-09-28</pubdate>
<abstract>
<para>
The Linux-Ecology-HOWTO discusses ways to make computers less harmful to
our environment and to solve some ecological issues. It explains how to
use Linux to save power and consumables like paper and ink. Since it does
not require big hardware, Linux may be used with old computers to make
their life cycle longer. Games may be used in environmental education and
software is available to simulate ecological processes.
</para>
</abstract>
<keywordset>
<keyword>laptop</keyword>
<keyword>notebook</keyword>
<keyword>pda</keyword>
<keyword>handheld</keyword>
<keyword>computer</keyword>
<keyword>mobile</keyword>
<keyword>linux</keyword>
<keyword>lcd</keyword>
<keyword>ecology</keyword>
<keyword>polution</keyword>
<keyword>environment</keyword>
</keywordset>
<itermset>
<indexterm><primary>LCD</primary></indexterm>
<indexterm><primary>power management</primary></indexterm>
</itermset>
</bookinfo>
<preface id="ecology-howto-introduction">
<title>Introduction</title>
<epigraph>
<attribution>
<ulink url="http://www.margepiercy.com/">Marge Piercy</ulink>
</attribution>
<para>
Life is the first gift, love is the second, and understanding is the third.
</para>
</epigraph>
<para>
Though computers can be seen as part of environmental pollution, there are
also ways to use computers in a more reasonable manner to help protect the
environment. So I have just started to collect some means to do so with
Linux.
</para>
<sect1 id="ecology-howto-objectives">
<title>Objectives</title>
<para>
Some objectives of the HOWTO:
</para>
<para>
<itemizedlist>
<listitem>
<para>
Reduction in power consumption.
</para>
</listitem>
<listitem>
<para>
Reduction in consumables like paper and inks.
</para>
</listitem>
<listitem>
<para>
Reduction in waste by reusing older components or keeping them in service longer.
</para>
</listitem>
<listitem>
<para>
Reduction in toxic waste such as used batteries.
</para>
</listitem>
<listitem>
<para>
Use of Linux in environmental education and research.
</para>
</listitem>
</itemizedlist>
</para>
</sect1>
<sect1 id="ecology-howto-caveats">
<title>Caveats</title>
<para>
Some of the recommendations in this text are discussed controversial, for instance: powering down a device, when it's not in use. This may save power, but not under all circumstances. Also it may have other additional ecological costs, e.g. the life time of the device can be shortened.
</para>
<para>
I don't have enough technological knowledge to make a decision between these alternatives. Also some alternatives might be rated differently by different persons. So finally the decision what to choose is up to you. Anyway if you have better alternatives please let me know.
</para>
</sect1>
<sect1 id="ecology-howto-about">
<title>About the Document and the Authors</title>
<sect2>
<title>Miscellaneous</title>
<para>
If I didn't provide an URL for a program or a package, you may get it from
<ulink url="http://www.debian.org/">Debian</ulink>
or as a RPM package, from your favorite RPM server, for instance
<ulink url="http://rpmfind.net/">rpmfind</ulink>.
</para>
<para>
Some parts are modified chapters from my
<ulink url="http://tuxmobil.org/howtos.html">Linux-Mobile-Guide and my InfraRed-HOWTO</ulink>.
</para>
<para>
The document is included in the <ulink url="http://tldp.org/">LINUX DOCUMENTATION PROJECT</ulink>.
</para>
<para>
The latest version of this document is available at
<ulink url="http://computerecology.org/">Computers and Ecology</ulink> .
</para>
<para>
A
<ulink url="http://free-electrons.com/articles/linux-ecology">summary presentation</ulink>
about this HOWTO has been contributed by Michael Opdenacker from
<ulink url="http://free-electrons.com/">Free Electrons</ulink>,
which also has made many contributions to this document itself.
</para>
<para>
Since Wade Hampton provided a great amount of information included into this text I consider him as a co-author. Though all responsibility for any mistakes is taken by me.
</para>
<para>
Please feel free to contact me for comments or questions about the HOWTO. I know this material is not finished or perfect, but I hope you find it useful anyway.
</para>
<para>
Werner Heuser &lt;wehe[AT]tuxmobil.org&gt;
</para>
</sect2>
<sect2>
<title>Translations</title>
<para>
Jun Morimoto &lt;morimoto at xantia.citroen.org&gt; has written the <ulink url="http://www.linux.or.jp/JF/JFdocs/Ecology-HOWTO.html">translation into Japanese</ulink>.
</para>
<para>
A translation into Chinese(Big5 code) is proposed by Richie Gan. It is part of the <ulink url="http://www.linux.org.tw/CLDP/">Chinese Linux Document Project</ulink>. You may contact CLDP coordinator &lt;cwhuang at linux.org.tw&gt; to reach him.
</para>
<para>
Victor Solymossy &lt;victor at lig.dq.ufscar.br&gt; proposed a translation into Portuguese.
</para>
</sect2>
</sect1>
</preface>
<chapter id="ecology-howto-power-consumption">
<title>Reduction of Power Consumption</title>
<para>
There are some means to save power when using a computer which are supported by Linux: Advanced Power Management, certain harddisk settings, working without monitor and others.
</para>
<sect1 id="ecology-howto-power-management">
<title>Advanced Power Management (APM/ACPI)</title>
<para>
Putting your GNU/Linux PC in suspend or hibernate mode.
</para>
<sect2>
<title>ACPI</title>
<para>
Most modern PCs support the ACPI (Advanced Configuration and Power Interface) standard.
The <ulink url="http://acpi.sourceforge.net/">ACPI4Linux</ulink> project works on
implementing full ACPI support in the Linux kernel, including fan control, dock/undock detection.
</para>
<para>
All ACPI related information (such as processor or board temperature) is available through files
in <filename>/proc/acpi</filename>. For example, this makes it very easy for desktop environments
(or for your own programs) to display to temperature information somewhere on your screen.
</para>
<sect3>
<title>Hibernate to disk</title>
<para>
Use hibernate to disk and no longer be afraid
of switching off your system. Booting is much faster
than having to wait for services and graphics
to start up. Actually, most of the time is saved by getting back to your work
as you left it before suspending your computer (open files, terminals, browser windows).
There is no need to re-open everything!
</para>
<para>
While hibernating is often considered as a power saving solution
for notebook computers, it should also be used for desktop computers,
to save AC power. Use it when you go for lunch, when you leave the office
in the evening or for holidays...
</para>
<para>
Hibernating also saves a lot of time when you replace a battery of a notebook.
Again, hibernate, install a fresh battery, power up and get back to your
work as you left it off.
</para>
<para>
Technical details
</para>
<itemizedlist>
<listitem>
<para>
Hibernation to disk is implemented by the
<ulink url="http://www.suspend2.net/">Suspend 2 for Linux</ulink> project.
It consists of a kernel driver and a user-space program to control the driver.
Users just need to run the program (usually called <command>hibernate</command>).
</para>
</listitem>
<listitem>
<para>
It works by copying the whole of used RAM to a swap partition.
As a consequence, it requires the swap partition to be at least as
big as the amount of RAM.
</para>
</listitem>
<listitem>
<para>
Both the patched kernel and the user-space program are very
easy to install through packages.
<itemizedlist>
<listitem>
<para>
Here are
<ulink url="http://mhensler.de/swsusp/">Fedora Core packages</ulink>
for download.
</para>
</listitem>
<listitem>
<para>
At least in the 6.06 release of (K)Ubuntu,
hibernating is directly available as an option from the battery icon.
</para>
</listitem>
<listitem>
<para>
Go to your favorite package source for other distributions
</para>
</listitem>
</itemizedlist>
</para>
</listitem>
</itemizedlist>
</sect3>
</sect2>
<sect2>
<title>Older hardware with APM</title>
<sect3>
<title>Linux Compatibility Check</title>
<para>
From the
<ulink url="http://tldp.org/HOWTO/Battery-Powered/index.html">Battery Powered Linux Mini-HOWTO</ulink>
&quot; .. for APM to work on any notebook or energy-conscious desktop, the system BIOS ROM in the machine must support the APM standard. Furthermore, for APM to work with the Linux operating system, the system BIOS ROM must support either the 1.0 or 1.1 version of the APM standard, and it must also support 32-bit protected mode connections. A system that supports APM 1.1 is preferred, as it provides more features that the device driver and supporting utilities can take advantage of.&quot;
You may get information about the APM version with the <command>dmesg</command> command and in the <filename>/proc/apm</filename> file.
</para>
</sect3>
<sect3>
<title>Introduction</title>
<para>
When you first install Linux, you will probably have to recompile the kernel. The kernel that came with your distribution probably does not have APM enabled.
</para>
<para>
APM support consists of two parts: <command>kernel</command> support and <command>user-land</command> support.
</para>
<para>
For <command>kernel</command> support, enable the parameters in the corresponding kernel section. AFAIK not all features work with laptops. AFAIK the feature <command>CONFIG_APM_POWER_OFF</command> works with most laptops.
</para>
<para>
The utilities for <command>userland</command> support may be found at <ulink url="http://www.worldvisions.ca/~apenwarr/apmd/">WorldVisions</ulink>. APMD is a set of programs that control the Advanced Power Management system found in most modern laptop computers. If you run a 2.2.x kernel and want to experiment, Gabor Kuti &lt;seasons at falcon.sch.bme.hu&gt; has made a kernel patch that allows you to <command>hibernate</command> any Linux system to disk, even if your computers APM BIOS doesn't support it directly.
</para>
<!--
seems obsolete:
<para>
Richard Gooch wrote: I'have had a look at the beta version of <command>apmd</command>, and I still don't like it, because:
</para>
<para>
<itemizedlist>
<listitem>
<para>
Only supports one command to run at suspend time.
</para>
</listitem>
<listitem>
<para>
Doesn't distinguish between user and system suspends.
</para>
</listitem>
<listitem>
<para>
doesn't provide a way to disable policy (the <command>sync()</command>; <command>sleep(0) </command>; <command>sync()</command>; <command>sleep(1)</command>; sequence)
</para>
</listitem>
<listitem>
<para>
Does not document extra features.
</para>
</listitem>
<listitem>
<para>
And I'm not sure that what we want is a single super daemon. A collection of
smaller daemons might be better, since it allows people to pick and choose.
A super daemon is bloat for those who only want one small feature.
</para>
</listitem>
</itemizedlist>
</para>
<para>
Though this topic was discussed controversly Richard Gooch has put together a package <command>suspendd</command> at <ulink url="http://www.atnf.csiro.au/~rgooch/linux/">http://www.atnf.csiro.au/~rgooch/linux/</ulink> .
Also, have a look at <command>apmcd</command> (<command>apm</command> based crontab) at
<ulink url="ftp://ftp.binary9.net/pub/linux/">ftp://ftp.binary9.net/pub/linux/</ulink> .
A tool made by Nicolas J. Leon &lt;nicholas at binary9.net&gt;
<ulink url="http://mrnick.binary9.net/">http://mrnick.binary9.net/</ulink>.
Note: I didn't check wether this features are merged into one package (<command>apmd</command> eventually) already.
</para>
-->
</sect3>
<sect3>
<title>Caveats</title>
<para>
If you have another operating system preinstalled or use another operating system at the same disk, make sure there is no "hibernation" or "suspend" tool installed, which could severely interfere with Linux, e.g. it might use disk space which is occupied by Linux or vice versa.
</para>
</sect3>
<sect3>
<title>Troubleshooting</title>
<para>
Sometimes X windows and APM don't work smoothly together, the machine might even hang. A recommendation from Steve Rader: Some Linux systems have their X server hang when doing <command>apm -s</command>. Folks with this affliction might want switch to the console virtual terminal then suspend <command>chvt 1; apm -s</command> as root, or, more appropriately, <command>sudo chvt 1; sudo apm -s</command>. I have these commands in a script, say, <command>my-suspend</command> and then do <command>xapmload --click-command my-suspend</command> .
</para>
<para>
On some new machines (for instance HP Omnibook 4150 - 366 MHz model) when accessing <filename>/proc/apm</filename>, you may get a kernel fault <command>general protection fault: f000</command>. <ulink url="http://www.canb.auug.org.au/~sfr/">Stephen Rothwell</ulink> explains: "This is your APM BIOS attempting to use a real mode segment while in protected mode, i.e. it is a bug in your BIOS. .. We have seen a few of these recently, except all the others are in the power off code in the BIOS wher we can work around it by returning to real mode before attempting to power off. Here we cannot do this."
</para>
</sect3>
</sect2>
<sect2 id="ecology-howto-cpufreq">
<title>Processor frequency scaling</title>
<para>
<command>cpufreq</command> is a Linux kernel driver to control the CPU frequency.
It is included in all recent kernels and enabled by default by recent distributions.
It supports most recent &quot;mobile&quot; processors. Note that only such
processors support frequency scaling.
</para>
<para>
This driver lets user programs control cpu frequency
by writing files in
<filename>/sys/devices/system/cpu/cpu&lt;n&gt;/cpufreq/</filename>.
</para>
<para>
Actually, frequency scaling is usually handled by
a <emphasis>governor</emphasis> program, according
to system or user specific preferences.
</para>
<para>
<ulink url="http://carlthompson.net/Software/CPUSpeed">CPUSpeed
</ulink>is the de-facto governor for Linux.
It allows to control the <command>cpufreq</command> driver
according to user defined criteria: CPU load, board temperature, battery / plugged in...
It is released by default in recent distributions.
</para>
<para>
CPUspeed is usually configured through the <filename>/etc/cpuspeed.conf</filename> file
(Fedora Core 4 example):
</para>
<programlisting>
VMAJOR=1
VMINOR=1
DRIVER="speedstep-centrino"
OPTS="-i 2
-t /proc/acpi/thermal_zone/THM/temperature 70
-a /proc/acpi/ac_adapter/AC/state
-p 10 25
-m 600000 -M 1600000"
</programlisting>
<para>
After making changes, you can restart CPUspeed with
<command>/etc/init.d/cpuspeed restart</command> (Fedora Core example).
</para>
<para>
Type <command>/usr/sbin/cpuspeed -h</command> for details and more options.
</para>
<para>
You can type <command>cat /proc/cpuinfo</command>
to consult the current processor speed. That's useful
to check that the processor speed is scaled according
to your settings.
</para>
</sect2>
<sect2 id="ecology-howto-pm-resources">
<title>Useful Resources for Power Management</title>
<para>
<itemizedlist>
<listitem>
<para>
<ulink url="http://hdparm.sourceforge.net/">hdparm</ulink>
- <command>hdparm</command> is a Linux IDE disk utility that lets you set
spin-down timeouts and other disk parameters. It works also for some SCSI features.
</para>
</listitem>
<listitem>
<para>
<ulink url="http://www.xs4all.nl/~bsamwel/laptop_mode/"><command>Laptop Mode</command></ulink>
- A feature implemented in the Linux kernel since the 2.6.6 version.
The idea is to spin up the hard disk only when reading uncached data,
to delay and group disk writes, in order to reduce hard disk power consumption
and save battery life. Control scripts are shipped by default by recent
distributions.
</para>
<para>
<command>Laptop Mode</command> may not be activated by default by distributions,
as it is not recommended for servers and laptops running on AC power,
because of the risk to loose data in a crash or sudden power off.
</para>
</listitem>
<listitem>
<para>
<ulink url="http://muru.com/linux/dyntick/">Dynamic Tick</ulink>
is available since kernel 2.6.21 and later.
When enabled, this kernel feature allows to disable the
CPU timer interrupts when all processors are idle.
This way, idle systems are not woken up every 4 ms
(default setting in Linux 2.6) just to realize there is nothing to do!
This can save a little bit of power in notebooks
(and CPU cycles in virtual hosting servers).
Regular timer interrupts are re-enabled when something
really happens, when a real hardware interrupt is received.
In kernel configuration, this feature can be selected
from the <command>Kernel Features</command>
section (<command>NO_IDLE_HZ</command> setting).
You can verify whether it is enabled with
<command>cat /boot/config-$(uname -r) | grep CONFIG_NO_HZ</command>.
</para>
</listitem>
<listitem>
<para>
<ulink url="http://www.complang.tuwien.ac.at/ulrich/linux/tips.html">Mobile Update Daemon</ulink>
is a drop-in replacement for the standard <command>update</command> daemon, <command>mobile-update</command> minimizes disk spin ups and reduces disk uptime. It flushes buffers only when other disk activity is present. To ensure a consistent file system call <command>sync</command> manually. Otherwise files may be lost on power failure. <command>mobile-update</command> does not use APM. So it works also on older systems.
</para>
</listitem>
<listitem>
<para>
The <command>noatime</command> and <command>nodiratime</command>
mount options can be used to reduce disk writings.
In operating systems like Linux which comply with the POSIX standard,
filesystems are supposed to record the last time files are read.
With default kernel settings, even if files are read from the file
cache in RAM, this causes time data to be written to disk every
5 seconds. You may use a line like this
<command>/dev/hda3 /data ext3 defaults,noatime,nodiratime, 1 2</command> for example
in <filename>/etc/fstab</filename>.
</para>
<para>
To avoid this and reduce disk activity, you can add the <command>noatime</command>
mount option to lines in the <filename>/etc/fstab</filename> file.
</para>
<para>
This option doesn't have any known or significant impact on regular programs,
except perhaps for backup / archiving software for which file access time information
is useful.
</para>
</listitem>
<listitem>
<para>
<ulink url="http://www.buzzard.me.uk/toshiba/index.html">Toshiba Linux Utilities</ulink>
- This is a set of Linux utilities for controlling the fan, supervisor passwords, and hot key functions of Toshiba Pentium notebooks. There is a KDE package <command>Klibreta</command>, too.
</para>
</listitem>
<listitem>
<para>
<ulink url="http://lcdproc.omnipotent.net/">LCDproc</ulink>
- "LCDproc is a small piece of software that will enable your Linux box
to display live system information on a LCD display. It
supports a lot of serial and parallel LCDs.
</para>
</listitem>
<listitem>
<para>
<ulink url="http://sourceforge.net/projects/diald/">Dial Daemon</ulink>
- The Diald daemon provides on demand Internet connectivity using the SLIP or PPP protocols. Diald can automatically dial in to a remote host when needed or bring down dial-up connections that are inactive.
</para>
</listitem>
<listitem>
<para>
Getting your computer to use the least amount of power can be problematic.
Intel's
<ulink url="http://www.linuxpowertop.org/"></ulink> project provides information on reducing power usage, tips, and tricks for Intel-based computers running Linux.
As a first step, Intel has released PowerTOP, a tool that helps you find what
software is using the most power. By fixing (or closing) these applications or
processes, you can immediately see the power savings in the tool. You'll also
see the estimated time left for battery power if you are running a laptop. The
Tips &amp; Tricks page has fixes for a lot of the issues that are already found.
</para>
</listitem>
</itemizedlist>
</para>
</sect2>
<sect2 id="ecology-howto-restoring">
<title>Restoring your Work after Shutdown</title>
<para>
Even if you don't use hibernate or suspend and
switch off your system in a standard way, you still
have ways of saving time getting back to your work.
</para>
<para>
Modern graphical environments (KDE or Gnome)
restart the applications that were open when you logged out.
However, most applications just get back to their initial state
and you will probably need to open your files again.
</para>
<para>
For people who do not want to loose the HTML pages
they were browsing, the <ulink url="http://www.mozilla.com/firefox/">
Mozilla Firefox browser</ulink> as a nice <command>Bookmark All Tabs...</command>
command in the <command>Bookmarks</command> menu.
This is very convenient to restore a set of tabs
or just to start your browser with all your favorite information
sites when you arrive in the morning.
Firefox v3 can save the current state of the browser and will
restore it upon powerup.
</para>
<para>
So, unless your computer is really computing something,
you have less excuses for keeping it on!
</para>
</sect2>
</sect1>
<sect1 id="ecology-howto-pmu">
<title>Power Management Unit - PMU (Apple PowerBook)</title>
<para>
PowerBooks don't support the APM specification, but they have a separate protocol for their PMU (Power Management Unit). There is a free (GPL) daemon called <command>pmud</command> that handles power management; it can monitor the battery level, put the machine to sleep, and set different levels of power consumption. It was written by Stephan Leemburg &lt;stephan at jvc.nl&gt;, and is available from PPC distribution FTP sites. There is also an older utility called <command>snooze</command> available from the same sites that just puts the PowerBook to sleep.
</para>
</sect1>
<sect1 id="ecology-howto-monitor">
<title>Turn Monitor off, use Keyboard LEDs</title>
<para>
There are some tools which allow to get information from your computer without using the monitor:
<itemizedlist>
<listitem>
<para>
<command>bl</command> : Blink Keyboard LEDs
</para>
</listitem>
<listitem>
<para>
<command>blinkd</command> : "Blinks keyboard LEDs for an answering
machine or fax machine. Blinkd is a client/server pair, that lets the
keyboard LEDs blink, indicating things like the number of incoming voice
calls in the voice box or incoming faxes in the spool."
</para>
</listitem>
<listitem>
<para>
<command>mailleds</command> : Shows new mails with the keyboard LEDs,
<command>mailleds</command> is a quiet, unobtrusive way to signify that
you have new mail: a user daemon to blink LEDs when there is new mail.
</para>
</listitem>
<listitem>
<para>
<command>tleds</command> : Blinks keyboard LEDs indicating TX and RX network
packets. They blink Scroll-Lock LED when a network packet leaves the
machine, and Num-Lock LED when one is received.
</para>
</listitem>
<listitem>
<para>
<ulink url="http://www.iki.fi/sampo.niskanen/ledcontrol/">ledcontrol</ulink>:
is a program that allows you to show different information on the
normally-unused LEDs on your keyboard. You can configure it to show virtually
any true/false condition accessible or indicate an arbitrary number. The
monitoring is by default done by shell scripts to allow for maximal
configurability.
</para>
</listitem>
</itemizedlist>
</para>
</sect1>
<sect1 id="ecology-howto-screensavers">
<title>Screensavers</title>
<sect2 id="ecology-howto-screensaver-progs">
<title>Screensaver Programs</title>
<para>
Do they only prevent the screen from being burned in or do they save power, too?
</para>
<para>
Some recommendations from Wade Hampton:
Screensavers usually display graphics, look for ETI, or perform other tasks. When using your screensaver in this manner, you may actually consume MORE power. For example a computer using XSETI as a screensaver might get far warmer (hence use more power) than when it was being used to edit a document or perform a compile.
</para>
<para>
Some screen saver programs:
<itemizedlist>
<listitem>
<para>
The purpose of <command>xscreensaver</command> is to display pretty pictures
on your screen when it is not in use, in keeping with the philosophy that
unattended monitors should always be doing something interesting, just like
they do in the movies. The benefit that this program has over the
combination of the <command>xlock</command> and
<command>xautolock</command> programs is the ease with which new graphics
hacks can be installed: you don't need to recompile this program to add a
new display mode, you just change some resource settings. Any program which
can be invoked in such a way that it draws on the root window of the screen
can now be used as a screensaver without modification. The programs that
are being run as screensavers don't need to have any special knowledge about
what it means to be a screensaver.
</para>
</listitem>
<listitem>
<para>
<command>LockVC</command> is a console-locking-program combined with a
starfield screensaver. Executing LOCKVC on a virtual console brings up a
starfield that starts to rotate around all three axes.
</para>
</listitem>
</itemizedlist>
</para>
</sect2>
<sect2 id="ecology-howto-display-power">
<title>Display Power Control</title>
<para>
To really save power, and if your X server plus monitor supports it, use the <command>dpms</command> option of <command>xset</command> (see the manual page for <command>xset</command>). For example, to enable the DPMS (Energy Star) features of you X server: <command>xset +dpms</command>
</para>
<para>
You may also manually change the mode of your X display:
</para>
<programlisting>
xset dpms force standby
xset dpms force suspend
xset dpms force off
</programlisting>
<para>
Note that <command>suspend</command> and <command>off</command> usually save much more energy than just <command>standby</command>,
especially in CRT displays.
</para>
<para>
According to manufacturers, switching off LCD displays more often doesn't
reduce their lifetime. As user can easily notice, there is no significant penalty
either between suspend and off modes in terms of switching on time.
</para>
<para>
In modern graphical desktop environments (like Gnome and KDE),
it is easy to configure automatic display switch off after a given
inactivity timeout:
</para>
<itemizedlist>
<listitem>
<para>
KDE display power management: configure it in
<command>Control Center -> Peripherals -> Display -> Power Control</command>.
</para>
</listitem>
<listitem>
<para>
Gnome display power management: configure it in
<command>Desktop -> Preferences -> Screensaver -> AdvancedControl Center -> Peripherals -> Display -> Power Control</command>.
</para>
</listitem>
</itemizedlist>
<para>
AFAIK a CRT consumes on the order of 25 percent more power when displaying a <command>plain white</command> screen than displaying a <command>plain black</command> screen. So, a screensaver that's mostly black can help save power, even if it doesn't actually use DPMS to power down the screen. Of course, one that's very bright and colourful, or that keeps the CPU running fast is not much help.
</para>
</sect2>
</sect1>
<sect1 id="ecology-howto-virtualservers">
<title>Virtual Servers: Consolidation and Virtualization</title>
<para>
On enterprise networks, or on the Internet, security constraints may require
that different services are run on different, isolated servers.
The problem with this one server per service approach
is that most spend a lot of idle time waiting for some rare activity bursts.
</para>
<para>
Several technologies now make it possible to run several GNU/Linux servers
inside a real, physical GNU/Linux server. As in physical servers, each virtual server
is isolated from the others. So, this approach retains the benefits of
separate servers, but makes it possible to share some hardware resources
like the CPU and network bandwidth. On the other hand, each virtual server
enjoys a reserved amount of RAM and disk space.
</para>
<para>
The benefits of virtual servers are obvious in terms of cost, power consumption,
optimum use of hardware resources, and consumption of computer materials.
There is another key advantage for hardware maintenance: virtuals servers
can very easily and transparently be migrated from one physical server to another.
</para>
<para>
Virtualization solutions:
</para>
<itemizedlist>
<listitem>
<para>
<ulink url="http://user-mode-linux.sourceforge.net/">User Mode Linux</ulink>
- The original solution. Allows to run one or several Linux kernel executables
on a Linux machine (with a standard kernel) as regular programs.
</para>
</listitem>
<listitem>
<para>
<ulink url="http://www.cl.cam.ac.uk/Research/SRG/netos/xen/">Xen</ulink>
- An increasingly popular alternative, with very little performance overhead.
Also allows live server migration to other hardware. Requires a patched Linux kernel.
</para>
</listitem>
</itemizedlist>
<para>
Virtuals servers all already very popular solutions for website hosting,
but virtualization still has a very strong potential in corporate networks.
</para>
</sect1>
<sect1 id="ecology-howto-energystar">
<title>Energy Star Label</title>
<para>
Robert Horn &lt;rjh at world.std.com&gt; wrote: "
</para>
<para>
I had a chance to discuss Energy Star with the designers of desktop printers. They confirmed that the allowable stand-by power targets depend on the device, and they only knew their targets. But they made some other interesting comments:
<itemizedlist>
<listitem>
<para>
Energy Star ratings lead to significant operational power savings. Timer based power savings are the exception. Most savings come from designing in power on demand with low leakage drivers. For example, using stepper motors with low leakage current instead of high leakage.
</para>
<para>
This savings is both from individual designs and from the resulting demand for low leakage products causing better and cheaper low leakage product designs. The old-style (e.g. typewriter) design with one motor (always on) and various clutches is no longer the least cost.
</para>
</listitem>
<listitem>
<para>
Energy Star was good organizational engineering. It never required designers to compromise quality or performance, which made it much harder to argue against design changes to reduce power consumption while idle. Since most of the savings begin the millisecond that parts stop moving, these savings are considerable.
</para>
</listitem>
<listitem>
<para>
The power ratings on PC's are a safety rating, not a usage rating. So the 235W and 300W power supplies that commonly found in PCs are specifying their safety limits. Actual full power usage is much less, typically 20-30 percent of the safe limit. The designers also noted that it is actually difficult to measure the power consumption of a switching power supply. You need to use specially designed power meters. The regular AC meters are designed for motors, and are rather inaccurate for switching power supplies.
</para>
</listitem>
</itemizedlist>
</para>
</sect1>
<sect1 id="ecology-howto-cpu-cycles">
<title>Using Spare CPU Cycles</title>
<para>
Some Linux applications use idle time in computers to cure diseases,
study global warming, or any other scientific research.
They run as a
low-priority process (nice 20), so you can work without noticing
that it's doing its task. Another use is for people who use P2P
software and leave the PC turned on for long hours unattended, all
that time the PC can be using the electricity it is consuming for
a practical purpose:
<itemizedlist>
<listitem>
<para>
<ulink url="http://boinc.berkeley.edu/">BOINC</ulink>
</para>
</listitem>
<listitem>
<para>
<ulink url="http://distributed.net/">Distributed.net</ulink>
</para>
</listitem>
</itemizedlist>
</para>
</sect1>
<sect1 id="ecology-howto-power-savings-misc">
<title>Miscellaneous Power Saving Techniques</title>
<para>
Linux halts the CPU in the idle cycle to further reduce power consumption. Early reports of OS/2, Win3.1/95, NT, and Linux showed Linux to use far less power than DOS-based O/S's that spun in the idle loop and consumed power -- this may have changed hence it would need research to validate.
</para>
<para>
Most Linux-users tend to leave their computer on for years whenever
possible. However, several modern BIOS's support an unattended powerup, and
with <command>cron</command> you can even do an unattended
<command>shutdown</command>. No need to leave the computer on night after
night. Other techniques to powerup your computer at certain times
are: ACPI-Wakeup, NVRAM-wakeup and the <command>settime</command> command.
Computers can even be power up on request remotely by means of
Wake-on-LAN using a network connection or Wake-on-Ring using an
old fashioned serial interface and a modem.
</para>
<para>
Beware of animated web pages! Web pages containing Flash, Java,
or just animated images can consume a lot of CPU.
When you leave your computer and keep it on,
make sure you close all browser pages with animations.
Otherwise, your PC may be left running at full speed while you are not using it.
</para>
<para>
To disable animated images in Mozilla Firefox
go to <ulink url="about:config">about:config</ulink>,
find <command>image.animation_mode</command> and change its value
to <command>none</command> or <command>once</command>.
</para>
<para>
Do not forget to switch off your DSL modem / wireless router / ISP box / printers
at night or during vacations if you don't use them.
These devices consume quite a lot (typically 15W).
</para>
</sect1>
</chapter>
<chapter id="ecology-howto-power-supplies">
<title>Alternative Power Supplies - Sun, Wind, Water</title>
<para>
See a survey of links at <ulink url="http://www.cirkits.com/">Eklektix</ulink> .
</para>
</chapter>
<chapter id="ecology-howto-noise-reduction">
<title>Noise Reduction</title>
<para>
Most of the noise emitted by a computer is produced by the fan, the harddisk and the speakers.
</para>
<sect1 id="ecology-howto-fan">
<title>Fan</title>
<para>
<itemizedlist>
<listitem>
<para>
<command>libsensors0</command> is a library to read temperature/voltage/fan sensors
</para>
</listitem>
<listitem>
<para>
<ulink url="http://www.lm-sensors.nu/">lm-sensors</ulink>:
"Kernel drivers to read
temperature/voltage/fan sensors. This is a module for reading the
temperature/voltage/fan sensors in Linux via the LM78/79 chip and
possibly sensors on the SMBus (System Management Bus, usually found in
P6 and P-II systems). The LM80 and a LM78-clone called W83781D are
also supported."
</para>
</listitem>
<listitem>
<para>
ACPI, see APM chapter
</para>
</listitem>
<listitem>
<para>
<ulink url="http://www.tinet.org/~com.ea/rtsensors/">RTSensors</ulink>
can be configured by the user as an expert controller: The user can
specify the max/min speed of the system fans, the maximum affordable
temperature and so on. The controller tries to reduce fan speed to reduce
noise while the temperature is in a safe range chosen by the user. So fan
speed is modified automatically by the control algorithm, you don't have to use
those mechanic or thermal regulators on your fans anymore.
<!--
CARLOS OLALLA MARTINEZ <carlos.olalla at estudiants.urv.es>
-->
</para>
</listitem>
</itemizedlist>
</para>
</sect1>
<sect1 id="ecology-howto-hdd">
<title>Harddisk</title>
<para>
To avoid unneccessary hard disk noise you may use the same
techniques as described in the power saving chapter.
Hard disks in most laptops are the primary source of noise.
Modern laptop and notebook hard drives come with a so-called
"Acoustic Management", just have a look into the manual
to get an overview about the possible settings.
</para>
<para>
The noise of the hard disk can be very disturbing, see
<command>man hdparm</command> to reduce the spin of the disk.
</para>
<para>
Some hard disk manufacturers offer dedicated tools, e.g.
Hitachi's
<ulink url="http://www.hitachigst.com/hdd/support/download.htm">Feature Tool</ulink>
allows to change the drive Automatic Acoustic Management settings to the
Lowest acoustic emanation setting (Quiet Seek Mode), or
Maximum performance level (Normal Seek Mode).
</para>
</sect1>
<sect1 id="ecology-howto-speakers">
<title>Speakers</title>
<para>
For the console <command>setterm -blength 0</command> and for X <command>xset b off</command> turns the bell off. See also PCMCIA-HOWTO, and much more details in the <ulink url="http://tldp.org/HOWTO/Visual-Bell.html">Visible-Bell-mini-Howto</ulink> by Alessandro Rubini.
</para>
</sect1>
</chapter>
<chapter id="ecology-howto-consumables">
<title>Saving Consumables (Paper, Ink, etc.)</title>
<sect1 id="ecology-howto-printing-drafts">
<title>Printing of Drafts / Multiple Pages on One Sheet of Paper</title>
<para>
Use <command>psutils</command> package to put more than one page on one sheet of paper. This collection of utilities is for manipulating PostScript documents. Page selection and rearrangement are supported, including arrangement into signatures for booklet printing, and page merging for n-up printing.
</para>
<para>
For example, to create a PostScript document with 4 pages per sheet:
</para>
<para>
<command>psnup -nup 4 doc.ps > doc4p.ps</command>
</para>
<para>
Often HTML pages are not optimised for printing. You may use <command>html2ps</command>, a HTML to PostScript converter, to print HTML pages. "This program converts HTML directly to PostScript. The HTML code can be retrieved from one or more URLs or local files, specified as parameters on the command line. A comprehensive level of HTML is supported, including inline images, CSS1, and some features of HTML 4.0."
</para>
<para>
Or you may use <command>mpage</command> to print 2 up or 4 up (PS documents or ASCII text). This may be used to save up to 50 percent or more of your paper.
</para>
</sect1>
<sect1 id="ecology-howto-printing-doublesided">
<title>Double Sided Printing</title>
<para>
One important way to save paper is to print on both sides of the paper. Depending on the printer capabilities, this can either be done manually (printing odd and even pages in 2 passes), or by instructing the printer to use both sides.
</para>
<sect2 id="ecology-howto-printing-doublesided-printercontrol">
<title>Printer control</title>
<para>
If your GNU/Linux distribution is using the CUPS printing system (as most do nowadays), you can configure double sided printing through the CUPS administration interface. Open the <ulink url="http://localhost:631">http://localhost:631</ulink> URL with a browser, type your root password if required, and configure any local printier supporting double sided printing. This applies by default to all future print jobs.
</para>
<para>
Print settings can also be changed on a job by job basis too. In particular, KDE and Gnome let applications select and configure printers for each print job.
</para>
<para>
If you are printing from the command line, you can use the <ulink url="http://www.mscs.dal.ca/~selinger/lpr-wrapper/">lpr-wrapper</ulink> to insert printer control instructions to PostScript files at print time. Example:
</para>
<para>
<command>lpr-wrapper -od doc.ps</command>
</para>
</sect2>
<sect2 id="ecology-howto-printing-doublesided-manual">
<title>Manual printing</title>
<para>
If double sided printing is not supported by your printer, you can also achieve this by printing odd/even (or right/left) pages separately. Many graphical applications like OpenOffice.org let you do that.
</para>
<para>
If you print from the command line, you can also do this with <ulink url="http://www.mesa.nl/pub/mpage">mpage</ulink>. From the manual page:
</para>
<para>
<command>-jfirst[-last][%interval]</command>
</para>
<para>
Print just the selected sheets, specified by number, starting at 1. Here last defaults to the end of data, interval to 1. Thus -j1-10 selects the first 10 sheets, while -j 1%2 prints just the odd- numbered sheets and -j 2%2 prints just the even ones.
</para>
<para>
You can do double-sided printing, in two passes, as follows. If you use 3-hole punched paper, put it in the printer such that the holes will appear at the top of the page -- on the right as you pull out the printer tray, in our Laser writer II NTX. Print the odd-numbered sheets with
</para>
<para>
<command>-j 1%2 ...</command>
</para>
<para>
Note the number of pages it reports. (Only half this many will really be printed). When printing finishes, if mpage reported an odd number of pages, remove the last one from the stack, since there will be no even-numbered sheet to match it. Then arrange the stack of paper for printing on the other side. (If it's punched, the holes will now be on the left.) On our II NTX, the paper comes out blank-side up; replace it in the tray still blank-side up but rotated 180 degrees. For other printers, you figure it out. Now print the even- numbered sheets in reverse order with
</para>
<para>
<command>-r -j 2%2 ...</command>
</para>
<para>
Hoping no one else reaches the printer before you do.
</para>
<para>
<ulink url="https://sourceforge.net/projects/duplexpr/">Duplex</ulink>
is a set of sh scripts that emulates duplex printing (on
both sides of the paper) for sheet-fed printers that do not support
duplex printing in hardware. It is intended for use on printers connected
to workstations. It can operate as a pipe so that applications can use it
as a duplex printing driver. Its unique feature is its ability to print
to print many duplex print jobs in one batch, printing the odd sides of
all jobs and then the even sides in just two passes.
</para>
</sect2>
</sect1>
<sect1 id="ecology-howto-printing-monitor">
<title>Reading From the Monitor Instead From Paper</title>
<para>
Or use <command>less</command>/<command>xless</command>/<command>gless</command> as a viewer instead of printing. You can view PostScript documents with <command>gs</command> and view PDF documents with either <command>xpdf</command> or <command>acroread</command> (from <ulink url="http://www.adobe.com">Adobe</ulink>). Ask yourself, do you --really-- need a hardcopy each time you decide to print something out.
</para>
<para>
For your own documents, a good idea is to create them in landscape mode, making them easier to read
without having to scroll up and down. Otherwise, readers may find reading from the screen
inconvenient and may then prefer printing. See PDF editions of the free
<ulink url="http://www.tuxmagazine.com/">Tux Magazine</ulink> for a nice examples.
</para>
<para>
What are the reasons why people don't read from the monitor:
<itemizedlist>
<listitem>
<para>
Reading is slower up to 30 percent, see <ulink url="http://www.useit.com/alertbox/9602.html">Jakob Nielsen: In Defense of Print</ulink>. The speed can be improved by better hardware (e.g. TFT display, greater screen, though this is against the other below to take smaller CRTs) and better display software and fonts (type-1, t1lib, truetype, freetype).
</para>
</listitem>
<listitem>
<para>
Paper seems better organizable and more secure to some people. I suppose this can be treated by better software (e.g. Linux) and hardware, too.
</para>
</listitem>
</itemizedlist>
</para>
<para>
Some people use handheld PC (e.g. PalmIII, Newton Message Pad, Psion 5) to
carry around documents to read rather than printing them out. At TuxMobil
you may get information about
<ulink url="http://tuxmobil.org/pda_linux.html">Linux compatibility for handheld PCs and PDAs</ulink>.
Or they take eBook readers to read "Electronic Paper". At TuxMobil there is
a section about
<ulink url="http://tuxmobil.org/ebook.html">Linux compatibility for eBook readers</ulink>, too.
<!--
See http://en.wikipedia.org/wiki/Electronic_Paper#EBook_readers for
details. -->
</para>
</sect1>
<sect1 id="ecology-howto-printing-other-techniques">
<title>Other Techniques</title>
<para>
Another means of saving paper is through the use of comments and redline/strikeout markings when exchanging a document with a co-worker/colaborator. For example, a draft could be written using WordPerfect, then E-MAILed to a co-worker. They could update the draft and send it back to you. You can use WordPerfect's redline/strikeout features to see the changes. The document need not be printed until it is "final" or in "final draft" status.
</para>
<para>
Question: Can you use the back side of paper in a laser printer? I have not had much luck. You can use the paper that has been in a laser printer in an inkjet printer by using the other side.
</para>
<para>
You should purchase smaller computers and monitors when possible. This will save packaging material translating into less solid waste. For example the box for a 15" CRT monitor is 2-3 times the size of the box for a 15" LCD monitor. Linux works well with 15" LCD monitors on smaller computers like the Netwinder or <ulink url="http://www.thinworks.com/campaign/try_e3000.html">E3000</ulink> .
</para>
<para>
Tough smaller monitors may have another ecological caveat: because it's inconvenient to browse to longer documents, people may tend to print the documents instead of reading them from the screen.
</para>
<para>
Some have expressed the concern that LCD displays may use more toxic materials and manufacturing processes than CRT displays, hence their usage actually may be worse on the environment. The original information above concerned the solid waste issue, which is fairly tangible and hence more controllable.
</para>
<para>
Does anyone know of studies or additional research to help clarify and resolve this issue?
</para>
<para>
Recycle your used paper, ink, and packing materials.
</para>
<para>
You may use refillable printer cartridges. In Germany the are marked with the <command>Blauer Engel</command> label.
</para>
<para>
Laser printer cartridges can often be used much more longer if you shake them when the message <command>toner low</command> appears at the message panel.
</para>
<para>
<itemizedlist>
<listitem>
<para>
LaTeX documents:
Using <command>\usepackage{ccfonts}</command> replaces the usual fonts by ones with wider lines and bolder serifes, improving readability at low resolutions. They are darker (i.e. use more ink) than the CM fonts and not as beautiful, so I would not recommend them for normal-size printings.
</para>
</listitem>
<listitem>
<para>
Size-Reduction:
Instead of <command>psnup</command> or other parts of the <command>pstools</command> check for enhanced Perl rewritings of <command>psnup</command>.
<!--
written in Perl4 by Malcolm Herbert (it's from 1994, and no longer maintained but however there is a descendant of it called <command>yup</command>, available at <ulink url="http://redback.spyda.net/~mjch/yup/">yup</ulink>).
http://www-hermes.desy.de/notes/extras/postscript.html
http://consodoc.com/psnup2/
-->
</para>
<para>
It has a lot of options, which allow to set all 4 margins and the inner gutter separately. Since reduced documents are not very pretty anyway, this can be used to reduce the margin, leaving more place for the text. This probably requires some experimenting (trying new values over and over, checking the result with <command>ghostview</command>).
</para>
<para>
The normally used options are:
<itemizedlist>
<listitem>
<para>
<command>-p2</command> (or <command>-p4</command> etc., like <command>-2</command> in the old <command>psnup</command>)
</para>
</listitem>
<listitem>
<para>
<command>-NIH</command> (don't decorate)
</para>
</listitem>
<listitem>
<para>
<command>-l10</command> <command>-r20</command> <command>-b30</command> <command>-t40</command> (add to margins)
</para>
</listitem>
<listitem>
<para>
<command>-g50</command> (add to gutter)
</para>
</listitem>
</itemizedlist>
</para>
<para>
(these values vary depending on the papersize and the margins of the original, negative values are allowed).
</para>
</listitem>
<listitem>
<para>
<ulink url="http://go.warwick.ac.uk/pdfjam">PDFjam</ulink>
is a small collection of shell scripts that provide a
simple interface to some of the functionality of the pdfpages package for
pdfLaTeX. At present, the utilities available are pdfnup, pdfjoin, and
pdf90. PDFjam depends on a working installation of (pdf)LaTeX. pdfnup puts
multiple document pages together on one physical page at a reduced size.
pdfjoin concatenates multiple PDF documents. pdf90 rotates the pages of
PDF documents. For Mac OS X, some example applications (droplets) are
provided for drag-and-drop access to the scripts.
</para>
</listitem>
<listitem>
<para>
Different ink printers are more or less capable to print on the
backside of already used paper sheets. That's particularly
useful to reuse all single sided paper sheets you receive
for free every week! Try different manufacturers.
Older Canon ink printers offer 360 dpi, older HP ink printers 300
dpi. The readability of 4 pages/sheet using LaTex 10pt lies in
between this features.
</para>
</listitem>
<listitem>
<para>
Non-Linux:
If you have to work with MS-Windows you should get the original
Adobe-PostScript-Driver, instead of using the ones from
MS-Windows. These drivers offer more than one page per paper
sheet. AFAIK both <command>psnup</command> programs don't work
with Adobe-PS, MS-Windows-PS and the PostScript extracted from
MS-Windows-PDF files. The Computer-Modern-Fonts (without German
diacritical characters) are available as TTF fonts on the CTAN
servers. With these fonts you may enhance the aesthetical value of
documents and save some paper space, too.
</para>
</listitem>
<listitem>
<para>
Ghostscript has a new output format <command>pswrite</command>,
which creates output in correct PostScript. This feature can be
used to repair broken PostScript e.g. from Microsoft drivers,
allowing their postprocessing with <command>psnup</command> etc.
</para>
</listitem>
<listitem>
<para>
<ulink url="http://imagic.weizmann.ac.il/~dov/freesw/impose+/">impose+</ulink>
is a set of PostScript utilities. The main program is impose,
which is used for two-up printing of DSC-compliant PostScript
(including that from Netscape, dvips, and FrameMaker). It
makes an effort to remove white space from the printout by
probing the original PostScript for the bounding box of the
printed area. This makes the output much more esthetic than
does a simplistic layout of non-cropped original pages.
</para>
</listitem>
<listitem>
<para>
<ulink url="http://www.hpgs.cjb.net/">hpgs</ulink> is a
printer driver that lets you to print on a HP 6xx Series
printer using economic mode. It relies on the printer driver
included in GhostScript to do everything but put the printer
into economic mode.
</para>
</listitem>
<listitem>
<para>
Besides command line tools for sophisticated printing there are also
usefull GUI applications available. KPrinter opens automatically
when you click on the "Print" icon of any KDE application. Choose your
print job settings by going through the dialog and the click on the
"Print" button.
kprinter is a very versatile tool. Depending on the actual features
and power of the print subsystem of your com- puter, kprinter
translates the former's abilities into a nice and easy-to-understand
GUI e.g. if your print subsystem does not support duplexing, kprinter
will not show the option.
</para>
</listitem>
<listitem>
<para>
<ulink url="http://g-manual-duplex.sourceforge.net/">gnome-manual-duplex</ulink>
is a utility that adds manual duplex to the "Print" menu.
</para>
</listitem>
<listitem>
<para>
<ulink url="http://www.ecofont.eu/">ecofont</ulink>
is an open source sans serif font with holes added to save printer ink.
</para>
</listitem>
<listitem>
<para>
If you need to print a lot of Web pages from inside your FireFox webbrowser, the
<ulink url="http://addons.mozilla.org/firefox/951">Nuke Anything Enhanced</ulink>
extension will help you to save some ink and paper. Once installed,
it adds a "Remove this object" option to the right-click context menu.
Place your mouse over information you don't need printed (menu bars,
big graphical logos and so on) and use "Remove this object" to zap
them temporarily. Clean up the page, then print just what you need.
</para>
</listitem>
</itemizedlist>
</para>
<para>
Wade Hampton provided the biggest part of this chapter. Some suggestions are from Ralf Muschall.
</para>
</sect1>
</chapter>
<chapter id="ecology-howto-convenience">
<title>Ecological Behaviour is Convenient</title>
<para>
The <command>psutils</command> may not only save paper, they are also a
great tool to produce a convenient page design. Imagine a nice bounded
manual in A5 format, against a losely hefted block of A4 sheets.
</para>
<para>
Depending on wordlength and paragraphlength a multi-column layout
sometimes saves paper space (though the likelihood for a word to be broken
increases, on the other hand the space used by incomplete lines at the end
of paragraphs decreases). This doesn't save very much paper, but may fit
2.1 pages in 2.0, therefore with the use of <command>psnup</command> it
may fit on one page. Also multicolumn layout is better readable.
</para>
<para>
<ulink url="http://www.mathstat.dal.ca/~selinger/psdim/">psdim</ulink>
is a small utility to be used in conjunction with pstops. It looks at
the contents of a postscript document to determine the size of the printed
pages. From this, it calculates the optimal placement of the pages for n-up
printing. It outputs a format string suitable for processing by pstops.
</para>
<para>
Thanks to Ralf Muschall for his suggestions.
</para>
</chapter>
<chapter id="ecology-howto-recycling-consumables">
<title>Recycling of Consumables (Paper, Printer Cartridges, CD, Floppies, Tapes)</title>
<para>
All of these consumables are recycleable. I have put a list of URLs into appendix H. You may start this process by separating different kinds of "waste". There should be included some words on the difficulties of recycling (data security, motivation, costs, ...).
</para>
</chapter>
<chapter id="ecology-howto-reduction-emission">
<title>Reduction of Radiation, Electro Magnetic Fields, Heat</title>
<para>
<itemizedlist>
<listitem>
<para>
monitors are a source of <command>radiation</command> and <command>electro magnetic fields</command>. They may be reduced by lead filters, LCD displays. Some eco labels like TCO95 include maximum levels of radiation, etc.
</para>
</listitem>
<listitem>
<para>
especially larger number of PCs or can <command>heat</command> a room very much therefore it might be necessary to cool the room. This ca be reduced by using standby (powerdown) techniques.
</para>
</listitem>
</itemizedlist>
</para>
</chapter>
<chapter id="ecology-howto-lifecycle">
<title>Extending the Life Cycle of your Hardware</title>
<sect1 id="ecology-howto-lifecyle-hardware">
<title>Recycling of Hardware</title>
<para>
The commercial computer market is largely driven by vendors seeking to sell new hardware and software. There is no commercial marketing benefit in promoting reuse.
</para>
<para>
Hence Linux doesn't require big hardware, it's very useful if you like or need to use old and small hardware.
</para>
<sect2>
<title>Supported CPU Families</title>
<para>
Linux runs on Intel-compatible processors (starting from the 386) and compatible processors by AMD, Cyrix and others.
It also supports a long list of 32 and 64 bit processors.
The whole list can be found in the
<ulink url="http://sosdg.org/~coywolf/lxr/source/arch/"><command>arch</command>
directory in the Linux kernel sources</ulink>.
</para>
<para>
The ARM architecture is a fast AND low-power alternative,
used in a great number of embedded systems (Linux and others).
See the <ulink url="http://www.arm.linux.org.uk/">
ARM Linux Project</ulink> for a wealth of Linux
resources for ARM.
</para>
<para>
Linux is also supported on small, cheap and low power processors with no
Memory Management Unit (MMU), provided they are 32 bit ones.
See the <ulink url="http://uclinux.org/">uClinux</ulink> project for details.
</para>
<para>
Mainstream Linux requires at least a 32 bit processor
and doesn't support any 16 bit ones and will never do.
However, there are separate efforts from
the <ulink url="http://elks.sourceforge.net/">ELKS</ulink> project
to reuse Linux code for the 286 CPU family.
</para>
<para>
On platforms supported by Linux, or even on some 16 bit processors,
you may also use the <ulink url="http://ecos.sourceware.org/">eCos</ulink>
operating system. This is another free, POSIX compatible operating system
targeting very small devices (possibly with real-time requirements).
</para>
<para>
If you like, you may use <ulink url="http://www.cs.vu.nl/~ast/minix.html">Minix</ulink>,
one of the predecessors of Linux. Minix supports 8088 to 286 with as little as 640K memory.
</para>
</sect2>
<sect2>
<title>Linux Applications for Old Computers</title>
<sect3>
<title>RULE</title>
<para>
Hardware is only as old as the software it runs.
<ulink url="http://www.rule-project.org/">RULE</ulink>
wants to make modern
Free Software useable even on 5 or more years old machines, on which current
Linux distributions won't install or run too slowly.
</para>
</sect3>
<sect3>
<title>ISDN Router</title>
<para>
<ulink url="http://schumann.cx/isdn-router/">ISDN Router</ulink> allows you to convert old hardware into a secure masquerading ISDN router, including caching nameserver, IP Port Forwarding, and on-demand channel bundling. The system fits onto a single disk, and users can change the configuration through a simple menu-based system (on the console or over telnet) and store it permanently on the disk.
</para>
</sect3>
<sect3>
<title>Linux LiveCD Router</title>
<para>
<ulink url="http://www.wifi.com.ar/english/cdrouter.html">Linux LiveCD Router</ulink>
allows you to share and firewall your broadband
connection and use WiFi. It works with DSL, cable modem, T1, and dial-up
connections and supports inexpensive hardware such as USB and PCMCIA WiFi
and ethernet cards.
Hardware requirements:
One dedicated computer with the following minimum specifications: 486
Processor, 16 MBytes of RAM, 2X CDRom reader, floppy drive, 1 or 2 ethernet
cards. NO hard disk! Optionally a WIFI card.
</para>
</sect3>
<!--
seems obsolete
<sect3>
<title>PingOO ISDN Router</title>
<para>
<ulink url="http://www.pingoo.org/">The PingOO ISDN Router</ulink> is a Linux distribution based on Debian which is designed to transform an old and useless computer like a 486/DX with 8MB RAM and 100 MB HD into a very reliable ISDN router. It features bandwith on demand (1 or 2 ISDN channels), dialin for maintenance, IP filters with ipchains, LZS compression, and LAN2LAN or single host + masquerade connection. PingOO ISDN-router uses the same philosophy as PingOO Communication Server.
</para>
</sect3>
-->
<sect3>
<title>FreeS/WAN</title>
<para>
<ulink url="http://www.freeswan.org/">Linux FreeS/WAN</ulink> provides IPSEC
(IP Security, which is both encryption and authentication) kernel extensions
and an IKE (Internet Key Exchange, keying and encrypted routing daemon)
as well as various rc scripts and documentation. This lets a bright Linux sysadmin
build VPN's gateways out of even old 584 and 486 PC Clone boxes.
The 1.00 version is known to inter-operate with other IPSEC and
IKE system already deployed by other vendors such as OpenBSD.
</para>
</sect3>
<sect3>
<title>Print Server</title>
<para>
A common use for an old computer is running a print server on it.
</para>
</sect3>
</sect2>
<sect2>
<title>Small Linux Distributions for Old Computers</title>
<itemizedlist>
<listitem>
<para>
<ulink url="http://www.damnsmalllinux.org/">Damn Small Linux</ulink>
- A full featured Live-CD distribution derived from Knoppix,
with a very active community. It fits within 50 MB
and runs fine on a 486 PC with 16 MB of RAM.
Included software: Firefox, xmms, xpdf,
Sylpheed, FluxBox WM, Siag, spreadsheet, Ted word processor...
Used a lot on USB flashdisks too.
</para>
</listitem>
<listitem>
<para>
<ulink url="http://distro.ibiblio.org/pub/linux/distributions/baslinux/">Basic Linux</ulink>
- The lightest distro for old PCs!
It just needs 3 MB of RAM and 6 MB of disk.
Features: X graphics, window manager, clock, calculator,
text based e-mail reader, browser (links), presentations (MagicPoint),
network dial-up...
Great for using an old PC as an X terminal!
</para>
</listitem>
<listitem>
<para>
<ulink url="http://www.puppylinux.org">Puppy Linux</ulink>
Fast and light distribution. Works great on 10 year old computers.
Actively developed.
</para>
</listitem>
<listitem>
<para>
<ulink url="http://www.delilinux.de/">DeLi Linux</ulink>
- A Linux distribution for old computers, from 486 to
Pentium MMX 166 or so. It's focused on desktop usage. It includes email
clients, a graphical Web browser, an office package with word processor
and spreadsheet, etc. A full install, including XFree86 and development
tools, needs no more than 300 MB of harddisk space.
</para>
</listitem>
<listitem>
<para>
<ulink url="http://sourceforge.net/projects/smalllinux2">Small Linux 2</ulink>
- A distribution which is designed to run on old / low-spec PC computers (386 and 2-3 mb of ram).
It consists of two floppy discs one,containing the kernel and the other the root system.
Built upon uClibc and Busybox.
</para>
</listitem>
<listitem>
<para>
<ulink url="http://www.mepis.org/">MEPISLite</ulink>
- Debian based distribution targeting PCs that used to run Windows 98
(typically 128 MB of RAM, 2 GB of disk space and a 500 MHZ CPU).
</para>
</listitem>
<listitem>
<para>
Using Gentoo on Old Machines
</para>
<para>
"Old computers don't have to run old software. Old software does not have it's
bugs covered and is bad for security.
</para>
<para>
Most modern distros will be very sluggish when run on those machines; not
because they use new software, but because they expect to be run on new
machines and may automatically install large amounts of software. The thrust
of <ulink url="http://web.archive.org/web/*/http://gentoo-wiki.com/HARDWARE_old">Gentoo-on-old-hardware</ulink>
is to obtain a light, minimalist system that runs
what you need it to and no more; unlike many proprietary OSes and the
"heavier" distros such as Fedora, Gentoo starts very light by default."
</para>
</listitem>
<listitem>
<para>
<ulink url="http://www.minix3.org/">Minix</ulink>
- Not a Linux but a UNIX useful for small systems.
Minimum requirements: 386 CPU, 8 MB of RAM, 50 MB of disk space.
</para>
</listitem>
</itemizedlist>
<para>
See Wikipedia for
<ulink url="http://en.wikipedia.org/wiki/List_of_Linux_distributions#Small_or_lightweight_distributions_for_use_with_older_machines">
a longer list of small Linux distributions</ulink>.
</para>
</sect2>
<sect2>
<title>Dealing with Limited Resources or Tuning the System</title>
<para>
This chapter is taken from my
<ulink url="http://tuxmobil.org/howtos.html">Linux-Mobile-Guide - A Guide for Laptops, PDAs and Mobile Phones</ulink>.
</para>
<sect3>
<title>Related HOWTOs</title>
<para>
<itemizedlist>
<listitem>
<para>
<ulink url="http://tldp.org/HOWTO/Small-Memory/index.html">Small-Memory-HOWTO</ulink>
Describes how to run Linux on a system with a small amount of memory.
</para>
</listitem>
</itemizedlist>
</para>
</sect3>
<sect3>
<title>Introduction</title>
<para>
To deal with limited space, memory, CPU speed and battery power, I have written this chapter.
</para>
</sect3>
<sect3>
<title>Small Space</title>
<sect4>
<title>Introduction</title>
<para>
There are different types of techniques to gain more disk space, such as sharing of space, freeing unused or redundant space, filesystem tuning and compression. Note: some of these techniques use memory instead of space. As you will see, there are many small steps necessary to free some space.
</para>
</sect4>
<sect4>
<title>Techniques</title>
<para>
<itemizedlist>
<listitem>
<para>
Stripping: Though many distributions come with stripped binaries today it is useful to check this. For details see <command>man strip</command>. To find every unstripped file you can use the <command>file</command> command or more convenient the tool <command>findstrip</command> (find it in the Debian <ulink url="http://packages.debian.org/stable/utils/perforate"><command>perforate</command></ulink> package) . Attention: don't strip libraries, sometimes the wrong symbols are removed due to a bad programming technique.
</para>
<para>
A recommendation from Russell Marks &lt;rus at beeb.net&gt;:
</para>
<para>
These days a lot of people compile with <command>-g</command>, which I find a bit annoying (though AFAIK this <command>only</command> loses you disk space, in practice).
</para>
<para>
<command>strip</command> has a <command>--strip-debug</command> option which doesn't strip symbols, but does still get rid of the debugging stuff. This is almost as good, in many cases, and it's ok to use it on libraries. As it happens, I recently got SuSE 6.3, so I can give you a <command>live</command> example:
<programlisting>
bash-2.03&num; cd /lib
bash-2.03&num; ls -l libc.so.6
-rwxr-xr-x 1 root root 4223971 Nov 6 16:22 libc.so.6
bash-2.03&num; strip --strip-debug libc.so.6
bash-2.03&num; ls -l libc.so.6
-rwxr-xr-x 1 root root 1200355 Dec 8 00:13 libc.so.6
</programlisting>
</para>
</listitem>
<listitem>
<para>
Sparse files: in the case when files contain blocks
with only null characters, these blocks can be replaced by <command>lseek</command>
command calls, saving space. Applications (and not the operating system) are
responsible for creating or handling such files in a correct way.
For example, both the <command>tar</command> and <command>cp</command>
commands have options for handling sparse files in a correct way.
See the <ulink url="http://www.lrdev.com/lr/unix/sparsefile.html">this page</ulink>
for more details and for a <command>sparse</command> command
to create such files. In Debian, you can also use the <command>zum</command> command
from the <ulink url="http://packages.debian.org/stable/utils/perforate"><command>perforate</command></ulink> package.
</para>
</listitem>
<listitem>
<para>
Remove Odd Files and Duplicates: Check your system for core files,
emacs recovery files &lt;&num;FILE&num;&gt; vi recovery files
&lt;FILE&gt;.swp, RPM recovery files &lt;FILE&gt;.rpmorig and
<command>patch</command> recovery files. Find duplicates, you may try
<ulink url="http://www.shelldorado.com/scripts/cmds/finddup"><command>finddup</command></ulink>.
Choose a system to name your backup,
temporary and test files, e.g. with a signature at the end.
</para>
</listitem>
<listitem>
<para>
Clean Temporary Files: , e.g. <filename>/tmp</filename>, there is even a tool <command>tmpwatch</command>.
</para>
</listitem>
<listitem>
<para>
Shorten the Log Files: usually the files in <filename>/var/log</filename>. There are some nice helpers for this task around, e.g. <command>savelog</command> .
</para>
</listitem>
<listitem>
<para>
Remove Files: Remove files which are not "necessary"
under all circumstances such as man pages, documentation
<filename>/usr/doc</filename> and sources e.g.
<filename>/usr/src</filename> .
</para>
</listitem>
<listitem>
<para>
Unnecessary Libraries: You may use the <ulink url="http://www.nottingham.ac.uk/~etzpc/binstats.html"><command>binstats</command></ulink>
package to find unused libraries (Thanks to Tom Ed White).
</para>
</listitem>
<listitem>
<para>
Filesystem: Choose a filesystem which treats disk space
economically e.g. <command>rsfs</command> aka Reiser Filesystem.
Tune your filesystem e.g. <command>tune2fs</command>. Choose an
appropriate partition and block size.
</para>
</listitem>
<listitem>
<para>
Reduce Kernel Size: Either by using only the necessary kernel
features and/or making a compressed kernel image
<command>bzImage</command>.
</para>
</listitem>
<listitem>
<para>
Compressed read-write filesystems:
</para>
<para>
- There was a project to add compression support to ext2 filesystems:
<ulink url="http://e2compr.sourceforge.net/">e2compr</ulink>.
This project has a very limited usefulness as it is currently
inactive and only supports very old 2.4 and 2.6 kernel versions.
No chance to get a working patch on the latest 2.4 and 2.6 releases.
</para>
<para>
- Fortunately, a very serious solution exists in the
<ulink url="http://en.wikipedia.org/wiki/Comparison_of_file_systems">Reiser4 filesystem</ulink>
which includes a compression plugin. Using compression is even reported
to be faster than not using it. Actual results should of course
vary with the CPU and disk speed, and results might be disappointing on
old machines.
</para>
</listitem>
<listitem>
<para>
Compressed read-only filesystems
</para>
<para>
- The idea is store parts of the system (typically executables and libraries through
the <command>/bin</command>, <command>/sbin</command> and
<command>/usr</command> directories) in a separate, compressed and read-only
filesystem. This is great for saving space and for protecting the system from
extern attacks. However, the constraint is that software upgrades can no
longer be done when the filesystem is mounted. The whole filesystem contents must
be rebuilt and replaced at once.
</para>
<para>
- <ulink url="http://en.wikipedia.org/wiki/Cramfs">CramFS</ulink>
was the first implemented solution, used by many embedded system makers.
Though still maintained, it is dramatically outperformed by SquashFS.
</para>
<para>
- <ulink url="http://squashfs.sourceforge.net/">SquashFS</ulink>
is the solution everyone should use now. Unlike CramFS, it has
no limitations on filesystem and file size, and it achieves
much better compression and read speed (up to 5 times!).
On slow storage (like USB flash drives), replacing ext2
with SquashFS resulting in a 50% reduction on system boot time
(observed in a Linux demo developped by <ulink url="http://free-electrons.com">Free Electrons</ulink>).
</para>
</listitem>
<listitem>
<para>
Partition Sharing: You may share swap-space (see
Swap-Space-HOWTO) or data partitions between different OS
(see <command>mount</command>).
</para>
</listitem>
<listitem>
<para>
C library: use <ulink url="http://uclibc.org/">uClibc</ulink> instead of the default
<ulink url="http://www.gnu.org/software/libc/">GNU C library</ulink> aka <command>glibc</command>.
It takes approximately 400 KB instead of 1700 (glibc). It used by many embedded Linux projects
as well as by several tiny Linux distributions. It should satisfy most needs, as the whole
Debian 3.0 was ported to it. Caution: if you replace the C library, all applications
also need to be recompiled with a dedicated gcc toolchain.
</para>
</listitem>
<listitem>
<para>
<ulink url="http://busybox.net/">Busybox</ulink>
- A toolbox implementing most Unix commands.
It takes at most 500 KB instead of approximately 10-30 MB with GNU implementations!
It is used by almost all embedded Linux projects and small Linux distros.
Most commands are implemented, even <command>vi</command>, <command>wget</command>,
a dhcp server and client, and even a http server sufficient for most needs.
Even if some rare command options are not implemented, even an experienced
Unix user hardly makes the difference with GNU commands!
</para>
</listitem>
<listitem>
<para>
Kernel: If your needs are fitted with an older kernel version, you can save some space.
</para>
<para>
However, with old kernels, you will miss cool features (such as real-time preemption,
making your system much more responsive) and support for recent peripherals.
It is true that the Linux kernel accumulated bloat over the years: more features, support for more special cases...
Now that Linux is taking an increasingly dominant place in embedded systems, work is being done to control the kernel size.
The <ulink url="http://www.selenic.com/linux-tiny/">LinuxTiny</ulink> project releases a set of patches to
the Linux kernel sources. In the <command>Configure Standard Kernel Features for Small Systems</command>
kernel configuration section, you can unselect features you do not need in a simple computer.
The minimum compressed size you can achieve for a Linux 2.6 kernel for a simple PC is approximately 350 KB.
Note that more and more LinuxTiny changes are now available in the standard Linux kernel (no patching necessary).
</para>
<para>
With the latest kernel releases, you may also try
the <ulink url="http://people.redhat.com/~mingo/realtime-preempt">
real-time preemption patches</ulink> from Ingo Molnar.
When full preemption is enabled, it adds unprecedented
responsiveness to the Linux kernel. The latency is much reduced,
suitable for real real-time systems (less than 100 us!).
It is definitely worth trying on old systems
to give them a new youth and improve the user experience!
</para>
</listitem>
<listitem>
<para>
GUI: Avoid as much Graphical User Interface (GUI) as possible.
</para>
</listitem>
<listitem>
<para>
Tiny Distributions: There are some distributions available which fit from one 3.5" floppy to 10MB disk space and fit for small memories, too. See <ulink url="http://tuxmobil.org/howtos.html">Laptop-HOWTO</ulink>
</para>
</listitem>
</itemizedlist>
</para>
</sect4>
</sect3>
<sect3>
<title>Harddisk Speed</title>
<para>
Use the tool <command>hdparm</command> to set up better harddisk performance. Though I have seen laptop disk enabled with <command>stripping</command>, I can't see a reason to do so, because IMHO aka RAID0 stripping needs at least to different disks to increase performance.
</para>
</sect3>
<sect3>
<title>Small Memory</title>
<sect4>
<title>Related HOWTOs</title>
<para>
<itemizedlist>
<listitem>
<para>
<ulink url="http://tldp.org/HOWTO/Small-Memory/index.html">Small-Memory-mini-HOWTO</ulink> by Todd Burgess
</para>
</listitem>
<listitem>
<para>
<ulink url="http://tldp.org/HOWTO/4mb-Laptops.html">4MB Laptop-HOWTO</ulink> by Bruce Richardson.
</para>
</listitem>
<listitem>
<para>
<ulink url="http://www.tldp.org/HOWTO/Module-HOWTO/">Linux Loadable Kernel Module HOWTO</ulink>by Bryan Henderson.
</para>
</listitem>
<listitem>
<para>
<ulink url="http://www.tldp.org/HOWTO/Kerneld/">Kerneld-mini-HOWTO</ulink> by Henrik Storner.
</para>
</listitem>
</itemizedlist>
</para>
</sect4>
<sect4>
<title>Techniques</title>
<para>
Check the memory usage with <command>free</command> and <command>top</command>.
</para>
<para>
You may also reduce the <command>kernel size</command> as much as possible by removing any feature which is not necessary for your needs and by modularizing the kernel as much as possible.
</para>
<para>
Also you may shutdown every service or <command>daemon</command> which is not needed, e.g. <command>lpd</command>, <command>mountd</command>, <command>nfsd</command> and close some <command>virtual consoles</command>. Please see the <ulink url="http://tldp.org/HOWTO/Small-Memory/index.html">Small-Memory-mini-HOWTO</ulink> for details.
</para>
<para>
And of course use swap space, when possible.
</para>
<para>
If possible you may use the resources of another machine, for instance with X,
VNC or even <command>telnet</command>. For more information on Virtual Network
Computing (VNC), see <ulink url="http://www.realvnc.com/">VNC</ulink> .
</para>
</sect4>
</sect3>
<sect3>
<title>Low CPU Speed</title>
<para>
You may want to overdrive the CPU speed but this can damage
your hardware and I don't have experience with it. For some
examples look at
<ulink url="http://www.silverace.com/libretto/overclocking.html">Adorable Toshiba Libretto - Overclocking</ulink>.
</para>
</sect3>
<sect3>
<title>Tiny Applications and Distributions</title>
<para>
A small collection yet, but I'm looking for more information.
<itemizedlist>
<listitem>
<para>
<ulink url="http://www.boa.org/">BOA</ulink> - "Lightweight and High Performance WebServer.
<command>boa</command> is a single-tasking HTTP server. That means that
unlike traditional web servers, it does not fork for each incoming
connection, nor does it fork many copies of itself to handle multiple
connections. It internally multiplexes all of the ongoing HTTP connections,
and forks only for CGI programs (which must be separate processes).
Preliminary tests show boa is capable of handling several hundred hits per
second on a 100 MHz Pentium."
</para>
</listitem>
<listitem>
<para>
Low Bandwidth X - Alan Cox in LINUX REDUX February 1998: " ...
(<ulink url="http://www.vigor.nu/dxpc/">Differential X Protocol Compressor - Dxpc</ulink>)
is the alternative most people prefer. These systems act as proxy X11
servers and compress datastreams by well over 50 percent for normal
requests, often reaching a reduction to 25 percent of the original
bandwidth usage. With dxpc, X windows applications are quite usable over a
28.8 modem link or across the Internet."
<!--
VNC
NX by NoMachine
-->
</para>
</listitem>
<listitem>
<para>
<ulink url="http://blackboxwm.sourceforge.net/">Blackbox</ulink>
- "This is a window manager for X. Ixt is similar in many
respects to such popular packages as Window Maker, Enlightenment, and
FVWM2. You might be interested in this package if you are tired of
window managers that are a heavy drain on your system resources, but you
still want an attractive and modern-looking interface."
</para>
</listitem>
<listitem>
<para>
<ulink url="http://www.gnu.org/software/screen/"><command>screen</command></ulink>
- Tiny but powerful console manager.
John M. Fisk &lt;fiskjm at ctrvax.vanderbilt.edu&gt; in
<ulink url="http://www.linuxgazette.com/issue01to08/lg_issue7.html#screen">LINUX
GAZETTE</ulink> <!-- July 1, 1996 --> : "It's a GUI, GUI,
GUI, GUI world! " - or so the major OS manufacturers would
have you belief. Truth is, that while this is increasingly the
case, there are times when the command line interface (CLI) is
still a very good choice for getting things done. It's fast,
generally efficient, and is a good choice on memory or CPU
constrained machines. And don't forget that there are still a lot
of very nifty things that can be done <command>at the
console</command>." "<command>screen</command> is a
full-screen window manager that multiplexes a physical terminal
between several processes, typically interactive shells. Each
virtual terminal provides the functions of the DEC VT100 terminal
and, in addition, several control functions from the ANSI X3.64
(ISO 6429) and ISO 2022 standards (e.g., insert/delete line and
support for multiple character sets). Real multiuser support,
split screen support, hardstatus emulation support, configurable
window seperator and hardstatus strings, permanent window
seperator, many new escapes, logfile timestamps and flush timeout,
optional builtin telnet, optional Braille support, support for
history compaction."
</para>
</listitem>
<listitem>
<para>
<ulink url="http://linux.maruhn.com/sec/tinyirc.html">tinyirc</ulink>
- "A tiny, stripped down IRC Client. Doesn't have
most of the more advance commands in the ircII family of IRC
Clients, nor does it have any color, but it works, and it's
tiny."
</para>
</listitem>
<listitem>
<para>
<ulink url="https://www.banu.com/tinyproxy/">tinyproxy</ulink>
- "is a lightweight HTTP proxy
designed to do the job with a minimum of system resource use.
It's ideal for small networks where a larger HTTP proxy such
as squid might be overkill or a security risk. This simplicity
also makes tinyproxy an ideal candidate for customization - it
takes very little time to read and understand the tinyproxy
source, and thus you can start adding your own desired
features on short order."
</para>
</listitem>
</itemizedlist>
</para>
<para>
Actually, with the progress of Linux in embedded systems,
countless lightweight applications now exist.
<ulink url="http://free-electrons.com/training/devtools">A presentation
from Free Electrons</ulink> tries to list the most popular ones.
</para>
</sect3>
</sect2>
</sect1>
<sect1 id="ecology-howto-lifecyle-other-techniques">
<title>Other Techniques</title>
<para>
NiCad batteries need to be discharged periodically to prevent the memory effect and prolong their lifespan.
</para>
<para>
Batteries such as NiCad, Lead Acid, and NiMH contain TOXIC chemicals. Techniques should be taken to prolong their lifespan, and when you do discard them, they should be recycled, not thrown in the trash.
</para>
<para>
One technology to watch is the <ulink url="http://en.wikipedia.org/wiki/Super_iron_battery">Iron battery</ulink>.
Such a battery could reduce some of the toxic waste problems associated with used batteries, however such a battery is probably a few years away.
</para>
<para>
Some remarks about backlights in laptops, monitors (screensavers), harddisks (hdparm), etc. have to be written.
</para>
</sect1>
<sect1 id="ecology-howto-lifecyle-badram">
<title>Linux BadRAM Patch</title>
<para>
The objective of the <ulink url="http://rick.vanrein.org/linux/badram/">BadRAM Patch</ulink>
is to run the Linux kernel in such a way that it can handle defective RAM modules.
With defective RAM, I mean RAM which has some bits wrong at some (known)
addresses. Normally, such RAM is considered useless and thrown away; the
larger RAMs get, the higher the chances of failing addresses. With ever
growing RAM sizes, it would therefore be pleasant to have an alternative to
discarding of defective RAM chips.
<!--
Rick rick at vanrein.org
-->
</para>
</sect1>
<sect1 id="ecology-howto-lifecyle-older-hardware">
<title>Installing Linux on Older Hardware</title>
<para>
<ulink url="http://web.archive.org/web/*/http://www-128.ibm.com/developerworks/linux/library/l-lwl1/">Lightweight Linux, Part 1</ulink>:
Hardware is only as old as the software it runs: a modern operating system and
up-to-date applications return an older system to productivity. This article
provides best practices and step-by-step guidance on how to build a working
Linux system on older hardware or on modern hardware with limited memory and
storage.
<!--
Leverage older hardware and break the hardware/software upgrade cycle
-->
</para>
<para>
Purging of uneeded Locales:
<ulink url="http://packages.debian.org/stable/admin/localepurge"><command>localepurge</command></ulink>
for Debian/GNU Linux is just a simple script to recover disk space wasted for unneeded
locale files and localized man pages. Depending on your installation, it
is possible to save some 20, 30, or even more megabytes of disk space
usually dedicated for locales you'll probably never have any usage for.
</para>
</sect1>
<sect1 id="ecology-howto-lifecyle-upgrading-and-repairing">
<title>Upgrading and Repairing Computer Hardware and Communication Devices</title>
<para>
Usually manufacturers declare the warranty to be void if the case
was opened by people other than their own staff. If you want to try it
anyway you may find some interesting links about how to
<ulink url="http://repair4laptop.org/">repair, disassemble, upgrade or mod laptops or notebooks</ulink>,
<ulink url="http://repair4pda.org/">repair broken PDAs and HandHelds</ulink>, as well as
<ulink url="http://repair4mobilephone.org/">repair mobile (cellular) phones</ulink>,
<ulink url="http://repair4player.org/">repair portable audio and video players</ulink>,
<ulink url="http://repair4mouse.org/">repair, clean and mod a computer mouse</ulink>,
<ulink url="http://repair4printer.org/">repair printers, ink and toner cartridges</ulink>,
<ulink url="http://repair4harddisk.org/">repair hard disk drives</ulink>,
<ulink url="http://repair4keyboard.org/">repair and clean computer keyboards</ulink> and
<ulink url="http://repair4gps.org/">repair and mod GPS navigation devices</ulink> and
<ulink url="http://repair4pc.org/">repair personal computers - PCs</ulink>.
</para>
<para>
BTW: here are some non-computer related links to guides explaining, how to
<ulink url="http://repair4camera.org/">repair (digital) cameras</ulink>,
<ulink url="http://repair4car.org/">repair cars</ulink>.
</para>
</sect1>
<sect1 id="ecology-howto-lifecyle-other-os">
<title>Other Operating Systems</title>
<para>
Courtesy of George White &lt;gwhite at bodnext.bio.dfo.ca&gt;:
Or you can buy an older computer (SGI, Sun, NeXT) that comes with unix and is capable of running a wide range of open source software. In some cases (SGI Indigo2) you can still run current OS versions, in others you may do better with an open source OS such as Linux, but in either case you have access to lots of good software and tools to write your own.
The lower power consumption of older computers means you get more reserve time from an UPS or can use a small alternative power source if you don't have access to "mains" power.
</para>
</sect1>
</chapter>
<chapter id="ecology-howto-nonpc">
<title>Using Linux on non-PC Hardware</title>
<para>
As mentioned in the previous chapter, Linux can be run on non-PC architectures.
This is particularly useful for the small applications old PCs can be used for.
Recent netbooks either ARM-based or MIPS-based provide an even smaller power
footprint. Check <ulink url="http://moblin.org/">moblin</ulink> Linux, which is dedicated to
such machines.
</para>
<sect1 id="ecology-howto-ce-devices">
<title>Using Consumer Electronics Devices</title>
<para>
Linux is increasingly used in Consumer Electronics (CE) devices,
in particular in network appliances such as Wifi routers, DSL modems,
Network Attached Storage (NAS) servers, IP cameras and other small devices.
</para>
<para>
Thanks to the GNU GPL license, kernel and application source code for these devices
are freely available. More and more device owners are taking advantage of this
to develop other uses for these devices. Thanks to the progress of Linux in
embedded systems, making its own embedded system is increasingly easy.
</para>
<para>
Using such devices instead of regular PCs yields many advantages:
much lower power consumption, no noise (no fans), built with much
fewer materials (small size), and much lower cost (for your purse
and for the environment).
</para>
<itemizedlist>
<listitem>
<para>
<ulink url="http://www.nslu2-linux.org/">NSLU2-Linux</ulink>
- A community of people running Linux on the
Linksys NSLU2 device. This device is originally a Network
Attached Storage server, featuring a 266 MHz ARM CPU, 8MB of flash, 32MB of SDRAM
and a rich connectivity: Connectivity: USB (for attached storage), Ethernet and a serial port.
That's all you need in a versatile Linux computer.
Many different <ulink url="http://www.nslu2-linux.org/wiki/Applications/HomePage">
cool applications</ulink> are listed by the project.
</para>
<para>
The NSLU2 device is still available in the shops on all continents,
for a very cheap price: approximately 90 &euro; or 90 US Dollars.
This makes this device extremely popular!
</para>
</listitem>
<listitem>
<para>
<ulink url="http://openwrt.org/">OpenWRT</ulink>
- A project to run Linux on WiFi routers based
on the Linksys WRT chipset. A typical configuration
includes a 125 to 200 MHz ARM CPU, 4 MB of flash, 16 MB of RAM,
and Ethernet, WiFi, serial port (often) and a USB host port
(often).
</para>
<para>
Devices based on the Linksys WRT chipset
are available for sale on all continents,
costing between 50 and 100 &euro; / US Dollars.
They are very popular too!
</para>
</listitem>
</itemizedlist>
<para>
In a nutshell, do not buy a new PC for small applications.
Reuse your old computers or buy a consumer device on which you can run Linux!
</para>
</sect1>
<sect1 id="ecology-howto-embedded-boards">
<title>Using Embedded Linux Boards</title>
<para>
Instead of using a PC, or even instead reusing a consumer device,
you may also create your own system using dedicated embedded system boards.
Because of lower volumes, such boards may be a bit more expensive,
but they can achieve much reduced size and power consumption.
Both low and higher volumes are available too.
</para>
<para>
Here are a few noteworthy examples:
</para>
<itemizedlist>
<listitem>
<para>
<ulink url="http://www.picotux.com/">Picotux</ulink>
- The smallest Linux computer in the world, only slighly larger
than a RJ45 connector. Pretty cheap too.
</para>
</listitem>
<listitem>
<para>
<ulink url="http://gumstix.com/">Gumstix</ulink>
- Small, affordable embedded boards with the size of a gumstick.
Backed by an active community too.
</para>
</listitem>
</itemizedlist>
<para>
See this
<ulink url="http://free-electrons.com/community/hardware/boards/">independent list of interesting board suppliers</ulink>
for more details.
</para>
</sect1>
</chapter>
<chapter id="ecology-howto-home-automation">
<title>X10 - Home Automation System</title>
<para>
"X-10 modules are devices that plug into an electrical outlet and allow you to remotely control the power to a lamp or an appliance that is plugged into them. There are also X-10 modules that install in place of wall switches to control lights, and there's one that can be used to set back a thermostat."
</para>
<para>
These <ulink url="http://www.x10.com">X10</ulink> folks make a really cool dongle called the Firecracker.
These allow for the control of X10 devices via a serial-port of your PC.
Programs like <ulink url="http://www.linuxha.com/bottlerocket/"><command>Bottlerocket</command></ulink>
and <ulink url="http://www.miscreation.net/projects/gtkx10/"><command>GtkX10</command></ulink>
allow Linux programs to control X10 devices using the Firecracker device.
You may be able to get the Firecracker, a remote control, a receiver,
and a lamp module for as little as $5.95 U.S. (special promotion).
</para>
<para>
<ulink url="http://www.joethielen.com/phantom/home/">GNU Phantom.Home</ulink> is a computer controlled home automation system. The software includes a circuit diagram for building the Phantom.Home.Controller, a simple circuit board that attaches to your PC's parallel port. Using the combination of hardware/software you can control (i.e. flip on or off) nearly any 120V device. And with a little bit of electronics know-how, you can probably control nearly any device at any voltage by modifying the circuit board to meet your needs. The simple circuit included can be created and built for around $25. The modules cost around $10 (basically a heavy duty relay).
</para>
<para>
More details on this topic are available on the <ulink url="http://www.linuxha.com/">
Linux Home Automation</ulink> website.
</para>
<para>
Turn that light off when not in use!
</para>
<!--
From: Joe Thielen <joe@joethielen.com>
Subject: Linux Ecology-HOWTO (Automation software)
Date: Thu, 10 Jun 2004 22:17:59 -0400
Hello. My name is Joe Thielen. You've got a link to my older GNU
Phantom.Home software in chapter 9 of the Linux Ecology-HOWTO. I've
created some new, web-based, software (using Linux, Apache, MySQL, &
PHP) that can control X10 as well as some other home automation
controllers.
DRACONi Automation
http://www.draconidigital.com/draconiautomation
-->
</chapter>
<chapter id="ecology-howto-ups">
<title>Uninterruptible Power Supply - UPS</title>
<para>
You should use a protection against lightening and power surges or a UPS
if you have many thunderstorms in the area.
That will save hardware, software, your time, and money, and help prevent you from throwing out
that old monitor, CPU, or modem when it gets trashed by lightening.
For details consult the <ulink url="http://tldp.org/HOWTO/UPS-HOWTO.html">UPS-HOWTO</ulink>.
</para>
<para>
For desktop PCs, in areas prone to lightening or power outages, UPSs could save hours
of work each week, potentially translating into power savings.
However, there is some concern over their additional usage of AC power.
If anyone has any studies or research on this issue, could they please forward it to us?
That would be an interesting question to post to APC, BEST, etc.
</para>
<para>
UPSs also contain batteries with a high environmental cost.
So, just use a UPS when really needed and when benefits
outweight environmental costs.
For example, if you are using a notebook, a much cheaper surge protection is enough
thanks to your battery.
</para>
<para>
People have also reported issues using unreliable power
sources, for example in trains. Make sure you use a surge protection
device then!
</para>
</chapter>
<chapter id="ecology-howto-games">
<title>Games</title>
<para>
Personally I'm not much a player of computer games but maybe they can be used for environmental education.
In a first investigation I found
<ulink url="http://lincity.sourceforge.net/"><command>Lincity</command></ulink>
and <ulink url="http://www.sunysb.edu/philosophy/faculty/gmar/realife.html"><command>Real Life</command></ulink>,
please check their usefulness by yourself.
</para>
<itemizedlist>
<listitem>
<para>
<ulink url="http://lincity.sourceforge.net/"><command>Lincity</command></ulink>
- Build &amp; maintain a
city/country. You are required to build and maintain a city.
You must feed, house, provide jobs and goods for your
residents. You can build a sustainable economy with the help
of renewable energy and recycling, or you can go for broke
and build rockets to escape from a pollution ridden and
resource starved planet, it's up to you. Due to the finite
resources available in any one place, this is not a game
that you can leave for long periods of time. This game is
similar to the commercial simulation game with a similar
name. This package provides files common to both the X and
SVGALIB versions of the game.
</para>
</listitem>
<listitem>
<para>
<ulink url="http://www.sunysb.edu/philosophy/faculty/gmar/realife.html"><command>Real Life</command></ulink>
- "In
<ulink url="http://en.wikipedia.org/wiki/Conway%27s_Game_of_Life">Conway's Game of Life</ulink> every cell
is either fully alive (has the value of 1) or completely
dead (has the value 0). In Real Life this restriction to
bivalence is lifted to countenance -real-valued- degrees
of life and death. Real Life contains Conway's Game of
Life as a special case; however, Real Life, in contrast to
Conway's Game of Life, exhibits sensitive dependence on
initial conditions which is characteristic of chaotic
systems."
</para>
</listitem>
<listitem>
<para>
<ulink url="http://www.sierra.com">Sierra</ulink>
has produced (some time ago) Eco Quest 1 - <command>Lost in
Rainforest</command> and <command>Eco Quest 2 - The
Search for Cetus</command>. The EcoQuest games were for
MS-DOS and Windows 3.x. These were targeted at younger
players.
</para>
</listitem>
<listitem>
<para>
SimEarth, 1988, Maxis (DOS, Win3.x, Mac) Simulates the
development of a planet from the forming of the crust
to the spread of civilization. Based on James
Lovelock's Gaia theory. Somewhat dull and difficult to
learn, but there's a good amount of educational value
to be gotten out of fiddling around with the models,
particularly greenhouse effect.
</para>
</listitem>
<listitem>
<para>
Balance of the Planet, 1991, Chris Crawford (DOS, Mac):
You take the role of a government policy-maker
who must try to balance industry and ecology.
Remarkably complicated and drab (even moreso than
SimEarth), but certain to be educational and
thought-provoking if time is spent with the manual.
The Mac version can now be downloaded for free from
<ulink url="http://www.erasmatazz.com/free.html">Crawford's website</ulink>.
</para>
</listitem>
<listitem>
<para>
Global Effect, 1992, Millennium (DOS, Amiga):
An early real-time strategy game where you must try
to conquer your opponent while dealing with the
ecological ramifications of your weapons and
industry upon your population. Clunky interface,
not a lot of fun compared to current Warcraft-type
games.
</para>
</listitem>
<listitem>
<para>
SimIsle, 1995, Maxis (DOS, ???) Develop a
tropical island without destroying the
rainforest ecology. Large learning curve but
supposedly a lot of fun.
</para>
</listitem>
<listitem>
<para>
SimPark, 1997, Maxis (Win 95, ???) Sort of a
children's version of SimIsle, which is
simpler and more education-focused.
</para>
</listitem>
</itemizedlist>
<para>
I suspect the older games should run just fine on <command>dosemu</command>.
</para>
</chapter>
<chapter id="ecology-howto-software">
<title>Ecology Software (Simulation, Data Collection, Statistics, etc.)</title>
<para>
Though I know there is some MS-Windows based software which is used in ecological science (there is even a branch environmental informatic), I know only <command>Ecolab</command> available for Linux yet. But I guess Linux software (for instance databases or statistics programs) may easily adopted. Also it might be possible to use a Linux cluster to solve ecological simulations.
</para>
<sect1 id="ecology-howto-software-ecolab">
<title>Ecolab</title>
<para>
<ulink url="http://ecolab.sourceforge.net/">Ecolab</ulink>
is both the name of a software package and a research project that is
looking at the dynamics of evolution. EcoLab is a system that implements an abstract ecology model. It is written as a set of Tcl/Tk commands so that the model parameters can easily be changed on the fly by means of editing a script. The model itself is written in C++.
</para>
</sect1>
<sect1 id="ecology-howto-software-tierra">
<title>Tierra</title>
<para>
<!--
<ulink url="http://www.hip.atr.co.jp/~ray/tierra/tierra.html">Tierra</ulink>
<ulink url="http://www.nis.atr.jp/~ray/tierra/">Tierra</ulink>
-->
<ulink url="http://life.ou.edu/tierra/">Tierra</ulink>
by Tom Ray is a tool for studying digital evolution and ecology that runs on Linux and other OSes.
</para>
</sect1>
<sect1 id="ecology-howto-software-environmental-research">
<title>Linux in Environmental Research</title>
<para>
Courtesy of Wade Hampton: Linux is ideally suited for use as a research tool for environmental experiments. There are small embedded Linux solutions that can be used for remote monitoring or telemetry. There are VERY small Linux implementations from PC-104 systems to embedded systems like the <ulink url="http://www.uclinux.com">uCsimm</ulink>. Linux even flew on the shuttle controlling biological experiments.... Linux has been used for weather research on NOAA's Hurricane Hunter aircraft.
</para>
<para>
Linux is also an ideal platform for researching ecological and environmental information via the Internet using standard WWW-based tools like Netscape.
</para>
<para>
Linux may even be used to model complex biological and environmental processes.
<ulink url="http://www.beowulf.org">beowulf clusters</ulink>
have been used to run complex simulations of environmental processes,
for example Earthdome, listed in the
<ulink url="http://www.beowulf.org/overview/projects.html">Beowulf projects page</ulink>.
</para>
</sect1>
<sect1 id="ecology-howto-software-swarm">
<title>SWARM</title>
<para>
<ulink url="http://www.swarm.org">SWARM</ulink> is a software package for multi-agent simulation of complex systems that is being developed by the Swarm Development Group (SDG).
</para>
<para>
Swarm is intended to be a useful tool for researchers in a variety of disciplines, especially artificial life. The basic architecture of Swarm is the simulation of collections of concurrently interacting agents: with this architecture, we can implement a large variety of agent based models. The source code is freely available under GNU Licensing terms.
</para>
</sect1>
<sect1 id="ecology-howto-software-climate-dynamics">
<title>Climate-Dynamics</title>
<para>Linux clusters are used in climate modeling,
for example in the <ulink url="http://www.climate.unibe.ch/CCSM/renold04eos.pdf">
University of Bern</ulink> in Switzerland.
</para>
</sect1>
<sect1 id="ecology-howto-software-uncert">
<title>UNCERT</title>
<para>
<ulink url="http://www.uncert.com/">UNCERT</ulink> is a geostatistical uncertainty analysis package applied to groundwater flow and contaminant transport modeling. This package was developed for evaluating the inherent uncertainty in describing subsurface geology, hydraulic properties, and the migration of hazardous contaminants in groundwater flow systems. It is well suited for the aforementioned purposes, but is also sufficiently general to be usable by researchers in a wide range of disciples.
</para>
</sect1>
<sect1 id="ecology-howto-software-ecotopia">
<title>EcoTopia</title>
<para>
The <ulink url="http://www.ecotopia.org">EcoTopia</ulink> web site uses computer simulation to model Santa Cruz, California as an ideal environmental community. For Ecotourists and Green Consumers, EcoTopia strives to offer the nation a model of integration of technology and environmental remediation using computer modeling and image forecasting.
</para>
</sect1>
<sect1 id="ecology-howto-software-digiqual">
<title>Digiqual</title>
<para>
<ulink url="http://sourceforge.net/projects/digiqual/">Digiqual</ulink>
is a package to manage a quality and environmental control
system for a factory. The package consists of six modules, but only the
first module has been released. The modules are Supplier Evaluation, Non
Conformity, Documentation, Maintenance, and Internal Audit, and Training.
All data are stored in a PostgreSQL database by the psycopg connector.
</para>
</sect1>
</chapter>
<chapter id="ecology-howto-related-projects">
<title>Related Projects, Mailing Lists and Newsgroups</title>
<para>
<itemizedlist>
<listitem>
<para>
Though I searched the WWW, I couldn't find neither a dedicated newsgroup
nor a mailing list yet. Please let me know of such projects, otherwise
I will create a list a FreeLists.org .
</para>
</listitem>
<listitem>
<para>
<ulink url="http://www.repairfaq.org">Repair FAQ</ulink> .
</para>
</listitem>
<listitem>
<para>
<ulink url="http://www.celinuxforum.org/">CE Linux Forum</ulink>
is a non profit consortium of embedded system makers
(such as Sony, Panasonic, Philips...) which works to
develop the suitability of Linux as an operating system
for Consumer Electronics (CE) devices.
<ulink url="http://tree.celinuxforum.org/CelfPubWiki/FrontPage">
Its Wiki</ulink> is full of useful resources for embedded system
makers to reduce size, power consumption, and to increase speed.
You may find lots of interesting ideas and resources there.
Free Electrons has a <ulink url="http://free-electrons.com/articles/optimizations">
overview presentation</ulink> summarizing these ideas and resources.
</para>
</listitem>
<listitem>
<para>
"The
<ulink url="http://egj.lib.uidaho.edu/">Electronic Green Journal</ulink>, published by the
University of Idaho Library, is a
professional, refereed publication devoted
to disseminating information concerning
sources on international environmental
topics including: assessment,
conservation, development, disposal,
education, hazards, pollution, resources,
technology, and treatment. We are
academically sponsored; our focus,
however, is to publish articles,
bibliographies, reviews, and announcements
for the educated generalist as well as the
specialist. We welcome original
contributions from authors on any
of the above topics." . You
may also find a survey about
Environmental Resources on the
World Wide Web there.
</para>
</listitem>
<listitem>
<para>
BAN is a global network of toxics and development activist organizations that
share a vision of international environmental justice. We seek to prevent all
forms of "toxic trade" -- in toxic wastes, toxic products and toxic
technologies. BAN members will work nationally, regionally and globally to
accomplish the following mission:
The
<ulink url="http://www.ban.org">Basel Action Network (BAN)</ulink>
works to prevent the globalization of the toxic
chemical crisis. In particular, we seek to ensure that the Basel Convention
and its ban (Decisions II/12 and III/1) on the export of hazardous wastes from
OECD to non-OECD countries will not be weakened, but rather ratified and
implemented at the earliest possible date. We also seek to ensure that the
Basel Convention and other instruments and efforts, serve to prevent the trade
and growth of the world's most hazardous, and often obsolete industries,
particularly with respect to developing or newly industrializing countries.
</para>
</listitem>
<listitem>
<para>
<ulink url="http://www.svtc.org/">Silicon Valley Toxics Coalition (SVTC)</ulink>
is a diverse grassroots coalition that
for almost twenty years has engaged in research, advocacy, and organizing
associated with environmental and human health problems caused by the rapid
growth of the high-tech electronics industry. Our goal in addressing these
problems is to advance environmental sustainability and clean production in the
industry and to improve health, promote justice, and ensure democratic
decision-making for communities and workers affected by the high-tech
revolution in Silicon Valley and other high-tech areas of the US and the world.
</para>
</listitem>
<listitem>
<para>
Non-profit
<ulink url="http://www.freegeek.org/">Free Geek</ulink>
turns old PCs and laptops into Linux boxes and gives them
to poor people. Any computer equipment, working or not, can be donated to Free Geek.
They will repair and reuse what computers they can. Non-functioning computers and scrap
will be recycled responsibly.
<!--
website, offers many more information
Write to them and ask for link back.
-->
</para>
</listitem>
<listitem>
<para>
<ulink url="http://www.vnunet.com/vnunet/news/2192333/green-linux-attack-power">VuNet</ulink>
"The Linux Foundation has formed a Green Linux initiative to focus on
reducing the open source operating system's power consumption..."
</para>
</listitem>
<listitem>
<para>
Whitepaper: <ulink url="http://www.ibm.com/developerworks/linux/library/l-green-linux/index.html">Linux: Lean, clean, and green - How GNU/Linux is becoming more eco-friendly</ulink>:
"Green IT is one of the hottest of today's technology trends, and the GNU/Linux community has risen to the challenge. Along with several corporate partners, the
GNU/Linux operating system provides solutions for dealing with power consumption, carbon emissions, and e-waste."
</para>
</listitem>
<listitem>
<para>
Whitepaper: <ulink url="http://www-128.ibm.com/developerworks/linux/library/l-linux-memory.html?ca=dgr-lnxw02LinuxMemory">Reduce your Linux memory footprint - A few tweaks can boost performance</ulink>:
"In this article, learn how to accurately measure the amount of memory your
Linux system uses. You also get practical advice on reducing your memory
requirements using an Ubuntu system as an example..."
</para>
</listitem>
<listitem>
<para>
Whitepaper: <ulink url="http://www.ibm.com/developerworks/opensource/library/os-smart-monitors/index.html">Reduce Power Consumption Through Smart Activity Monitors</ulink>:
"Advanced Configuration and Power Interface (ACPI) and the power configuration systems
built into moderncomputers provide a wide range of options for reducingoverall power
consumption. Linux and its associateduser space programs have many of the tools necessary
tomaster your PC power consumption in a variety of contexts."
</para>
</listitem>
<listitem>
<para>
Whitepaper: <ulink url="http://www.ibm.com/developerworks/linux/library/l-cpufreq-1/index.html">Reduce Linux power consumption, Part 1: The CPUfreq subsystem</ulink>
"This three-part series is your starting point for tuning your system for power efficiency. In Part 1, get up to speed on the components and concepts you need to fine-tune a Linux-based System x server for power efficiency. Learn how to enable the Linux CPUfreq subsystem, get instruction on C and P states, and determine which of the five in-kernel governors you need to boost power efficiency on your system."
</para>
</listitem>
<listitem>
<para>
Whitepaper: <ulink url="http://www.ibm.com/developerworks/linux/library/l-recycle-hardware/">Three ways to recycle commodity hardware with Linux - Creating Linux appliances with spare parts</ulink>:
"Outdated computer hardware may be too old to rely on, but it represents a value to your organizationwhether in an office or at home. Discover how you can realize that value by repurposing older machines with Linux."
</para>
</listitem>
<listitem>
<para>
<ulink url="http://web.archive.org/web/*/http://www-128.ibm.com/developerworks/linux/library/l-lwl1/">Lightweight Linux, Part 1</ulink>:
Hardware is only as old as the software it runs: a modern operating system and
up-to-date applications return an older system to productivity. This article
provides best practices and step-by-step guidance on how to build a working
Linux system on older hardware or on modern hardware with limited memory and
storage.
<!--
Leverage older hardware and break the hardware/software upgrade cycle
-->
</para>
</listitem>
<listitem>
<para>
Whitepaper: <ulink url="http://www.osor.eu/case_studies/airaware-managing-the-skies-of-bucharest-using-free-software"></ulink>:
"In 2005 the Romanian National Meteorological Administration (NMA) received EU funding for its AirAware project. The project's objective was to improve the air quality monitoring system currently in place and to enhance the system with forecasting capabilities. For the management of all the information and the presentation thereof, the team at the NMA developed a portal that is entirely built on Free/Libre Open Source Software. In the future, the team is hoping to open the project to the public."
</para>
</listitem>
<listitem>
<para>
The German <ulink url="http://www.prtr.bund.de/">PRTR - Pollutant Release and Transfer Register</ulink>
provides data about environmental pollution. The data are stored with Open Source
software and presented with OpenStreepMap.
</para>
</listitem>
<listitem>
<para>
Whitepaper: <ulink url="http://www.weed-online.org/publikationen/2353772.html">Buy IT fair - Leitfaden zur sozial-&ouml;kologischen Beschaffung von Computern</ulink>:
This German guide gives assistance for local governments when buying IT.
</para>
</listitem>
</itemizedlist>
</para>
</chapter>
<chapter id="ecology-howto-credits">
<title>Credits</title>
<para>
Thanks to:
<itemizedlist>
<listitem>
<para>
Hristo Bojinov &lt;hib at mit.edu&gt;
</para>
</listitem>
<listitem>
<para>
Thomas Boutell &lt;boutell at boutell.com&gt;
</para>
</listitem>
<listitem>
<para>
Lionel "trollhunter" Bouchpan-Lerust-Juery&lt;trollhunter at linuxfr.org&gt;
</para>
</listitem>
<listitem>
<para>
Ben De Rydt &lt;ben.de.rydt at pandora.be&gt;
</para>
</listitem>
<listitem>
<para>
Manuel Palomo Duarte &lt;manuel.palomo at uca.es&gt;
</para>
</listitem>
<listitem>
<para>
Richie Gan &lt;csardas at gate.sinica.edu.tw&gt;
</para>
</listitem>
<listitem>
<para>
<ulink url="http://bogmog.sourceforge.net">Andreas Gohr</ulink> &lt;a.gohr at web.de&gt;
</para>
</listitem>
<listitem>
<para>
Jeandre &lt;jeandre at techie.com&gt;
</para>
</listitem>
<listitem>
<para>
Wade Hampton &lt;wadehamptoniv at gmail.com&gt;
</para>
</listitem>
<listitem>
<para>
Malcolm Herbert &lt;Malcolm.Herbert at fulcrum.com.au&gt;
</para>
</listitem>
<listitem>
<para>
Robert Hoehne &lt;hoehne at eng.usf.edu&gt;
</para>
</listitem>
<listitem>
<para>
Robert Horn &lt;rjh at world.std.com&gt;
</para>
</listitem>
<listitem>
<para>
Larry Lade &lt;lade at midco.net&gt;
</para>
</listitem>
<listitem>
<para>
Volodymyr M. Lisivka &lt;vlisivka at gmail.com&gt;
</para>
</listitem>
<listitem>
<para>
Verena Lorenz-Meyer
</para>
</listitem>
<listitem>
<para>
<ulink url="http://www.msquared.id.au/">M&sup2;</ulink>
</para>
</listitem>
<listitem>
<para>
Russell Marks &lt;rus at beeb.net&gt;
</para>
</listitem>
<listitem>
<para>
Don Marti &lt;dmarti at varesearch.com&gt;
</para>
</listitem>
<listitem>
<para>
Jun Morimoto &lt;morimoto at xantia.citroen.org&gt;
</para>
</listitem>
<listitem>
<para>
Hanno Mueller &lt;kontakt at hanno.de&gt;
</para>
</listitem>
<listitem>
<para>
Ralf Muschall &lt;rmuschall.fih at t-online.de&gt;
</para>
</listitem>
<listitem>
<para>
Martin &lt;Niteskate at aol.com&gt;
</para>
</listitem>
<listitem>
<para>
Michael Opdenacker, for tips and tricks about PDAs and moral support
<ulink url="http://free-electrons.com/">Free-Electrons</ulink>
</para>
</listitem>
<listitem>
<para>
Klaus Peichl &lt;pei at iis.fhg.de&gt;
</para>
</listitem>
<listitem>
<para>
Mathieu Peyrega &lt;mathieu.peyrega at orange.fr&gt;;
<ulink url="http://www.incub.net/">IncuB</ulink>
</para>
</listitem>
<listitem>
<para>
Daniel Pirone &lt;cocteau at wact.net&gt;
</para>
</listitem>
<listitem>
<para>
Martin Pool &lt;martinp at mincom.com&gt;
</para>
</listitem>
<listitem>
<para>
Bernhard Reiter &lt;bernhard at uwm.edu&gt;
</para>
</listitem>
<listitem>
<para>
Matthias Scheller &lt;mscheller at access.diax.ch&gt;
</para>
</listitem>
<listitem>
<para>
Georg Schwarz &lt;schwarz at physik.tu-berlin.de&gt;
</para>
</listitem>
<listitem>
<para>
Victor Solymossy &lt;victor at lig.dq.ufscar.br&gt;
</para>
</listitem>
<listitem>
<para>
Knut Suebert &lt;ksueber at gwdg.de&gt;
</para>
</listitem>
<listitem>
<para>
Charlie Triplett &lt;crtfcc at missouri.edu&gt;
</para>
</listitem>
<listitem>
<para>
Sotiris Vassilopoulos &lt;Sotiris.Vassilopoulos at betatech.gr&gt;
</para>
</listitem>
<listitem>
<para>
George White &lt;gwhite at bodnext.bio.dfo.ca&gt;
</para>
</listitem>
<listitem>
<para>
Yan Wong &lt;yan.wong at linacre.ox.ac.uk&gt;
</para>
</listitem>
</itemizedlist>
</para>
</chapter>
<chapter id="ecology-howto-revision-history">
<title>Revision History</title>
<para>
<itemizedlist>
<listitem>
<para>
0.1, 18 June 1999, first draft
</para>
</listitem>
<listitem>
<para>
0.2, 10 September 1999, changed &lt;htmlurl ... &gt; tag to &lt;url ...&gt;, another motto, added appendix B about MP3 player, created and added eco_com mailing list, added chapter about alternative power supplies, added recommendations for buying a new computer, improved screensaver section, added UPS chapter, added chapter about hardware design, minor changes
</para>
</listitem>
<listitem>
<para>
0.3, 17 September 1999, added information about Tierra, added information about wasting of resources during computer production, added some comments about UPS, minor changes
</para>
</listitem>
<listitem>
<para>
0.4, 05 December 1999, added appendix G about other operating systems, added information about CD recycling, added appendix H URLs of recyclers, removed link to Linux Games Survey, added links to SWARM, UNCERT and Climate-Dynamics, added chapter about Energy Star label (courtesy of Robert Horn), minor changes
</para>
</listitem>
<listitem>
<para>
0.5, 04 January 2000, some additional information about PostScript utilities, new chapter Caveats, URL corrections and minor changes
</para>
</listitem>
<listitem>
<para>
0.6, 01 March 2000, link to Japanese translation added and some spell checking (thanks to Jun Morimoto), correction of URLs
</para>
</listitem>
<listitem>
<para>
0.7, 14 April 2000, new chapter about double sided printing, some links added to the Games chapter, Power Management Unit - PMU section added, proposition of Chinese translation
</para>
</listitem>
<listitem>
<para>
0.8, 4 November 2000, some more hints on using small space and small memory added, new chapter about Linux applications for old hardware, some more hints how to save paper included, proposal of Portuguese translation, links updated, new document URL, minor changes
</para>
</listitem>
<listitem>
<para>
0.9, 27 February 2003, some links corrected (TuxMobil.org, tldp.org), minor changes
</para>
</listitem>
<listitem>
<para>
0.10, 22 November 2003, conversion to XML, some remarks about the ecological
comparison between laptops and desktops were added, minor changes
<!-- this was released from the LDP as 1.0 -->
</para>
</listitem>
<listitem>
<para>
0.11, 23 March 2004, conversion to XML, some remarks about the ecological
comparison between laptops and desktops were added, minor changes
</para>
</listitem>
<listitem>
<para>
0.12, 27 July 2005,
Added a chapter about "Installing Linux on Older Hardware",
bumped to DocBook 4.2,
minor changes.
</para>
</listitem>
<listitem>
<para>
0.13, 9 February 2006,
All URLs have been checked
and some minor changes were made.
</para>
</listitem>
<listitem>
<para>
0.14, 12 March 2006,
A link to ledcontrol has been added
and some minor changes were made.
</para>
</listitem>
<listitem>
<para>
0.15, 11 May 2006,
Many updates, hyperlinks to existing resources and additions by Michael Opdenacker
(<ulink url="http://free-electrons.com/">Free Electrons</ulink>). Most added ideas
and resources come from the embedded Linux system development community.
</para>
</listitem>
<listitem>
<para>
0.16, 24 October 2006,
Some link and spell checking has been done.
</para>
</listitem>
<listitem>
<para>
0.17, 30 May 2007,
A short description of Intel's LinuxPowerTop project has been added to the Powermanagement section,
the Nuke Anything Enhanced FireFox extension and kprinter are now mentioned in the Printer section,
some minor enhancements have been done and
all URLs have been checked.
</para>
</listitem>
<listitem>
<para>
0.18, 19 June 2007,
A new chapter about using spare CPU cycles has been added,
the Green Linux initiative of the Linux Foundation has been mentioned, and
the abstract has been made more precise.
</para>
</listitem>
<listitem>
<para>
0.19, 22 June 2007,
Some information about energy-efficient products and standards
has been added.
</para>
</listitem>
<listitem>
<para>
0.20, 28 September 2009,
All URLs have been checked, and many minor enhancements have been made.
</para>
</listitem>
</itemizedlist>
</para>
</chapter>
<appendix id="ecology-howto-appendix-a">
<title>Appendix A - Linux with Laptops</title>
<sect1 id="ecology-howto-comparison">
<title>Ecological Comparisons of Computers</title>
<para>
Scientists of
<ulink url="http://www.reuse-computer.de/">ReUse project</ulink>
located at the
<ulink url="http://www.tu-berlin.de/">Technical University of Berlin</ulink> recently compared the
energy consumption of different computer types along the life cycle. The
production of computers actually needs 535 kWh which is 10 % less than 4
years ago. Most of the energy will be consumed while the computer is used
for example at work for 8 hours/day. The energy consumption of new
computers with 2,5-3 GHz processors is even in the
stand-bye-mode still 100 Watt, whereas a 1,4 GHz PC needs 80
Watt and a 4 year old PC only needed 60 Watt. Therefore from the
ecological point of view it is better to buy an old computer
that didn't need the energy for a new production and which
consumes less electricity while it is being used.
</para>
<para>
LCD displays need less energy than other monitors. For this reason
laptops are the most ecological types of the compared computers. They
need the smallest amount of energy when they are used. And 3 year old
laptops are better than new ones since their processors need less
energy than new examples. There is also an article in the
German computer magazine
<ulink url="http://heise.de/ct/">C't 21/ 2003</ulink>.
</para>
</sect1>
<sect1 id="ecology-howto-appendix-a-1">
<title>Battery</title>
<para>
Has to be written. See
<ulink url="http://tldp.org/HOWTO/Battery-Powered/index.html">Battery-Powered-mini-HOWTO</ulink>
, too.
</para>
<!--
seems obsolete
<para>
<command>apmd-rhcn-2.4phil-1</command> by RedHat
<ulink url="ftp://rhcn.redhat.com/pub/rhcn/">ftp://rhcn.redhat.com/pub/rhcn/</ulink>
contains an unofficial patch for shutting down the PCMCIA
sockets before a suspend and patches for multiple batteries.
</para>
-->
</sect1>
<sect1 id="ecology-howto-appendix-a-2">
<title>PCMCIA Card Services and Advanced Power Management</title>
<para>
Quoted from the <ulink
url="http://tldp.org/HOWTO/PCMCIA-HOWTO.html">PCMCIA-HOWTO</ulink>:
&quot;Card Services can be compiled with support for APM
(Advanced Power Management) if you've configured your kernel
with APM support. ... The PCMCIA modules will automatically
be configured for APM if a compatible version is detected on
your system. Whether or not APM is configured, you can use
<command>cardctl suspend</command> before suspending your
laptop, and <command>cardctl resume</command> after resuming,
to cleanly shut down and restart your PCMCIA cards. This will
not work with a modem that is in use, because the serial
driver isn't able to save and restore the modem operating
parameters. APM seems to be unstable on some systems. If you
experience trouble with APM and PCMCIA on your system, try to
narrow down the problem to one package or the other before
reporting a bug. Some drivers, notably the PCMCIA SCSI
drivers, cannot recover from a suspend/resume cycle. When
using a PCMCIA SCSI card, always use <command>cardctl
eject</command> prior to suspending the system.&quot;
</para>
<para>
You should use the internal modem in a laptop instead of a PCMCIA modem, if possible (it may be a WinModem).
</para>
</sect1>
<sect1 id="ecology-howto-appendix-a-3">
<title>Power Saving Techniques</title>
<para>
<itemizedlist>
<listitem>
<para>
If you don't need infrared support,
disable it in the BIOS or shutdown the
IrDA device driver. There are also some
IrDA features of the kernel which are
useful for saving power.
In the specifications of my HP
OmniBook 800 it is recommended to turn
off the IR port, if it is not in use,
because it may consume up to 10
percent of the battery time.
If necessary, you may also try to
disable the <command>Fast RRs</command> feature in the IrDA
section of the kernel. This option
will give you much better latencies
but will consume more power.
</para>
</listitem>
<listitem>
<para>
PCMCIA services consume much power, so shut them down if you don't need them.
</para>
</listitem>
<listitem>
<para>
I'm not sure to which extend the
<command>backlight</command>
consumes power. WARNING: AFAIK
this device can only bear a
limited number of uptime circles.
So avoid using screensavers too
much.
</para>
</listitem>
<listitem>
<para>
For some examples to build
batteries with increased uptime
up to 8 hours look at
<ulink url="http://www.silverace.com/libretto/">Adorable Toshiba Libretto</ulink>.
</para>
</listitem>
<listitem>
<para>
For information about APM look at the APM chapter above.
</para>
</listitem>
<listitem>
<para>
<ulink url="http://www-leland.stanford.edu/~bbense/toys/">A hacked rclock</ulink>.
Booker C. Bense has hacked the
<command>rclock</command> program to include a simple battery power
meter on the clock face.
</para>
</listitem>
<listitem>
<para>
<ulink url="http://www.kde.org/">KDE</ulink> provides
<command>KAPM</command>, <command>Kbatmon</command> and
<command>Kcmlaptop</command>. Written by Paul Campbell
<command>kcmlaptop</command> is a set of KDE control panels that
implements laptop computer support functions, it includes a dockable
battery status monitor for laptops - in short a little icon in the
KDE status bar that shows how much battery time you have left. It
also will warn you when power is getting low and allows you to
configure power saving options.
Similar packages you may find at the
<ulink url="http://www.gnome.org/">GNOME project</ulink> . See the
software maps at both sites.
</para>
</listitem>
<listitem>
<para>
Please see
<ulink url="http://tldp.org/HOWTO/Battery-Powered/index.html">Battery-Powered-mini-HOWTO</ulink>
for more information.
</para>
</listitem>
<listitem>
<para>
<command>toshiba-fan</command> Turn the fan on a Toshiba Pentium laptop on
or off. This is a command line utility to turn the fan of a Toshiba laptop
on or off, or view its current state. It should work on all Toshiba Pentium
laptops that have fans.
</para>
</listitem>
</itemizedlist>
</para>
</sect1>
</appendix>
<appendix id="ecology-howto-appendix-b">
<title>Appendix B - MP3-Hardware-Decoder at Parallel Port</title>
<para>
In the German computer magazine
<ulink url="http://www.heise.de/ct/">CT</ulink>
issue 9/1999 p. 200 and 10/1999 p. 260 I found an article about turning an old
PC (from 286 upward) into a MP3 player, by using a MP3-Hardware-Decoder at the
parallel port.
<ulink url="http://www.mp3pump.de/english/index.html">Authors Homepage</ulink> .
</para>
<para>
Also mentioned there, is a software by <ulink url="http://leute.server.de/peichl/mpegcd.htm">Klaus Peichl</ulink>, which doesn't need a hardware decoder.
</para>
<para>
Though both programs are DOS based, I mention them here. I hadn't time to look for an according Linux solution.
</para>
<para>
<ulink url="http://cajun.sourceforge.net/">Cajun</ulink> is a program that allows you to turn any computer (&gt;75mhz) into a massive audio jukebox for your car or home. It uses the
<ulink url="http://www.matrixorbital.com/">MatrixOrbital</ulink>
serial display and supports the IRman infra-red remote control interface. Soundcard output is delivered to your (car or home) stereo for amplification. The software supports a hotlist and shuffle mode. It includes FM/Video4Linux support, icecast/shoutcast support, CrystalFontz serial display support, and choice of mpg123 or xaudio for driving the sound card.
</para>
</appendix>
<appendix id="ecology-howto-appendix-c">
<title>Appendix C - Bibliography</title>
<para>
<itemizedlist>
<listitem>
<para>
Ellringmann, H. /Hrsg.): Softwarefuehrer Umweltschutz. Anbieter - Produkte - Maerkte; 1999ff.
</para>
</listitem>
<listitem>
<para>
Koellner, W. / Fichtler, W.: Recycling von Elektro- und Elektronikschrott; 1996
</para>
</listitem>
<listitem>
<para>
Rohwedder, W.J. "Rocky" / Alm, Andy: Using Computers in Environmental Education; 1994
</para>
</listitem>
<listitem>
<para>
Schloegl, M.:Recycling von Elektro- und Elektronikschrott; 1995
</para>
</listitem>
<listitem>
<para>
Tiltmann, K.O. (Hrsg.): Recyclingpraxis Elektronik; 1994
</para>
</listitem>
<listitem>
<para>
Andreas Grote: (be): Gruene Rechnung - Das Produkt Computer in der Oekobilanz - Report, Oekologie, Rohstoffverbrauch, Energieverbrauch und Schadstoff-Emissionen bei Herstellung, Betrieb und Entsorgung, EPA, Energy Star, Green-PC (c't 12/1994, Seite 92) <ulink url="http://www.heise.de/ct/">CT</ulink> .
</para>
</listitem>
</itemizedlist>
</para>
</appendix>
<appendix id="ecology-howto-appendix-d">
<title>Appendix D - Recommendations for Buying a New Computer</title>
<para>
Courtesy of Wade Hampton (modifications by wh): Purchase a low-power computer such as a laptop or network computer. These typically don't use as much power as desktop systems. For example, someone on the WWW had a Corel/Rebel Netwinder powered by solar cells. I find it funny that an "Energy Star" desktop still has a 300W power supply and uses far more power than a computer like the Netwinder which uses something like 10 Watts of power, (though this is consistent with the Energy Star goals for computer equipment, since they have targeted unused power consumption).
</para>
<para>
Maybe there should be a new class of computers called "Energy Miser" (or similar) that use nearly an order of magnitude less power than Energy Star systems?
</para>
<para>
To save power for the display, one could purchase a LCD monitor instead of a CRT. LCD monitors consume 30-40 Watts of power versus the 100's of Watts used by most monitors. The price of an LCD is still 2-3 times that of a similar monitor, but as LCDs become more widely used, the price will come down.
</para>
<para>
Make sure that any new computer purchase includes APM-compliant hardware and low-radiation. Use TCO, DPMS or Energy Star compliant monitors.
</para>
<para>
R Horn &lt;rjh at world.std.com&gt; wrote: " I personally have found the <ulink url="http://eande.lbl.gov/">Lawrence Berkeley Labs - LBL</ulink> web site to be the best source for information on energy efficient equipment. They go into considerable details on how to reduce energy consumption from many kinds of equipment, including much more than computers. They also have a good collection of links to related sites. The Energy Star program is defined by the US Environmental Protection Agency, which has a web site on it. So far all of the Energy Star regulations have been defined to reduce energy usage without requireing change or restrictions on regular usage. There is an amazingly large amount of electricity consumed by idle equipment (computers, televisions, microwave ovens,...) and also large amounts consumed unnecessarily by equipment that must be continuously one (emergency exit signs, traffic lights, ...). Since this energy can be saved without asking users to make any compromises on performance, it is being targeted first.
</para>
<para>
Somewhere on the LBL web site they have the actual power consumption figures for various PCs. The 300W power supply is quite misleading. Actual power usage varies depending upon what programs you run and whether the disks can be powered down. Genuine usage while in operation is usually in the 50-75W range. When the system is idle, it drops significantly.
</para>
<para>
The NetWinder is a nice machine, but does force operational compromises. The peak CPU performance is much lower. The operating system is not Windows. And there are other limitations. A closer comparison is the typical laptop PC. These can generally be operated from a modest solar panel because their average power drain is quite low. With these you can see the cost vs power consumption tradeoff. They achieve the same performance as the desktop units, but the low power consumption has doubled or tripled the cost.
</para>
<para>
(I personally use a Psion. A decent slow computer that requires only 200mw of power. It may even run Linux once they deal with some of the ROM issues.)
</para>
<para>
The big debate in setting the energy star regulations was deciding which would have greater overall benefit: small negligible cost improvements to almost all equipment sold, or greater improvements at much higher cost? Could that cost be invested elsewhere to greater benefit? How will the purchasers react to the higher cost? So far the consensus has been that improving a large number of machines at negligible cost is wiser than improving a smaller number of machines at high cost."
</para>
</appendix>
<appendix id="ecology-howto-appendix-e">
<title>Appendix E - A New Environmentally Friendly Hardware Design</title>
<para>
Courtesy of Wade Hampton and Knut Suebert: New hardware designs that plan
to use Linux should take advantage of environmentally friendly technologies
such as low-power CPUs e.g., the ARM from Intel:
<!--
<ulink url="http://developer.intel.com/design/strong/">Intel</ulink>
-->
, environmentally friendly battery design, low-power displays (e.g., non-backlit LCDs), smaller packaging, etc. Linux supports a WIDE variety of hardware and technologies. These could be leveraged into powerful, flexible, environmentally friendly Linux-based solutions.
</para>
<para>
An "Environmental Rating" could be created for new Linux-based hardware and even some Linux-based software such as <command>bottlerocket</command> (X10). Devices such as the Netwinder or the uCsimm would receive high ratings for their size, power consumption, capabilities, etc.
</para>
<para>
At <ulink url="http://www.telepolis.de/tp/deutsch/inhalt/te/1367/1.html">Telepolis (German Computer Magazine)</ulink> you might find an article about wasted resources during computer manufacturing.
</para>
<para>
Generally speaking PPC CPUs consume less power than x86 CPUs.
</para>
</appendix>
<appendix id="ecology-howto-appendix-f">
<title>Appendix F - Computer Related Eco Labels</title>
<para>
<!--
Currently I have only this small list: TCO, DPMS or Energy Star <ulink url="http://www.blauer-engel.de/">Blauer Engel</ulink> (Germany), Energy Label - Group for Efficient Appliances (GEA).
-->
<itemizedlist>
<listitem>
<para><ulink url="http://www.energystar.gov.au/">ENERGY STAR Australia Home Page</ulink></para>
</listitem>
<listitem>
<para><ulink url="http://www.blauer-engel.de/">Blauer-Engel.de</ulink></para>
</listitem>
<listitem>
<para><ulink url="http://www.svanen.nu/Eng/">SIS Ecolabelling, The Swan, Nordic ecolabel</ulink></para>
</listitem>
<listitem>
<para><ulink url="http://www.eco-label.com/">Eco-Label</ulink></para>
</listitem>
<listitem>
<para><ulink url="http://www.eccj.or.jp/top_runner/index.html">Top Runner - Energy Conservation Center,Japan / Top Runner Program REVISED EDITION/OCT 2006</ulink></para>
</listitem>
<listitem>
<para><ulink url="http://www.gealabel.org/About.htm">GEEA -Group for Energy Efficient Appliances</ulink></para>
</listitem>
<listitem>
<para><ulink url="http://www.unescap.org/esd/energy/publications/psec/guidebook-part-two-standby-power.htm#244">Swiss ordinances on standby power</ulink></para>
</listitem>
<listitem>
<para><ulink url="http://www.mtprog.com/">Market Transformation Programme - Supporting UK Government policy on sustainable products</ulink></para>
</listitem>
</itemizedlist>
</para>
</appendix>
<appendix id="ecology-howto-appendix-g">
<title>Appendix G - Other Operating Systems</title>
<sect1 id="ecology-howto-appendix-g-1">
<title>DOS</title>
<para>
To my surprise there are still many tools available to make an old 286 PC useful. I started a search for <command>286</command> at <ulink url="http://www.simtel.net/">Simtel.Net</ulink> and found many useful shareware programs. For instance:
</para>
<para>
<itemizedlist>
<listitem>
<para>
<ulink url="http://www.simtel.net/product.php?id=47316">Full-featured LAN for MSDOS computers, 286+req</ulink>
</para>
</listitem>
<listitem>
<para>
<ulink url="http://www.simtel.net/product.php?id=48441">RoseMail, PCBoard offline mail, 8086/286 exe's</ulink>
</para>
</listitem>
<listitem>
<para>
<ulink url="http://www.simtel.net/product.php?id=50547">Multitasking/multiuser environment for 286-586</ulink>
</para>
</listitem>
</itemizedlist>
</para>
<para>
There is even a free DOS around, see
<ulink url="http://www.500mhz.net/ndx.html">The OS Developers Homepage</ulink> and
<ulink url="http://www.freeos.com">The FreeOS</ulink> page.
</para>
</sect1>
<!--
<sect1 id="ecology-howto-appendix-g-2">
<title>Microsoft-Windows</title>
<para>
A power saving utility
<ulink url="http://www.bugcomputer.com/cpuidle/index.html">CPUIDLE</ulink>
is available. Another one for older versions of MS-WindowsNT is available at
<ulink url="http://members.aol.com/niteskate/ntpwr.zip">NiteSkate</ulink>.
</para>
1 new URL: http://www.bugcomputer.com/
but nothing useful there
2 broken URL
</sect1>
-->
</appendix>
<appendix id="ecology-howto-appendix-h">
<title>Appendix H - URLs of Recyclers</title>
<para>
<itemizedlist>
<listitem>
<para>
<ulink url="http://www.remedia.de/">REMEDIA</ulink> - Germany - recycling of data storage media (CD, floppy, tape)
</para>
</listitem>
<listitem>
<para>
<ulink url="http://www.alcad.com/site_map.htm">ALCAD</ulink> - worldwide - Ni-Cd Battery Recycling
</para>
</listitem>
<listitem>
<para>
<ulink url="http://www.cd-collect.com/">CD-COLLECT</ulink> - CD recycling
</para>
</listitem>
<listitem>
<para>
<ulink url="http://www.rbrc.org/">Rechargeable Battery Recycling Corporation</ulink> RBRC is a non-profit, public service organization created to promote the recycling of Nickel-Cadmium (Ni-Cd) rechargeable batteries.
</para>
</listitem>
<listitem>
<para>
The <ulink url="http://www.epba-europe.org/">European Portable Battery Association (EPBA)</ulink> is the European organisation of companies manufacturing, selling or distributing portable batteries. The mission of the EPBA is to ensure that the ideal conditions are created for responsible development of the portable battery industry in Europe. Acting in the common interests of all of its members, the EPBA aims to sustain a competitive industry in an increasingly complex commercial climate.
</para>
</listitem>
<listitem>
<para>
<ulink url="http://www.batterycouncil.org/">Battery Council International</ulink> is a not-for-profit organization with the mission of promoting the interests of the international lead-acid battery industry. With more than 175 members worldwide, the Battery Council International (BCI) brings together lead-acid battery manufacturers and recyclers, marketers and retailers, suppliers of raw materials and equipment, and industry consultants.
</para>
</listitem>
</itemizedlist>
</para>
<para>
When computer waste processing channels are not available yet in
your country, or are just not mature enough yet, another idea is too keep
your computer waste a few more years in your attic or in your cellar (provided
you have storage space). Better processing channels and recycling technologies
will become available over the years.
</para>
<para>
In some countries like France (and probably in the whole European Union),
local law makes it mandatory for consumer device shops to accept
old devices for free when you buy a new one, to ensure suitable processing
or recycling of waste.
</para>
</appendix>
</book>
<!--
vim:tw=75:autoindent:
Tags for this article: energy, environment, green, green_it, green_solutions, linux, smarter_planet, virtualization, eco-friendly,
assessment,
conservation, development, disposal,
education, hazards, pollution, resources,
technology,
treatment
-->
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-namecase-general:t
sgml-general-insert-case:lower
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:nil
sgml-parent-document:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->