<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sihde</id>
	<title>ThinkWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sihde"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Sihde"/>
	<updated>2026-04-30T04:18:48Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=ATI_Mobility_FireGL_V5200&amp;diff=37869</id>
		<title>ATI Mobility FireGL V5200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=ATI_Mobility_FireGL_V5200&amp;diff=37869"/>
		<updated>2008-05-30T23:57:06Z</updated>

		<summary type="html">&lt;p&gt;Sihde: /* Proprietary ATI driver on Ubuntu Feisty */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is an ATI video adapter&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
* Chipset: ATI M56 - Similar to Radeon X1600&lt;br /&gt;
* PCI ID: 1002:71c4&lt;br /&gt;
* PCI Express x16&lt;br /&gt;
* 256 MB GDDR3-SDRAM video memory&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Linux X.Org driver ===&lt;br /&gt;
Initial support included in the stable branch of the Xorg [[radeon]] driver (2D only). XVideo acceleration and 3D support are still under development but should be available within 2008.&lt;br /&gt;
Ubuntu 8.04 uses this driver by default.&lt;br /&gt;
&lt;br /&gt;
It is also supported by the [[radeonhd]] driver. A Debian package already exists in the experimental branch. 3d is still under development.&lt;br /&gt;
There is also a Gentoo ebuild recently added to the tree (x11-drivers/xf86-video-radeonhd), which seems to be working without any problems.&lt;br /&gt;
&lt;br /&gt;
==== ThinkPad LCD ====&lt;br /&gt;
Display on the internal LCD works as long as you set the monitor settings correctly.  Changing the driver from &amp;quot;ati&amp;quot; to &amp;quot;vesa&amp;quot; in xorg.conf will start X but with a lower resolution than expected.&lt;br /&gt;
&lt;br /&gt;
Full resolution can be achieved when all modelines are removed and mode 1600x1200 with depth 24 is selected.&lt;br /&gt;
&lt;br /&gt;
==== External VGA port ====&lt;br /&gt;
Yes&lt;br /&gt;
&lt;br /&gt;
==== SVideo port ====&lt;br /&gt;
No&lt;br /&gt;
&lt;br /&gt;
==== DVI port ====&lt;br /&gt;
No (yes on Docking Station, working with [[fglrx]] driver&lt;br /&gt;
&lt;br /&gt;
=== Proprietary ATI driver ===&lt;br /&gt;
Proprietary [[fglrx]] driver works since version 8.25.18, version 8.24.8 works by adding &amp;quot;ChipID 0x71c5&amp;quot; to the xorg.conf &amp;quot;Device&amp;quot; statement and fooling it into thinking it's a X1600 mobility (do this only as a last resort or if you're sure you have an older driver; it is fatal to version 8.25.18).&lt;br /&gt;
&lt;br /&gt;
The new driver 8.25.18 seems to support the card, see&lt;br /&gt;
https://support.ati.com/ics/support/KBAnswer.asp?questionID=1643&lt;br /&gt;
(successfully tested with the provided autorun installation script on OpenSuSE 10.1, T60p with 15&amp;quot; display).&lt;br /&gt;
&lt;br /&gt;
(K)ubuntu 6.06 comes with this driver and it works out of the box. However, it seems to have problems with VT Switching (Alt+Fn). Instead of switching to a console, X resets and goes back to the log in screen (This doesn't happen when using the [[vesa]] driver). The switching issue might be resolvable by setting ENABLE_LAPTOP_MODE=true in /etc/default/acpi-support, but it doesn't seem to help on all systems. &lt;br /&gt;
&lt;br /&gt;
Note: On Ubuntu 6.10 (Edgy) with 'splash' on the command line, you cannot switch to VTs.  This is a Thinkpad T60. The screen remains graphical, but is very badly garbled.  There is no text.  X does not reset, and you can switch back to your X session.  The solution is to include 'vga=791' or to remove 'splash' from the grub/lilo command line.  You don't need to do both.  (It's been a few days, so I don't remember where I found this...I just chanced upon this wiki page for the video card I'm trying to get working with xgl/AIGLX and Beryl).&lt;br /&gt;
   &lt;br /&gt;
Also, the pointer gets garbled sometimes in X, but this is only a minor annoyance. Dual Head (Xinerama) also works with this driver, but don't use KDE control center to enable it (use the ATi tool or edit xorg.conf manually)  &lt;br /&gt;
&lt;br /&gt;
I have a feeling that this card gets in the way when trying to suspend to RAM (resuming with a complete blank screen, lights are blinking, but that's it), but this can also be caused by other means.&lt;br /&gt;
&lt;br /&gt;
=== Proprietary ATI driver on Ubuntu Feisty ===&lt;br /&gt;
I had a hard time getting resume from suspend-to-ram to work with Feisty on a Thinkpad T60p. When resuming, the screen just went black with X hanging. &lt;br /&gt;
&lt;br /&gt;
It works like this:&lt;br /&gt;
# In &amp;lt;code&amp;gt;/etc/acpi/sleep.sh&amp;lt;/code&amp;gt;, as second line, add the line &amp;lt;code&amp;gt;sudo chvt 1&amp;lt;/code&amp;gt;. This forces a switch to the text console before standby.&lt;br /&gt;
# Likewise, in add to the very end of the file &amp;lt;code&amp;gt;/etc/acpi/resume.sh&amp;lt;/code&amp;gt; the line &amp;lt;code&amp;gt;sudo chvt 7&amp;lt;/code&amp;gt;.&lt;br /&gt;
# Finally, the perhaps most important change goes into &amp;lt;code&amp;gt;/etc/default/acpi-support&amp;lt;/code&amp;gt;. Change the line &amp;lt;code&amp;gt;POST_VIDEO=true&amp;lt;/code&amp;gt; to read &amp;lt;code&amp;gt;POST_VIDEO=&amp;lt;/code&amp;gt;. This was the point when it started working on my system.&lt;br /&gt;
&lt;br /&gt;
:'''NOTE:'''  Step 3. above was the only change '''I''' needed to make.  YMMV. --[[User:Brianfinley|Brian E. Finley]] 23:26, 30 March 2007 (CEST)&lt;br /&gt;
&lt;br /&gt;
:'''NOTE:'''  With only Step 3. above, my T60p would not even suspend when docked.  Step 3. above was sufficient to make resume work for me when my laptop was not in its docking station.  However, when I subsequently docked the machine I saw something I thought was banished with my upgrade to a 2.6.20 kernel: it uncermoniously powered off the instant it was docked, almost as though someone threw a hardware switch.   --[[User:dave_abrahams|Dave Abrahams]] Thu Apr 12 11:18:22 EDT 2007&lt;br /&gt;
&lt;br /&gt;
:'''UPDATE:''' The problems mentioned above related to docking seem to happen when I use the gnome-power-manager applet menu but not when I use the suspend function in the window that results from clicking the &amp;quot;Log Out Button&amp;quot; applet.  When I use the latter, suspend-to-RAM seems to work right, consistently.  I'm [https://bugs.launchpad.net/ubuntu/+bug/107674 following up with Ubuntu] on this point.   --[[User:dave_abrahams|Dave Abrahams]] Thu Apr 19 11:53 GMT 2007&lt;br /&gt;
&lt;br /&gt;
:'''NOTE:''' Editing &amp;lt;code&amp;gt;/etc/acpi/sleep.sh&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/etc/acpi/resume.sh&amp;lt;/code&amp;gt; is not necessary, as there is an option in &amp;lt;code&amp;gt;/etc/default/acpi-support&amp;lt;/code&amp;gt; for ''that very feature'': Just set the commented out DOUBLE_CONSOLE_SWITCH=true, and it will do the console switch suggested automatically. --[[User:Webograph|Webograph]] 12:43, 29 August 2007 (UTC)&lt;br /&gt;
&lt;br /&gt;
:'''NOTE:'''  I also had success doing nothing more than setting &amp;lt;code&amp;gt;POST_VIDEO=false&amp;lt;/code&amp;gt; (step 3).  Using a T60p (2007-83U) with fglrx 8.3 (8.47.3-3~bpo40 from Debian's etch-backports) --[[User:sihde|Steve Ihde]] 31 May 2008&lt;br /&gt;
&lt;br /&gt;
For completeness, here are the complete settings of this file:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;ACPI_SLEEP=true&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;ACPI_HIBERNATE=true&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;ACPI_SLEEP_MODE=mem&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;MODULES=&amp;quot;&amp;quot;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;MODULE_WHITELIST=&amp;quot;&amp;quot;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;SAVE_VBE_STATE=true&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;VBE_STATE=/var/lib/acpi_support/vbestate&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;POST_VIDEO=&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;USE_DPMS=true&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;# RADEON_LIGHT=true&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;# DOUBLE_CONSOLE_SWITCH=true&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;HIBERNATE_MODE=shutdown&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;LOCK_SCREEN=true&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;# DISABLE_DMA=true&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;# RESET_DRIVE=true&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;STOP_SERVICES=&amp;quot;mysql &amp;quot;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;RESTART_IRDA=false&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;ENABLE_LAPTOP_MODE=true&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Point 11 may eventually replace the chvt settings above, but I didn't try.&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu Hardy ===&lt;br /&gt;
Suspend/hibernate seems to work in Hardy with latest Catalyst driver out of box (no need to edit any conf files!). The only confusing thing is that it goes to sleep and hibernate pretty fast, but it takes a long time to resume from both, especially from hibernate. The first impression that it hangs, but it's not.&lt;br /&gt;
&lt;br /&gt;
=== Linux kernel Framebuffer driver ===&lt;br /&gt;
&lt;br /&gt;
Supported by the [http://dev.gentoo.org/~spock/projects/vesafb-tng/ vesafb-tng] project, but requires the boot parameter {{bootparm|video|vesafb:nocrtc}}.&lt;br /&gt;
&lt;br /&gt;
Alternatively, you may use classic vesafb with {{bootparm|vga|838}} for a 1400x1050 screen with 32 bit color depth.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|The [[fglrx]] driver may cause distortion/corruption of the framebuffer after use at high resolutions, making the text difficult to read.}}&lt;br /&gt;
&lt;br /&gt;
=== ThinkPads this chip may be found in ===&lt;br /&gt;
* {{T60p}}&lt;br /&gt;
* {{Z61p}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Components]]&lt;/div&gt;</summary>
		<author><name>Sihde</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2005)_on_a_ThinkPad_T42&amp;diff=24997</id>
		<title>Installing Debian Sid (October 2005) on a ThinkPad T42</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2005)_on_a_ThinkPad_T42&amp;diff=24997"/>
		<updated>2006-09-29T21:29:39Z</updated>

		<summary type="html">&lt;p&gt;Sihde: /* ACPI sleep drain problem */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Debian netinst ==&lt;br /&gt;
Insert the Debian net installation disk (download size ~130 MB) and on bootup, the laptop should go directly to the Debian splash image prompting you for a boot parameter. If you don't see this screen, then you possibly need to change the boot device configuration in your BIOS and make the CD drive the first boot disk.&lt;br /&gt;
&lt;br /&gt;
Enter expert26 to start the installation with Kernel 2.6, and it will take you through the regular Debian setup which contrary to published reports on Slashdot and SuSe forums is very intuitive and non-scary. Everything I had on this machine (lspci output below) was detected with the sole exception of the Intel Pro Wireless 2200 wireless card. It turned out later that getting wirless to work was really easy in debian.&lt;br /&gt;
&lt;br /&gt;
Debian should install just fine and on first bootup, install the packages you want. X should just work with all the auto-detect options in the installer. I have a SXGA monitor and the display worked correctly from the first go. The only problem I had with the Debian installer is that at the time of my install, gnome was in transition so I couldn't immediately install the mail client of choice -&amp;gt; Evolution.&lt;br /&gt;
&lt;br /&gt;
== My configuration ==&lt;br /&gt;
Here is the lspci output from my system, a more non-cryptic description of my config is below&lt;br /&gt;
&lt;br /&gt;
:0000:00:00.0 Host bridge: Intel Corporation 82855PM Processor to I/O Controller (rev 03)&lt;br /&gt;
:0000:00:01.0 PCI bridge: Intel Corporation 82855PM Processor to AGP Controller (rev 03)&lt;br /&gt;
:0000:00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)&lt;br /&gt;
:0000:00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)&lt;br /&gt;
:0000:00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)&lt;br /&gt;
:0000:00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01)&lt;br /&gt;
:0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 81)&lt;br /&gt;
:0000:00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 01)&lt;br /&gt;
:0000:00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 01)&lt;br /&gt;
:0000:00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 01)&lt;br /&gt;
:0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)&lt;br /&gt;
:0000:00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 01)&lt;br /&gt;
:0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]&lt;br /&gt;
:0000:02:00.0 CardBus bridge: Texas Instruments PCI4520 PC card Cardbus Controller (rev 01)&lt;br /&gt;
:0000:02:00.1 CardBus bridge: Texas Instruments PCI4520 PC card Cardbus Controller (rev 01)&lt;br /&gt;
:0000:02:01.0 Ethernet controller: Intel Corporation 82540EP Gigabit Ethernet Controller (Mobile) (rev 03)&lt;br /&gt;
:0000:02:02.0 Network controller: Intel Corporation PRO/Wireless 2200BG (rev 05)&lt;br /&gt;
&lt;br /&gt;
In summary,&lt;br /&gt;
:Intel 1.73 Pentium M (Dothan)&lt;br /&gt;
:Intel Pro Wirless 2200&lt;br /&gt;
:SXGA monitor (14&amp;quot;, 1400x1050)&lt;br /&gt;
:512 MB of RAM&lt;br /&gt;
:Intel Gigabit Ethernet&lt;br /&gt;
:IBM Security System&lt;br /&gt;
:Integrated fingerprint reader&lt;br /&gt;
:56 K modem&lt;br /&gt;
&lt;br /&gt;
== Getting wireless to work ==&lt;br /&gt;
I had a Sony Vaio for a few months and I had to go through hell to get wireless to work on that one. The reason for that primarily was that it was an old machine and wireless access was through the PCMCIA port. However, Vaios are notorius for not passing their IRQ requests correctly, and so Linux was never able to assign the PCMCIA bus a correct IRQ channel and the PCMCIA devices never worked. I had to make do with a USB ethernet driver and it wasn't as fast, and stuck out from the back and looked very ugly. &lt;br /&gt;
&lt;br /&gt;
I'm happy to report that nothing like that occurred in my ThinkPad {{T42}}.&lt;br /&gt;
&lt;br /&gt;
To get wireless to work on your Debian box, do the following &lt;br /&gt;
:$ apt-get install wireless-tools ipw2200-source ieee80211-source&lt;br /&gt;
&lt;br /&gt;
In addition to this make sure you apt-get your kernel-source (linux-source as of 2.6.12), linux-headers, and linux-tree packages.&lt;br /&gt;
&lt;br /&gt;
Once you have this navigate to /usr/src where all these packages are installed and bunzip/tar them so that a linux-source directory is created, and also a modules directory is created which has the ipw200, and ieee80211 sources.&lt;br /&gt;
&lt;br /&gt;
Now, make a symlink called linux to your linux-sources directory&lt;br /&gt;
:$ ln -s linux-sources-2.6.x.y linux&lt;br /&gt;
&lt;br /&gt;
Make sure it works by typing in ls -l in /usr/src and see that linux points to your linux-sources directory&lt;br /&gt;
&lt;br /&gt;
To get the ipw2200 wireless utilities to work, you need to download the correct firmware from intel.com&lt;br /&gt;
The ipw2200 sourceforge page at [http://ipw2200.sourceforge.net/firmware.php IPW-Sourceforge] will have directions for you. Make sure you download the correct version that corresponds to your ipw2200-source. You can check your ipw2200-source version by going&lt;br /&gt;
:$ dpkg --info ipw2200-source&lt;br /&gt;
&lt;br /&gt;
Now that you've downloaded and installed the firmware files in /usr/lib/hotplug/firmware/ you need to build your ipw and ieee80211 sources&lt;br /&gt;
&lt;br /&gt;
You can do it by typing in these commands in /usr/src&lt;br /&gt;
:$ module-assistant a-i ieee80211&lt;br /&gt;
:$ module-assistant a-i ipw2200&lt;br /&gt;
&lt;br /&gt;
This will create 2 .deb files in your /usr/src directory. If debian doesn't install them automatically, then do so yourself and then use the modules by modprobing them&lt;br /&gt;
:$ modprobe ieee80211&lt;br /&gt;
:$ modprobe ipw2200&lt;br /&gt;
&lt;br /&gt;
You can add ieee80211 and ipw2200 in your /etc/modules to make sure they load up on boot time&lt;br /&gt;
&lt;br /&gt;
Check that everything works by&lt;br /&gt;
:$ iwlist scanning&lt;br /&gt;
&lt;br /&gt;
Either eth1 or eth0 should show a list of available wirless networks (if any)&lt;br /&gt;
&lt;br /&gt;
You can create your wirless preferences by modifying your /etc/network/interfaces file. I show a part of mine as reference&lt;br /&gt;
=== Network intefaces file ===&lt;br /&gt;
&lt;br /&gt;
   mapping eth1&lt;br /&gt;
        map home &lt;br /&gt;
        map work&lt;br /&gt;
        map none&lt;br /&gt;
   # The loopback network interface&lt;br /&gt;
   auto lo&lt;br /&gt;
   iface lo inet loopback&lt;br /&gt;
   # The primary network interface&lt;br /&gt;
   # auto eth0&lt;br /&gt;
   iface eth0 inet dhcp&lt;br /&gt;
   autho eth1&lt;br /&gt;
   iface eth1 inet dhcp&lt;br /&gt;
   iface home inet dhcp&lt;br /&gt;
        wireless-essid enter your wireless ID &lt;br /&gt;
        wireless-key whatever your wirless key is&lt;br /&gt;
   iface work inet dhcp&lt;br /&gt;
        wireless-essid whatever your work wireleess ID&lt;br /&gt;
        wireless-key whatever your wireless key is&lt;br /&gt;
   iface none inet dhcp&lt;br /&gt;
        wireless-essid ANY&lt;br /&gt;
        wireless-key none&lt;br /&gt;
&lt;br /&gt;
== Getting power management to work ==&lt;br /&gt;
In my earlier Sony Vaio, I couldn't get ACPI or APM to work. I'm happy to report that in this laptop, I could get power-management to work very well with ACPI. I was able to put the laptop to sleep, and I'm still working on the hibernate feature, although I consider that non-critical. Here is how I got it all to work&lt;br /&gt;
&lt;br /&gt;
=== ACPI sleep ===&lt;br /&gt;
&lt;br /&gt;
ACPI sleep worked straight of the bat. Just login as root and type&lt;br /&gt;
:$ echo mem &amp;gt; sys/power/state&lt;br /&gt;
&lt;br /&gt;
Your laptop should go through the suspend cycle and the sleep light should come on. To resume, press the Fn key and the laptop shoud resume where you left it. &lt;br /&gt;
&lt;br /&gt;
You can automate this whole operation, so that when you close the lid, the laptop should go to sleep automatically. Here's how.&lt;br /&gt;
&lt;br /&gt;
=== ACPI sleep on lid close script ===&lt;br /&gt;
Add the following in your /etc/acpi/actions directory as lm_lid.sh and make sure that /etc/acpi/scripts/lm_lid points to it. This script was originally taken from [http://www.superk.org/index.php/HP_Pavilion_dv1245cl Superk.org]&lt;br /&gt;
&lt;br /&gt;
   #!/bin/bash&lt;br /&gt;
   test -f /usr/sbin/laptop_mode || exit 0&lt;br /&gt;
   # lid button pressed/released event handler&lt;br /&gt;
   /usr/sbin/laptop_mode auto&lt;br /&gt;
   #!/bin/bash&lt;br /&gt;
   test -f /usr/sbin/laptop_mode || exit 0&lt;br /&gt;
   grep -q closed /proc/acpi/button/lid/*/state&lt;br /&gt;
   if [ $? = 0 ]&lt;br /&gt;
   then&lt;br /&gt;
          chvt 12&lt;br /&gt;
          echo mem &amp;gt; /sys/power/state&lt;br /&gt;
   else&lt;br /&gt;
          sleep 2&lt;br /&gt;
          chvt 7&lt;br /&gt;
&lt;br /&gt;
=== ACPI sleep drain problem ===&lt;br /&gt;
In the past, ThinkPads with Radeon graphics chips exhibited very high power consumption during ACPI sleep because the GPU was not put to sleep during ACPI suspend.  A kernel patch has been available to fix this problem.  As of Linux 2.6.18, the patch is not needed because it is merged into the kernel.org and Debian kernels.  This was verified using Debian's stock linux-image-2.6.18-1-686, version 2.6.18-1, on an IBM ThinkPad T40 (2373-94U) on 2006-09-29.&lt;br /&gt;
&lt;br /&gt;
Once you have a fixed kernel (either by using 2.6.18 or later, or by applying the patch to a previous version), you need to use the radeonfb framebuffer console driver to fix the problem.  If the radeonfb driver is built as a module (as with Debian's stock kernel), add the following line to &amp;lt;tt&amp;gt;/etc/modules&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;radeonfb&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the radeonfb driver maintains a whitelist of affected ThinkPad models.  If your model is affected by the problem but is not in the driver's whitelist, you may need to supply the parameter &amp;lt;tt&amp;gt;force_sleep=1&amp;lt;/tt&amp;gt; to the radeonfb driver (this is not normally necessary).  To do this, add the following to &amp;lt;tt&amp;gt;/etc/modprobe.d/local&amp;lt;/tt&amp;gt; (or any other file in &amp;lt;tt&amp;gt;/etc/modprobe.d/&amp;lt;/tt&amp;gt; where you choose to keep your customized module parameters):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;options radeonfb force_sleep=1&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you are using your own compiled kernel and the radeonfb driver is built in, append the following to your kernel command line (in &amp;lt;tt&amp;gt;/etc/grub/menu.lst&amp;lt;/tt&amp;gt; or your other bootloader's configuration): &amp;lt;tt&amp;gt;video=radeonfb&amp;lt;/tt&amp;gt; (or &amp;lt;tt&amp;gt;video=radeonfb:force_sleep=1&amp;lt;/tt&amp;gt; to override the whitelist as described above).&lt;br /&gt;
&lt;br /&gt;
For more information, including the patch (only for kernels older than 2.6.18) and a test script to see if your model is affected, see [http://bugme.osdl.org/show_bug.cgi?id=3022 OSDL_Bugzilla] or the [http://www.thinkwiki.org/wiki/Problem_with_high_power_drain_in_ACPI_sleep ThinkWiki page] describing the problem.&lt;br /&gt;
&lt;br /&gt;
=== CPU Frequency scaling ===&lt;br /&gt;
In debian this is really easy. With your default stock kernel, you can just modprobe cpufreq_userspace and speedstep_centrino and your CPU will dynamically change the frequency to conserver power. Very cool. Most of the time, my processor sits at 599 MHz. Again, add them to /etc/modules to enable them at bootup.&lt;br /&gt;
&lt;br /&gt;
=== HDD spin down ===&lt;br /&gt;
Again in debian, this is really easy. Just apt-get laptop-mode-tools and powernowd and your HDD will spn down when idle to conserve power. Very cool.&lt;br /&gt;
&lt;br /&gt;
=== Misc tweaks ===&lt;br /&gt;
You can use the powerplay feature of your Radeon GPU by adding the following in your /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
        Section &amp;quot;Device&amp;quot;&lt;br /&gt;
           Identifier      &amp;quot;ATI Technologies, Inc. Radeon Mobility M7 LW [Radeon Mobility 7500]&amp;quot;&lt;br /&gt;
           Driver          &amp;quot;radeon&amp;quot;&lt;br /&gt;
           VendorName      &amp;quot;IBM Thinkpad&amp;quot;&lt;br /&gt;
           Option      &amp;quot;DynamicClocks&amp;quot; &amp;quot;on&amp;quot;        &lt;br /&gt;
           BusID           &amp;quot;PCI:1:0:0&amp;quot;&lt;br /&gt;
        EndSection&lt;br /&gt;
&lt;br /&gt;
Check to see that this is working by looking at /var/log/Xorg.0.log. This feature doesn't work with XFree86.&lt;br /&gt;
&lt;br /&gt;
=== Hibernate ===&lt;br /&gt;
This for me is non-critical, and I haven't got it working just yet. The way I've tried it so far is by patching the kernel using Software suspend 2. However, the kernel panics on reboot, the reason for which is probably the initrd. I haven't quite figured out how to fix this. I tried making a bzImage kernl although that didn't work either. The kernel doesn't panic in this case but doesn't reusme either. If you have a solution, please edit this and let us all know.&lt;br /&gt;
&lt;br /&gt;
== Thinkpad buttons ==&lt;br /&gt;
You can get an online display for your screen brightness and volume control by apt-getting tpb. You need to make /dev/nvram user-writable to get it work with regular user perms. Add tpb to your .xsession file to have it running when you first start X&lt;br /&gt;
[[Category:Debian]]&lt;/div&gt;</summary>
		<author><name>Sihde</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2005)_on_a_ThinkPad_T42&amp;diff=24991</id>
		<title>Installing Debian Sid (October 2005) on a ThinkPad T42</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(October_2005)_on_a_ThinkPad_T42&amp;diff=24991"/>
		<updated>2006-09-29T19:33:29Z</updated>

		<summary type="html">&lt;p&gt;Sihde: /* ACPI sleep drain problem */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Debian netinst ==&lt;br /&gt;
Insert the Debian net installation disk (download size ~130 MB) and on bootup, the laptop should go directly to the Debian splash image prompting you for a boot parameter. If you don't see this screen, then you possibly need to change the boot device configuration in your BIOS and make the CD drive the first boot disk.&lt;br /&gt;
&lt;br /&gt;
Enter expert26 to start the installation with Kernel 2.6, and it will take you through the regular Debian setup which contrary to published reports on Slashdot and SuSe forums is very intuitive and non-scary. Everything I had on this machine (lspci output below) was detected with the sole exception of the Intel Pro Wireless 2200 wireless card. It turned out later that getting wirless to work was really easy in debian.&lt;br /&gt;
&lt;br /&gt;
Debian should install just fine and on first bootup, install the packages you want. X should just work with all the auto-detect options in the installer. I have a SXGA monitor and the display worked correctly from the first go. The only problem I had with the Debian installer is that at the time of my install, gnome was in transition so I couldn't immediately install the mail client of choice -&amp;gt; Evolution.&lt;br /&gt;
&lt;br /&gt;
== My configuration ==&lt;br /&gt;
Here is the lspci output from my system, a more non-cryptic description of my config is below&lt;br /&gt;
&lt;br /&gt;
:0000:00:00.0 Host bridge: Intel Corporation 82855PM Processor to I/O Controller (rev 03)&lt;br /&gt;
:0000:00:01.0 PCI bridge: Intel Corporation 82855PM Processor to AGP Controller (rev 03)&lt;br /&gt;
:0000:00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)&lt;br /&gt;
:0000:00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)&lt;br /&gt;
:0000:00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)&lt;br /&gt;
:0000:00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01)&lt;br /&gt;
:0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 81)&lt;br /&gt;
:0000:00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 01)&lt;br /&gt;
:0000:00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 01)&lt;br /&gt;
:0000:00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 01)&lt;br /&gt;
:0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)&lt;br /&gt;
:0000:00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 01)&lt;br /&gt;
:0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]&lt;br /&gt;
:0000:02:00.0 CardBus bridge: Texas Instruments PCI4520 PC card Cardbus Controller (rev 01)&lt;br /&gt;
:0000:02:00.1 CardBus bridge: Texas Instruments PCI4520 PC card Cardbus Controller (rev 01)&lt;br /&gt;
:0000:02:01.0 Ethernet controller: Intel Corporation 82540EP Gigabit Ethernet Controller (Mobile) (rev 03)&lt;br /&gt;
:0000:02:02.0 Network controller: Intel Corporation PRO/Wireless 2200BG (rev 05)&lt;br /&gt;
&lt;br /&gt;
In summary,&lt;br /&gt;
:Intel 1.73 Pentium M (Dothan)&lt;br /&gt;
:Intel Pro Wirless 2200&lt;br /&gt;
:SXGA monitor (14&amp;quot;, 1400x1050)&lt;br /&gt;
:512 MB of RAM&lt;br /&gt;
:Intel Gigabit Ethernet&lt;br /&gt;
:IBM Security System&lt;br /&gt;
:Integrated fingerprint reader&lt;br /&gt;
:56 K modem&lt;br /&gt;
&lt;br /&gt;
== Getting wireless to work ==&lt;br /&gt;
I had a Sony Vaio for a few months and I had to go through hell to get wireless to work on that one. The reason for that primarily was that it was an old machine and wireless access was through the PCMCIA port. However, Vaios are notorius for not passing their IRQ requests correctly, and so Linux was never able to assign the PCMCIA bus a correct IRQ channel and the PCMCIA devices never worked. I had to make do with a USB ethernet driver and it wasn't as fast, and stuck out from the back and looked very ugly. &lt;br /&gt;
&lt;br /&gt;
I'm happy to report that nothing like that occurred in my ThinkPad {{T42}}.&lt;br /&gt;
&lt;br /&gt;
To get wireless to work on your Debian box, do the following &lt;br /&gt;
:$ apt-get install wireless-tools ipw2200-source ieee80211-source&lt;br /&gt;
&lt;br /&gt;
In addition to this make sure you apt-get your kernel-source (linux-source as of 2.6.12), linux-headers, and linux-tree packages.&lt;br /&gt;
&lt;br /&gt;
Once you have this navigate to /usr/src where all these packages are installed and bunzip/tar them so that a linux-source directory is created, and also a modules directory is created which has the ipw200, and ieee80211 sources.&lt;br /&gt;
&lt;br /&gt;
Now, make a symlink called linux to your linux-sources directory&lt;br /&gt;
:$ ln -s linux-sources-2.6.x.y linux&lt;br /&gt;
&lt;br /&gt;
Make sure it works by typing in ls -l in /usr/src and see that linux points to your linux-sources directory&lt;br /&gt;
&lt;br /&gt;
To get the ipw2200 wireless utilities to work, you need to download the correct firmware from intel.com&lt;br /&gt;
The ipw2200 sourceforge page at [http://ipw2200.sourceforge.net/firmware.php IPW-Sourceforge] will have directions for you. Make sure you download the correct version that corresponds to your ipw2200-source. You can check your ipw2200-source version by going&lt;br /&gt;
:$ dpkg --info ipw2200-source&lt;br /&gt;
&lt;br /&gt;
Now that you've downloaded and installed the firmware files in /usr/lib/hotplug/firmware/ you need to build your ipw and ieee80211 sources&lt;br /&gt;
&lt;br /&gt;
You can do it by typing in these commands in /usr/src&lt;br /&gt;
:$ module-assistant a-i ieee80211&lt;br /&gt;
:$ module-assistant a-i ipw2200&lt;br /&gt;
&lt;br /&gt;
This will create 2 .deb files in your /usr/src directory. If debian doesn't install them automatically, then do so yourself and then use the modules by modprobing them&lt;br /&gt;
:$ modprobe ieee80211&lt;br /&gt;
:$ modprobe ipw2200&lt;br /&gt;
&lt;br /&gt;
You can add ieee80211 and ipw2200 in your /etc/modules to make sure they load up on boot time&lt;br /&gt;
&lt;br /&gt;
Check that everything works by&lt;br /&gt;
:$ iwlist scanning&lt;br /&gt;
&lt;br /&gt;
Either eth1 or eth0 should show a list of available wirless networks (if any)&lt;br /&gt;
&lt;br /&gt;
You can create your wirless preferences by modifying your /etc/network/interfaces file. I show a part of mine as reference&lt;br /&gt;
=== Network intefaces file ===&lt;br /&gt;
&lt;br /&gt;
   mapping eth1&lt;br /&gt;
        map home &lt;br /&gt;
        map work&lt;br /&gt;
        map none&lt;br /&gt;
   # The loopback network interface&lt;br /&gt;
   auto lo&lt;br /&gt;
   iface lo inet loopback&lt;br /&gt;
   # The primary network interface&lt;br /&gt;
   # auto eth0&lt;br /&gt;
   iface eth0 inet dhcp&lt;br /&gt;
   autho eth1&lt;br /&gt;
   iface eth1 inet dhcp&lt;br /&gt;
   iface home inet dhcp&lt;br /&gt;
        wireless-essid enter your wireless ID &lt;br /&gt;
        wireless-key whatever your wirless key is&lt;br /&gt;
   iface work inet dhcp&lt;br /&gt;
        wireless-essid whatever your work wireleess ID&lt;br /&gt;
        wireless-key whatever your wireless key is&lt;br /&gt;
   iface none inet dhcp&lt;br /&gt;
        wireless-essid ANY&lt;br /&gt;
        wireless-key none&lt;br /&gt;
&lt;br /&gt;
== Getting power management to work ==&lt;br /&gt;
In my earlier Sony Vaio, I couldn't get ACPI or APM to work. I'm happy to report that in this laptop, I could get power-management to work very well with ACPI. I was able to put the laptop to sleep, and I'm still working on the hibernate feature, although I consider that non-critical. Here is how I got it all to work&lt;br /&gt;
&lt;br /&gt;
=== ACPI sleep ===&lt;br /&gt;
&lt;br /&gt;
ACPI sleep worked straight of the bat. Just login as root and type&lt;br /&gt;
:$ echo mem &amp;gt; sys/power/state&lt;br /&gt;
&lt;br /&gt;
Your laptop should go through the suspend cycle and the sleep light should come on. To resume, press the Fn key and the laptop shoud resume where you left it. &lt;br /&gt;
&lt;br /&gt;
You can automate this whole operation, so that when you close the lid, the laptop should go to sleep automatically. Here's how.&lt;br /&gt;
&lt;br /&gt;
=== ACPI sleep on lid close script ===&lt;br /&gt;
Add the following in your /etc/acpi/actions directory as lm_lid.sh and make sure that /etc/acpi/scripts/lm_lid points to it. This script was originally taken from [http://www.superk.org/index.php/HP_Pavilion_dv1245cl Superk.org]&lt;br /&gt;
&lt;br /&gt;
   #!/bin/bash&lt;br /&gt;
   test -f /usr/sbin/laptop_mode || exit 0&lt;br /&gt;
   # lid button pressed/released event handler&lt;br /&gt;
   /usr/sbin/laptop_mode auto&lt;br /&gt;
   #!/bin/bash&lt;br /&gt;
   test -f /usr/sbin/laptop_mode || exit 0&lt;br /&gt;
   grep -q closed /proc/acpi/button/lid/*/state&lt;br /&gt;
   if [ $? = 0 ]&lt;br /&gt;
   then&lt;br /&gt;
          chvt 12&lt;br /&gt;
          echo mem &amp;gt; /sys/power/state&lt;br /&gt;
   else&lt;br /&gt;
          sleep 2&lt;br /&gt;
          chvt 7&lt;br /&gt;
&lt;br /&gt;
=== ACPI sleep drain problem ===&lt;br /&gt;
In the past, ThinkPads with Radeon graphics chips exhibited very high power consumption during ACPI sleep because the GPU was not put to sleep during ACPI suspend.  A kernel patch has been available to fix this problem.  As of Linux 2.6.18, the patch is not needed because it is merged into the stock and Debian kernels.  This was verified using Debian's stock linux-image-2.6.18-1-686 on an IBM ThinkPad T40 (2373-94U) on 2006-09-29.&lt;br /&gt;
&lt;br /&gt;
Once you have a fixed kernel (either by using 2.6.18 or later, or by applying the patch to a previous version), you need to use the radeonfb framebuffer console driver to fix the problem.  If the radeonfb driver is built as a module (as with Debian's stock kernel), add the following line to &amp;lt;tt&amp;gt;/etc/modules&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;radeonfb&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the radeonfb driver maintains a whitelist of affected ThinkPad models.  If your model is affected by the problem but is not in the driver's whitelist, you may need to supply the parameter &amp;lt;tt&amp;gt;force_sleep=1&amp;lt;/tt&amp;gt; to the radeonfb driver (this is not normally necessary).  To do this, add the following to &amp;lt;tt&amp;gt;/etc/modprobe.d/local&amp;lt;/tt&amp;gt; (or any other file in &amp;lt;tt&amp;gt;/etc/modprobe.d/&amp;lt;/tt&amp;gt; where you keep your customized module parameters):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;options radeonfb force_sleep=1&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you are using your own compiled kernel and the radeonfb driver is built in, append the following to your kernel command line (in &amp;lt;tt&amp;gt;/etc/grub/menu.lst&amp;lt;/tt&amp;gt; or your other bootloader's configuration): &amp;lt;tt&amp;gt;video=radeonfb&amp;lt;/tt&amp;gt; (or &amp;lt;tt&amp;gt;video=radeonfb:force_sleep=1&amp;lt;/tt&amp;gt; to override the whitelist).&lt;br /&gt;
&lt;br /&gt;
For more information, including the patch (only for kernels older than 2.6.18) and a test script to see if your model is affected, see [http://bugme.osdl.org/show_bug.cgi?id=3022 OSDL_Bugzilla] or the [http://www.thinkwiki.org/wiki/Problem_with_high_power_drain_in_ACPI_sleep ThinkWiki page] describing the problem.&lt;br /&gt;
&lt;br /&gt;
=== CPU Frequency scaling ===&lt;br /&gt;
In debian this is really easy. With your default stock kernel, you can just modprobe cpufreq_userspace and speedstep_centrino and your CPU will dynamically change the frequency to conserver power. Very cool. Most of the time, my processor sits at 599 MHz. Again, add them to /etc/modules to enable them at bootup.&lt;br /&gt;
&lt;br /&gt;
=== HDD spin down ===&lt;br /&gt;
Again in debian, this is really easy. Just apt-get laptop-mode-tools and powernowd and your HDD will spn down when idle to conserve power. Very cool.&lt;br /&gt;
&lt;br /&gt;
=== Misc tweaks ===&lt;br /&gt;
You can use the powerplay feature of your Radeon GPU by adding the following in your /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
        Section &amp;quot;Device&amp;quot;&lt;br /&gt;
           Identifier      &amp;quot;ATI Technologies, Inc. Radeon Mobility M7 LW [Radeon Mobility 7500]&amp;quot;&lt;br /&gt;
           Driver          &amp;quot;radeon&amp;quot;&lt;br /&gt;
           VendorName      &amp;quot;IBM Thinkpad&amp;quot;&lt;br /&gt;
           Option      &amp;quot;DynamicClocks&amp;quot; &amp;quot;on&amp;quot;        &lt;br /&gt;
           BusID           &amp;quot;PCI:1:0:0&amp;quot;&lt;br /&gt;
        EndSection&lt;br /&gt;
&lt;br /&gt;
Check to see that this is working by looking at /var/log/Xorg.0.log. This feature doesn't work with XFree86.&lt;br /&gt;
&lt;br /&gt;
=== Hibernate ===&lt;br /&gt;
This for me is non-critical, and I haven't got it working just yet. The way I've tried it so far is by patching the kernel using Software suspend 2. However, the kernel panics on reboot, the reason for which is probably the initrd. I haven't quite figured out how to fix this. I tried making a bzImage kernl although that didn't work either. The kernel doesn't panic in this case but doesn't reusme either. If you have a solution, please edit this and let us all know.&lt;br /&gt;
&lt;br /&gt;
== Thinkpad buttons ==&lt;br /&gt;
You can get an online display for your screen brightness and volume control by apt-getting tpb. You need to make /dev/nvram user-writable to get it work with regular user perms. Add tpb to your .xsession file to have it running when you first start X&lt;br /&gt;
[[Category:Debian]]&lt;/div&gt;</summary>
		<author><name>Sihde</name></author>
		
	</entry>
</feed>