Charl P. Botha
http://cpbotha.net/
The Promedion 5600 is the Dutch rebranding of the Clevo 5600. This laptop is also sold on the American continent as the Sager NP65xx, the M-Tech 5600, the Eurocom Monte Carlo 5600, the ProStar 5694, the Fosa 5600P and the much-discussed Alienware Area-51m gaming laptop.
My laptop has the desktop P4 2GHz (Northwood, 512K L2), 256MB DDR RAM, 15'' SXGA+ (1400x1050) LCD, DVD ROM, 3-year on-site guarantee and all the other bells and whistles that come with these computers. At the time I bought it, it was an impressive laptop :)
This document describes the necessary steps to get linux running on this machine with all possible functionality. I work and play in a 100% Winblows-free environment, so I can't quickly boot back into XP to do this or that. Even the thought makes me nauseous.
I update this howto periodically. When I bought my laptop, I started out with kernel 2.4.18 and some odds and ends. Things have improved greatly since that time with regards to linux support of this machine.
After having untarred your kernel, get the latest ACPI patch from the SourceForge ACPI project page and the latest swsusp patch for your ACPI and kernel from the sourceforge swsusp pages. I am using the 20030109 acpi patch for kernel 2.4.21-pre3 followed by the v16 swsusp patch for that kernel and acpi combination.
If you're going to run a pre-2.4.20 kernel, also get the agpgart i845 resume patch from my site.
The ACPI patch will enable most of the advanced power and configuration capabilities of your laptop. The swsusp patch will enable you to suspend to disc (hibernate).
Patch your kernel source with these and then start configuring. To save you some time, you could start from my kernel config.
This has support for the onboard sound (tested), PCMCIA (tested), firewire (not tested), USB (not tested) and most of the other gimmicks.
Also get the latest Synaptics touch pad drivers from Mobilix pages and install these according to the instructions.
Work from my XF86Config-4 to configure your XFree86.
Start X (I use startx for this) and check your DRI setup by running glxinfo. It should report that direct rendering is active. glxgears should yield more than 1000 FPS.
If you've been following the development of the XFree86 Radeon drivers, you will also note that you can now even switch VTs. Well, that's because I fixed the long-standing (months?) VT-switch bug in all versions of XFree86 with the help of Michel Dänzer and Mike Harris a week after I bought my laptop. Neat huh?
I have configured acpid to perform a shutdown if the lid is closed or the power button is pressed. If the sleep button combination is pressed (Fn-F4) acpid runs my my suspend.sh script.
The ACPI patches also supply all kinds of neat information via the /proc/acpi interface. For example, you can monitor the internal temperature of the CPU, your battery capacity (doh) and you can even throttle your CPU, making it consume far less power. Make sure that your CPU is making use of the C3 idle state by checking /proc/acpi/processor/CPU0/power. This made a huge difference for me with regards to temperature and battery life.
# be very careful with ', " and \... you want bash to evaluate things
# at prompt display time and not before. "" is expanded, '' is not.
if [ "$TERM" == "rxvt" -o "$TERM" == "xterm" ]; then
PROMPT_COMMAND=\
"echo -ne \"\033]0;\$USER@\$HOSTNAME: \$PWD\007\" && \
TEMP=\`cat /proc/acpi/thermal_zone/THM0/temperature | \
awk '{ print \$2 }'\` && \
BAT=\`cat /proc/acpi/battery/BAT0/state | \
awk '/remaining/ { print \$3 }'\` && \
PS1='\$TEMP \$BAT \u@\h:\w\$ '"
else
PROMPT_COMMAND=\
"TEMP=\`cat /proc/acpi/thermal_zone/THM0/temperature | \
awk '{ print \$2 }'\` && \
BAT=\`cat /proc/acpi/battery/BAT0/state | \
awk '/remaining/ { print \$3 }'\` && \
PS1='\$TEMP \$BAT \u@\h:\w\$ '"
fi
This will prepend the current CPU temperature (in degrees Celsius) and
remaining battery capacity (in mAh) to your bash prompt. In addition, if
you're running an xterm or rxvt, it will continuously change the title bar
to reflect your user, hostname and directory.
The current version (0.3) does not work with the latest ACPI kernel patches due to updates made to the /proc naming scheme. I have made the necessary fixes so you can just apply this patch.
This document was generated using the LaTeX2HTML translator Version 2K.1beta (1.48)
Copyright © 1993, 1994, 1995, 1996,
Nikos Drakos,
Computer Based Learning Unit, University of Leeds.
Copyright © 1997, 1998, 1999,
Ross Moore,
Mathematics Department, Macquarie University, Sydney.
The command line arguments were:
latex2html -local_icons -split 0 clevo5600_linux.tex
The translation was initiated by Charl P. Botha on 2003-02-02