| www.volker-lanz.de | |||||||
|
Software Development blog.volker-lanz.de KDE Partition Manager BoxMonster QSynergy The Black Art of Optimising Thirdparty or roll your own? Linux Thinkpad function keys on SUSE Linux 9.2 SUSE Linux 9.2 on an IBM Thinkpad T41p Mac The Mac Mini Toys SUSE Linux 10 and an Apple iPod The Nokia 9500 Communicator Interactive Fiction Inf2ATR Infocom's Deadline ported to Inform Intruder NPC Engine for Inform Meta About |
IntroductionI have been a happy Apple iBook user (a 12" iBook with a 600 MHz G3 CPU) for the past three years, but new requirements in my job arose and I needed a new notebook, specifically one that could run Linux well, had a decent CPU and three mouse buttons. I got a used IBM Thinkpad T41p, a notebook with a reputation to work fine under Linux. The Thinkpad T41p I got had been running Windows XP and SUSE Linux 9.0 before (a LOT more Windows than SUSE Linux, though, as I have been told). The SUSE Linux 9.0 obviously was too old to be run on a notebook: Too many things did not work that well, or even not at all. So I purchased the recently released SUSE Linux 9.2 and began setting it up.Basic installation of SUSE Linux 9.2 on a Thinkpad T41pThe Thinkpad's previous owner had not bothered to get the Recovery CDs from IBM, so I decided not to wipe the Thinkpad's disk clean, but only to resize partitions, reserving most of the space for Linux, but leaving the hidden recovery partition and the Windows XP partition in place. Installing SUSE Linux 9.2 via YaST went both quickly and smoothly, no problems here.Setting it upTouchpadThe most annoying thing at first was the tapping-is-clicking feature of the T41p's touchpad. I could hardly use KDE as long as this mis-feature was active.It turns out I had to add this to my /etc/X11/xorg.conf:
Section "InputDevice" I admit I am not entirely certain about the meaning of each of these lines as I just copy-and-pasted them from some web page. The important part seems to be setting "MaxTapTime" to "0" and "AccelFactor" to "0.0010" to make the mouse cursor's movement speed bearable. This also adds a nice twist to the touchpad: I can use the rightmost and bottommost parts of it to scroll, not move the mouse. Windows XP does have this feature as well, as I have only found out later. Sound, CD-R/DVD and multimediaSound worked out of the box without any problems. Same for the CD-R/DVD drive: Just works. Of couse I had to go through the usual (licensing/patent/whatever-induced) process of installing packages from Packman to make DVD playback work within xine/KDE, but once that was done, there were no problems.NetworkBasically, networking just worked. SUSE Linux 9.2 recognised the Thinkpad's Atheros Wireless chip as well as its Intel LAN chip, set them up okay and I was ready to go.Power Management with ACPIThis is usually the big one, but much to my surprise it mostly works out of the box. There are, however, a few traps. Note that I did not try APM at all; I have been told APM is working well with the T41p, but I consider it an obsolete technology I am not interested in getting to work.So, ACPI it is. The biggest roadblock first: As long as I did not boot the kernel with acpi_sleep=s3_bios,
I could not get the graphics chip to properly resumse after a suspend.
Some other pages on the web about Linux on the Thinkpad recommend using
radeontool to kick the graphics chip back to life, but that did not do
the trick for me.
So I just appended acpi_sleep=s3_bios to the kernel parameters in /boot/grub/menu.lst, and all was well.
A SUSE supplied script in /usr/lib/powersave/scripts apparently has a bug. I had to apply this patch to make it work correctly:
--- scripts/sleep_helper_functions 28 Sep 2004 17:19:31 -0000 1.10 Before I fixed this bug, the system would not stop any services before a suspend-to-disk or suspend-to-ram if I told it to. This can lead to problems with autofs and maybe networking. In the end, I found it not necessary to stop networking before a suspend, but only if I use the ifplugd service for the internal LAN. Otherwise, the routing after a successful resume is broken: The default route is always via eth0, even though there may not even be a cable plugged in. The Xorg shipping with SUSE Linux 9.2 comes with a radeon driver that supposedly supports some sort of power-savings mode the graphics chip has. One has to add Option "DynamicClocks" "on" to the radeon's Device-section in /etc/X11/xorg.conf in order to turn this feature on. I have not conducted any tests if this has some effect, but it sure does not hurt either.
BluetoothBluetooth just works out of the box. This is good news, but the bad news is: KDE does not yet offer anything remotely close to what Mac OS X can do when it comes to bluetooth connectivity with cell phones. So, yes, bluetooth works, but communicating with my Sony Ericsson T610 alone is not helpful in any way as long as Kontact cannot sync its address book with the cell phone, let alone send SMS messages or dial numbers by clicking on them in the address book. They say Evolution is one step ahead here, but I am not going to drop the otherwise excellent Kontact in favour of Evolution just for this one reason.I have a Logitech MX900 for my workstation and quickly tried if the T41p could talk to it (it can under Windows, took less than a minute to set up), but that did not work without further investigation. As I have no intentions to really use the MX900 with the Thinkpad, I gave up. OSD for brightness and volumeSUSE Linux 9.2 comes with the tpb program to allow for easy setup of an onscreen display for brightness and volume. tpb works reasonably well, but needs access to/dev/nvram to be able to do anything. Unfortunately, /dev/nvram is only accessible by root per default, so I set it up in /etc/permissions.local to be 644. This did not work permanently, after the next reboot the permissions were back to 600.
Some searching via Google turned up that I needed to modify an entry in /etc/udev/permissions.d/50-udev.permissions. /dev/nvram is listed there as being 600. I changed this to 644 and it seems to work ok. I finally added tpb to the /opt/kde3/share/autostart dir to have it run each time a user logs on to KDE.
By the way: tpb does not seem to like Xorgs new compositing eye-candy features for dropshadows: If I turn these on, tpb's display is garbled. Special Thinkpad keysThe following Thinkpad keys either just work (because they are driven by the notebook's BIOS) or generate ACPI events I could easily make use of:
I would have liked to use the power key to suspend the system to disk, but this turned out impossible, because this key is also used to wake the Thinkpad from suspend-to-ram when the lid is open. Unfortunately, the power key not only resumes the Thinkpad from suspend-to-ram, but also triggers a button/power event; this leads to the notebook resuming from suspend-to-ram and instantly performing a suspend-to-disk. There are workarounds possible for this glitch, but I did not bother and set the power key to "ignore" in YaST. Speed-stepping for the Pentium M CPUSUSE Linux 9.2 set up speed stepping automatically for me, there was nothing to do or improve. It Just Works.3D support from the ATI graphics chipI did not even try it. I have some experience with ATI drivers and notebooks: It is all really just a shame for ATI to produce such utter crap. Also, I for the life of me cannot understand why IBM would pick ATI and not nvidia for a top line notebook like the Thinkpad T41p. If ATI and their software engineering have not improved by some orders of magnitude over the last couple of years, the Windows drivers for this card aren't much better than the Linux ones, either.VGA outI did not manage to get this to work in any useful way. The best one apparently can hope for is a clone of the internal display, but this is hardly useful: The internal resolution of 1400x1050 is unlikely to be supported by video projectors or desktop TFTs.Note that the Thinkpad T41p's VGA out port is supposed to work fine, but the radeon driver that comes with SUSE 9.2 seems to be defective in this regard. Video outI have yet to try this one out. From what I have read so far, it is pretty painful to get to work.Internal modemI have absolutely no use for the internal modem. I hear it is working, but I could not care less.Some comments on the Thinkpad T41p
Summary: The IBM Thinkpad T41p and SUSE Linux 9.2All in all, the IBM Thinkpad T41p and SUSE Linux 9.2 seem to be an almost-ideal combination for any Linux user looking for a decent notebook to get his job done. It definitely is not a toy: It is way too expensive for that and also cannot do gaming (not at all under Linux). Few things regarding the overall setup have to be dealt with at all; only two or three problems remain unsolved. For the most part, though, this combo just works, and does so brilliantly. I find it especially noteworthy how much attention SUSE seem to have spent with this release of their distribution on making it work seamlessly with mobile computers. Although some edges still remain, I think they did a great job here and consider my money well spent. The T41p in itself is a fantastic machine, undoubtedly.Other very helpful ressources
|
||||||
|
|