{"id":182,"date":"2005-06-12T13:59:00","date_gmt":"2005-06-12T13:59:00","guid":{"rendered":"http:\/\/adam.rosi-kessel.org\/weblog\/free_software\/code\/thinkpad_x40_discoveries.html"},"modified":"-0001-11-30T00:00:00","modified_gmt":"1970-01-01T05:00:00","slug":"thinkpad_x40_discoveries","status":"publish","type":"post","link":"https:\/\/adam.rosi-kessel.org\/weblog\/2005\/06\/12\/thinkpad_x40_discoveries","title":{"rendered":"Thinkpad X40 Discoveries"},"content":{"rendered":"<p> A couple of extremely useful recent discoveries on my IBM Thinkpad X40: <\/p>\n<ul>\n<li><b>\/proc\/acpi\/ibm<\/b>, provided by the <a href=\"http:\/\/ibm-acpi.sourceforge.net\/\" title=\"ibm-acpi - IBM ThinkPad ACPI Extras Driver\">ibm-acpi<\/a> <a href=\"http:\/\/debian.isg.ee.ethz.ch\/public\/\">package<\/a>. You can control all sorts of Thinkpad-specific behaviors in here&#8212;including my favorite, which is the automatic display switching when you open and close the lid or dock\/undock. You can turn off automatic display switching with:<br \/> <br \/>\n<blockquote>\n<pre> echo auto_disable > \/proc\/acpi\/ibm\/video <\/pre>\n<\/blockquote>\n<p> You can also turn the light keyboard light on and off with: <\/p>\n<blockquote>\n<pre> echo on > \/proc\/acpi\/ibm\/light echo off > \/proc\/acpi\/ibm\/light <\/pre>\n<\/blockquote>\n<p> Etc. Go IBM! <\/li>\n<li><b>Display corruption<\/b>: this brings me to my biggest problem running GNU\/Linux on the Thinkpad X40&#8212;display corruption. When you switch from internal LCD to external CRT, or sleep and resume, or close\/open the lid (with the automatic switch behavior described above), the display moves down 15-20 pixels and the top lines are corrupted garbage. I&#8217;d post a screenshot, but of course the screen doesn&#8217;t realize it&#8217;s corrupted, so it would have to be a digital photo. In any case, I just discovered <a href=\"http:\/\/www.fairlite.demon.co.uk\/intel.html\" title=\"Intel @ Fairlite\">this experimental driver to replace i810_drv.o<\/a><a class=\"webcache\" title=\"Locally Cached Version\" href=\"\/adam\/cache\/free_software\/thinkpad_x40_discoveries.txt\/retrieve\/http:\/\/www.fairlite.demon.co.uk\/intel.html\">&#183;<\/a> which makes the problem go away entirely. Just drop it in over the i810_drv.o in \/usr\/X11R6\/lib\/modules\/drivers\/ (bad behavior for Debian&#8212;will be overwritten by an upgrade of course). Hopefully this driver will make its way into the mainline X drivers and eventually back into Debian. This makes using my Thinkpad at least 20% less annoying. <\/li>\n<\/ul>\n<p> Now if only someone would write a driver for the internal SD card reader (apparently <a href=\"http:\/\/lists.infradead.org\/pipermail\/linux-pcmcia\/2004-September\/001113.html\" title=\"Thinkpad X40 SD card reader\">no one has gotten it to work<\/a><a class=\"webcache\" title=\"Locally Cached Version\" href=\"\/adam\/cache\/free_software\/thinkpad_x40_discoveries.txt\/retrieve\/http:\/\/lists.infradead.org\/pipermail\/linux-pcmcia\/2004-September\/001113.html\">&#183;<\/a>), I think I would have 100% usage of my laptop&#8217;s features. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>A couple of extremely useful recent discoveries on my IBM Thinkpad X40: \/proc\/acpi\/ibm, provided by the ibm-acpi package. You can control all sorts of Thinkpad-specific behaviors in here&#8212;including my favorite, which is the automatic display switching when you open and close the lid or dock\/undock. You can turn off automatic display switching with: echo auto_disable [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[17],"tags":[],"_links":{"self":[{"href":"https:\/\/adam.rosi-kessel.org\/weblog\/wp-json\/wp\/v2\/posts\/182"}],"collection":[{"href":"https:\/\/adam.rosi-kessel.org\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/adam.rosi-kessel.org\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/adam.rosi-kessel.org\/weblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/adam.rosi-kessel.org\/weblog\/wp-json\/wp\/v2\/comments?post=182"}],"version-history":[{"count":0,"href":"https:\/\/adam.rosi-kessel.org\/weblog\/wp-json\/wp\/v2\/posts\/182\/revisions"}],"wp:attachment":[{"href":"https:\/\/adam.rosi-kessel.org\/weblog\/wp-json\/wp\/v2\/media?parent=182"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/adam.rosi-kessel.org\/weblog\/wp-json\/wp\/v2\/categories?post=182"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/adam.rosi-kessel.org\/weblog\/wp-json\/wp\/v2\/tags?post=182"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}