IBM Thinkpad R50e
April 4th, 2006
WARNING: long post
I bought my first laptop: an IBM ThinkPad R50e (I found only an italian page for this model, sorry me, but I guess there’s a translation somewhere over the IBM’s site). It has all the things I need withouth any esotic component. So I started hacking it…
The debian’s installation worked well (with testing netinstaller) and I hadn’t any problem. The only think you should keep in mind when configuring xorg is to use this in the video section:
Section "Device"
Identifier "Intel Corporation 82852/855GM Integrated Graphics Device"
Driver "i810"
Option "VBERestore" "yes"
Option "Clone" "true"
Option "MonitorLayout" "CRT,LFP"
Option "DevicePresence" "yes"
EndSection
In this way you’ll have the monitor port working (for example if you want to connect the laptop to a video projector).
The first thing I wanted to make work has been the software suspend feature (I’m not talking about the ACPI sleep state, or as it is commonly named “stand by”, but a real suspend-to-disk feature).
This can be accomplished in several ways, but usually with swsusp (that’s kernel integrated since 2.6.12 if I recall correctly) or suspend2. With a default setup it doesn’t always work; the shutdown process works well, but the resume hangs when restoring ACPI interrupts. I tried both ways, with suspend2 it never worked: when resuming it hangs at “copying original kernel back”. With swsusp you have to exclude some drivers in order to don’t always hang. First of all, remove rtc (real time clock) support. With it enabled I get crashing more often than I need. Then don’t use intelfb: although it should be supported, the swsusp with this module loaded works one out three times. I had some crashes withouth 3D acceleration enabled too (but just load i915 and everything goes ok).
Then I tried to make something cool with the thinklight. There’s already something really cool out there (rocklight over everything). But I did something cooler: every key I press makes the thinklight blink. That’s not useful, nor mindsane, but definitely geek. That’s done through a kernel patch over the keyboard driver. As soon as I finish to do some checks I’ll publish the patch here.
About the wireless card: I can’t get it in monitor mode by using vanilla kernel sources. If you want monitor mode, use ipw2200 and ieee80211 from sf.net (http://www.ieee80211.sf.net and http://www.ipw2200.sf.net) but they’re not so stable. I keep losing 10-15% of wireless packets with them. There’s not monitor mode, but since I never done wardriving (and I don’t plan to make it), I think it’s good for me.
And if you want to make something cool to show to the friends, then install fluxbox and 3ddesktop and bind /usr/bin/3ddesk to some key: that’s what will bring your friends to linux.