https://www.thinkwiki.org/w/api.php?action=feedcontributions&user=Wehe&feedformat=atomThinkWiki - User contributions [en]2024-03-28T20:49:43ZUser contributionsMediaWiki 1.31.12https://www.thinkwiki.org/w/index.php?title=User:Wehe&diff=53917User:Wehe2012-09-26T09:29:03Z<p>Wehe: â†Created page with 'My name is Werner Heuser. I have founded some projects on the WWW: * [http://tuxmobil.org/ TuxMobil is dedicated to Linux as well as other Unix operating systems and m...'</p>
<hr />
<div>My name is Werner Heuser. I have founded some projects on the WWW:<br />
<br />
* [http://tuxmobil.org/ TuxMobil is dedicated to Linux as well as other Unix operating systems and mobile devices]<br />
* [http://repair4laptop.org/ Repair4Laptop offers a huge collection of links to repairing, modding and upgrading guides for laptops, notebooks and tablets, as well as a wiki on these topics]<br />
* [http://xtops.de/ Xtops.DE provides laptops, PDAs and mobile phones with Linux pre-installed]</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Links&diff=53916Links2012-09-26T09:21:37Z<p>Wehe: /* Forums */</p>
<hr />
<div>Collection of useful Links pointing to ThinkPad specific information:<br />
<br />
==General ThinkPad sites==<br />
* [http://www.tuxmobil.org/ibm.html TuxMobil: Lenovo (IBM) ThinkPad Linux and BSD installation guides]<br />
* [http://www5.pc.ibm.com/europe/me.nsf/webdocs-l/e-content:downloadable+3d+visual+tours:english?OpenDocument&cntry=DE-L Lenovo ThinkPad 3D visual tour downloads] -- Fails as of 25 May 2007<br />
* [http://www.ibmmania.com/ IBM Mania] (Korean)<br />
<br />
==Forums and Wikis==<br />
* [http://forum.thinkpads.com/ thinkpads.com Forum]<br />
* [http://www.thinkpad-forum.de/ ThinkPad-Forum] (German)<br />
* [http://www.notebook-foren.de/board/forumdisplay.php?f=67 Notebook-Forum.de/IBM] (German)<br />
* [http://repair4laptop.org/disassembly_ibm.html Repair4Laptop: a wiki for laptop &amp; notebook upgrading, modding and repairing (Lenovo/IBM section)]<br />
<br />
==Galleries==<br />
* [http://www.flickr.com/photos/tags/thinkpad/clusters/ Thinkpad tagged on Flickr]<br />
<br />
==Service sites==<br />
* [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=SITE-WARNTY#hp ThinkPad Warranty page] Check your warranty status online, and/or purchase extended warranty service.<br />
<br />
==Shopping sites==<br />
* [http://www.thinkpad-parts.com/ ThinkPad Parts]<br />
* [http://www.pdaaccessories.com/laptop-accessories.asp Laptop Accessories] PDAaccessories.com contains an extensive assortment of products like laptop accessories and PDA Accessories.<br />
<br />
==Community sites==<br />
* http://www.pc.ibm.com/ca/thinkpad/community/legends/<br />
<br />
==Other sites==<br />
* [http://lenovoblogs.com/insidethebox Inside The Box] - a blog on ThinkPad engineering by Lenovo<br />
* [http://www.senthoor.com/weblog/2005/01/ibm-thinkpad_110694025174114747.html ThinkPad indepth look] All you want to know about ThinkPad design<br />
* [http://www.laptoping.com/category/lenovo-thinkpad/ ThinkPad Notebook News] Lenovo Thinkpad Laptop News - Daily Updated.<br />
* [http://www.lesswatts.org/ lesswatts.org] Home of Intel projects to reduce power consumption in Linux, like the famous [http://www.lesswatts.org/projects/powertop/ powertop].</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Links&diff=53915Links2012-09-26T09:18:15Z<p>Wehe: /* General ThinkPad sites */</p>
<hr />
<div>Collection of useful Links pointing to ThinkPad specific information:<br />
<br />
==General ThinkPad sites==<br />
* [http://www.tuxmobil.org/ibm.html TuxMobil: Lenovo (IBM) ThinkPad Linux and BSD installation guides]<br />
* [http://www5.pc.ibm.com/europe/me.nsf/webdocs-l/e-content:downloadable+3d+visual+tours:english?OpenDocument&cntry=DE-L Lenovo ThinkPad 3D visual tour downloads] -- Fails as of 25 May 2007<br />
* [http://www.ibmmania.com/ IBM Mania] (Korean)<br />
<br />
==Forums==<br />
* [http://forum.thinkpads.com/ thinkpads.com Forum]<br />
* [http://www.thinkpad-forum.de/ ThinkPad-Forum] (German)<br />
* [http://www.notebook-foren.de/board/forumdisplay.php?f=67 Notebook-Forum.de/IBM] (German)<br />
<br />
==Galleries==<br />
* [http://www.flickr.com/photos/tags/thinkpad/clusters/ Thinkpad tagged on Flickr]<br />
<br />
==Service sites==<br />
* [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=SITE-WARNTY#hp ThinkPad Warranty page] Check your warranty status online, and/or purchase extended warranty service.<br />
<br />
==Shopping sites==<br />
* [http://www.thinkpad-parts.com/ ThinkPad Parts]<br />
* [http://www.pdaaccessories.com/laptop-accessories.asp Laptop Accessories] PDAaccessories.com contains an extensive assortment of products like laptop accessories and PDA Accessories.<br />
<br />
==Community sites==<br />
* http://www.pc.ibm.com/ca/thinkpad/community/legends/<br />
<br />
==Other sites==<br />
* [http://lenovoblogs.com/insidethebox Inside The Box] - a blog on ThinkPad engineering by Lenovo<br />
* [http://www.senthoor.com/weblog/2005/01/ibm-thinkpad_110694025174114747.html ThinkPad indepth look] All you want to know about ThinkPad design<br />
* [http://www.laptoping.com/category/lenovo-thinkpad/ ThinkPad Notebook News] Lenovo Thinkpad Laptop News - Daily Updated.<br />
* [http://www.lesswatts.org/ lesswatts.org] Home of Intel projects to reduce power consumption in Linux, like the famous [http://www.lesswatts.org/projects/powertop/ powertop].</div>Wehehttps://www.thinkwiki.org/w/index.php?title=BIOS_Upgrade&diff=53914BIOS Upgrade2012-09-26T09:16:02Z<p>Wehe: /* Downloading New Firmware */ link update</p>
<hr />
<div>{| width="100%"<br />
|style="vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;" | __TOC__<br />
|style="vertical-align:top" |<br />
This page is meant to describe ways to update the BIOS on a ThinkPad that only runs Linux for users that don't have ready access to Windows. If you have Windows on your ThinkPad you can just boot into it and follow instructions on the Lenovo website.<br />
<br />
Updating the BIOS in Linux (with few exceptions) '''is not officially supported''' by Lenovo. However there are work arounds.<br />
<br />
<BR><br />
{{WARN|By following any of the instructions here you are accepting the '''very real risk''' of turning your ThinkPad into a big expensive paper weight, as a firmware update gone wrong can create unfix-able problems.<br />
<br />
'''Proceed at your own risk!'''}}<br />
|}<br />
<br />
= Downloading New Firmware =<br />
{{WARN|Flashing the wrong firmware for your hardware may cause permanent damage to your ThinkPad. It is up to you to confirm that the firmware you are using is correct.}}<br />
<br />
A list of links to firmware downloads can be found at [[BIOS Upgrade Downloads]] for most Thinkpad models. You can also check the Lenovo Support website's [http://support.lenovo.com/en_US/downloads/default.page?#|ThinkPad driver matrix].<br />
<br />
Lenovo provides firmware upgrades in a variety of packages:<br />
* Diskette<br />
* Non-diskette<br />
* Linux diskette<br />
* BIOS Utility<br />
* Bootable CD<br />
<br />
Not every type of package is available for every model.<br />
<br />
The ''BIOS Utility'' and ''Bootable CD'' packages combine the BIOS and ECP firmwares. For the other packages, there is one for each firmware.<br />
{| align="right" style="width:20em;"<br />
| {{HELP|Can an image be extracted from a "Linux diskette" .exe file?}}<br />
|}<br />
<br />
The ''Linux diskette'' is just the ''Diskette'' package that runs on Linux instead of Windows/DOS. It's unknown if a boot image can be extracted from it. <br />
<br />
You may need to try different packages to find the one from which you can extract a boot image.<br />
<br />
== Two Firmwares: BIOS and ECP ==<br />
{{WARN|Flashing incompatible firmwares, or flashing them in the wrong order, may cause permanent damage to your ThinkPad.}}<br />
<br />
It is important to understand that Thinkpads from IBM have two separate firmwares: the BIOS, and the Embedded Controller Program (ECP).<br />
<br />
A given BIOS version will require a certain version of the ECP. You must read the Lenovo website and/or .txt files to confirm which BIOS is compatible with which ECP, and '''the order in which to update them'''. <br />
<br />
=== Update Order ===<br />
<br />
The IBM documentation is sometimes unclear about the order in which these two firmwares should be updated. When in doubt (i.e. IBM didn't provide specific instructions for your model or a particular firmware update), '''update the ECP first, and then the BIOS'''. Also, make sure to do the two updates '''immediately one after the other'''.<br />
<br />
The EC firmware is usually much better at backwards compatibility than the BIOS.<br />
<br />
(Updaters for newer models take care of both BIOS and EC, and use automatically whatever sequence is needed, so you don't have to worry about it.)<br />
<br />
== Installed Firmware ==<br />
You can check the current BIOS and ECP versions on your ThinkPad by using '''dmidecode'''. For example:<br />
<br />
{{cmdroot|dmidecode -s bios-version}}<br />
<br />
1RETDRWW (3.23 )<br />
<br />
{{cmdroot|dmidecode -t 11}}<br />
<br />
# dmidecode 2.9<br />
SMBIOS 2.33 present.<br />
Handle 0x0029, DMI type 11, 5 bytes<br />
OEM Strings<br />
String 1: IBM ThinkPad Embedded Controller -[1RHT71WW-3.04 ]-<br />
<br />
Showing BIOS version 3.23 (1RETDRWW) and ECP version 3.04 (1RHT71WW).<br />
<br />
===DMI IDs===<br />
Please consider updating the [[List of DMI IDs]] before (and after) updating your BIOS.<br />
<br />
= Updating Firmware =<br />
<br />
There are two basic steps to updating the firmware (either the BIOS or the ECP) on a ThinkPad not running Windows:<br />
# Extract a bootable update image<br />
# Boot from that image<br />
<br />
== Extracting an update image ==<br />
{{WARN|Though this process has been successfully tested on many versions of .exe files found on IBMs website, that doesn't mean it will work for all of them. '''Proceed at your own risk'''. Consult the testing tables farther down of this page to see other users' experience with your model Thinkpad.}}<br />
{{NOTE|These EXE unpack procedures no longer work on more recent downloads, as Lenovo has changed the packaging format. You may still be able to unpack them using wine, or alternatively an actual (virtual) Windows machine.}}<br />
Older .exe installers from Lenovo mostly appear to be just a wrapper license program around Windows .cab files (see [[How_to_change_the_BIOS_bootsplash_screen|BIOS-Bootsplash]]). If you install the Linux program [http://freshmeat.net/projects/cabextract/ '''cabextract'''] you can expand these .cab files directly. For example, if you downloaded {{path|1iuj13us.exe}} from Lenovo:<br />
<br />
:{{cmduser|cabextract 1iuj13us.exe}}<br />
<br />
Extracting cabinet: 1iuj13us.exe<br />
extracting 1IUJ13US.IMG<br />
extracting BIOSUPTP.EXE<br />
extracting DOBOOT.EXE<br />
extracting DOSBOOT.COM<br />
extracting DOSBOOT.SYS<br />
extracting DOSBOOT.VXD<br />
extracting DOSBOOT2.COM<br />
extracting ECTLUPTP.EXE<br />
extracting EFLASHAS.SYS<br />
extracting HDFWUPTP.EXE<br />
extracting IBMTPI.XML<br />
All done, no errors.<br />
<br />
The file we want is '''FILENAME.IMG''', with "FILENAME" being the .exe. you downloaded. E.g., {{path|1IUJ13US.IMG}}.<br />
<br />
(If this does not work for the Non-diskette .exe, try it on the Diskette .exe. It's reported, for example, that the Non-diskette .exe for BIOS version 3.23 for the T41p was not extractable, but the Diskette .exe worked perfectly, with {{cmduser|cabextract}} delivering a .IMG file.)<br />
<br />
==== Solution for old Thinkpads ====<br />
<br />
Diskette .exe for some older models can't be extracted using cabextract. For example for the latest BIOS of 390E one gets<br />
spsdilc9.exe: no valid cabinets found<br />
Since such .exe will only extract the files to a floppy, there seems to be no way to extract them using Linux. The situation is actually even more complicated, as neither Vista nor Windows 7 allow these .exe to access the floppy drive directly. Neither DosBox nor Wine were able to "fool" the programm using virtual floppies. A solution that works is to use Windows XP (works in VirtualBox too) together with [http://sourceforge.net/projects/vfd/ Virtual Floppy Drive]. Rund vfdwin.exe, go to the Driver tab and hit Install and Start. Then go to the Driver0 tab, click on Change and select A:. Finally, click on Open/Create, and click Create. This should give you a virtual floppy drive the .exe file will extract files to.<br />
<br />
==== Testing the Image ====<br />
<br />
You can test that FILENAME.IMG is really a floppy image by running:<br />
<br />
{{cmdroot|mkdir /tmp/mntfloppy}}<br />
<br />
{{cmdroot|mount -o loop FILENAME.IMG /tmp/mntfloppy}}<br />
<br />
If a '''ls''' command on the image returns what looks like a DOS floppy, and no read errors were displayed, you have a pretty good chance that the image is usable. For example:<br />
<br />
{{cmdroot|ls /tmp/mntfloppy}}<br />
$0195000.FL1 069580.PAT 06d2.HSH IBMDOS.COM TPCHKS.EXE<br />
0691.HSH 06D0.PAT 06d6.HSH LOGO.BAT UPDTFLSH.EXE<br />
0691.PAT 06D1.PAT 06d8.HSH LOGO.SCR UPDTMN.EXE<br />
0694.HSH 06D2.PAT CHKBMP.EXE PHLASH16.EXE USERINT.EXE<br />
0694.PAT 06D6.PAT COMMAND.COM PREPARE.EXE UTILINFO.EXE<br />
0695.HSH 06D8.PAT CONFIG.SYS PROD.dat lcreflsh.bat<br />
0695.PAT 06d0.HSH FLASH2.EXE QKFLASH.EXE<br />
069580.HSH 06d1.HSH IBMBIO.COM README.TXT<br />
<br />
Unmount the image after you are done testing:<br />
<br />
{{cmdroot|umount /tmp/mntfloppy}}<br />
<br />
== Booting from update image ==<br />
Now that you have a bootable image for the correct update for you hardware, you need to do is boot from that image to install the update.<br />
<br />
There are different ways to do that:<br />
* [[#Booting from a CD|Boot from a CD]]<br />
* [[#Booting_using_GRUB|Boot from the image, using GRUB]]<br />
* [[#Booting_from_a_floppy|Boot from a floppy]]<br />
* [[#Booting_from_a_USB_Flash_drive|Boot from a USB Flash drive]]<br />
<br />
=== Booting from a CD ===<br />
{| align="right" style="width:40em;"<br />
|{{HINT|If there is a ''Bootable CD'' image available, e.g., FILENAME.iso, just download that, instead of mucking around with image files.}}<br />
|}<br />
If you are going to update the firmware by booting from a CD, you need to turn FILENAME.IMG that you extracted above into an .iso file.<br />
<br />
The [http://en.wikipedia.org/wiki/El_Torito_%28CD-ROM_standard%29 El Torito Bootable CD Specification] is a wonderful thing. Thanks to it, a bootable CD can be made with a bootable floppy image in such as way that the CD believes that it is a 2.88 MB floppy drive. This allows you to replace a boot floppy by a boot CD in nearly all situations.<br />
<br />
It is very easy to create such a bootable CD ISO image in Linux using the '''mkisofs''' tool{{footnote|1}}. Run a command as follows:<br />
<br />
{{cmdroot|genisoimage -b 1WUJ25US.IMG -c boot.catalog -o bootcd.iso 1WUJ25US.IMG}} #or older mkisofs<br />
<br />
Where *.IMG is the name of the image file extracted above. This creates a CD with one file on it and marks that file as the boot image.<br />
<br />
You can now burn the {{path|bootcd.iso}} to a CD in your favorite CD-burning program.<br />
{{WARN|By following any of the instructions here you are accepting the '''very real risk''' of turning your ThinkPad into a big expensive paper weight, as a firmware update gone wrong can create unfix-able problems. '''Proceed at your own risk!'''}}<br />
<br />
Boot from the CD to update your firmware. Remember to have [[BIOS_Upgrade#Two_Firmwares:_BIOS_and_ECP|both BIOS and ECP firmware boot-CDs]] ready, as needed, and use them in the [[#Proper_Order|proper order]].<br />
<br />
==== Successful tests ====<br />
<br />
{| border="1" cellspacing="0" cellpadding="2" style="font-size:80%; vertical-align:top;"<br />
! Model<br />
! Tested by, and comments<br />
|-<br />
| {{600E}} 2645-4AU ||<br />
* George Tellalov <gtellalov_dontspamme@bigfoot.com>. BIOS 1.16 from spsdin36.exe worked perfectly with the method bootable cd from floppy image. I highly recommend this upgrade because it made my ibm-acpi module load (it wouldn't load before) and fixed some suspend to ram problems. Here's the [http://george.tellalov.info/bios_upgrade_600e_spsdin36.iso cd image] I used. Use at your own risk. You can send me a chocolate if it works for you ;)<br />
|-<br />
| {{600E}} 2645-5bU ||<br />
* Mike Vincent<matchstc-putobvioushere.com>. Bios 1.16 from spsdin36.exe and then to the boot cd worked great for me. Thought I had bricked it three separate times using a "real" floppy! Each from different diskettes .The updater would start, give me the "going to take30 seconds" speech...and then access the HD for 10 minutes. Each time it would reboot fine. Did the cd as described above...worked great first time. Perhaps 10 year old seldom used floppy disc drives have some challenges?<br />
|-<br />
| {{600X}} 2645 ||<br />
* Jonathan Byrne <jonathan@RemoveThisToMailMe.yamame.org>. BIOS 1.11 from spsuit55.exe worked perfectly using cabextract/CD method.<br />
|-<br />
| {{600X}} 2645 ||<br />
* Andy Barnes <andy@RemoveThisToMailMe.itchypaws.co.uk>. As per Jonathan above, extracted BIOS 1.11 from spsuit55.exe using cabextract, created a CD boot image and burnt to CD. Worked flawlessly - thanks to everyone who contributed to this article!<br />
|-<br />
| {{A20p}} 2629-6VU ||<br />
* Chris Pickett http://www.sable.mcgill.ca/~cpicke/. BIOS 1.11 flashed fine with cabextract/CD method.<br />
|-<br />
| {{A21e}} 2628-JXU ||<br />
* Amit Gurdasani <gurdasani at yahoo dot com>. BIOS 1.13 flashed fine with cabextract/CD method. Alarmingly, after the BIOS update, the laptop beeped but did not shut down as was indicated onscreen -- that was frozen on the "do not shut down the laptop" screen. On power down and up again, the BIOS setup showed the newer BIOS image running, and Linux booted up fine. Linux ACPI didn't complain about the BIOS being too old either.<br />
|-<br />
| {{A31p}} 2653 ||<br />
* Matthias Meinke largeeddy@gmx.at, BIOS 1.09 1NET15WW flashed fine with cabextract/CD method.<br />
|-<br />
| {{A31}} 2652 ||<br />
* [[User:Wnoise|Aaron Denney]], BIOS 1.13 flashed fine with cabextract/CD method. The cabextract/CD method also worked for BIOS 1.10.<br />
|-<br />
| {{R30}} ||<br />
* Jarrod, 30 August 2007, Thinkpad R30 Type 2656-E0M. BIOS updated to 1.40 (1CETF0WW) using floppy disk/mkisofs/cdrecord. Worked fine, no problems.<br />
|-<br />
| {{R31}} ||<br />
* [http://mailman.linux-thinkpad.org/pipermail/linux-thinkpad/1998-January/009743.html Mathias Dalheimer]<br />
* Sebastian Sauer (with cabextract/CD method)<br />
|-<br />
| {{R40}} ||<br />
* Matthew Lambie, http://lambie.org<br />
* Antti S. Lankila, update to 1.27 via direct use of phlash16.exe against a BIOS image. Normal method did not work because the battery is dead.<br />
|-<br />
| {{R50}} 1836-3SU ||<br />
* jlbartos <jlbartos at hotmail dot com><br />
|-<br />
| {{R50e}} 1834-PTG ||<br />
* item <item at freemail dot hu> : successfully finished with cabextract/CD method for "1wuj25us.exe" (BIOS version 1WET90WW (2.10), Release Date: 2006/12/22)<br />
* Christos Nouskas <nouskas at gmail dot com>: upgraded to BIOS version 1WET90WW (2.10) and EC version 1VHT28WW (1.04) using GRUB (BIOS first / EC second)<br />
|-<br />
| {{R51}} 1829 ||<br />
* Robert Uhl <rob dot uhl at gmx dot de>, Jellby <jellby at yahoo dot com><br />
|-<br />
| {{R51}} 1830-RM7 ||<br />
* Will Parker <stardotstar at sourcepoint dot com dot au> successfully flashed 3.20 using existing 3.04 ECP and retained custom boot splash.<br />
|-<br />
| {{R51}} 2887 ||<br />
* Ingo van Lil <inguin at gmx dot de><br />
|-<br />
| {{R52}} 1858 ||<br />
* Stuart McCord <stuart dot mccord at gmail dot com> flashed both BIOS and ECP using cabextract, BIOS flashed first as on IBM website<br />
|-<br />
| {{T20}} ||<br />
* Franz Hassels <fhassel at suse dot com><br />
|-<br />
| {{T22}} ||<br />
* Daniel Maier <nusse teamidiot de><br />
* Mathias Behrle (with cabextract/CD method, Version 1.07 => 1.12) --[[User:Mathiasb|Mathiasb]] 11:58, 14 December 2006 (CET)<br />
* Bob Skaroff (cabextract/CD), 1.06 => 1.12<br />
* Leo Butler (cabextract/CD), 1.11 => 1.12<br />
|-<br />
| {{T23}} ||<br />
* Bart Snapp <snapp at uiuc dot edu> Note: I followed IBM's instructions to flash the BIOS '''first''' and the Embedded Controller '''second'''.<br />
* Moy Easwaran: BIOS 1.18 / EC 1.06a via cabextract and CD-boot. The BIOS-update exe generated errors in Windows 2000.<br />
* Joe Renes: BIOS 1.18 / EC 1.06a on 2006-03-20 via cabextract and CD-boot. Piece of cake.<br />
* Raphael Errani: BIOS 1.20 / EC 1.06a on 2006-11-06 via cabextract and CD-boot (using mkisofs). Worked without errors. 1st Bios, 2nd EC<br />
* Myron Getman: BIOS 1.20 / EC 1.06a on 9/10/08 via cabextract --> k3b --> CD-boot. Worked like a charm. First BIOS update with Linux!<br />
* Leo Butler: BIOS 1.13 / EC 1.04 to 1.20/1.06a via cabextract and syslinux/memdisk boot through grub. Worked like a charm and no wasted CD.<br />
|-<br />
| {{T30}} ||<br />
* Martin Gühring <guehring at gmail.com> BIOS 2.10 via cabextract the Non-Diskette BIOS -> mkisofs '''in the directory the exe was extracted''' to generate the iso -> burn the iso -> boot the CD<br />
|-<br />
| {{T40}} ||<br />
* Sean Dague, http://dague.net<br />
* Justin Mason, http://jmason.org<br />
* Ivanhoe (Bios 3.19)<br />
* Alessandro Raulino (roger_2) EC 3.04 & BIOS 3.23 flashed with cabextract/CD method<br />
* Nick Jenkins, using BIOS 3.23 with the '''Non-diskette updater + cabextract method''', then [[#Creating_a_Bootable_CD_from_a_Floppy_Image|created a bootable CD from the cabextracted .IMG file]], then boot that ISO, and it worked great!<br />
* xyz: BIOS 3.23 & EC 3.04 flashed with cabextract/CD method. No problem.<br />
|-<br />
| {{T40p}} ||<br />
* Lukas Krähenbühl, ismo at pop dot agri dot ch<br />
* Thomas Achtemichuk, tom at tomchuk dot com. BIOS 3.15 flashed fine with cabextract/CD method<br />
* paper, BIOS 3.23 (1RETDRWW) flashed fine with cabextract/genisoimage method.<br />
|-<br />
| {{T41}} ||<br />
* Lev Givon (Bios 3.15 / EC 3.04) <lev at columbia dot edu><br />
* Ernesto Hernández-Novich (Bios 3.19 / CP 3.04) < emhn at usb dot ve ><br />
* [http://maebmij.org James Ballantine] (Bios 3.21 / CP 3.04) using nondisk/cabextract/CDRW<br />
* Vladimir Pycha (to Bios 3.23 / EC 3.04, from Bios 3.20 / EC 3.04) using nondisk/cabextract/CDRW. Booted with external USB optical drive (I have internal drive broken) - at the beginning of the boot sequence press PAUSE, then wait several seconds, then ENTER, then F12 and select the drive. Without pressing PAUSE I am not able to boot from USB optical/hard drive as the drive does not show in the F12 boot list menu.<br />
|-<br />
| {{T41p}} ||<br />
* Nils Newman, work great. (Version: Bios 3.14 / Embedded Controller 3.04)<br />
|-<br />
| {{T42}} 2373-JXG ||<br />
* magarzo <mdr.magarzo at gmail.com> (BIOS v.3.23 / Embedded Controller v.3.04 / both with cabextract to non-diskette v. plus Bootable CD)<br />
|-<br />
| {{T42}} ||<br />
* Dan (BIOS 3.20 / EC 3.04, cabextract/CD method) <tronic171 at evilphb.org><br />
* Hirosh Dabui <hirosh@dabui.de><br />
|-<br />
| {{T42p}} ||<br />
* Robert Schiele <rschiele@uni-mannheim.de>, Joern Heissler <joern@heissler.de>, Hirosh Dabui <hirosh@dabui.de><br />
|-<br />
| {{T43}} 1871-W34 ||<br />
* Florian Boucault <florian at boucault dot ath dot cx> (Version: Bios 1.23 / Embedded Controller 1.03)<br />
|-<br />
| {{T43}} 1871-4AG ||<br />
* [http://blog.martinmcdowell.com/about/contact Martin McDowell] 28-Feb-2010<br />
* BIOS 70ET62WW (1.22) to 70ET69WW (1.29), <br />
* ECP 70HT26WW (1.03) to 70HT28WW (1.05)<br />
Both successfully upgraded from CD Image made from the instructions on this website.<br />
|-<br />
| {{T43}} 2886 ||<br />
* Till Heikamp <t dot heikamp at geniusbytes dot com> (Bios 1.22 to 1.29, Embedded Controller 1.03 to 1.06)<br />
|-<br />
| {{T43}} ||<br />
* Conrad Rentsch <Conrad dot Rentsch at t-online dot de> (Version: Bios 1.29 / Embedded Controller 1.06)<br />
* Tom Heady <tom-thinkwiki.org@punch.net><br />
|-<br />
| {{T60}} ||<br />
* 1951 Roman Komkov <roman at komkov dot org dot ru> (Bios 1.07 to 2.13) Successfully upgraded from CD Image<br />
* 8744-HCG Konstantin Khorenko <horenko at mail dot ru> (Bios 1.06 to 1.18) Successfully upgraded from CD Image<br />
* 1951 Juan Miguel Jiménez <bodypheo (at) gmail dot com> (Bios 1.07 to 2.14) Copy CD content into Dos usb bootable and run lcreflsh.bat. After updating I got error of PXE corrupted: [http://stephenchow.es/2012/02/error-after-updating-bios-on-ibm-thinkpad-t60/|Fix here]<br />
|-<br />
| {{T61}} ||<br />
* Kai Weber <kai.weber at glorybox dot org> (Bios 1.06 to 1.26) Successfully upgraded from CD Image<br />
|-<br />
| {{T410}} ||<br />
* Pablo Zometa (BIOS 1.35) <br />
|-<br />
| {{X20}} ||<br />
* Neil Caunt <retardis at gmail dot com><br />
|-<br />
| {{X21}} ||<br />
* Patrick Leickner <ranma at web dot de>, (BIOS 2.21->2.25 / EC 1.31->1.36) via non-disk/cabextract/mkisofs/cdrecord<br />
|-<br />
| {{X22}} ||<br />
* David Emery <dave at skiddlydee dot com>, (EC 1.30, BIOS 1.32 using non-disk/cabextract/CD method)<br />
|-<br />
| {{X23}} ||<br />
* Nils Faerber <nils dot faerber at kernelconcepts dot de> (Embedded Controller 1.30, BIOS 1.32 with cabextract/CD method)<br />
|-<br />
| {{X30}} ||<br />
* Hella Breitkopf, [http://www.unixwitch.de/ www] (Embedded Controller 1.04, BIOS 1.07 with cabextract/CD method)<br />
* William Roe <willroe at gmail dot com> (Embedded Controller 1.06, BIOS 1.09 - cabextract/mkisofs/wodim)<br />
|-<br />
| {{X31}} ||<br />
* Grzegorz Kuśnierz <koniu at sheket dot org> (Embedded Controller 1.08, BIOS 3.01 with cabextract/CD method)<br />
|-<br />
| {{X31}} ||<br />
* Paul Litwack <paullitwack at gmail dot com> (Embedded Controller 1.08, BIOS 3.02 with cabextract/unetbootin method)<br />
cabextract & unetbootin are staight foward(toggle floppy image instead of iso image in unetbootin dialog)<br />
No problems with update software.<br />
x31 has to be cajoled into booting from usb. Boot hangs when pendrive is present. Hit the key to bring up the boot menu. <br />
Unplug the pendrive. Let the boot menu come up. Plug in the pendrive. Select the pendrive in the boot menu and it boots. <br />
|-<br />
| {{X40}} ||<br />
* Robbie Stone <robbie@serendipity.cx><br />
* Andy Shevchenko <andy.shevchenko@gmail.com> (Fine by cabextract/CD method)<br />
|-<br />
| {{Z60m}} ||<br />
* [[User:Morle|Morle]] 01:09, 17 Nov 2007 (CEST), (Embedded Controller 1.18 and Bios 1.24 with cabextract/CD method)<br />
|}<br />
<br />
==== Unsuccessful tests ====<br />
{| border="1" cellspacing="0" cellpadding="2" style="font-size:80%; vertical-align:top;"<br />
! Model<br />
! Tested by, and comments<br />
|-<br />
|<pre> </pre> <!-- Placeholder --><br />
|<br />
|}<br />
<br />
=== Booting using GRUB ===<br />
{|<br />
| style="width:75%" | {{WARN|Many have warned '''not''' to use the SYSLINUX image-loader '''memdisk''' to boot firmware update images.}}<br />
| style="font-size:80%" | {{HELP|Who are these "many"? Link to a discussion?}}<br />
|}<br />
Once the bootable image, FILENAME.IMG, is extracted from the .exe, it can be booted directly through GRUB without the need of burning a CD, using the [http://syslinux.zytor.com/ SYSLINUX] image-loader '''[http://syslinux.zytor.com/memdisk.php memdisk]'''.<br />
<br />
Locate the '''memdisk''' file from the syslinux package. You can search for it with '''find''': <br />
<br />
{{cmdroot|find /usr -name memdisk}} #or just use "dlocate memdisk" or "locate memdisk" if these programs are installed<br />
<br />
If {{path|/usr/.../memdisk}} is not present, syslinux is not installed. You will need to install it to boot a .IMG from GRUB.<br />
<br />
Copy both the '''FILENAME.IMG''' and '''memdisk''' files into {{path|/boot}} directory. For example:<br />
<br />
{{cmdroot|cp ./FILENAME.IMG /usr/share/syslinux/memdisk /boot/}}<br />
<br />
Open {{path|/boot/grub/menu.lst}} in your favourite editor. '''Copy''' the active section into a '''new section''', and edit the new section:<br />
{| border="1" cellspacing="0" cellpadding="2"<br />
! Parameter<br />
! Instructions<br />
! Example<br />
|-<br />
| ''title'' || Pick a name for the new section. This will show up in the GRUB boot menu. || <tt>title IBM ECP Update</tt><br />
|-<br />
| ''root'' || Do not change. This is the partition containing the {{path|/boot}} directory || <tt>root (hd0,0)</tt><br />
|-<br />
| ''kernel'' || '''/boot/memdisk''' will allow you to boot an image file. || <tt>kernel /boot/memdisk</tt><br />
|-<br />
| ''initrd'' || This is the name of the firmware-updater image file, e.g., 1IUJ13US.IMG || <tt>initrd /boot/1IUJ13US.IMG</tt><br />
|}<br />
<br />
Do '''not''' modify the original section in {{path|/boot/grub/menu.lst}}, or you might not be able to boot back to the operating system.<br />
<br />
If you have [[#Two_Firmwares:_BIOS_and_ECP|two firmware updates to do]], you will need a section for each firmware's FILENAME.IMG in {{path|/boot/grub/menu.lst}}.<br />
<br />
{{NOTE|If both BIOS and ECP are to be updated, be sure to update them in the [[#Proper_Order|proper order]].}}<br />
<br />
{{WARN|By following any of the instructions here you are accepting the '''very real risk''' of turning your ThinkPad into a big expensive paper weight, as a firmware update gone wrong can create unfix-able problems. '''Proceed at your own risk!'''}}<br />
<br />
Reboot your computer, entering the GRUB menu and selecting ''IBM BIOS Update'', or whatever you named the new section in {{path|/boot/grub/menu.lst}}.<br />
<br />
==== GRUB2 ====<br />
With grub2, one would ''append'' the following to ''/boot/grub/grub.cfg'' :<br />
menuentry "My BIOS Upgrade" {<br />
set root=(hd0,0) #should match the others in your grub.cfg<br />
linux16 /boot/memdisk<br />
initrd16 /boot/1WUJ25US.IMG #or whatever yours is<br />
}<br />
<br />
==== Successful tests ====<br />
{|border="1" cellspacing="0" cellpadding="2" style="font-size: 80%"<br />
|-<br />
! Model<br />
! BIOS<br />
! ECP<br />
! Tested by<br />
! Notes<br />
|-<br />
| {{T510}} 4349-5KG|| 6muj27uc.iso: BIOS 6MET88WW (1.48 ) || EC 6MHT46WW-1.21 || [[User:kosique|Marc Burkhardt]] || Gentoo: sys-boot/grub-1.99-r2, sys-boot/syslinux-4.05<br />
|-<br />
| {{R30}} 2656-64G || v.1.40 || || [[User:english.voodoo|Yuri Spirin]] ||<br />
|-<br />
| {{R40}} 2723 || 1OHJ11WW.IMG || 1PUJ25US.IMG || [[User:qunying|Qunying]] || memdisk from syslinux 3.70 (slackware 12.1)<br />
|-<br />
| {{R50e}} 1834NV1 || 1WUJ25US.IMG || || [[User:Jidanni|Jidanni]] || memdisk from syslinux-common 2:3.84+dfsg-1 (Debian), grub2 (1.96+20080724-16)<br />
|-<br />
| {{R51}} 2888 || || || || <br />
|-<br />
| {{T23}} 2647 || 1AUJ20US.IMG || 1AHJ06US.IMG || [[User:cthon|cthon]] || memdisk from syslinux 4.02-1 (arch linux) <br />
|-<br />
| {{T40}} 2373 || 1RUJ37US.IMG || 1RHJ10U2.IMG || [[User:Euphoria|Euphoria]] || memdisk from syslinux 1:3.31-4 (Debian package version)<br />
|-<br />
| {{T40}} 2373 || 1RHJ10U2.IMG<br />(3.04, 2004-11-15) || 1RUJ37US.IMG<br />(3.23, 2007-07-03) || [[User:Morphics|Morphics]] || cabextract and memdisk from syslinux 3:1.36-4ubuntu5<br />
|-<br />
| {{T41}} 2373 || 1RUJ37US.IMG<br />(3.23, 2007-07-03) || || [[User:Tonko|Tonko]] || Fedora 12<br />
|-<br />
| {{T41p}} 2373 || 1RUJ37US.IMG<br />(3.23, 2007-07-03) || || [[User:Deggel|Deggel]] || cabextract and memdisk from syslinux 3.71 on gentoo <br />
|-<br />
| {{T41p}} 2373 || || || [[User:MrStaticVoid|James Lee]] || <br />
|-<br />
| {{T42}} 2373 || 1RUJ37US.IMG || || [[User:Secsaba|Simon Csaba Endre]] || Ubuntu 10.04 Pre-update versions: BIOS v3.21 / ECP v3.04 After-update versions: BIOS v3.23 / ECP v3.04<br />
|-<br />
| {{T42p}} 2374 || 1RUJ37US.IMG || 1RHJ10U2.IMG || [[User:aderigs|Achim Derigs]] || Debian GNU/Linux sid, works with `linux16 ...' and `initrd16 ...' only<br />
|-<br />
| {{X31}} 2673-CBU || || || [[User:JanTopinski|Jan Topinski]] || <br />
|-<br />
| {{X31}} 2672-CXU || || || [[User:TheAnarcat|TheAnarcat]] || <br />
|-<br />
| {{X31}} 2672-JBU || 3.02 1QUJ19US.IMG || 1.08 1QUJ08US.IMG || [[User:twbxf4|twbxf4]] || worked flawlessly<br />
|-<br />
| {{X31}} 2673-58G || || || [[User:FaUl|FaUl]] || <br />
|-<br />
| {{X31}} 2672-PG9 || || || [[User:Starox|Starox]] || a big moment between starting update and the updating window <br />
|-<br />
| {{X31}} 2672-PG9 || v3.02 1QUJ19US.IMG || v1.08 1QHJ08US.IMG || [[User:TeeLittle|TeeLittle]] || Apr 10, 2010: Using Debian 5.0 "Lenny" + package syslinux-common (Version: 2:3.71+dfsg-5). Pre-update versions: BIOS v2.11 / ECP v1.03 <br />
|-<br />
| {{X40}} 2371 || 2.07 1uuj21us.exe || 1.62 1uhj10us.exe || [[User:Antialize|Jakob Truelsen]] || Worked on two X40-2371 <br />
|-<br />
| {{X40}} 2386 || 2.08 1uuj22us.exe || 1.62 1uhj10us.exe || [[User:Antialize|Galen Seitz]] || memdisk from syslinux 3.61<br />
|}<br />
(More successful grub tests are scattered in the previous table too.)<br />
<br />
==== Unsuccessful tests ====<br />
{|border="1" cellspacing="0" cellpadding="2" style="font-size: 80%"<br />
|-<br />
! Model<br />
! style="width:10em;" | BIOS<br />
! ECP<br />
! Tested by<br />
! Notes<br />
|-<br />
| {{R32}} 2658-NWU || 2.16 1MUD23US.IMG || n/a || [[User:Millman12345|Mike Millman]] || Boots into the BIOS flashing program just fine, but when it comes time to start the update process, the system hangs completely. Luckily, it hangs before it actually modifies anything... A hard reboot got me back into a working system. I would not recommend this route!<br />
|-<br />
| {{R52e}} 1846-CGL || 1.29<br />76UJ28UD.IMG || 1.01 || [[User:Lacyc3|Laszlo Takacs]] || Boots into BIOS flashing program but it hangs up before the upgrade process. I used memdisk from syslinux-4.01.<br />
|-<br />
| {{T43}} 2668-F7G || 1.29 1YUJ18US.IMG || || [[User:Maus3273|Maus3273]] || I got into the bios program, but the machine never restarts after initiating the upgrade.<br />
|-<br />
| {{X41}} 2525-FAG || 2.09 74UJ15US || || [[User:Ukleinek|Uwe Kleine-König]] || booted fine (Debian syslinux 2:3.71+dfsg-5), but didn't succeed to write, just hang at "Don't restart or remove diskette etc. pp" (not bricked). Worked fine via CD method.<br />
|- <br />
| {{X41}} 2525-F8G || 2.06 74UJ12US.IMG<br />2.07 74UJ13US.IMG<br />2.09 74UJ15US.IMG || || [[User:ladoga|Lauri Koponen]] || hangs while initializing the actual BIOS flashing process<br /> ECP: 1.02 74HJ03US.IMG works<br />
|-<br />
|}<br />
<br />
==== GRUB2 Boot CD Image ====<br />
Download the bootable iso file from the Lenovo Website. Copy the file 'memdisk' from the syslinux package to /boot. Also create a symlink, so you do not have to change the grub configuration for each bios upgrade:<br />
<pre><br />
sudo su -<br />
cd /boot<br />
cp /home/youruser/Downloads/6uuj12uc.iso .<br />
cp /usr/share/syslinux/memdisk .<br />
ln -s 6uuj12uc.iso biosupgrade.iso<br />
</pre><br />
Now create the boot entry:<br />
<pre><br />
cat >> /etc/grub.d/40_custom <<EOF<br />
menuentry "Lenovo BIOS Upgrade" {<br />
set root=(hd0,1) # <-- check for correct numbering<br />
linux16 /boot/memdisk iso<br />
initrd16 /boot/biosupgrade.iso<br />
}<br />
EOF<br />
update-grub<br />
</pre><br />
Reboot an Select "Lenovo BIOS Upgrade".<br />
<br />
For the next Bios Upgrade you'll just need to copy the new iso file to /boot and adjust the symlink.<br />
<br />
==== Successful tests ====<br />
{|border="1" cellspacing="0" cellpadding="2" style="font-size: 80%"<br />
|-<br />
! Model<br />
! BIOS<br />
! ECP<br />
! Tested by<br />
! Notes<br />
|-<br />
| {{X100e}} 2876-55G || 6xuj05uc.iso || || [[User:nikel]] ||<br />
|-<br />
| {{Edge}} || 1.17 6yuj04uc.iso || || [[User:theBro]] || Current memdisk from syslinux worked (5/2010), the one provided by Ubuntu 9.10 did not.<br />
|-<br />
| {{X200s}} || 1.13 6duj40uc.iso || || [[User:theBro]] || Current memdisk from syslinux worked (5/2010), the one provided by Ubuntu 9.10 did not.<br />
|-<br />
| {{X200s}} || 3.14 6duj41uc.iso || 1.06 || [[User:dag-|Dag Wieers]] || Using memdisk from syslinux 4.01<br />
|-<br />
| {{X201}} 3626-A14 || 1.15 6quj05uc.iso || 1.09 6quj05uc.iso || [[User:Alexander List|Alexander List]] || memdisk from syslinux 3.86<br />
|-<br />
| {{Edge 13"}} 0197-6GG || 1.18 6yuj05uc.iso || || [[User:fethio]] || Current memdisk from syslinux worked (5/2010), the one provided by Ubuntu 9.10 did not.<br />
|-<br />
| {{Edge 13"}} 0197-34Q || 1.21 6yuj08uc.iso || || [[User:Kapil]] || Current memdisk from syslinux debian version 2:4.02+dfsg-7<br />
|-<br />
| {{Edge 13"}} 0197-34Q || 1.18 6yuj05uc.iso || || [[User:Kapil]] || Current memdisk from syslinux debian version 2:4.01+dfsg-1<br />
|-<br />
| {{X200s}} || 3.15 6duj42uc.iso || || [[User:lawnjam]] || Memdisk 4.02 worked, the one provided by Ubuntu 10.04 did not.<br />
|-<br />
| {{X201}} || 1.22 6quj08uc.iso || 1.11 || [[User:dag-|Dag Wieers]] || Using memdisk from syslinux 4.03<br />
|-<br />
| {{T410s}} || 1.41 6uuj12uc.iso || 1.12 || regatus || Gentoo + memdisk (syslinux 4.0.3)<br />
|-<br />
|}<br />
<br />
==== Unuccessful tests ====<br />
{|border="1" cellspacing="0" cellpadding="2" style="font-size: 80%"<br />
|-<br />
! Model<br />
! BIOS<br />
! ECP<br />
! Tested by<br />
! Notes<br />
|-<br />
| {{T61}} 6466-55G || 2.27 7luj26uc.iso || 1.08 || [[User:mgedmin]] || Grub2 + memdisk (2:4.01+dfsg-3ubuntu1) booted the DOS image on the CD, which then tried to load a DOS CD-ROM driver, which then could not find the CD, and ended up with the infamous Abort, Retry, Fail.<br />
|-<br />
|}<br />
<br />
=== Booting from a Floppy ===<br />
{{WARN|Using a floppy disk '''is NOT recommended'''.}}<br />
<br />
This is how IBM/Lenovo intended it. Use their .exe files to create a bootable floppy with the flash update on it. Boot from the floppy and there you go.<br />
<br />
So, why is it not recommended?<br />
# If something goes wrong, your ThinkPad may be permanently damaged<br />
# Floppy disk drives are not reliable<br />
# Floppy disks are not reliable<br />
# It only works with /dev/fd0, meaning it won't work with a USB floppy<br />
<br />
So, even though Lenovo is now offering "Linux diskette" updaters, that will create a bootable floppy under Linux, using a floppy is still not recommended. Besides, many people don't even ''have'' a floppy drive on their ThinkPad.<br />
<br />
If you really want to do it with a floppy, some tips:<br />
* Use a clean (in the physical sense) floppy drive<br />
* Use new floppies<br />
* Test floppies for errors before starting update process<br />
* Have multiple copies of the update disks ready--if one should fail, replace it with a copy<br />
* Should DOS complain of a read error, '''only''' respond wth "Retry"<br />
<br />
{{NOTE|Should the system encounter a disk read error during the flash process, and you select "Abort", your system could be permanently damaged.}}<br />
<br />
=== Booting from a USB Flash drive ===<br />
<br />
==== Updating the BIOS in MS-DOS mode ====<br />
(This process works for most Thinkpad models that has Windows XP, Windows Vista or Windows 7 OS)<br />
<br />
1. Using HP USB Boot Utility, [http://blogs.oreilly.com/digitalmedia/2004/10/utility-to-make-usb-flash-driv.html create a bootable USB flash drive [http://www.bay-wolf.com/utility/usbkey/win98boot.zip DOS using Windows 98 Boot Disk Floppy Image].<br />
<br />
2. Extract the (*.ima) from the ISO BIOS image (e.g. [http://www.rarsoft.com WinRAR] will do this).<br />
<br />
3. Using a tool that can open .IMA files (such as [http://www.winimage.com/ WinImage]), extract all files to a temporary folder.<br />
<br />
4. Run the HP tool, select the USB device, I used FAT32, create a DOS bootable disk and point at the win98boot folder - then "Start". Warning: this '''formats''' the USB flash drive and all data will be erased!<br />
<br />
5. Once complete (you could test if it boots at this point), copy the extracted BIOS files from the temporary folder you created to the USB flash drive.<br />
<br />
6. Boot from USB flash drive by pressing F11 within the BIOS boot logo. At the DOS command prompt, type "updflsh" and then follow the prompts by pressing "Y" or Enter. Make sure that you have a fully charged battery pack and the AC Adapter is firmly plugged before proceeding with the BIOS update.<br />
'''DO NOT Power off the laptop or unplug the USB flash drive while the update is in progress or else update will fail and your computer will be unable to boot and system board may need to be serviced.'''<br />
<br />
This process takes around 1-2 minutes. A long beep followed by a short beep will notify you that the update is complete and the system will automatically power off.<br />
<br />
7. Power on the laptop then enter the BIOS setup by pressing F1 and Load BIOS defaults.<br />
<br />
==== Using grub4dos (also for Linux) ====<br />
<br />
[http://grub4dos.sourceforge.net/wiki/ grub4dos] is a GNU GRUB fork with interesting features. One of them is the ability to boot ISO images directly off USB flash drives. Contrary to the name, GRUB for DOS works fine on Linux. Follow these steps:<br />
* Download the latest grub4dos package at http://download.gna.org/grub4dos/ (I needed 0.4.4 for my USB2 drive - 0.4.3 did not work.)<br />
* Unpack<br />
* Insert your FAT-32 formatted pendrive<br />
* Run <code>sudo ./bootlace.com /dev/sdX</code>, where /dev/sdX is the device name assigned to your pendrive (use <code>sudo fdisk -l</code> to figure this out). Be very careful to get the device correct or else you could overwrite your hard drive! This creates grub4dos boot sector in MBR of the flash drive.<br />
* Copy the files <code>grldr</code> and <code>menu.lst</code> to the root directory of your pendrive.<br />
* Convert the ThinkPad .IMG file to a .ISO file using <code>genisoimage -b 1yuj18us.img -c boot.catalog -o 1yuj18us.iso 1yuj18us.img</code><br />
* Copy the ISO image to the root directory of your pendrive (e.g. <code>1yuj18us.iso</code>).<br />
* Edit <code>menu.lst</code> on the pendrive and include the following section (of course putting the appropriate ISO image name):<br />
<pre><br />
title thinkpad-bios<br />
map (hd0,0)/1yuj18us.iso (hd32)<br />
map --hook<br />
chainloader (hd32)<br />
boot<br />
</pre><br />
* Reboot and press F12 to select booting from USB.<br />
* If all went well, you should be able to boot the Thinkpad's ISO image and flash the BIOS. I tested it successfully on T400. [[User:Wanted|Wanted]] 20:23, 16 July 2010 (UTC)<br />
<br />
==== Using UNetbootin ====<br />
<br />
Unetbootin 422 worked with the image files unpacked with cabextract on my x31.<br />
<br />
{{HELP|How exactly did you do this? It failed for me. Does it work only with .IMG files that are converted to .ISO files, or can .ISO files provided by Lenovo also work (how?)}}<br />
<br />
=== Booting from a Network Boot Image ===<br />
BIOS, ECP, CD/DVD and Harddisk firmware disks can be booted over the network with [http://syslinux.zytor.com/pxe.php PXELINX] as part of the [http://syslinux.zytor.com/ SYSLINUX] package. This requires that you have a DHCP and tftp server configured and setup properly on your network, and is probably not for the faint of heart.<br />
<br />
Make sure the firmware bootdisk is in linux 'dd' format, as the self-extracting .exe disks from the IBM website cannot be booted directly as such.<br />
<br />
This worked on the {{R31}}, {{X22}}, {{T21}}, {{T30}} and {{T41p}} with various firmware updates. On the {{X22}}, it worked with ECP 1.30 but '''not''' with BIOS 1.32<br />
<br />
= Updating without battery or with dead battery =<br />
<br />
This is a last-resort approach. Use this only if everything else fails.<br />
<br />
The BIOS updater may refuse to update a BIOS without a battery, or if the battery charge is too low. In that case, extract the disk image with cabextract as per instructions above and dd it to an usb stick. (This will destroy the data on it, of course.) Acquire a pure DOS boot cd such as Windows 98 recovery CD and boot that.<br />
<br />
Use F8 to abort the boot sequence of a windows 98 boot CD. If you need CD-ROM support, load CD-related things but say no to everything else. In particular, avoid loading himem.sys and doskey, as the presence of either program causes Phoenix bios flash tool phlash16.exe to abort.<br />
<br />
Change to the volume where flash2.exe and other tools are installed, and execute "flash2.exe /u". This should bypass the battery check and perform the flashing. If that doesn't work, check if the update disk contains a tool called "phlash16.exe". This can be used directly to flash the image, and the invocation is typically "phlash16 /exit $01c80000.fl1".<br />
<br />
This method won't work for the Thinkpad {{560X}} (and likely other older models). Since the 560X is a bit older, it won't be a big surprise if the battery is as dead as a dodo. Here's how to update the bios in this case: download the spsdi833 bios update and create the update floppy. If you have trouble creating this disk, [http://www.mediafire.com/?36o5a8buvbjx07o download an archive with the files] and put them on a floppy. Don't worry about making it bootable. Also, you will need a DOS bootdisk. A Windows 98 bootdisk will be fine. Boot the system with the W98 bootdisk, do not load CD-rom support. Remove the W98 bootdisk and put the disk with the BIOS update in the drive. If you would now run UPDTFLSH you would get the battery message, so don't do that. If you open UPDTFLSH.exe with a text editor, you would find some lines about UPDTROM. UPDTROM is the actual flash tool, but you can't simply run it just like that. Run the following:<br />
<br />
*updtrom /np /prep1<br />
*updtrom /np /prep2<br />
*updtrom /np /prep3<br />
*updtrom /np /romcmp /romflsh /prep4<br />
*updtrom /np /h8flsh /h8img /model<br />
<br />
Yes, you need to run updtrom five times. Hold your breath and reboot the machine. It's done.<br />
<br />
Perhaps not all these lines are necessary, but to be sure I ran them all, and this worked for me. So I suggest you do the same. This could probably be done from the harddisk as well, but I did not test that.<br />
<br />
=After updating=<br />
Lenovo recommends reseting your BIOS settings to their factory defaults after a firmware update.<br />
<br />
==DMI IDs==<br />
Please consider updating the [[List of DMI IDs]] after updating your BIOS.<br />
<br />
= Special Cases =<br />
* In one case, see ([[APM setup on a type 2379 ThinkPad T40]]), it was not possible to upgrade the BIOS from Windows XP; a downgrade to Windows 98 was required to successfully run the BIOS upgrade app. The symptoms in this case were that, once the files had been extracted to the hard disk, and the machine was to reboot into the upgrade app, it would beep and hang just before reboot, requiring a power cycle. Once the power was cycled, it would simply reboot back into XP without performing any BIOS upgrade actions. So even if you have Windows, you may still need to use the info on this page.<br />
<br />
== Updating Thinkpad X Series ==<br />
The special update instructions for {{X_Series}} Thinkpads are quite long. You can find them at the page [[BIOS_Upgrade/X_Series]].<br />
<br />
<br />
<br />
<br />
<br />
----<br />
<br />
{{footnotes|<br />
# For lots of detail on making and burning .iso files, see The Linux Documentation Project (tldp.org): [http://tldp.org/HOWTO/CD-Writing-HOWTO-3.html#ss3.1 3.1 Writing CD-ROMs (pure data)].<br />
}}</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_Debian_4.0_(Etch)_on_a_ThinkPad_X300&diff=37457Installing Debian 4.0 (Etch) on a ThinkPad X3002008-04-26T16:12:12Z<p>Wehe: references section and link to TuxMobil added</p>
<hr />
<div>===Installation (Network-Install)===<br />
<br />
Installing from the Debian Netinstall-CDROM worked without any problems.<br />
The SSD is recognized as an S-ATA drive using the ahci-driver.<br />
The Gigabit-Ethernet-Port works out-of-the-box.<br />
<br />
===Kernel Update===<br />
<br />
The Kernel shipped with Debian stable (2.6.18 at the time of writing this) doesn't support many<br />
of the features. I manually upgraded it to 2.6.25. The .config can be found<br />
[http://scriptkiller.de/pub/thinkpad_x300_2.6.25.config here].<br />
<br />
===WLAN (Intel 4965AGN)===<br />
<br />
The driver for the wireless lan interface (iwl4965) is included in the Kernel sources.<br />
You only need to install the binary firmware from here:<br />
[http://packages.debian.org/lenny/firmware-iwlwifi] (you can install it in stable without problems).<br />
<br />
===Graphics (Intel GMA965 / X3100)===<br />
<br />
For graphics you'll need the intel_agp module from a recent kernel as well as xserver-xorg-video-intel (not in stable at the time of writing,<br />
get it from testing).<br />
<br />
Nothing special in xorg.conf:<br />
<br />
Section "Device"<br />
Identifier "Generic Video Card"<br />
Driver "intel"<br />
EndSection<br />
<br />
===ACPI===<br />
<br />
You'll need the thinkpad_acpi module. I had to tweak some settings to make the backlight work:<br />
<br />
modprobe thinkpad_acpi brightness_enable=1 brightness_mode=0<br />
<br />
After inserting the module that way, backlight can be controlled using<br />
<br />
echo XX > /sys/class/backlight/thinkpad_screen/brightness <br />
<br />
Where XX is a number between 0 and 15.<br />
<br />
===Fingerprint Reader===<br />
<br />
A short test with [[How_to_enable_the_fingerprint_reader_with_ThinkFinger|Thinkfinger]] showed no problems.<br />
<br />
===Fan===<br />
<br />
Unfortunately the fan is spinning almost all the time, haven't found a way around this, yet.<br />
<br />
===HDAPS-Fun (Motion sensor)===<br />
<br />
The X300 has a motion sensor, but it is not yet recognized by the hdaps-module.<br />
<br />
===Bluetooth===<br />
<br />
You need to do:<br />
<br />
echo enable > /proc/acpi/ibm/bluetooth<br />
<br />
And magically, the Bluetooth-Daughterboard appears as an USB device:<br />
<br />
Bus 003 Device 003: ID 0a5c:2110 Broadcom Corp.<br />
<br />
===Sound===<br />
<br />
Sound works if you build alsa modules yourself:<br />
* Download latest alsa snapshot from [ftp://ftp.suse.com/pub/projects/alsa/snapshot/driver/ here].<br />
* Unpack and run:<br />
./configure --with-debug=detect<br />
make<br />
make install<br />
/etc/init.d/alsasound stop<br />
/etc/init.d/alsasound start<br />
* You may need to modify the last two lines for your distro (or just restart if you're lazy...)<br />
<br />
This patch is in the git kernel and won't be committed until 2.6.26, so this is your only option for a good while.<br />
<br />
===Camera===<br />
<br />
If you build the Linux UVC drivers from SVN, the cam gets recognized:<br />
<br />
Linux video capture interface: v2.00<br />
uvcvideo: Found UVC 1.00 device <unnamed> (17ef:4807)<br />
input: UVC Camera (17ef:4807) as /class/input/input9<br />
usbcore: registered new interface driver uvcvideo<br />
USB Video Class driver (SVN r205)<br />
<br />
I didn't try to get any images from it, yet.<br />
<br />
In order to build latest uvc driver:<br />
svn checkout svn://svn.berlios.de/linux-uvc/linux-uvc/trunk<br />
cd trunk<br />
make<br />
make install<br />
rmmod uvcvideo<br />
modprobe uvcvideo<br />
<br />
You'll want to use a newer version of gstreamer as well ( > 0.10.15)<br />
<br />
===Some interesting facts===<br />
<br />
# lspci <br />
00:00.0 Host bridge: Intel Corporation Mobile Memory Controller Hub (rev 0c)<br />
00:02.0 VGA compatible controller: Intel Corporation Mobile Integrated Graphics Controller (rev 0c)<br />
00:02.1 Display controller: Intel Corporation Mobile Integrated Graphics Controller (rev 0c)<br />
00:19.0 Ethernet controller: Intel Corporation Unknown device 1049 (rev 03)<br />
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #4 (rev 03)<br />
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #5 (rev 03)<br />
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI #2 (rev 03)<br />
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)<br />
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)<br />
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)<br />
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)<br />
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #1 (rev 03)<br />
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #2 (rev 03)<br />
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #3 (rev 03)<br />
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI #1 (rev 03)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)<br />
00:1f.0 ISA bridge: Intel Corporation Mobile LPC Interface Controller (rev 03)<br />
00:1f.1 IDE interface: Intel Corporation Mobile IDE Controller (rev 03)<br />
00:1f.2 SATA controller: Intel Corporation Mobile SATA AHCI Controller (rev 03)<br />
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)<br />
03:00.0 Network controller: Intel Corporation Unknown device 4230 (rev 61)<br />
<br />
# lsusb <br />
Bus 007 Device 001: ID 1d6b:0001 <br />
Bus 006 Device 001: ID 1d6b:0001 <br />
Bus 005 Device 001: ID 1d6b:0001 <br />
Bus 004 Device 001: ID 1d6b:0001 <br />
Bus 003 Device 002: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader<br />
Bus 003 Device 001: ID 1d6b:0001 <br />
Bus 002 Device 002: ID 17ef:4807 <br />
Bus 002 Device 001: ID 1d6b:0002 <br />
Bus 001 Device 001: ID 1d6b:0002 <br />
<br />
# cat /proc/cpuinfo (at 800 Mhz)<br />
processor : 0<br />
vendor_id : GenuineIntel<br />
cpu family : 6<br />
model : 15<br />
model name : Intel(R) Core(TM)2 Duo CPU L7100 @ 1.20GHz<br />
stepping : 11<br />
cpu MHz : 800.000<br />
cache size : 4096 KB<br />
physical id : 0<br />
siblings : 2<br />
core id : 0<br />
cpu cores : 2<br />
fdiv_bug : no<br />
hlt_bug : no<br />
f00f_bug : no<br />
coma_bug : no<br />
fpu : yes<br />
fpu_exception : yes<br />
cpuid level : 10<br />
wp : yes<br />
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm ida<br />
bogomips : 2421.98<br />
clflush size : 64<br />
<br />
processor : 1<br />
vendor_id : GenuineIntel<br />
cpu family : 6<br />
model : 15<br />
model name : Intel(R) Core(TM)2 Duo CPU L7100 @ 1.20GHz<br />
stepping : 11<br />
cpu MHz : 800.000<br />
cache size : 4096 KB<br />
physical id : 0<br />
siblings : 2<br />
core id : 1<br />
cpu cores : 2<br />
fdiv_bug : no<br />
hlt_bug : no<br />
f00f_bug : no<br />
coma_bug : no<br />
fpu : yes<br />
fpu_exception : yes<br />
cpuid level : 10<br />
wp : yes<br />
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm ida<br />
bogomips : 2394.01<br />
clflush size : 64<br />
<br />
# cat /proc/scsi/scsi <br />
Attached devices:<br />
Host: scsi0 Channel: 00 Id: 00 Lun: 00<br />
Vendor: ATA Model: SAMSUNG MCCOE64G Rev: PS10<br />
Type: Direct-Access ANSI SCSI revision: 05<br />
Host: scsi3 Channel: 00 Id: 00 Lun: 00<br />
Vendor: MATSHITA Model: DVD-RAM UJ-844 Rev: RC02<br />
Type: CD-ROM ANSI SCSI revision: 05<br />
<br />
# hdparm -t /dev/sda<br />
/dev/sda:<br />
Timing buffered disk reads: 270 MB in 3.01 seconds = 89.74 MB/sec<br />
<br />
==References==<br />
* This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation guides survey (IBM/Lenovo)].</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_Debian_Lenny_on_a_ThinkPad_T61&diff=31520Installing Debian Lenny on a ThinkPad T612007-07-25T18:04:43Z<p>Wehe: added references section and link to TuxMobil</p>
<hr />
<div>== Hardware ==<br />
<br />
ThinkPad T-13G<br />
<br />
== Overview ==<br />
<br />
<br />
== Kernel Configuration ==<br />
* Version: 2.6.22-rc7<br />
<br />
=== SATA Issues ===<br />
Currently, SATA mode is set to "Compatibility" in the BIOS and I'm using the ATA_PIIX driver, which finds both the hard and the cdrom drive. In AHCI mode, the cdrom is not found. I haven't found any information on that, yet.<br />
<br />
=== IRQ Issues ===<br />
Occasionally, I get messages like <br />
<pre><br />
irq 23: nobody cared (try booting with the "irqpoll" option)<br />
[<c>] __report_bad_irq+0x24/0x80<br />
[<c0156b11>] note_interrupt+0x251/0x290<br />
[<c0155d65>] handle_IRQ_event+0x25/0x50<br />
[<c015725b>] handle_fasteoi_irq+0xbb/0xf0<br />
[<c0106bfb>] do_IRQ+0x3b/0x70<br />
[<c0104b53>] common_interrupt+0x23/0x28<br />
[<f>] acpi_processor_idle+0x21e/0x3e2 [processor]<br />
[<f>] acpi_processor_idle+0x0/0x3e2 [processor]<br />
[<c>] cpu_idle+0x84/0xe0<br />
[<c0387a3f>] start_kernel+0x2ef/0x370<br />
[<c03871f0>] unknown_bootoption+0x0/0x260<br />
=======================<br />
handlers:<br />
[<f888b530>] (usb_hcd_irq+0x0/0x60 [usbcore])<br />
Disabling IRQ #23<br />
</pre><br />
<br />
Unfortunately, adding irqpoll to the boot command line only leads to frequent losses of Ethernet connectivity. <br />
<br />
==== Temporary Workaround ====<br />
When the message appears, USB devices will start to behave weird (USB keyboards & mice lag etc). Unloading and loading ehci-hcd fixes this problem, for now.<br />
<br />
==== Temporary Workaround 2 ====<br />
Adding noirqdebug to the kernel commandline at least removes the messages. Let's hope for a BIOS update from Lenovo.<br />
<br />
=== Custom Patches ===<br />
None so far.<br />
<br />
<br />
== Sound: AD1984 ==<br />
I checked out both alsa-driver and alsa-kernel from the repositories ([http://www.alsa-project.org/download.php]) and built the modules for my kernel. After installation, sound (both headphone jack & internal speakers) works just fine. Haven't checked the MIC yet.<br />
<br />
== Graphics: NVidia Quadro NVS 140M ==<br />
* Driver: nvidia<br />
* Version: 100.14.11<br />
<br />
The Debian packages work just fine. There seem to be some (known) issues with framebuffers console. OpenGL applications and games work just fine, Darwinia ([http://darwinia.co.uk Darwinia] and Defcon ([http://www.everybody-dies.com]) run smoothly at 1440x900. <br />
<br />
<br />
<br />
=== Problems ===<br />
With 100.14.09 and RenderAccel/Compositing, I occasionally got hard locks after a couple of minutes, not even SysRq can reboot the machine. Only the NumLock LED is blinking, and no suspicious entries are in the logs. With 100.14.11 and no RenderAccel, the lockups are less frequently. I'm still trying to figure out which configuration makes them go away. <br />
<br />
* I've tried to pci=nommcconf on the kernel commandline, didn't help. <br />
<br />
<br />
== WiFi: Intel 4965AGN ==<br />
* Driver: iwlwifi<br />
* Version: 0.0.34<br />
<br />
Since mac80211 is already a part of 2.6.22, only the [http://intellinuxwireless.org/?p=iwlwifi iwlwifi module] needs to be compiled. Following the instructions in the source package was sufficient. The module loads & finds some hardware and I can successfully scan for networks. Connecting to our local WiFi access point using WPA works just fine.<br />
<br />
== Bluetooth ==<br />
My Logitech Bluetooth mouse works.<br />
<br />
== Fingerprint Sensor ==<br />
Works with [http://thinkfinger.sourceforge.net ThinkFinger].<br />
<br />
==References==<br />
* This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation guides survey (IBM/Lenovo)].<br />
<br />
<br />
{{T61}}</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_7.10_(Gutsy_Gibbon)_Tribe_3_on_a_ThinkPad_T61&diff=31519Installing Ubuntu 7.10 (Gutsy Gibbon) Tribe 3 on a ThinkPad T612007-07-25T18:03:01Z<p>Wehe: added references section and link to TuxMobil</p>
<hr />
<div>===Opening Notes:===<br />
<br />
1) This is written for Tribe 3, as development moves forward many of the items listed here will (hopefully) no longer be necessary or no longer apply.<br />
<br />
2) Use the Alternative Installer, the Desktop installer installs but fails to boot<br />
<br />
3) While Gutsy has been relatively stable lately if you are looking for stability stay with Feisty.<br />
<br />
<br />
<br />
===Hard Disk Controller===<br />
When the system boots hit F1 to enter the Bios, select Config->Serial ATA (SATA) and set the SATA Controller mode option to "Compatibility".<br />
<br />
<br />
<br />
===Video:===<br />
<br />
====Intel:====<br />
Must install using the alternate CD or the regular CD and hit F4 to change VGA settings to 1024x768x32 and use regular install.<br />
<br />
Starting with Tribe 3 on the T61, Ubuntu defaults to using the Intel driver.<br />
<br />
====Nvidia:====<br />
<br />
As of July 10th the latest nv 2D driver was released that supports the 140m in the T61 and this driver is in Tribe3.<br />
<br />
If you would like 3D acceleration then you must download and install the proprietary drivers from Nvidia here:<br />
http://www.nvidia.com/object/unix.html<br />
<br />
To install these drivers:<br />
<br />
1) install build-essentials from Synaptic<br />
<br />
2) Download the drivers from the link above to your home directory<br />
<br />
3) When the download completes hit Ctrl-ALT-F1 to drop to a console. <br />
<br />
4) Login and type:<br />
<br />
{{cmdroot|sudo /etc/init.d/gdm stop}}<br />
<br />
{{cmdroot|sudo sh NVIDIA-Linux-x86-100.14.11-pkg1.run}} <br />
<br />
If the file you download is newer that 100.14.11 make sure you modify the command appropriately<br />
<br />
When asked permit the installer to modify your xorg.conf<br />
<br />
Reboot: <br />
{{cmdroot|sudo shutdown -r now}}<br />
<br />
{{NOTE|With each new Kernel release this process must be repeated except you should tell the installer to not update xorg.conf}}<br />
<br />
===Wireless:===<br />
<br />
The Atheros card should be supported by the drivers built into Gutsy.<br />
<br />
{{HELP|Can someone with an Atheros card confirm this?}}<br />
<br />
The Intel a/b/g/n (IPW4965) card requires the iwlwifi drivers from Intel:<br />
<br />
{{NOTE|As the release process moves forward the Kernel will be updated so make sure to update the paths below}}<br />
<br />
{{NOTE|With each new Kernel release this process must be repeated}}<br />
<br />
Install the necessary prerequisites and get the directories symlinked right.<br />
<br />
sudo apt-get install build-essential linux-headers-`uname -r`<br />
sudo ln -s /usr/src/linux-headers-`uname -r` /lib/modules/`uname -r`/source<br />
<br />
Download and install the latest mac80211 from the 8.x.x branch. 8.0.2 is the latest as of this edit. The 9.x.x branch is currently experimental.<br />
<br />
wget http://intellinuxwireless.org/mac80211/downloads/mac80211-8.0.2.tgz<br />
tar -xzf mac80211-8.0.2.tgz<br />
cd mac80211-8.0.2/<br />
sudo make patch_kernel<br />
cd ..<br />
<br />
Download and install the latest iwlwifi from the 0.0.x branch. 0.0.42 is the latest as of this edit. The 0.1.x branch is currently experimental, but is necessary if you need to use 802.11n. These instructions may or may not work if you want to use 0.1.x.<br />
<br />
wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-0.0.42.tgz<br />
tar -xzf iwlwifi-0.0.42.tgz<br />
cd iwlwifi-0.0.42/<br />
make<br />
sudo make install<br />
cd ..<br />
<br />
Download and install the latest 4965 ucode.<br />
<br />
wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-4965-ucode-4.44.17.tgz<br />
tar -xzf iwlwifi-4965-ucode-4.44.17.tgz<br />
cd iwlwifi-4965-ucode-4.44.17/<br />
sudo cp iwlwifi-4965.ucode /lib/firmware/`uname -r`<br />
<br />
Make sure the hardware wifi switch is on before doing this.<br />
<br />
sudo modprobe iwl4965<br />
<br />
After that, you should simply be able to connect to wireless networks using Gnome's network manager.<br />
<br />
<br />
<br />
===Audio:===<br />
<br />
Audio does not work out of the box, download and install the latest version of Alsa from CVS using the instructions here:<br />
http://alsa.opensrc.org/index.php/Quick_Install<br />
<br />
==References==<br />
* This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation guides survey (IBM/Lenovo)].<br />
<br />
<br />
{{T61}}</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_Novell_SLED_10sp1_on_a_Thinkpad_T61&diff=31518Installing Novell SLED 10sp1 on a Thinkpad T612007-07-25T17:35:03Z<p>Wehe: added references section and link to TuxMobil</p>
<hr />
<div>===Opening Notes:===<br />
<br />
1) Initial attempts for SLED 10 Non-SP1 had extreme lack of hardware support for the new chipset and devices in the T61.<br />
<br />
2) System appears to be stable as a rock, but at this time I am unable to get sound and wi-fi to function.<br />
<br />
===Hard Disk Controller===<br />
When the system boots hit F1 to enter the Bios, select Config->Serial ATA (SATA) and set the SATA Controller mode option to "Compatibility".<br />
<br />
===Video:===<br />
<br />
====Intel:====<br />
I have no idea how the Intel video works as to I have the NVidia NVS140M card.<br />
<br />
====Nvidia:====<br />
<br />
Install latest NVidia driver, at time of writing 100.14.11. If installed properly full 3d rendering works, as well as compiz/beryl. Currently getting 40-100fps in WoW.<br />
<br />
{{cmdroot|sudo sh NVIDIA-Linux-x86-100.14.11-pkg1.run}} <br />
<br />
If the file you download is newer that 100.14.11 make sure you modify the command appropriately<br />
<br />
Reboot: <br />
{{cmdroot|sudo shutdown -r now}}<br />
<br />
After Rebooting Gnome should start normally<br />
<br />
{{NOTE|With each new Kernel release this process must be repeated}}<br />
<br />
===Network:===<br />
<br />
Integrated 10/100/1000 Intel Supported out of the box, no changes/tweaks necessary<br />
<br />
===Wireless:===<br />
The IBM chip works great - else you must resort to the intel drivers from their site.<br />
<br />
===FireWire / USB2.0:===<br />
<br />
IEEE1394 Mini Firewire jack on front of machine seems to mount removable hard drives just fine thru Gnome w/o additional config.<br />
Hot-Plug for USB2 storage devices do not seem to work however. If you reboot you can get them to mount.<br />
<br />
===Audio:===<br />
<br />
Build alsa-driver from the hg source, the issue is actually a mixer issue, but unfortunately the patch has not found its way downstream yet.<br />
<br />
==References==<br />
* This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation guides survey (IBM/Lenovo)].<br />
<br />
{{T61}}</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_T60&diff=31402Installing Fedora 7 on a ThinkPad T602007-07-20T09:21:41Z<p>Wehe: /* Thanks */ added references section and link to TuxMobil</p>
<hr />
<div>Created by: [[User:spot|TomCallaway]] 09:45, March 20, 2007<br />
<br />
===Abstract===<br />
<br />
This article describes how I got Fedora 7 installed on my IBM/Lenovo ThinkPad T60. Now, I know that Fedora 7 isn't out yet, so this information is specific to the test releases. When Fedora 7 comes out, I'll update this page to reflect any changes.<br />
<br />
===My ThinkPad===<br />
<br />
These are the specifications of my machine. <br />
<br />
* Lenovo ThinkPad T60 (6369-CTO)<br />
* [[Intel Core 2 Duo (Merom)]] T7200 @ 2.00GHz<br />
* [[Intel Graphics Media Accelerator 950]]<br />
* [[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Gigabit Ethernet Controller]]<br />
* [[Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter]]<br />
* Integrated Bluetooth.<br />
* [[Integrated Fingerprint Reader]]<br />
* 100 GB - Serial ATA-150 Hard Drive.<br />
* 15.4" TFT display with 1680x1050 resolution (widescreen)<br />
* Intel 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
<br />
===What Works?===<br />
<br />
* Fedora<br />
* Most of the function keys, except the ones mentioned below<br />
* The fingerprint reader.<br />
* Video, 2D and 3D.<br />
* Brightness, Volume and Mute with OSD (On-Screen Display).<br />
* ThinkLight, TrackPoint II and the touchpad.<br />
* Bluetooth<br />
* Infrared<br />
* Suspend<br />
<br />
===What Doesn't Work? (Known Issues)===<br />
<br />
* Modem<br />
* Hibernate<br />
<br />
===Kernel Drivers===<br />
<br />
The laptop uses the following hardware specific kernel drivers:<br />
<br />
* iwlwifi (wireless)<br />
* e1000 (ethernet)<br />
* snd_hda_intel (sound)<br />
* nsc_ircc (infrared)<br />
<br />
===Installing Fedora===<br />
<br />
I really have no interest in dual-booting my laptop. There are plenty of good guides to setting up a computer for dual-boot on the internet. I burned a copy of the FC 6.91 DVD iso, booted off of it, and told the installer to delete all existing partitions. The install went off without a hitch. After installation, I ran yum update, and rebooted into the new kernel.<br />
<br />
===Post Install===<br />
The Fedora repositories have some useful packages for ThinkPads. After I installed the OS, I used yum to install the following packages:<br />
<br />
* thinkfinger: Support for the Fingerprint Reader<br />
* tpb: ThinkPad button support utility and onscreen display<br />
* beryl-gnome: Eyecandy!<br />
* iwlwifi-firmware: The firmware for the new intel wireless driver<br />
* xbindkeys: A utility to help us bind the "special" thinkpad keys<br />
* xorg-x11-drv-i810: Driver for the Intel Graphics Chipsets<br />
<br />
===Wireless LAN===<br />
The latest Fedora 7 kernels include a new driver for the Intel 3945 chipset, called iwlwifi. This driver works, but it is a bit new, so you must be patient with it. If you didn't install the iwlwifi-firmware package, do so now. The kernel should have detected the wireless device, and configured iwlwifi for you.<br />
<br />
Step 1: Turn on the radio<br />
Make sure the switch on the front is pushed to the right (you should be able to see green on the left). Then, as root, run:<br />
<br />
: {{cmdroot| /sbin/ifconfig wlan0 up}}<br />
<br />
Step 2: Scan for access points<br />
Even if you know the ESSID, the iwlwifi driver needs to also be told the frequency and access point that you want to connect to. Hopefully, this will be fixed in a later revision of the driver.<br />
<br />
As root, run:<br />
: {{cmdroot| /sbin/iwlist wlan0 scanning}}<br />
<br />
You should see something like:<br />
<br />
<pre><br />
Cell 03 - Address: 00:01:02:03:04:05<br />
ESSID:"freewifi"<br />
Mode:Master<br />
Frequency:2.462 GHz<br />
Signal level=-80 dBm <br />
Encryption key:on<br />
Extra:tsf=000000deadb33fabc<br />
Extra:bcn_int=100<br />
Extra:rssi=-80<br />
Extra:capab=0x0411<br />
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s<br />
</pre><br />
<br />
Assuming that's the AP we want to connect to, note the Frequency, Address, and ESSID.<br />
<br />
Step 3: Tell wlan0 about our AP<br />
Now, we just need to configure wlan0 to find our AP:<br />
As root, run:<br />
<br />
: {{cmdroot| /sbin/iwconfig wlan0 freq 2.462G}}<br />
: {{cmdroot| /sbin/iwconfig wlan0 ap 00:01:02:03:04:05}}<br />
: {{cmdroot| /sbin/iwconfig wlan0 essid "freewifi"}}<br />
<br />
Step 4: Get an IP Address<br />
Assuming the wireless network is DHCP, as root, run:<br />
<br />
: {{cmdroot| /sbin/dhclient wlan0}}<br />
<br />
Now your wireless is up and running!<br />
(Note: Your mileage may vary. There are lots of bug reports against iwlwifi. Maybe it is only a problem with NetworkManager, but my experience is that Fedora 7 test 4 (6.93) has unworkable wifi out of the box, at least on a T60p with an ipw3945.)<br />
As of 15 June 2007, NetworkManager still doesn't work very well with the iwlwifi device.<br />
There is a discussion on this on the fedora test list, starting with<br />
https://www.redhat.com/archives/fedora-test-list/2007-April/msg00539.html<br />
<br />
===Bluetooth===<br />
Bluetooth works out of the box, but Gnome GUI only provides limited functionality (like Obex file transfers).<br />
To configure bluetooth serial ports (those are used to connect to internet via Your bluetooth enabled mobile phone, to use bluetooth GPS devices etc), You have to manually tweak {{path|/etc/bluetooth/rfcomm.conf}} file.<br />
<br />
At first run:<br />
: {{cmduser| hcitool scan}}<br />
<br />
The output should be something like<br />
<pre><br />
Scanning ...<br />
00:0A:D9:ED:89:4E Anttix P900<br />
</pre><br />
<br />
Note the MAC address of Your phone, then run:<br />
: {{cmduser| sdptool browse MAC_ADDRESS_OF_YOUR_PHONE}}<br />
<br />
Find modem channel by looking for an entry like this:<br />
<pre><br />
Service Name: Dial-up Networking<br />
Service Description: Dial-up Networking<br />
Service Provider: Sony Ericsson<br />
Service RecHandle: 0x10001<br />
Service Class ID List:<br />
"Dialup Networking" (0x1103)<br />
Protocol Descriptor List:<br />
"L2CAP" (0x0100)<br />
"RFCOMM" (0x0003)<br />
Channel: 7<br />
Language Base Attr List:<br />
code_ISO639: 0x656e<br />
encoding: 0x6a<br />
base_offset: 0x100<br />
Profile Descriptor List:<br />
"Dialup Networking" (0x1103)<br />
Version: 0x0100<br />
</pre><br />
<br />
Now edit {{path|/etc/bluetooth/rfcomm.conf}}.<br />
Uncomment the lines for rfcomm0 and replace MAC and channel numbers with the ones from Your phone.<br />
Also make sure to turn on automatic binding on startup.<br />
The final config will look like this:<br />
<pre><br />
rfcomm0 {<br />
# Automatically bind the device at startup<br />
bind yes;<br />
<br />
# Bluetooth address of the device<br />
device 00:0A:D9:ED:89:4E;<br />
<br />
# RFCOMM channel for the connection<br />
channel 7;<br />
<br />
# Description of the connection<br />
comment "My GSM Dialup Networking";<br />
}<br />
</pre><br />
<br />
Restart bluetooth subsystem:<br />
<br />
{{cmdroot|service bluetooth restart}}<br />
<br />
Now run network configuration tool, add a new modem to device {{path|/dev/rfcomm0}} and configure an internet connection as usual. The phone number depends on Your phone make, but most of the time it's <code>*99#</code>. You might also need to add additional modem initialization string <code>AT+cgdcont=1,"IP","internet",,0,0</code> to configure Your GPRS service name.<br />
<br />
Make sure that Gnome bluetooth applet is running. If not, run it by typing bluetooth-applet.<br />
<br />
Activate the connection. You should be prompted for PIN by both: the phone and the applet. Enter the same number on both sides to pair the connection.<br />
<br />
===Infrared===<br />
T60 has an NSC FIR chip. The driver needs to know a Dongle ID so it must be manually configured.<br />
<br />
Edit {{path|/etc/modprobe.conf}}, add the following two lines:<br />
<pre><br />
alias irda0 nsc-ircc<br />
options nsc-ircc dongle_id=0x09<br />
</pre><br />
<br />
Edit {{path|/etc/sysconfig/irda}}:<br />
<pre><br />
IRDA=yes<br />
DEVICE=irda0<br />
DISCOVERY=yes<br />
</pre><br />
<br />
Start IRDA<br />
<br />
{{cmdroot|service irda start}}<br />
<br />
If You want IRDA to be enabled during system boot, turn it on like this:<br />
<br />
{{cmdroot|chkconfig irda on}}<br />
<br />
===Getting the ThinkVantage Buttons to work===<br />
<br />
Fedora does not recognize all the ThinkVantage buttons correctly by default. This can be fixed quite easily. Just edit /etc/X11/Xmodmap.<br />
<br />
Then paste the following in the file:<br />
<br />
<pre><br />
keycode 234 = XF86Back<br />
keycode 233 = XF86Forward<br />
keycode 159 = XF86Start<br />
keycode 162 = XF86AudioPlay<br />
keycode 164 = XF86AudioStop<br />
keycode 153 = XF86AudioNext<br />
keycode 144 = XF86AudioPrev<br />
keycode 227 = XF86LaunchF<br />
keycode 249 = XF86ZoomIn<br />
</pre><br />
<br />
Save and close the file, then logout and back in again. You can now assign the buttons to do anything you want. For example, use the Back and Forward buttons (next the cursor keys) to flip desktops using the cube effect in Beryl (set this using the Beryl settings manager). You can set most of the other keys using Gnome vis System - Preferences - Keyboard Shortcuts.<br />
<br />
For the ThinkVantage and Zoom buttons, I used xbindkeys. Open a terminal and type:<br />
<br />
: {{cmduser| xbindkeys --defaults > ~/.xbindkeysrc}}<br />
: {{cmduser| xbindkeys-config}}<br />
<br />
Click "New" and assign a remark to the new shortcut. Then press "Grab" and press the combination you want (ex: The ThinkVantage button). You can then set the action you want executed in the "Action" field. <br />
<br />
=== Video Drivers ===<br />
<br />
====Intel Graphics Media Accelerator 950 (GMA950)====<br />
Since the Fedora installer didn't detect the graphics device properly, it uses the Vesa driver. Which works, but that's not really what we want to use. After installing the xorg-x11-drv-i810 package, I edited the /etc/X11/xorg.conf, and changed the driver from "vesa" to "intel". Then, restart X. That's it.<br />
<br />
====ATI Mobility Radeon X1300 (M52) & X1400 (M54)====<br />
At this moment, ATI's drivers do not work with Fedora 7 because they can't handle the xorg version there. A fix might be available sometime in June 2007.<br />
<br />
===The Fingerprint Reader===<br />
<br />
Thanks to the efforts of the ThinkFinger guys, the fingerprint reader works very well in Linux using entirely Free Software. After installing thinkfinger, you need to edit /etc/pam.d/system-auth as root (be careful!):<br />
<br />
Above the line that reads:<br />
<br />
<pre><br />
auth sufficient pam_unix.so nullok try_first_pass<br />
</pre><br />
<br />
Add a new line that reads:<br />
<br />
<pre><br />
auth sufficient pam_thinkfinger.so<br />
</pre><br />
<br />
So, the auth section of your /etc/pam.d/system-auth file should look like:<br />
<br />
<pre><br />
auth required pam_env.so<br />
auth sufficient pam_thinkfinger.so<br />
auth sufficient pam_unix.so nullok try_first_pass<br />
auth requisite pam_succeed_if.so uid >= 500 quiet<br />
auth required pam_deny.so<br />
</pre><br />
<br />
Save the updated /etc/pam.d/system-auth, then as root, run:<br />
<br />
: {{cmdroot| /usr/sbin/tf-tool --add-user spot}}<br />
<br />
Of course, if your username isn't spot, change it! It will prompt you to swipe your finger over the reader three times.<br />
<br />
Thats it! Now, you can login using either a password or a fingerprint.<br />
<br />
===Beryl - eyecandy===<br />
Beryl is shiny desktop eyecandy. To get it running, you can follow the steps here:<br />
http://wiki.beryl-project.org/wiki/Install/Fedora_Core<br />
<br />
===Suspend===<br />
Create a new file {{path|/etc/rc.modules}} and put the following lines into it:<br />
<pre><br />
# Turn on correct suspend flags for T60<br />
echo 3 > /proc/sys/kernel/acpi_video_flags<br />
</pre><br />
Then make it executable:<br />
<br />
{{cmdroot|chmod 755 /etc/rc.modules}}<br />
<br />
After reboot the machine should suspend and wake up fine.<br />
<br />
NOTE: I have tried the above with FC7 and T60p and still have not gotten suspend to work. It worked out of the box on FC6. I have also added the following lines to the kernel parameters but with no luck. pci=noacpi acpi_sleep=s3_bios,s3_mode.<br />
<br />
===Thanks===<br />
Much credit goes to [[User:Keithvassallo|Keithvassallo]] for his [http://thinkwiki.org/wiki/Installing_Ubuntu_6.10_%28Edgy_Eft%29_on_a_ThinkPad_T60 Installing Ubuntu Edgy Eft on the Thinkpad T60] page.<br />
<br />
==References==<br />
* This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation guides survey (IBM/Lenovo)].<br />
<br />
[[Category:T60]]<br />
[[Category:Fedora]]</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_SUSE_10_on_a_ThinkPad_TransNote&diff=31401Installing SUSE 10 on a ThinkPad TransNote2007-07-20T09:19:37Z<p>Wehe: added references section and link to TuxMobil</p>
<hr />
<div>This page tells about installation of {{SUSE}} on a ThinkPad {{TransNote}}.<br />
{{Todo|Introduction, general installation notes}}<br />
<br />
==TPB==<br />
The <tt>nvram</tt> module doesn't get loaded by default. To make the <tt>nvram</tt> module load at boot time, edit the {{path|/etc/sysconfig/kernel}} file to contain this line:<br />
MODULES_LOADED_ON_BOOT="nvram"<br />
<br />
==Power Management==<br />
SUSE 10, like any other SUSE version, uses the <tt>powersaved</tt> daemon for power management.<!-- powersaved attaches itself to [[acpid]] via a file socket, [[acpid]] is only running to forward all events to powersaved. --><br />
<br />
While the basic power management capabilities work out of the box, it gets a bit tricky when you want to enable [[ibm-acpi]] and [[tpb]].<br />
<br />
SUSE 10 comes with a modified Linux kernel 2.6.13, and has the individual ACPI support options compiled as modules. Trying different modules loading orders or including part of the modules into the kernel, didn't help making ibm-acpi work reliably. Hence the conclusion was to try and built a vanilla kernel.<br />
<br />
While doing so, Linux kernel 2.6.14 was used and the ACPI option modules were built into the kernel.<br />
Unpack the kernel source into {{path|/usr/src/}}, relink {{path|/usr/src/linux}} to point to {{path|/usr/src/linux-2.6.14}}. Copy the {{path|.config}} file from the old kernels source dir. Change into the new kernels source dir and configure the kernel to include processor, ac, battery, fan, thermal and button support rather than having it compiled as modules. Compile the kernel and copy the appropriate kernel image to the {{path|/boot}} directory. You need to copy {{path|System.map}} as well. Then edit {{path|/etc/sysconfig/kernel}} and adjust the line:<br />
INITRD_MODULES="piix reiserfs"<br />
After that, recreate the initrd using <tt>mkinitrd</tt>.<br />
There is no need to update your menu.lst file, since the symlinks get adjusted by <tt>mkinitrd</tt>.<br />
{{Todo|This info needs to be more detailed.}}<br />
<br />
*Also make sure that ibm_acpi is never unloaded, since it would cause trouble. In {{path|/etc/sysconfig/powersave/common}} adjust the following line:<br />
ACPI_MODULES_NOT_TO_UNLOAD="ibm_acpi"<br />
<br />
*Powersaved complains about missing cpufreq support on boot. It might be good to switch to userspace frequency scaling. In {{path|/etc/sysconfig/powersave/cpufreq}} adjust the following line:<br />
CPUFREQ_CONTROL="userspace"<br />
<br />
==References==<br />
* This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation guides survey (IBM/Lenovo)].</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_Debian_Etch_on_a_ThinkPad_Z60m&diff=31374Installing Debian Etch on a ThinkPad Z60m2007-07-19T11:44:33Z<p>Wehe: added references section and link to TuxMobil</p>
<hr />
<div>== Special Keys ==<br />
For the powermanagement-keys (Fn + F4, ...) install acpi-support:<br />
<br />
{{cmdroot|apt-get install acpi-support}}<br />
<br />
<br />
For Fn - Arrow-keys I have customized my {{path|~/.xmodmap}}:<br />
<br />
keycode 164 = XF86AudioStop<br />
keycode 162 = XF86AudioPlay<br />
keycode 153 = XF86AudioNext<br />
keycode 144 = XF86AudioPrev<br />
keycode 234 = F19<br />
keycode 233 = F20<br />
<br />
For using the Back/Forward-keys in Firefox go on [http://www.thinkwiki.org/wiki/How_to_get_special_keys_to_work#Firefox here].<br />
<br />
== Wireless Networking ==<br />
<br />
The module for this chip is in kernel mainline (ipw2200). The only showstopper is the missing firmware.<br />
<br />
Get it here: [http://ipw2200.sourceforge.net/firmware.php?fid=7 firmware v3.0]<br />
<br />
Extract it: <br />
<br />
{{cmdroot| tar zxvf ipw2200-fw-3.0.tgz}}<br />
<br />
Move the *.fw files to {{path|/lib/firmware/}}<br />
<br />
{{cmdroot|mv *.fw /lib/firmware/}}<br />
<br />
Reload the module:<br />
<br />
{{cmdroot|rmmod ipw2200 && modprobe ipw2200}}<br />
<br />
== CPU Throttling ==<br />
<br />
Load the kernelmodule:<br />
<br />
{{cmdroot|modprobe speedstep_centrino}}<br />
<br />
Add line "speedstep_centrino" to {{path|/etc/modules}} to load the module on boot.<br />
<br />
Install the throttling-daemon:<br />
<br />
{{cmdroot|apt-get install powernowd}}<br />
<br />
Done.<br />
<br />
<br />
== Active Protection System==<br />
<br />
=== Preparing the kernel ===<br />
<br />
To get the headdisk-parking working you have to build your own kernel with the hdaps_protect-patch applied:<br />
<br />
<br />
Install the prerequisites that we need to compile the new kernel:<br />
<br />
{{cmdroot|apt-get install kernel-package ncurses-dev fakeroot wget bzip2}}<br />
<br />
Get the recent debian-etch-kernel (2.6.18):<br />
<br />
{{cmdroot|apt-get install linux-tree-2.6.18}}<br />
<br />
Go to the sources and unpack them:<br />
<br />
{{cmdroot|cd /usr/src}}<br />
{{cmdroot| tar jxvf linux-source-2.6.18.tar.bz2}}<br />
<br />
As etchs kernel is 2.6.18-4 its propably a good idea to get the hdaps_protect patch for 2.6.18-3:<br />
<br />
{{cmdroot| wget http://www.dresco.co.uk/hdaps/hdaps_protect-2.6.18.3-2.patch}}<br />
<br />
Apply the patch:<br />
<br />
{{cmdroot|cd linux-source-2.6.18/}}<br />
{{cmdroot|patch -p1 < ../hdaps_protect-2.6.18.3-2.patch}}<br />
<br />
Copy the default-config to the sourcetree:<br />
<br />
{{cmdroot|cp /boot/config-2.6.18-4-486 ./.config}}<br />
<br />
Build the kernel & packages:<br />
<br />
{{cmdroot|make-kpkg clean}}<br />
<br />
<code style="white-space: nowrap; color: rgb(73, 89, 136); background-color: white;"># fakeroot make-kpkg --initrd --revision=thinkpad.1.0 kernel_image</code><br />
<br />
Install the new kernel. Grub-menu should be updated automatically.<br />
<br />
<code style="white-space: nowrap; color: rgb(73, 89, 136); background-color: white;"># cd ..</code><br />
<br />
{{cmdroot| dpkg -i linux-image-2.6.18_thinkpad.1.0_i386.deb }}<br />
<br />
Reboot and select the new kernel. Verify with 'uname -a'.<br />
If all things work you can set the new kernel default in {{path|/boot/grub/menu.lst}} with default $entry-number (0..1..2..)<br />
<br />
===Preparing userspace===<br />
<br />
Installing the daemon:<br />
<br />
{{cmdroot|apt-get install hdapsd}}<br />
<br />
To set your harddrive, edit {{path|/etc/default/hdapsd}}:<br />
<br />
# start hdapsd at boottime?<br />
'''START=yes'''<br />
#<br />
# the name of the disk device that hdapsd should monitor.<br />
#<br />
# usually this is 'hda' the primary master or 'sda'<br />
# on SATA ThinkPads.<br />
'''DISK=sda'''<br />
#<br />
# other options to pass to hdapsd.<br />
# the -d and -b options are always passed.<br />
OPTIONS=<br />
<br />
Restart hdapsd:<br />
<br />
{{cmdroot|/etc/init.d/hdapsd restart}}<br />
<br />
You should get something like that in {{path| /var/log/syslog}} when throwing your thinkpad off the table: (No, seriously, shaking it carefully should be sufficient :-) )<br />
<br />
Mar 20 12:25:37 localhost kernel: ata_scsi_issue_protect_fn(): unload support reported by drive..<br />
Mar 20 12:25:37 localhost kernel: scsi_protect_queue(): head parked..<br />
Mar 20 12:25:38 localhost kernel: scsi_unprotect_queue(): No pending I/O, re-enabling power management..<br />
Mar 20 12:25:38 localhost hdapsd[12522]: Tue Mar 20 12:25:: un-parking<br />
<br />
<br />
== Fingerprint-Reader ==<br />
<br />
=== Install userspace-tools ===<br />
I got the fingerprint reader working with the new [http://thinkfinger.sourceforge.net/ ThinkFinger-drivers] (opensource). They are working much better than the closed-source UPEK drivers and don't have this ugly QT-dialog.<br />
<br />
Get some debian-packages from [http://www.rubixlinux.org/debian/thinkfinger/ here] and install them with:<br />
<br />
{{cmdroot| dpkg -i *.deb}}<br />
<br />
=== Enroll your fingers ===<br />
Enroll your fingers with:<br />
<br />
{{cmdroot|tf-tool --add-user <login>}}<br />
<br />
# tf-tool --add-user name<br />
ThinkFinger 0.2.2 (http://thinkfinger.sourceforge.net/)<br />
Copyright (C) 2006, 2007 Timo Hoenig <thoenig@suse.de><br />
Initializing... done.<br />
Please swipe your finger (successful swipes 3/3, failed swipes: 0)... done.<br />
Storing data (/etc/pam_thinkfinger/name.bir)... done.<br />
<br />
=== Configuring PAM to use ThinkFinger ===<br />
Now you can configure pam to use ThinkFinger:<br />
<br />
Open {{path|/etc/pam.d/common-auth}}:<br />
<br />
# /etc/pam.d/common-auth - authentication settings common to all services<br />
#<br />
# This file is included from other service-specific PAM config files,<br />
# and should contain a list of the authentication modules that define<br />
# the central authentication scheme for use on the system<br />
# (e.g., /etc/shadow, LDAP, Kerberos, etc.). The default is to use the<br />
# traditional Unix authentication mechanisms.<br />
#<br />
'''auth sufficient pam_thinkfinger.so'''<br />
auth required pam_unix.so '''try_first_pass'''<br />
<br />
Ready! Works flawlessly with gdm for instance!<br />
Enroll user 'root' to use your fingerprint for 'sudo'.<br />
<br />
== System Information ==<br />
<br />
=== uname -a ===<br />
<br />
Linux phooka 2.6.18 #1 PREEMPT Thu Apr 5 13:09:55 CEST 2007 i686 GNU/Linux<br />
<br />
=== lspci ===<br />
<br />
00:00.0 Host bridge [0600]: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller [8086:2590] (rev 03)<br />
Subsystem: IBM Unknown device [1014:0575]<br />
Flags: bus master, fast devsel, latency 0<br />
Capabilities: [e0] Vendor Specific Information<br />
<br />
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller [8086:2592] (rev 03) (prog-if 00 [VGA])<br />
Subsystem: IBM Unknown device [1014:058c]<br />
Flags: bus master, fast devsel, latency 0, IRQ 11<br />
Memory at a (32-bit, non-prefetchable) [size=512K]<br />
I/O ports at 1800 [size=8]<br />
Memory at c (32-bit, prefetchable) [size=256M]<br />
Memory at a (32-bit, non-prefetchable) [size=256K]<br />
Capabilities: [d0] Power Management version 2<br />
<br />
00:02.1 Display controller [0380]: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller [8086:2792] (rev 03)<br />
Subsystem: IBM Unknown device [1014:058c]<br />
Flags: fast devsel<br />
Memory at (32-bit, non-prefetchable) [disabled] [size=512K]<br />
Capabilities: [d0] Power Management version 2 <br />
<br />
00:1b.0 Audio device [0403]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller [8086:2668] (rev 03)<br />
Subsystem: IBM Unknown device [1014:05b7]<br />
Flags: bus master, fast devsel, latency 0, IRQ 11<br />
Memory at a (64-bit, non-prefetchable) [size=16K]<br />
Capabilities: [50] Power Management version 2<br />
Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-<br />
Capabilities: [70] Express Unknown type IRQ 0<br />
Capabilities: [100] Virtual Channel<br />
Capabilities: [130] Unknown (5) <br />
<br />
00:1c.0 PCI bridge [0604]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 [8086:2660] (rev 03) (prog-if 00 [Normal decode])<br />
Flags: bus master, fast devsel, latency 0<br />
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0<br />
Memory behind bridge: a-a01fffff<br />
Capabilities: [40] Express Root Port (Slot+) IRQ 0<br />
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-<br />
Capabilities: [90] Subsystem: IBM Unknown device [1014:05b8]<br />
Capabilities: [a0] Power Management version 2<br />
Capabilities: [100] Virtual Channel<br />
Capabilities: [180] Unknown (5) <br />
<br />
00:1c.1 PCI bridge [0604]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 [8086:2662] (rev 03) (prog-if 00 [Normal decode])<br />
Flags: bus master, fast devsel, latency 0<br />
Bus: primary=00, secondary=03, subordinate=0a, sec-latency=0<br />
I/O behind bridge: -00003fff<br />
Memory behind bridge: a-a3ffffff<br />
Prefetchable memory behind bridge: 00000000d-00000000d00fffff<br />
Capabilities: [40] Express Root Port (Slot+) IRQ 0<br />
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-<br />
Capabilities: [90] Subsystem: IBM Unknown device [1014:05b8]<br />
Capabilities: [a0] Power Management version 2<br />
Capabilities: [100] Virtual Channel<br />
Capabilities: [180] Unknown (5) <br />
<br />
00:1c.2 PCI bridge [0604]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 3 [8086:2664] (rev 03) (prog-if 00 [Normal decode])<br />
Flags: bus master, fast devsel, latency 0<br />
Bus: primary=00, secondary=0b, subordinate=12, sec-latency=0<br />
I/O behind bridge: -00005fff<br />
Memory behind bridge: a-a5ffffff<br />
Prefetchable memory behind bridge: 00000000b-00000000b01fffff<br />
Capabilities: [40] Express Root Port (Slot+) IRQ 0<br />
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-<br />
Capabilities: [90] Subsystem: IBM Unknown device [1014:05b8]<br />
Capabilities: [a0] Power Management version 2<br />
Capabilities: [100] Virtual Channel<br />
Capabilities: [180] Unknown (5) <br />
<br />
00:1c.3 PCI bridge [0604]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 4 [8086:2666] (rev 03) (prog-if 00 [Normal decode])<br />
Flags: bus master, fast devsel, latency 0<br />
Bus: primary=00, secondary=13, subordinate=13, sec-latency=0<br />
I/O behind bridge: -00007fff<br />
Memory behind bridge: a-a7ffffff<br />
Prefetchable memory behind bridge: 00000000d-00000000d01fffff<br />
Capabilities: [40] Express Root Port (Slot+) IRQ 0<br />
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-<br />
Capabilities: [90] Subsystem: IBM Unknown device [1014:05b8]<br />
Capabilities: [a0] Power Management version 2<br />
Capabilities: [100] Virtual Channel<br />
Capabilities: [180] Unknown (5) <br />
<br />
00:1d.0 USB Controller [0c03]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 [8086:2658] (rev 03) (prog-if 00 [UHCI])<br />
Subsystem: IBM Unknown device [1014:0565]<br />
Flags: bus master, medium devsel, latency 0, IRQ 11<br />
I/O ports at 1820 [size=32]<br />
<br />
00:1d.1 USB Controller [0c03]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 [8086:2659] (rev 03) (prog-if 00 [UHCI])<br />
Subsystem: IBM Unknown device [1014:0565]<br />
Flags: bus master, medium devsel, latency 0, IRQ 11<br />
I/O ports at 1840 [size=32] <br />
<br />
00:1d.2 USB Controller [0c03]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 [8086:265a] (rev 03) (prog-if 00 [UHCI])<br />
Subsystem: IBM Unknown device [1014:0565]<br />
Flags: bus master, medium devsel, latency 0, IRQ 11<br />
I/O ports at 1860 [size=32] <br />
<br />
00:1d.3 USB Controller [0c03]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 [8086:265b] (rev 03) (prog-if 00 [UHCI])<br />
Subsystem: IBM Unknown device [1014:0565]<br />
Flags: bus master, medium devsel, latency 0, IRQ 11<br />
I/O ports at 1880 [size=32]<br />
<br />
00:1d.7 USB Controller [0c03]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller [8086:265c] (rev 03) (prog-if 20 [EHCI])<br />
Subsystem: IBM Unknown device [1014:0566]<br />
Flags: bus master, medium devsel, latency 0, IRQ 11<br />
Memory at a (32-bit, non-prefetchable) [size=1K]<br />
Capabilities: [50] Power Management version 2<br />
Capabilities: [58] Debug port <br />
<br />
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev d3) (prog-if 01 [Subtractive decode])<br />
Flags: bus master, fast devsel, latency 0<br />
Bus: primary=00, secondary=14, subordinate=17, sec-latency=64<br />
I/O behind bridge: -0000bfff<br />
Memory behind bridge: a-b00fffff<br />
Prefetchable memory behind bridge: 00000000d-00000000dfffffff<br />
Capabilities: [50] Subsystem: Gammagraphx, Inc. Unknown device [0000:0000]<br />
<br />
00:1f.0 ISA bridge [0601]: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge [8086:2641] (rev 03)<br />
Subsystem: IBM Unknown device [1014:0568]<br />
Flags: bus master, medium devsel, latency 0 <br />
<br />
00:1f.2 IDE interface [0101]: Intel Corporation 82801FBM (ICH6M) SATA Controller [8086:2653] (rev 03) (prog-if 80 [Master])<br />
Subsystem: IBM Unknown device [1014:056a]<br />
Flags: bus master, 66MHz, medium devsel, latency 0<br />
I/O ports at <unassigned><br />
I/O ports at <unassigned><br />
I/O ports at <unassigned><br />
I/O ports at <unassigned><br />
I/O ports at 1810 [size=16]<br />
Capabilities: [70] Power Management version 2 <br />
<br />
00:1f.3 SMBus [0c05]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller [8086:266a] (rev 03)<br />
Subsystem: IBM Unknown device [1014:056b]<br />
Flags: medium devsel, IRQ 11<br />
I/O ports at 18a0 [size=32]<br />
<br />
02:00.0 Ethernet controller [0200]: Broadcom Corporation NetXtreme BCM5751M Gigabit Ethernet PCI Express [14e4:167d] (rev 11)<br />
Subsystem: IBM Unknown device [1014:0577]<br />
Flags: bus master, fast devsel, latency 0, IRQ 11<br />
Memory at a (64-bit, non-prefetchable) [size=64K]<br />
Capabilities: [48] Power Management version 2<br />
Capabilities: [50] Vital Product Data<br />
Capabilities: [58] Message Signalled Interrupts: Mask- 64bit+ Queue=0/3 Enable-<br />
Capabilities: [d0] Express Endpoint IRQ 0<br />
Capabilities: [100] Advanced Error Reporting<br />
Capabilities: [13c] Virtual Channel<br />
<br />
14:00.0 CardBus bridge [0607]: Ricoh Co Ltd RL5c476 II [1180:0476] (rev b3)<br />
Subsystem: IBM Unknown device [1014:056c]<br />
Flags: bus master, medium devsel, latency 64, IRQ 11<br />
Memory at b (32-bit, non-prefetchable) [size=4K]<br />
Bus: primary=14, secondary=15, subordinate=16, sec-latency=176<br />
Memory window 0: d-d9fff000 (prefetchable)<br />
Memory window 1: a-a9fff000 (prefetchable)<br />
I/O window 0: -000080ff<br />
I/O window 1: -000084ff<br />
16-bit legacy interface ports at 0001<br />
<br />
14:00.1 FireWire (IEEE 1394) [0c00]: Ricoh Co Ltd R5C552 IEEE 1394 Controller [1180:0552] (rev 08) (prog-if 10 [OHCI])<br />
Subsystem: IBM ThinkPad A/T/X Series [1014:0511]<br />
Flags: bus master, medium devsel, latency 64, IRQ 11<br />
Memory at b (32-bit, non-prefetchable) [size=2K]<br />
Capabilities: [dc] Power Management version 2<br />
<br />
14:00.2 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter [1180:0822] (rev 17)<br />
Subsystem: IBM Thinkpad Z60m [1014:0598]<br />
Flags: bus master, medium devsel, latency 64, IRQ 11<br />
Memory at b (32-bit, non-prefetchable) [size=256]<br />
Capabilities: [80] Power Management version 2<br />
<br />
14:00.3 System peripheral [0880]: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter [1180:0592] (rev 08)<br />
Subsystem: IBM Unknown device [1014:0596]<br />
Flags: medium devsel, IRQ 11<br />
Memory at b0001c00 (32-bit, non-prefetchable) [size=256]<br />
Capabilities: [80] Power Management version 2<br />
<br />
14:02.0 Network controller [0280]: Intel Corporation PRO/Wireless 2915ABG Network Connection [8086:4224] (rev 05)<br />
Subsystem: Intel Corporation Unknown device [8086:1011]<br />
Flags: bus master, medium devsel, latency 64, IRQ 11<br />
Memory at b (32-bit, non-prefetchable) [size=4K]<br />
Capabilities: [dc] Power Management version 2<br />
<br />
=== lsmod ===<br />
<br />
Module Size Used by<br />
wacom 15168 0 <br />
i915 17344 2 <br />
drm 61140 3 i915<br />
binfmt_misc 10568 1 <br />
ipv6 10 <br />
ieee80211_crypt_ccmp 6784 3 <br />
cpufreq_ondemand 5744 0 <br />
speedstep_centrino 7120 1 <br />
cpufreq_userspace 3860 1 <br />
freq_table 4292 1 speedstep_centrino<br />
ac 5060 0 <br />
battery 9476 0 <br />
ibm_acpi 24320 0 <br />
hdaps 8816 0 <br />
sbp2 20744 0 <br />
ieee1394 86008 1 sbp2<br />
loop 14536 0 <br />
tsdev 7360 0 <br />
joydev 8960 0 <br />
snd_hda_intel 16916 0 <br />
snd_hda_codec 1 snd_hda_intel<br />
ipw2200 93568 0 <br />
snd_pcm_oss 38112 0 <br />
ieee80211 29064 1 ipw2200<br />
ieee80211_crypt 5824 2 ieee80211_crypt_ccmp,ieee80211<br />
snd_mixer_oss 15168 1 snd_pcm_oss<br />
firmware_class 9536 1 ipw2200<br />
snd_pcm 68616 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss<br />
snd_timer 20868 1 snd_pcm<br />
sdhci 16140 0 <br />
mmc_core 22608 1 sdhci<br />
i2c_i801 7308 0 <br />
snd 46564 6 snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer<br />
soundcore 9248 1 snd<br />
i2c_core 19792 1 i2c_i801<br />
psmouse 34568 0 <br />
snd_page_alloc 9480 2 snd_hda_intel,snd_pcm<br />
intel_agp 20892 1 <br />
rtc 12276 0 <br />
evdev 8896 1 <br />
agpgart 29360 3 drm,intel_agp<br />
sg 31068 0 <br />
sr_mod 15716 0 <br />
cdrom 32416 1 sr_mod<br />
ext3 3 <br />
jbd 51816 1 ext3<br />
mbcache 8260 1 ext3<br />
sha256 10944 0 <br />
aes 28032 5 <br />
dm_crypt 10696 1 <br />
dm_mirror 18704 0 <br />
dm_snapshot 15324 0 <br />
dm_mod 49848 12 dm_crypt,dm_mirror,dm_snapshot<br />
ide_generic 1280 0 [permanent]<br />
sd_mod 18896 3 <br />
generic 5316 0 [permanent]<br />
ide_core 2 ide_generic,generic<br />
ata_piix 13384 2 <br />
ahci 17220 0 <br />
libata 90200 2 ata_piix,ahci<br />
scsi_mod 6 sbp2,sg,sr_mod,sd_mod,ahci,libata<br />
tg3 94020 0 <br />
ehci_hcd 27848 0 <br />
uhci_hcd 20876 0 <br />
usbcore 4 wacom,ehci_hcd,uhci_hcd<br />
thermal 13384 0 <br />
processor 23724 2 speedstep_centrino,thermal<br />
fan 4676 0 <br />
<br />
=== /proc/cpuinfo === <br />
<br />
processor : 0<br />
vendor_id : GenuineIntel<br />
cpu family : 6<br />
model : 13<br />
model name : Intel(R) Pentium(R) M processor 1.86GHz<br />
stepping : 8<br />
cpu MHz : 800.000<br />
cache size : 2048 KB<br />
fdiv_bug : no<br />
hlt_bug : no<br />
f00f_bug : no<br />
coma_bug : no<br />
fpu : yes<br />
fpu_exception : yes<br />
cpuid level : 2<br />
wp : yes<br />
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx est tm2<br />
bogomips : 1597.51 <br />
<br />
<br />
=== hdparm -I -tT /dev/sda ===<br />
<br />
/dev/sda:<br />
<br />
ATA device, with non-removable media<br />
Model Number: HTS541080G9SA00 <br />
Serial Number: MPBDL0X6H9KRTM<br />
Firmware Revision: MB4IC60H<br />
Standards:<br />
Used: ATA/ATAPI-7 T13 1532D revision 1 <br />
Supported: 7 6 5 4 <br />
Configuration:<br />
Logical max current<br />
cylinders <br />
heads 16 16<br />
sectors/track 63 63<br />
--<br />
CHS current addressable sectors: <br />
LBA user addressable sectors: <br />
LBA48 user addressable sectors: <br />
device size with M = 1024*1024: 76319 MBytes<br />
device size with M = 1000*1000: 80026 MBytes (80 GB)<br />
Capabilities:<br />
LBA, IORDY(can be disabled)<br />
Standby timer values: spec'd by Vendor, no device specific minimum<br />
R/W multiple sector transfer: Max = 16 Current = 16<br />
Advanced power management level: 128 (0x80)<br />
Recommended acoustic management value: 128, current value: 254<br />
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5 <br />
Cycle time: min=120ns recommended=120ns<br />
PIO: pio0 pio1 pio2 pio3 pio4 <br />
Cycle time: no flow control=240ns IORDY flow control=120ns<br />
Commands/features:<br />
Enabled Supported:<br />
* SMART feature set<br />
Security Mode feature set<br />
* Power Management feature set<br />
* Write cache<br />
* Look-ahead<br />
* Host Protected Area feature set<br />
* WRITE_BUFFER command<br />
* READ_BUFFER command<br />
* NOP cmd<br />
* DOWNLOAD_MICROCODE<br />
* Advanced Power Management feature set<br />
Power-Up In Standby feature set<br />
* SET_FEATURES required to spinup after power up<br />
SET_MAX security extension<br />
Automatic Acoustic Management feature set<br />
* 48-bit Address feature set<br />
* Device Configuration Overlay feature set<br />
* Mandatory FLUSH_CACHE<br />
* FLUSH_CACHE_EXT<br />
* SMART error logging<br />
* SMART self-test<br />
* General Purpose Logging feature set<br />
* WRITE_{DMA|MULTIPLE}_FUA_EXT<br />
* IDLE_IMMEDIATE with UNLOAD<br />
* SATA-I signaling speed (1.5Gb/s)<br />
* Host-initiated interface power management<br />
* Device-initiated interface power management<br />
* Software settings preservation<br />
Security: <br />
Master password revision code = <br />
supported<br />
not enabled<br />
not locked<br />
frozen<br />
not expired: security count<br />
not supported: enhanced erase<br />
52min for SECURITY ERASE UNIT. <br />
Checksum: correct<br />
Timing cached reads: 1140 MB in 2.00 seconds = 569.77 MB/sec<br />
Timing buffered disk reads: 74 MB in 3.07 seconds = 24.13 MB/sec<br />
<br />
==References==<br />
* This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation guides survey (IBM/Lenovo)].<br />
<br />
[[Category:Z60m]][[Category:Debian]]</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_7.04_(Feisty_Fawn)_on_a_ThinkPad_T61&diff=30815Installing Ubuntu 7.04 (Feisty Fawn) on a ThinkPad T612007-06-28T16:24:00Z<p>Wehe: added references section and link to TuxMobil</p>
<hr />
<div>We'll I got it basically working, so far (will update as i get more thing working).<br />
<br />
<br />
===SATA Issues===<br />
At first, the Ubuntu Live CD would not start at all, this seems to be a problem with the SATA AHCI driver. I had to go into the BIOS and change the SATA driver from ACHI to compatibility (What is the difference? Am I loosing performance?).<br />
<br />
<br />
===NVIDIA Quadro NVS 140M (Solved)===<br />
After initial issues like those explained above in the SATA Issues, I received the xorg error 'fatal error: no screens found'. I was able to boot into Safe Graphics Mode and run the installer, though I had to move both window manager bars to see enough of the install window to use it.<br />
<br />
Alternatively, you can download the drivers via wget in a console. Take care to follow the instructions in <br />
[http://www.nvnews.net/vbulletin/showthread.php?t=72490 the NVidia Forum] and uninstall all the packages wit apt-get remove, as descirbed.<br />
Then run the nvidia installer.<br />
<br />
Remember that, after you upgrade the kernel, you also have to re-install the drivers.<br />
<br />
=== Intel Graphics Media Accelerator X3100 (Chipset GM965) (Solved)===<br />
After that the CD seemed to boot but the screen was just garbage [http://shadowarts.nonlogic.org/projects/thinkpad/screen_garbage.jpg Picture]. In order to get around that issue I had to go back and download the Alternate CD, which allows you to install in text only mode. From here, the text-only install went okay. Changing the VGA settings on the regular CD worked for me. <br />
<br />
When I booted up after the installation, I was still getting the same garbage on the screen. To resolve this I edited my [http://shadowarts.nonlogic.org/projects/thinkpad/xorg.conf xorg.conf] file as shown. I also had to install the latest kernel for Feisty, as the one off of the install disk did have have /dev/agpgart. And I could then use X11. There were still some issues however. The screen seemed somewhat fuzzy. This was a little more challenging of a fix... I found [http://www.spinics.net/lists/xorg/msg25099.html this] mailing list posting, according to it, there was a small glitch in the driver. To fix it:<br />
<pre><br />
apt-get source xserver-xorg-video-intel<br />
cd xserver-xorg-video-intel-1.9.94/<br />
vim src/i830_lvds.c<br />
Goto line 230 and delete (PFIT_ENABLE | VERT_AUTSCALE ....);, replacing it with 0; then quit vim<br />
dpkg-buildpackage -rfakeroot -uc -b<br />
cd ..<br />
dpkg -i xserver-xorg-video-intel_1.9.94-lubuntu3_amd64.deb (wont be amd64 with a 32-bit install)<br />
</pre><br />
Now reboot your computer, and it should work. **NOTE: For some reason just restarting X didn't fix it, seems like you must reboot.** At this point you should have a nice, crisp display.<br />
<br />
I am still working on aiglx and compiz (switching desktops on a cube doesnt seem to work, though I have some ideas...). There are some issues with OpenGL apps freezing Xorg as well, but the standard 2D desktop works flawlessly.<br />
<br />
===ThinkFinger===<br />
Ubuntu does not come with a package for thinkfinger. Downloading the most recent source and building it was simple enough: Download most recent version (0.3 at time of writing)<br />
<pre><br />
tar xvzf thinkfinger-0.3.tar.gz<br />
cd thinkfinger-0.3/<br />
./configure --with-securedir=/lib/security --with-birdir=/etc/pam_thinkfinger<br />
make -j5 (hey its dual core!)<br />
sudo make install<br />
</pre><br />
<br />
Configuring it is easy as well, open /etc/pam.d/common-auth:<br />
<pre><br />
auth sufficient pam_thinkfiger.so<br />
auth required pam_unix.so try_first_pass nullok_secure<br />
</pre><br />
<br />
Now just run sudo tf-tool --add-user <username> and it will all be setup. (I found this somewhere on the web, I wish I could give a source but I'm afraid I cant find it, thank you Anonymous!).<br />
<br />
===HDAPS===<br />
This seems to be working fine now, I just follow the step on [How_to_protect_the_harddisk_through_APS]. Using hdaps-gl does the inverse of the accelerometer, though it's not really a big deal, the harddrive protection should still work.<br />
<br />
===Can you hear me now?.... What? (Solved!)===<br />
After upgrading to 1.0.14 I still had no sound, and this took about a week to solved (though it was so sadly obvious though). Just upgrading to alsa 1.0.14 will not be enough, there were a few patches released right after the release that fix the Thinkpad's. The reason I missed this was because it was the same day so the release of 1.0.14!<br />
<br />
Anyway download the source code to the alsa-driver and apply these patches: (links to the revisions)<br />
<br />
* [http://hg.alsa-project.org/alsa-kernel/rev/958b39f3e8dd Fix Oops with AD1984 thinkpad model]<br />
* [http://hg.alsa-project.org/alsa-kernel/rev/47ca87407c84 Fix AD1984 basic model]<br />
* [http://hg.alsa-project.org/alsa-kernel/rev/ca37aeeeb0ea Fix Thinkpad X61/T61 outputs]<br />
<br />
After doing a make and make install reboot your computer (or rrmmod snd-hda-intel && modprobe snd-hda-intel). And run alsamixer (for me it only works as root atm). You will have to play with the settings a bit. Make sure the speaker option is not muted and leave the Internal Mic Boost at 0, other wise you will have a really loud microphone feedback sort of sound constantly.<br />
<br />
I had to chmod -R 777 /dev/snd/ to get everything work for now. (THIS IS NOT THE CORRECT WAY TO DO IT, IT WILL NOT STAY BETWEEN REBOOTS!).<br />
<br />
Audio playback should then work, audio capture (microphone) doesn't seem to work, but I am probably not going to try and fix it, I don't use the capture so I am not concerned with that at the moment.<br />
<br />
==Overall==<br />
I initially had some big problems getting this working, but now its working quite well. The wifi card worked at startup (uses madwifi) and I am happy because I don't seem to need any proprietary software to run this system.<br />
<br />
<br />
=='''QUESTIONS!!!'''==<br />
'''I think these should be in the discussion section. ~ shadowarts'''<br />
<br />
(Sorry if this is not the right way to do this. This page is incredibly helpful, and I just had a few short questions/clarifications.)<br />
<br />
First, did you boot into "Safe Graphics Mode" from LILO or Grub, or from a graphical login screen? My installation hangs right before the login screen, and all of the virtual screens are blank. I can log into a recover mode from Grub to get a shell.<br />
<br />
Second, if you could add a little bit of detail as to how you installed a new kernel, why agpgart is necessary, and even what part GM965 is, that would be awesome :)<br />
<br />
==References==<br />
* This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation guides survey (IBM/Lenovo)].</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_7.04_on_a_ThinkPad_T43&diff=29553Installing Ubuntu 7.04 on a ThinkPad T432007-04-29T14:39:15Z<p>Wehe: /* References */ link to TuxMobil added</p>
<hr />
<div>Installation Log of {{Ubuntu}} 6.06 on a {{T43}}<br />
<br />
__TOC__<br />
<br />
==Overview==<br />
Worked right out of the box<br />
* 1400*1050 resolution<br />
* Battery Management<br />
* Ultra Nav (Trackpoint and synaptic touchpad)<br />
* WLAN (Atheros, IBM 11a/b/g Wireless LAN Mini PCI Adapter II)<br />
* Hibernate and Standby<br />
* Fn keys (switch between monitors untested)<br />
* Audio Keys <br />
* ThinkLight<br />
* ATI 3D Acceleration (Mobility Radeon X300)<br />
* AIGLX / Compiz<br />
<br />
Was easy <br />
* Fingerprint reader<br />
* AIGLX / Beryl<br />
* middle key of Ultra Nav (Trackpoint) for scrolling<br />
* Active Protection System (acceleration sensor)<br />
* Forward/Backward keys, Access IBM Key<br />
<br />
Was very hard<br />
* Active Protection System (hard disk parking needs kernel recompile)<br />
<br />
Untested<br />
* Bluetooth (light indicates working)<br />
* Modem <br />
* IrDA<br />
* TV out, VGA out<br />
<br />
==Installation==<br />
<br />
I just installed Feisty using the graphical installer. {{WARN|Installing grub to the MBR may hurt your Rescue 'n' Recovery Partition!}} If you want to keep you Rescue 'n' Recovery Partition, read [http://gawrysiak.org/corvus/?p=4 this blog entry].<br />
Whatever you do, you should care about Backups etc. yourself. A starting point is given in [[Installing Ubuntu 6.10 on a ThinkPad T43#Installation]]<br />
<br />
The only non-free driver that was activated was atheros for wifi access.<br />
For graphics the free ati/radeon driver was activated, the restricted ati alternative fglrx was installed but not enabled. I did not try it.<br />
<br />
==Configuration==<br />
<br />
<br />
===3D Acceleration and Compiz===<br />
<br />
3D Acceleration and Compiz worked out of the box for me. Just activate it in the system menu under desktop effects. I had some minor issues, but I blame the beta status for that.<br />
To test if 3D Acceleration it works, if you have problems, type<br />
<br />
$ glxinfo | grep rendering<br />
<br />
The answer should be: "direct rendering: Yes". If it says "No", you don't have 3D acceleration.<br />
<br />
===3D Acceleration Beryl===<br />
<br />
I just installed following packages and started beryl-manager. Everything just works out of the box. If you enable compiz effect in the gnome menu you can even swith between beryl, compiz and metacity (no effects) just using the beryl-manager applet.<br />
<br />
sudo apt-get install beryl beryl-core beryl-manager beryl-plugins beryl-plugins-data beryl-settings beryl-settings-bindings<br />
<br />
===Active Protection System (acceleration monitor)===<br />
<br />
The T43 has a great system to protect your hard disk, the Active Protection System APS. [[HDAPS]] and [[How to protect the harddisk through APS]] describe how you can use it.<br />
<br />
Feisty comes with with the accelerometer installed but not activated. To test it activate the kernel module and use a neat program you find in hdaps-utils<br />
<br />
To activate it, type:<br />
<br />
{{cmduser|sudo su}}<br />
{{cmdroot|echo "hdaps" >> /etc/modules}}<br />
{{cmdroot|exit}}<br />
{{cmduser|sudo modprobe hdaps}}<br />
<br />
For a nice 3D show type:<br />
<br />
{{cmduser|sudo apt-get install hdaps-utils}}<br />
{{cmduser|hdaps-gl}}<br />
<br />
Now you can evaluate acceleration of your Laptop. Your hard disk unfortunately still is not protected. To achive this, try the next chapter. <br />
<br />
===Active Protection System (disk protection)===<br />
<br />
{{HINT|This one is a little harder to do and can easily fail. If you want to try it anyway, remember, it might not work. In that case you can always reselect your old kernel in grub when booting. So you'd better not delete the old kernel...}}<br />
<br />
You'll probably need the following packages:<br />
{{cmduser|sudo apt-get install build-essential fakeroot kernel-package libncurses5-dev wget bzip2}}<br />
<br />
Test your kernel version with {{cmduser|uname -r}}<br />
<br />
If you see 2.6.20-15-generic, you can just follow the provided instructions. If you have a different version, adapt this howto to your personal needs. Download the right patch for your kernel version, in my case it was <br />
http://article.gmane.org/gmane.linux.drivers.hdaps.devel/993<br />
You'll find more patches in [[HDAPS#Disk_head_parking]]<br />
<br />
Get the kernel sources and patch them:<br />
<br />
{{cmduser|sudo su}}<br />
{{cmdroot|cd /linux/src}}<br />
{{cmdroot|apt-get install linux-source}}<br />
{{cmdroot|cd linux-source-2.6.20}}<br />
{{cmdroot|patch -p1 -l < /home/silvan/993-001.bin }}<br />
<br />
If you only saw some lines saying "patching line..." and "succeeded...", then everything is fine.<br />
<br />
Now let's build the kernel; if you need help on this look at [http://howtoforge.org/roll_a_kernel_debian_ubuntu_way this] or [http://www.howtoforge.com/kernel_compilation_ubuntu that] howto from howtoforge.<br />
<br />
{{cmdroot|make clean}}<br />
{{cmdroot|make oldconfig}}<br />
{{cmdroot|fakeroot make-kpkg clean}}<br />
# fakeroot make-kpkg --append-to-version=.hdapscustom kernel_image --initrd binary<br />
<br />
This will probably take a very long time, it took me roughly 1:45 hours on my T43. You have to be patient. If it didn't finish with errors, let's now install the newly built kernel. First check the name of our kernel package, and then install at least the image and the header packages. I just installed al like this:<br />
<br />
{{cmdroot|cd /usr/src}}<br />
{{cmdroot|ls -l}}<br />
{{cmdroot|dpkg -i}}<br />
{{cmdroot|dpkg -i linux-headers-2.6.20.3-ubuntu1.hdapscustom_2.6.20.3-ubuntu1.hdapscustom-10.00.Custom_i386.deb}}<br />
{{cmdroot|dpkg -i linux-doc-2.6.20.3-ubuntu1.hdapscustom_2.6.20.3-ubuntu1.hdapscustom-10.00.Custom_all.deb }}<br />
{{cmdroot|dpkg -i linux-image-2.6.20.3-ubuntu1.hdapscustom_2.6.20.3-ubuntu1.hdapscustom-10.00.Custom_i386.deb}}<br />
{{cmdroot|dpkg -i linux-manual-2.6.20.3-ubuntu1.hdapscustom_2.6.20.3-ubuntu1.hdapscustom-10.00.Custom_all.deb }}<br />
{{cmdroot|dpkg -i linux-source-2.6.20.3-ubuntu1.hdapscustom_2.6.20.3-ubuntu1.hdapscustom-10.00.Custom_all.deb}}<br />
<br />
And let's not forget to leave the super user shell<br />
<br />
{{cmdroot|exit}}<br />
<br />
Now is the time to reboot and to test if everything went fine ;-) Verify with {{cmduser|uname -a}} if you booted the right kernel. If you want you can decide which kernel should be booted by default in /boot/grub/menu.lst selecting the number of the boot entry in the line after 'default'.<br />
<br />
Check the output of<br />
<br />
$ dmesg | grep hdaps<br />
<br />
In my case the new kernel printed nothing, the old kernel printed:<br />
<br />
{{cmdresult|hdaps: IBM ThinkPad T43 detected.}}<br />
{{cmdresult|hdaps: initial latch check good (0x01).}}<br />
{{cmdresult|hdaps: device successfully initialized.}}<br />
{{cmdresult|input: hdaps as /class/input/input4}}<br />
{{cmdresult|hdaps: driver successfully loaded.}}<br />
<br />
Next step is to install hdapsd, the daemon, that actually stops the hard disk. Get the latest user space daemon [http://www.zen24593.zen.co.uk/hdaps/ hdapsd]. Compile and install it using<br />
<br />
{{cmduser|gcc -o hdapsd hdapsd-*.c}}<br />
{{cmduser|sudo cp hdapsd /usr/local/sbin/}}<br />
<br />
Start hdapsd using {{cmduser|hdapsd -d sda -s 15}}<br />
<br />
{{HELP|What is the best way to start the userspace daemon automatically at boot time?}}<br />
<br />
If you move your Laptop you should now see the console printing messages if the disk is parked or not.<br />
{{HELP|It didn't work for me: hdapsd only starts with sudo. Without it says "open(protect_file): Permission denied". The output of sudo hdapsd is saying parking/un-parking, but with a lot of "open: No such file or directory" in between. Any help is appreciated!}}<br />
<br />
$ dmesg | grep protect<br />
<br />
should confirm this. If the output says something like {{cmdresult|unload support NOT reported..}} and {{cmdresult|head park not requested, used standby!..}}, have a look at http://thinkwiki.org/wiki/Problem_with_APS_harddisk_parking and examine if your drive might have problems with the disk protection.<br />
<br />
A useful gimmick is the gnome-hdaps-applet showing the current disk protection state in the panel. KDE users look at [http://www.kde-apps.org/content/show.php?content=34134 khdapsmonitor] for an alternative. To install gnome-hdaps-applet, do the following: <br />
<br />
{{cmduser|mkdir gnome-hdaps-applet}}<br />
{{cmduser|cd gnome-hdaps-applet}}<br />
{{cmduser|wget http://www.zen24593.zen.co.uk/hdaps/gnome-hdaps-applet-20060120.tar.gz}}<br />
{{cmduser|tar -xzf gnome-hdaps-applet-20060120.tar.gz}}<br />
{{cmduser|sudo apt-get install libpanel-applet2-dev}}<br />
{{cmduser|gcc $(pkg-config --cflags --libs libpanelapplet-2.0) -o gnome-hdaps-applet gnome-hdaps-applet.c}}<br />
{{cmduser|sudo install gnome-hdaps-applet /usr/bin/}}<br />
{{cmduser|sudo mkdir /usr/share/pixmaps/gnome-hdaps-applet/}}<br />
{{cmduser|sudo cp *.png /usr/share/pixmaps/gnome-hdaps-applet/}}<br />
{{cmduser|sudo cp GNOME_HDAPS_StatusApplet.server /usr/lib/bonobo/servers/}}<br />
<br />
Afterwards add the applet to your panel manually. Be sure to see the play/pause sign switching when moving your laptop :-)<br />
<br />
<br />
{{HELP|The applet always shows the play sign, never the pause sign. I think this the same problem like the hdapsd-sudo problem}}<br />
<br />
{{HELP|Everything seems to work fine with the patched kernel - unless wifi. Ubuntu doesn't find my wireless device anymore. Probably this is because my Atheros card needs restricted modules. Find more infos on http://madwifi.org/wiki/ on compiling Atheros wifi modules. Maybe the kernel compile goal modules or modules_image could help. Could please someone detail the preferred way to handle this?}}<br />
<br />
More information can be found on [[How to protect the harddisk through APS]] or [[Installing_Ubuntu_6.06_on_a_ThinkPad_T43#Active_Protection_System]] or [http://ubuntuforums.org/showthread.php?t=122863 Howto for edgy].<br />
If you speak italian (unfortuately my level is really, really poor), [http://www.ismprofessional.net/pascucci/documenti/z60t/ar01s05.html Fedora on z60t] might be of use to you. Maybe even somebody would find the time to translate and adopt this fedora howto to english and ubuntu?<br />
<br />
===Track Point Middle Key Scrolling===<br />
<br />
In my case the track point worked out of the box, but the middle mouse button for scrolling did not. [[How to configure the TrackPoint]] explains how to solve this. The steps you need to follow are in section "Using the X server (kernel 2.6.11+)".<br />
However you don't need to follow the steps in "EmulateWheelTimeout temporarily broken (-> fix for Ubuntu Dapper)" as this is fixed already if you have all your packages up-to-date.<br />
<br />
Follow the instructions in the sections "Configure firefox for using trackpoint horizontal scrolling" and "Configure Opera for using trackpoint horizontal scrolling" as well, if you are using one of the two browsers.<br />
<br />
If Firefox is scrolling into wrong directions, look at [[Talk:How_to_configure_the_TrackPoint#TrackPoint_scrolling_inverted_in_Firefox]].<br />
<br />
===Fingerprint Reader===<br />
<br />
[[How to enable the fingerprint reader]] has a good explanation for a very complicated way of activating your fingerprint reader using a restricted driver.<br />
<br />
An alternative to this is available at [http://thinkfinger.sourceforge.net]:<br />
[[How to enable the fingerprint reader with ThinkFinger]] provides more details.<br />
<br />
===Spezial keys ===<br />
<br />
If the following standard settings are not enough for you, you'll find more info here: [[How to get special keys to work]]<br />
<br />
===={{ibmkey|Access IBM|#495988}} to start application====<br />
The {{ibmkey|Access IBM|#495988}} works out of the box. Just go to your shortcut configuration dialog and choose what actionyou want to connect with pressing this button, e.g. opening your home folder/terminal, switching o fullscreen, opening help...<br />
<br />
===={{key|CAPS}} to substitute {{key|Win}}/{{key|Super}}====<br />
For using your {{key|CAPS}} key as a replacement for the lacking {{key|Win}}/{{key|Super}} key, add following to your {{path|~/.Xmodmap}}<br />
<br />
! No Caps Lock<br />
clear lock<br />
! Caps Lock as Win key<br />
add mod4 = Caps_Lock<br />
<br />
To avoid restarting X type {{cmduser|xmodmap ~/.Xmodmap}}<br />
<br />
===={{ibmkey|Forward|#494949}}/{{ibmkey|Backward|#494949}} in browsers====<br />
<br />
=====Firefox=====<br />
For using the {{ibmkey|Forward|#494949}}/{{ibmkey|Backward|#494949}} Keys in your browser add also these lines to your {{path|~/.Xmodmap}} as at least Firefox gets confused with their original setting as XF86Back/XF86Forward.<br />
<br />
! back and forward browser keys<br />
keycode 234 = F19<br />
keycode 233 = F20<br />
<br />
For Firefox add these lines to your {{path|/usr/share/firefox/chrome/browser/content/browser/browser.xul}}<br />
<br />
<key id="goBackKb3" keycode="VK_F19" command="Browser:Back" /><br />
<key id="goForwardKb3" keycode="VK_F20" command="Browser:Forward" /><br />
<br />
directly after these lines:<br />
<br />
<key id="goBackKb" keycode="VK_LEFT" command="Browser:Back" modifiers="alt"/><br />
<key id="goForwardKb" keycode="VK_RIGHT" command="Browser:Forward" modifiers="alt"/><br />
<br />
=====Opera=====<br />
For Opera add these pairs in Tool->Preferences->Advanced->Shortcuts->Keyboard setup->Edit->Browser Window->New<br />
* If you did the Firefox Xmodmap entry: F20-Forward, F19-Back<br />
* If you didn't add the lines: XF86Forward-Forward, XF86Back-Back<br />
<br />
=====Konqueror=====<br />
In Konqueror it's working out of the box. But if you did the Xmodmap settings you have to adjust Konqueror, too. Just go to Settings->Configure Shortcuts, look for Back and Forward and set the alternative shortcut in the custom dialog by pressing the respective key. If you are using KDE you'll be probable prefering to do that in the Configuration Center to make these changes visible to all KDE Apps.<br />
<br />
===IrDA===<br />
<br />
Find information here: [[How to make use of IrDA]]<br />
<br />
===VGA out ===<br />
<br />
I didn't try it, but it looks easy: [http://help.nceas.ucsb.edu/index.php/Enable_vga_out_on_ATI_Thinkpads How to enable VGA out]<br />
<br />
==References==<br />
* [http://gawrysiak.org/corvus/?p=4 Dapper Drake on T42]<br />
* [[Installing_Ubuntu_6.06_on_a_ThinkPad_T43]]<br />
* [[Installing_Ubuntu_6.10_on_a_ThinkPad_T43]]<br />
* This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation guides survey (IBM/Lenovo)].<br />
<br />
<br />
Hope this helped :-)<br />
tec</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.10_(Edgy_Eft)_on_a_ThinkPad_T60&diff=28875Installing Ubuntu 6.10 (Edgy Eft) on a ThinkPad T602007-03-22T09:40:36Z<p>Wehe: /* References */ added link to TuxMobil</p>
<hr />
<div>Created by: [[User:Keithvassallo|Keithvassallo]] 14:39, 16 December 2006 (CET)<br />
<br />
Thanks for valuable contributions by:<br />
<br />
: [[User:Ischg|Ischg]]<br />
: [[User:Soon|Soon]]<br />
: [[User:Mgrusin|Mgrusin]]<br />
: [[User:Mattcohn|Mattcohn]]<br />
: [[User:Dchao|Dchao]]<br />
: [[User:The.ant|The.ant]]<br />
: [[User:Stevie|Stevie]]<br />
: [[User:Gagarine|Gagarine]]<br />
: [[User:Albertcardona|Albertcardona]]<br />
: [[User:Alienmind|Alienmind]]<br />
<br />
Also, thanks to contributions by Malta Linux User Group (http://www.linux.org.mt) members:<br />
<br />
: dave abrahams<br />
: Limo Driver<br />
<br />
Other Thanks:<br />
<br />
: Alex Penn, University of Berkeley<br />
: Thomas Repantis, University of California<br />
<br />
===Abstract===<br />
<br />
This article describes how to get Ubuntu Linux 6.10 (Edgy) installed on an IBM/Lenovo ThinkPad T60. It's not meant to be a definite guide to installing Ubuntu (the Ubuntu Guide at http://www.ubuntuguide.org does a very good job of that). This article is meant to describe how to get most of the ThinkPad features working on Ubuntu system. It also discusses how to get Multimedia, some cool-looking effects such as Beryl, gDesklets and similar working on Ubuntu. Finally, we discuss some common problems encountered on Ubuntu and ThinkPads alike.<br />
<br />
{{NOTE|I am in no means an expert, the methods described here are those which got everything to work for me - your mileage may vary. A big thank you to all ThinkWiki users who keep contributing on improving this article.}}<br />
<br />
===My ThinkPad===<br />
<br />
Although this guide should work on most recent ThinkPads, I cannot guarantee that. These are the specifications of my machine. The closer your specs are, the greater the chance of success.<br />
<br />
: Figure 1. ThinkPad T60 2007, complete with Tux sticker :-)<br />
: [[Image:thinkpad.jpg]]<br />
<br />
* Lenovo ThinkPad T60 2007.<br />
* Intel Centrino Duo T2400 / 1.83 GHz.<br />
* Mobile Intel 945PM Express Chipset.<br />
* Intel Wireless LAN.<br />
* Integrated Bluetooth.<br />
* ATI Mobility Radeon X1400 - PCI Express x16, 128MB dedicated RAM.<br />
* 100 GB - Serial ATA-150 Hard Drive.<br />
* 15' TFT Active Matrix Display (1400x1050).<br />
<br />
That's basically all you need to know. As far as I know, all other features are common to all ThinkPads manufactured by Lenovo since they acquired IBM's computer business.<br />
<br />
===Why Ubuntu? (or rather, Why not SUSE?)===<br />
<br />
In June 2006, Lenovo announced it would be shipping ThinkPad T60p laptops with SUSE Linux Enterprise Desktop (SLED) 10 pre-installed, since SLED apparently supports all of the features of the T60p. I contacted my local IBM supplier, who said that Lenovo were no longer manufacturing the T60p, since the company which was making the displays went out of business. This meant I could not get a T60p with SLED pre-installed. I decided to go for the T60 2007, which is the closest thing I could find to the T60p. This comes with Windows XP Professional pre-installed.<br />
<br />
I first tried to get SLED installed on the T60. Although it did indeed install, and most features worked, I soon got bored of SLED. Firstly, SLED uses Gnome 2.12, which is by now ancient. Secondly, although the Lenovo utilities do work on SLED, they only work well if you use KDE as your default desktop environment, which is a pity since I'm a Gnome user. The utilities were very unstable to me too. Finally, what made me give up SLED was the usual problem - it's an RPM based distribution. Once you start using Debian derivatives, with their apt based installer, you won't want to go back. That's when I decided to try Ubuntu, and have not regretted it since.<br />
<br />
===What Works?===<br />
<br />
* Ubuntu and all programs it comes with.<br />
* Most of the function keys, except the ones mentioned below<br />
* The fingerprint reader.<br />
* The ATI proprietary graphics drivers.<br />
* Brightness, Volume and Mute with OSD (On-Screen Display).<br />
* ThinkLight, TrackPoint II and the touchpad.<br />
<br />
===What Doesn't Work? (Known Issues)===<br />
<br />
* FN+F7, FN+F8, FN+F9.<br />
* Sending files to Bluetooth devices via GUI.<br />
* Suspend to Disk (works with sufficient memory).<br />
* Suspend to RAM (though it works on occasions).<br />
<br />
There are probably ways and means to get the offending buttons to work, I've tried several fora but none seem to address my exact problem. I'll update this article should I find out anything. As for the Bluetooth bug, this is a HAL bug and can only be fixed by a future update. Suspend to Disk and Suspend to RAM are broken apparently due to the ATI drivers. Again, this can only be fixed by ATI.<br />
<br />
===First Things First - Creating a Windows Recovery Disc===<br />
<br />
If you've purchased a T60, chances are it came with Windows XP Professional. The other option is for you to have FreeDOS installed, in which case you can skip this section. You could remove the Windows partition altogether, and reserve your ThinkPad for Linux, but that's not the route I've chosen. The ThinkVantage utilities in Windows allow you to do a lot of cool things, such as set-up a boot-up fingerprint security scan. You can't do this from Linux (as far as I know) so it's best to leave the Windows partition in place. So, boot your ThinkPad and complete the Windows XP setup (which asks you to add a user account and enroll yourself using the ThinkVantage Client Security Solution). While you're there, use the ThinkVantage productivy centre to enroll your fingerprint (I suggest enrolling more than one) and make sure you check the option to require a fingerprint scan on boot (not for security, for geek points). When you reboot, press ESC or F2 to get to BIOS, and make sure you check the option to require a supervisor password. This will make your ThinkPad prompt you for your fingerprint when you power it up.<br />
<br />
: Figure 2. Configuring fingerprint security from Windows<br />
: [[Image:winprint.jpg]]<br />
<br />
Now that's working, you should create a recovery DVD using the ThinkVantage recovery utilities. This will allow you to recover your Windows installation should you manage to screw your partitions up in the following stages. I highly recommend you do this, as Lenovo does not provide Windows XP CDs with this Laptop - so the hard disk partition is all you've got. Once this is done, we're ready to install Ubuntu!<br />
<br />
: Figure 3. Creating recovery discs from Windows<br />
: [[Image:recovery.jpg]]<br />
<br />
===Getting Ubuntu installed===<br />
<br />
Download the latest Edgy live CD from the Ubuntu website, you can find a list of mirrors at http://www.ubuntu.com/products/GetUbuntu/download#currentrelease. You may also try Kubuntu, Edubuntu or any of it's derivatives, but I'll stick with Ubuntu here for simplicity's sake. Once that's downloaded, burn the ISO to disc using any program of your choice (If this is your first Linux experience and you're using Windows, try using Nero - http://www.nero.com).<br />
<br />
Once the burning process is complete, reboot your machine ensuring that the Ubuntu CD is in the drive. You should see an Ubuntu menu. If you don't, your BIOS is not set to boot from CD. Reboot your ThinkPad and change the boot order from BIOS (by default ThinkPads boot from CD-ROM before the hard disk, so this is probably not necessary). Once the menu shows up, select 'Start or install Ubuntu' and let it boot. This will take a while as everything is loaded from CD. You should eventually end up in a Gnome desktop. If you see an error about the Gnome Settings Daemon not being able to load, simply ignore it, as this is not necessary for now. For the purposes of the installation, it's best if you have a wired ethernet connection, as it's unlikely the wireless network card will work until we boot into our installed Ubuntu system.<br />
<br />
: Figure 4. Select the first option to start Ubuntu<br />
: [[Image:boot.jpg]]<br />
<br />
Double-Click on the 'install' icon on the Desktop to start installation. The installation should be pretty straight-forward. If you need additional help, check out the walk-through with screen-shots at http://www.debianadmin.com/ubuntu-edgy-eft-desktop-installation-with-screenshots.html. The only stage at which we need to make changes is the partitioning stage. This to make sure we preserve our Windows partition, and the IBM vendor_diag partition which allows recovery of the laptop when things go hay-wire. In the 'Prepare disk space' section of the installer, select the third option, 'Manually edit partition table'. A bar will be displayed showing your existing partitions. If you have Windows installed you will see two partitions. The first is a 4.89 GB IBM Vendor Diagnostic partition, which we do not want to touch. The second will be your Windows partition, which will fill the rest of the disk. Click on this partition, Then click the 'Resize/Move' button. I resized my Windows partition to 24 GB. This is enough to accommodate the 10 GB already in use on that partition, as well as giving Windows another 14 GB of free space. 6 GB of free space would probably be enough though.<br />
<br />
Now it's time to create partitions for Linux. You need at least two partitions; a swap partition which should be roughly double the amount of RAM you have, and a root partition to install Linux. I opted for four partitions, as follows:<br />
<br />
<table border=1><br />
<tr><td>'''Purpose'''</td><td>'''Size'''</td><td>'''File-System'''</td></tr><br />
<tr><td>Swap</td><td>2 GB</td><td>swap</td></tr><br />
<tr><td>/boot</td><td>5 GB</td><td>ext3</td></tr><br />
<tr><td>/ (root)</td><td>20 GB</td><td>ext3</td></tr><br />
<tr><td>/home</td><td>37.25 GB (what's left of the disk)</td><td>ext3</td></tr><br />
</table><br />
<br />
To create these paritions, click on the 'New' button and select 'Extended Partition' in the 'create as' drop-down list. Leave all other settings as-is, and click 'Add'. Now, click on the newly created partition, and create each of the partitions you want to create, simply specify the size of the partition in the 'New Size (MiB)' text box. To convert GB to MiB, multiply by 1024. So for your swap partition you should specify a size of 2048. Repeat until you have created all the required partitions. If you follow my parition layout, the partition editor should look something like Figure 5.<br />
<br />
: Figure 5. Our partitions, ready to be created<br />
: [[Image:partitioning.jpg]]<br />
<br />
You will not see mount-points in your diagram, because the screen-shot above was taken after they were assigned, but you should get the general idea. After this screen, you will be asked to assign mount-points to the partitions you have just created. If you created the partitions in the same order I did, you can assign mount points as I have (i.e. /dev/sda5 for swap, /dev/sda6 for /boot, /dev/sda7 for /, /dev/sda8 for /home). Additionally, I mounted my Windows partition as /media/sda1 and my IBM Vendor Diagnostic partition as /media/sda2. These are optional. After this step, continue installation as normal. When the installation is complete, click the 'reboot' button to restart into your fresh Ubuntu System.<br />
<br />
When booting, the GRUB boot-loader will be displayed, asking you what you want to load. You will probably see four options. The first two being Ubuntu Linux and Ubuntu Linux recovery mode (showing the kernel version). The other two will be Microsoft Windows XP, and 'Other Windows XP/2000/NT' partition. This is your IBM Vendor Diagnostic partition, which is based on the Windows kernel, apparently. Select the first entry to boot Ubuntu. The next time you boot Windows, it will bring up a chkdsk screen. This is entirely normal and happens because we have resized the Windows partition. Make sure you do not skip this check and let it complete.<br />
<br />
===Wireless LAN===<br />
<br />
{{WARN|Another ThinkWiki user notes that not all T60s come with the Intel wireless chip. If you are not entirely sure what wireless NIC you use, please read the following section (Non-Intel Network Cards).}}<br />
<br />
The first thing we should do is to get wireless networking working. Luckily, getting the Centrino wireless LAN chip working in Ubuntu is quite easy, if you use the gnome-network-manager applet. Just go to System - Administration - Synaptic Package Manager. Then click 'Search' and set the 'look-in' field to 'name'. In the 'Search' text box type:<br />
<br />
<pre>network-manager</pre><br />
<br />
: Figure 6. Installing the network manager applet<br />
: [[Image:networkmanager.jpg]]<br />
<br />
Click on the box beside 'network-manager' and click 'Mark for installation'. Do the same for 'network-manager-gnome'.<br />
<br />
<br />
Now, to avoid problems Run:<br />
: {{cmduser|gksudo gedit /etc/network/interfaces}}<br />
<br />
Save a copy in /etc/network/interfaces.back for backup<br />
<br />
After that, remove all lines except:<br />
<pre><br />
auto lo<br />
iface lo inet loopback<br />
</pre><br />
<br />
Reboot your ThinkPad. An applet will show up in the gnome notification area. Click on it, and a list of detected wireless networks will be displayed. Simply click on one of them, enter any authentication details necessary, and you'll be connected to the wireless network.<br />
<br />
: Figure 7. gnome-network-manager showing available wireless networks<br />
: [[Image:available-accesspoints.jpg]]<br />
<br />
===Non-Intel Network Cards===<br />
<br />
Not all versions of the T60 have the Intel Wireless LAN as described above. Run the following command to see details about detected wireless cards:<br />
<br />
: {{cmduser| lspci}}<br />
<br />
Look for a line which shows detected network cards. Users of Intel network cards will see something similar to the following output:<br />
<br />
<pre>03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)</pre><br />
<br />
If you see the above, you can jump to the next section. If you do not see the above, your network card is not Intel. You may see something similar to:<br />
<br />
<pre>03:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)</pre><br />
<br />
If that's the output you get, you're going to have to take some additional steps to get wireless networking working. Read more at http://ubuntuforums.org/showthread.php?t=38972<br />
<br />
running: <br />
<br />
: {{cmdroot| dmesg &#124; grep hal}}<br />
<br />
may yield output like this:<br />
<br />
<pre><br />
[17179590.420000] ath_hal: module license 'Proprietary' taints kernel.<br />
[17179590.424000] ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)<br />
</pre><br />
<br />
Which suggests the hardware abstraction layer is in place. <br />
<br />
If not, or if the output contains "HAL Status 13" it suggests your card is not supported by the current drivers, and you need to upgrade.<br />
<br />
In some cases there is a problem with the mode (a,b,g etc) of the wireless connection. Try <br />
<br />
: {{cmdroot| iwpriv ath0 mode 2}}<br />
<br />
===Getting the ThinkVantage Buttons to work===<br />
<br />
Ubuntu does not recognise all the ThinkVantage buttons correctly by default. This can be fixed quite easily. In a terminal, type:<br />
<br />
: {{cmduser| sudo gedit /etc/X11/Xmodmap}}<br />
<br />
Then paste the following in the file:<br />
<br />
<pre><br />
keycode 234 = XF86Back<br />
keycode 233 = XF86Forward<br />
keycode 159 = XF86Start<br />
keycode 162 = XF86AudioPlay<br />
keycode 164 = XF86AudioStop<br />
keycode 153 = XF86AudioNext<br />
keycode 144 = XF86AudioPrev<br />
keycode 227 = XF86LaunchF<br />
keycode 249 = XF86ZoomIn<br />
</pre><br />
<br />
Save and close the file, then logout and back in again. You can now assign the buttons to do anything you want. For example, use the Back and Forward buttons (next the cursor keys) to flip desktops using the cube effect in Beryl (set this using the Beryl settings manager). You can set most of the other keys using Gnome vis System - Preferences - Keyboard Shortcuts.<br />
<br />
For the ThinkVantage and Zoom buttons, I used xbindkeys. Open a terminal and type:<br />
<br />
: {{cmduser| sudo apt-get install xbindkeys xbindkeys-config}}<br />
: {{cmduser| xbindkeys --defaults > ~/.xbindkeysrc}}<br />
: {{cmduser| xbindkeys-config}}<br />
<br />
This will bring up a but-ugly configuration screen. Just click "New" and assign a remark to the new shortcut. Then press "Grab" and press the combination you want (ex: The ThinkVantage button). You can then set the action you want executed in the "Action" field. I made my zoom button open the resolution properties (gnome-display-settings) and ThinkVantage open the Gnome control centre (gnome-control-center).<br />
<br />
===Installing the ATI display drivers===<br />
<br />
If your ThinkPad has an Intel graphics adapter, you should skip this section as Ubuntu installs the best driver automatically. Ubuntu does not install the ATI proprietary drivers by default because they are, er, proprietary. Luckily, installing them is easy enough. Open a terminal (Applications - Accessories - Terminal) and type the following:<br />
<br />
: {{cmduser| sudo apt-get update}}<br />
: {{cmduser| sudo apt-get install xorg-driver-fglrx fglrx-control}} <br />
<br />
Now we make sure the proprietary driver is not disabled by the kernel. Type the following, and remove any lines referring to fglrx<br />
<br />
: {{cmduser|sudo gedit /etc/default/linux-restricted-modules-common}}<br />
<br />
{{HINT|An alternative to gedit (Gnome) is nano (sudo nano -w /etc...) for a CLI editor.}}<br />
<br />
Finally, we need to configure the X server to use the ATI drivers. Type the following:<br />
<br />
: {{cmduser|sudo depmod -a}}<br />
: {{cmduser|sudo aticonfig --initial}}<br />
: {{cmduser|sudo aticonfig --overlay-type<nowiki>=</nowiki>Xv}}<br />
<br />
One last thing. In order to correct a very common problem of getting a jerky video display, type the following:<br />
<br />
: {{cmduser|sudo gedit /etc/X11/xorg.conf}}<br />
<br />
Scroll to the end of the file, and add the text below.<br />
<br />
<pre><br />
Section "Extensions"<br />
Option "Composite" "0"<br />
EndSection<br />
</pre><br />
<br />
Save the file and exit. Now, to apply the changes either press CTRL+ALT+Backspace or reboot. The resolution should have switched to 1400x1050 and everything should look prettier and render faster. Just to make sure everything is working, open up a terminal and type<br />
<br />
: {{cmduser|fglrxinfo}}<br />
<br />
This should display:<br />
<br />
<pre><br />
display: :0.0 screen: 0<br />
OpenGL vendor string: ATI Technologies Inc.<br />
OpenGL renderer string: ATI Mobility Radeon X1400 Generic<br />
OpenGL version string: 2.0.6011 (8.28.8)<br />
</pre><br />
<br />
The above is what I get on my ThinkPad, and you should see something similar. As long as you see your graphics card model listed, everything should be OK. If, instead, you see a bunch of lines containing 'Mesa' then you have a problem. In that case, I recommend consulting https://help.ubuntu.com/community/BinaryDriverHowto/ATI and the Ubuntu forums at http://ubuntuforums.org<br />
<br />
===The Fingerprint Reader===<br />
<br />
Although IBM does not officially support it, the fingerprint reader does in fact work with most Linux distributions. Getting it to work with Ubuntu can be a bit of a pain, but it does work. Basically, a bioAPI plugin is provided for PAM. PAM-aware applications such as GDM and gnome-screensaver will then automatically use the fingerprint reader, which is uber cool. Anyway, enough theory, I've probably lost the newbies amongst you already. Go to http://www.qrivy.net/~michael/temp/ and download the latest bioapi package (at the time of writing, bioapi_1.2.3_i386.deb). When asked, tell Firefox to open the file with the GDebi package installer.<br />
<br />
That will install bioAPI. What we need now is the driver for our fingerprint device, which is manufactured by UPEK. Go to http://www.upek.com/support/dl_linux_bsp.asp and download the latest version, currently UPEK_BSP_LIN_1.0.zip. Extract this file, then open a terminal (and don't close it until I say so).<br />
<br />
: {{cmduser|cd /path/to/where/you/extracted/the/file}}<br />
: {{cmduser|sudo bash}}<br />
: {{cmdroot|sh install.sh /usr/lib}}<br />
<br />
Now we need to assign the right permissions so non-root applications can use the driver:<br />
<br />
: {{cmdroot|addgroup --system bioapi}}<br />
: {{cmdroot|addgroup --system usbfs}}<br />
: {{cmdroot|adduser yourusername bioapi}}<br />
: {{cmdroot|adduser yourusername usbfs}}<br />
: {{cmdroot|chown -R root:bioapi /usr/var/bioapi/}}<br />
: {{cmdroot|chmod -R 770 /usr/var/bioapi/}}<br />
: {{cmdroot|chown -R root:usbfs /proc/bus/usb}}<br />
: {{cmdroot|chmod -R g+X /proc/bus/usb}}<br />
<br />
Of course, replace 'yourusername' with the username you use to login. Now, we need to set the usb file system (usbfs) to be usable by users in the usbfs group. To do this, we need to determine the group ID of the usbfs group. Type the following:<br />
<br />
: {{cmdroot|cat /etc/group &#124; grep usbfs &#124; cut -d':' -f 3}}<br />
<br />
In my case the number is 116, it might be different for you. Now, open the file /etc/fstab:<br />
<br />
: {{cmdroot|gedit /etc/fstab}}<br />
<br />
and type the following:<br />
<br />
<pre>none /proc/bus/usb usbfs defaults,devgid=116,devmode=0660,busgid=116,busmode=0770,listgid=116,listmode=0660 0 0</pre><br />
<br />
Please type the above code in one line in your file. Remember to replace 116 if you got a different number with the previous cat command. The last permission-related thing we need to fool around with is UDEV. Open the udev permissions file<br />
<br />
: {{cmdroot|gedit /etc/udev/rules.d/40-permissions.rules}}<br />
<br />
and find the line:<br />
<br />
<pre>SUBSYSTEM=="usb_device", MODE="0664"</pre><br />
<br />
It's line 65 in my file. Change it so it looks like this:<br />
<br />
<pre>SUBSYSTEM=="usb_device", MODE="0660", GROUP="usbfs"</pre><br />
<br />
Now we need to enroll our fingerprint with the system. To do this, we need a utility called Sample, which is only distributed in source-code form with the driver. This is great, only I couldn't get it to compile on Ubuntu. Luckily, there is a binary version available from one of the earlier releases of the driver (beta 2). To get this, download it from ftp://linux:Tuc-nak3@delta.upek.com/TFMESS_BSP_LIN_1.0beta2.zip. Now, extract the file and type:<br />
<br />
: {{cmdroot|cd /path/to/where/you/extracted/the/archive}}<br />
: {{cmdroot|cd NonGUI_sample}}<br />
: {{cmdroot|chmod a+x Sample}}<br />
: {{cmdroot|./Sample}}<br />
<br />
Press (e) to enroll a new user, and enter your username when asked for the user ID. You will be asked to swipe your finger three times. Now press (v) and swipe your finger, a green check should be displayed showing you have successfully authenticated.<br />
<br />
If the Sample utility does not work, you may not have the PAM development modules installed. Try this:<br />
<br />
: {{cmdroot|sudo apt-get install libpam0g-dev}}<br />
<br />
: Figure 8. The fingerprint swipe prompt<br />
: [[Image:touchchip.jpg]]<br />
<br />
Wonderful! Now, quit the application (q) and type exit to become a normal user. A file called yourusername.bir should have been created, copy this to your home directory:<br />
<br />
: {{cmdroot|cp yourusername.bir /home/yourusername/}}<br />
<br />
You can now close the terminal window. The next step is to install the BioAPI plug-in for PAM, and to make applications use the plugin. So, get the pam_bioapi plugin from http://www.nax.cz/pub/bioapi/pam_bioapi/pam-bioapi_0.3.0.tar.gz and extract it. Now open a terminal and type:<br />
<br />
: {{cmduser|sudo apt-get install build-essential}}<br />
: {{cmduser|sudo apt-get install libpam0g-dev}}<br />
<br />
Now, you can compile and install the plugin<br />
<br />
: {{cmduser|cd /path/to/where/you/extracted/the/arcive}}<br />
: {{cmduser|./configure --libdir<nowiki>=</nowiki>/lib --enable-file-store && make}}<br />
: {{cmduser|sudo make install}}<br />
<br />
That's installed the plugin. Now, open a terminal and type the following:<br />
<br />
: {{cmduser|cd ~}}<br />
: {{cmduser|sudo bash}}<br />
<br />
This will open a root session. Please do not close this until instructed. Now, paste the following scary command:<br />
<br />
<pre><br />
SERIAL=`BioAPITest | sed -ne "/Fingerprint/{n;n;s/^.*: \(.\{9\}\)\(.\{4\}\)\(.\{4\}\)\(.\{4\}\)\(.*\)/\1-\2-\3-\4-\5/gp}"`<br />
</pre><br />
<br />
Type the following to register your username and serial with the bioAPI.<br />
<br />
: {{cmdroot|mkdir -p /etc/bioapi/pam/$SERIAL}}<br />
: {{cmdroot|cp yourusername.bir /etc/bioapi/pam/$SERIAL/}}<br />
: {{cmdroot|exit}}<br />
<br />
Phew. Now, to make applications actually use the fingerprint reader. Open a terminal window, and type:<br />
<br />
: {{cmduser|sudo gedit /etc/pam.d/common-auth}}<br />
<br />
Delete everything in the file, and paste this instead:<br />
<br />
<pre><br />
#<br />
# /etc/pam.d/common-auth - authentication settings common to all services<br />
#<br />
# This file is included from other service-specific PAM config files,<br />
# and should contain a list of the authentication modules that define<br />
# the central authentication scheme for use on the system<br />
# (e.g., /etc/shadow, LDAP, Kerberos, etc.). The default is to use the<br />
# traditional Unix authentication mechanisms.<br />
#<br />
auth sufficient pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi/pam/<br />
password sufficient pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi/pam/<br />
auth required pam_unix.so nullok_secure<br />
</pre><br />
<br />
Save and close the file. That will make all PAM-aware applications use the fingerprint reader. Unfortunately, this also includes sudo. Since sudo is a command line application, it will display prompts in a terminal for you to swipe your finger, which is all well and good. The problem with this is that many Ubuntu administrative applications (such as Synaptic) use gksu to present a graphical front-end to sudo, which will output messages on the command line which you'll never see. Result? Administrative programs won't work from the gnome menu. The solution is to make sudo use the good old password. Open a terminal and type:<br />
<br />
: {{cmduser|sudo gedit /etc/pam.d/sudo}}<br />
<br />
Delete everything in the file, and instead paste:<br />
<br />
<pre><br />
#%PAM-1.0<br />
<br />
#@include common-auth<br />
auth required pam_unix.so nullok_secure<br />
@include common-account<br />
</pre><br />
<br />
If you like to use the fingerprint reader in the terminal too, you can use the following /etc/pam.d/sudo file instead:<br />
<br />
<pre><br />
#%PAM-1.0<br />
<br />
#@include common-auth<br />
auth sufficient pam_unix.so nullok_secure<br />
auth required pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi/pam/<br />
password required pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi/pam/<br />
@include common-account<br />
</pre><br />
<br />
With this file, you are first asked to provide your password, but you can just press enter and then you will be asked to swipe your finger.<br />
<br />
Now, save the file and close it, and reboot your system. GDM will ask you for a username, and then show a pretty prompt where you can scan your fingerprint! Same goes for gnome-screensaver when you set it to lock. Sometimes gnome-screensaver will not display the prompt, but you should still swipe your finger and be able to log back in.<br />
<br />
{{NOTE|In case you use Kubuntu KDM won't show you a prompt. Just press Enter instead of a password and then (when the cursor stops blinking) swipe your finger.}}<br />
<br />
<br />
If you use SSH to log remotely into your laptop, you need to disable common-auth procedures for ssh. Not doing so requires to physically swipe your finger when logging remotely - nonsense. For that, edit /etc/pam.d/ssh, comment out @include common-auth and add the old procedure instead:<br />
<br />
<pre><br />
#@include common-auth<br />
auth required pam_unix.so nullok_secure <br />
</pre><br />
<br />
===Bluetooth with Mobile Phones/PDAs===<br />
<br />
Rather strangely, Ubuntu seems to have taken a step backwards with Bluetooth usability in Edgy. What worked out of the box with Dapper, now requires configuration. First, open System - Preferences - Sessions and go to the Startup Programs tab. Then, find the entry labeled 'bt-applet --sm-disable'. Highlight it and click disable. Click add and in the command field type 'bt-applet'. Repeat this process, adding an entry for 'gnome-obex-server'. Now, open Synaptic Package Manager (System - Administration - Synaptic Package Manager) and click Search. Type 'gnome-bluetooth' to find the package, then mark it for installation. Now repeat this process for 'bluez-passkey-gnome'. Click apply to make changes.<br />
<br />
Now that everything is installed, log-out of Gnome and log back in again. From your phone/PDA, search for devices until you see your ThinkPad (the hostname will be displayed). Pair with the device. When asked for a passkey, enter 1234, which is the default. If you want to change your passkey (and you should), open a terminal and type:<br />
<br />
: {{cmduser|sudo gedit /etc/bluetooth/hcid.conf}}<br />
<br />
Find the line which says 'Default PIN for incoming connections' and change the PIN on the line beneath it:<br />
<br />
<pre><br />
# Default PIN code for incoming connections<br />
passkey "4017";<br />
</pre><br />
<br />
Save and close the file, then type:<br />
<br />
: {{cmduser|sudo /etc/init.d/bluetooth restart}}<br />
<br />
You will now be able to use your new PIN code. To send files from your device to the ThinkPad, simply select the file you want to send and click Send Via Bluetooth (or whatever option your device presents). A dialog will pop-up in Gnome showing you a new file has been received.<br />
<br />
: Figure 9. Gnome informing us that a file has been received<br />
: [[Image:bluetooth.jpg]]<br />
<br />
Sending files from your ThinkPad to your device requires more effort. The way it should work is that you right-click on a file, click send to, then make sure 'Bluetooth (OBEX)' is selected. Your device should be displayed and you could just click send. Unfortunately, due to a bug in gnome-bluetooth (described in https://launchpad.net/distros/ubuntu/+source/gnome-bluetooth/+bug/70718) this method does not work. If it does work for you, the bug has been solved and you can skip the rest of this section.<br />
<br />
Your only other option is to use the command line to send files to your device. Open a terminal, then type:<br />
<br />
: {{cmduser|hcitool scan}}<br />
<br />
A list of detected bluetooth devices will be shown, for example, my output shows the following:<br />
<br />
<pre><br />
Scanning ...<br />
00:09:DD:60:02:EB Photosmart 8100 series<br />
00:14:A7:99:3C:1F ThElInK<br />
</pre><br />
<br />
The first field is the MAC address of the device, the second is the name of the device. In this case my bluetooth printer and mobile phone (ThElInK) were detected. In order to send files to my phone, I use:<br />
<br />
: {{cmduser|gnome-obex-send -d 00:14:A7:99:3C:1F myPicture.jpg}}<br />
<br />
Replace the MAC address with that of your device and myPicture.jpg with the file you want to send.<br />
<br />
===TrackPoint Scrolling===<br />
<br />
By default you can use the right and bottom edges of your touchpad to scroll through documents. If you use the TrackPoint instad of the touchpad (and believe me, you should), you'll find that scrolling is disabled by default. To enable it, open a terminal and type:<br />
<br />
: {{cmduser|sudo gedit /etc/X11/xorg.conf}}<br />
<br />
Now find the entry for your TrackPoint device. In my configuration file, the TrackPoint entry is the first mouse entry, after the keyboard entry, and looks something like this:<br />
<br />
<pre><br />
Section "InputDevice"<br />
Identifier "Configured Mouse"<br />
Driver "mouse"<br />
Option "CorePointer"<br />
Option "Device" "/dev/input/mice"<br />
Option "Protocol" "ExplorerPS/2"<br />
Option "ZAxisMapping" "4 5"<br />
Option "Emulate3Buttons" "true"<br />
EndSection<br />
</pre><br />
<br />
Right after this entry is my touchpad entry. My entry is on line 66, but yours may be different. Now, add the follwing two options in that InputDevice section:<br />
<br />
<pre><br />
Option "EmulateWheel" "on"<br />
Option "EmulateWheelButton" "2"<br />
</pre><br />
<br />
Save and exit the file. Restart your ThinkPad (or logout, and press CTRL-ALT-BACKSPACE). You should now be able to scoll by holding down the middle button for your TrackPoint and using the TrackPoint to scroll.<br />
<br />
===Getting Multimedia to Work===<br />
<br />
Due to patents and similar legal crap, Ubuntu will not play most media files by default. You also won't get browser plugins for multimedia. Luckily, this is easily fixed. Open a terminal and type the following:<br />
<br />
: {{cmduser|sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup}}<br />
: {{cmduser|sudo gedit /etc/apt/sources.list}}<br />
<br />
Delete everything in the file, and instead paste the following:<br />
<br />
<pre><br />
deb-src http://archive.ubuntu.com/ubuntu edgy main restricted universe multiverse<br />
#deb http://archive.ubuntu.com/ubuntu edgy-proposed main restricted universe multiverse<br />
<br />
## MAJOR BUG FIX UPDATES produced after the final release<br />
deb-src http://archive.ubuntu.com/ubuntu edgy-updates main restricted universe multiverse<br />
<br />
## UBUNTU SECURITY UPDATES<br />
deb http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse<br />
deb-src http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse<br />
<br />
## BACKPORTS REPOSITORY (Unsupported. May contain illegal packages. Use at own risk.)<br />
#deb http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse<br />
deb-src http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse<br />
<br />
## PLF REPOSITORY<br />
deb http://packages.freecontrib.org/ubuntu/plf edgy-plf free<br />
deb-src http://packages.freecontrib.org/ubuntu/plf edgy-plf free<br />
deb http://packages.freecontrib.org/ubuntu/plf edgy-plf non-free<br />
deb-src http://packages.freecontrib.org/ubuntu/plf edgy-plf non-free<br />
<br />
## CANONICAL COMMERCIAL REPOSITORY (Hosted on Canonical servers, not Ubuntu<br />
## servers. RealPlayer10, Opera, DesktopSecure and more to come.) <br />
deb http://archive.canonical.com/ubuntu edgy-commercial main<br />
<br />
## Listen<br />
#deb http://theli.free.fr/packages/ edgy listen<br />
<br />
## Automatix repo<br />
deb http://www.getautomatix.com/apt edgy main<br />
</pre><br />
<br />
Now, open a terminal and type the following:<br />
<br />
: {{cmduser|wget <nowiki>http://packages.freecontrib.org/ubuntu/plf/12B83718.gpg</nowiki> -O- <nowiki>|</nowiki> sudo apt-key add -}}<br />
: {{cmduser|wget <nowiki>http://www.getautomatix.com/apt/key.gpg.asc</nowiki>}}<br />
: {{cmduser|gpg --import key.gpg.asc}}<br />
: {{cmduser|gpg --export --armor 521A9C7C <nowiki>|</nowiki> sudo apt-key add -}}<br />
: {{cmduser|sudo apt-get update}}<br />
: {{cmduser|sudo apt-get install automatix2}}<br />
: {{cmduser|wget <nowiki>http://easyubuntu.freecontrib.org/files/easyubuntu-3.023.tar.gz</nowiki>}}<br />
: {{cmduser|tar -zxf easyubuntu-3.023.tar.gz}}<br />
: {{cmduser|cd easyubuntu}}<br />
: {{cmduser|cp packagelist-dapper.pot packagelist-edgy.pot}}<br />
: {{cmduser|cp packagelist-dapper.xml packagelist-edgy.xml}}<br />
: {{cmduser|sudo python easyubuntu.in}}<br />
<br />
Don't worry if you get errors from the Ubuntu PLF repository. PLF mirrors are about as stable as wild bull in a farm full of cows. Select what you want to install from the resulting window. Make sure you do not select the totem-mozilla plugin, as this just doens't work, for me at least. When EasyUbuntu has finished installing packages, you should be returned to a terminal, which you can close. Now go to Applications - System Tools - Automatix. Read and agree to the warning. Check what you want to install. Make sure you check 'Mplayer and FF plugin'. When ready, click the 'install' button. That should get multimedia working nicely.<br />
<br />
: Figure 10. The Automatix user interface<br />
: [[Image:automatix.jpg]]<br />
<br />
===Beryl - fancy 3D desktop===<br />
<br />
MAC OS X has Aqua and Windows Vista has Aero. Well, Linux has XGL/Beryl which can get effects which are as good looking (or sometimes better!) than the former two. Installing Beryl on Ubuntu is not that hard. First, open a terminal and type the following:<br />
<br />
: {{cmduser|sudo gedit /etc/apt/sources.list}}<br />
<br />
At the end of the file, append the following:<br />
<br />
<pre><br />
##Beryl<br />
deb http://ubuntu.beryl-project.org/ edgy main<br />
</pre><br />
<br />
Save and close the file. Now type:<br />
<br />
: {{cmduser|wget <nowiki>http://ubuntu.beryl-project.org/root@lupine.me.uk.gpg</nowiki> -O- <nowiki>|</nowiki> sudo apt-key add -}}<br />
: {{cmduser|sudo apt-get update}}<br />
<br />
ATI Users Only: type<br />
<br />
: {{cmduser|sudo apt-get install xserver-xgl}}<br />
<br />
Now, to install beryl:<br />
<br />
: {{cmduser|sudo apt-get install beryl emerald-themes}}<br />
<br />
To make Ubuntu use the 3D effects. Open a terminal:<br />
<br />
: {{cmduser|sudo gedit /usr/local/bin/startxgl.sh}}<br />
<br />
In that file, paste the following if you use an ATI card:<br />
<br />
<pre><br />
#!/bin/sh<br />
Xgl -fullscreen :1 -ac -br -accel glx:pbuffer -accel xv:pbuffer &<br />
sleep 4<br />
export DISPLAY=:1<br />
cookie="$(xauth -i nextract - :0 | cut -d ' ' -f 9)"<br />
xauth -i add :1 . "$cookie"<br />
exec gnome-session<br />
</pre><br />
<br />
If you use an Intel card, paste the following instead:<br />
<br />
<pre><br />
#!/bin/sh<br />
beryl-manager<br />
sleep 4<br />
exec gnome-session<br />
</pre><br />
<br />
Save the file and close. Now we need to make the file executable:<br />
<br />
: {{cmduser|sudo chmod a+x /usr/local/bin/startxgl.sh}}<br />
<br />
All that's left now is to create a login script which makes gnome use the 3D effects. In a terminal, type:<br />
<br />
: {{cmduser|sudo gedit /usr/share/xsessions/xgl.desktop}}<br />
<br />
Now, in this file paste:<br />
<br />
<pre><br />
[Desktop Entry]<br />
Encoding=UTF-8<br />
Name=Xgl<br />
Exec=/usr/local/bin/startxgl.sh<br />
Icon=<br />
Type=Application<br />
</pre><br />
<br />
Save and close the file. Now type:<br />
<br />
: {{cmduser|sudo gedit /usr/local/bin/start_beryl.sh}}<br />
<br />
In this file, paste:<br />
<br />
<pre><br />
#!/bin/bash<br />
#<br />
# Start beryl-manager within gnome-session<br />
#<br />
if [ `ps -A -o comm | grep -c '^Xgl$'` == "1" ]; then<br />
DISPLAY=:1 beryl-manager<br />
DISPLAY=:1 beryl-xgl<br />
else echo "${0}: Error: beryl-manager not launched. Xgl not running?"<br />
fi<br />
</pre><br />
<br />
Now make the file executable:<br />
<br />
: {{cmduser|sudo chmod a+x /usr/local/bin/start_beryl.sh}}<br />
<br />
Now go to System - Preferences - Sessions, go to the Startup Programs tab, and click add, then type<br />
<br />
: {{cmduser|/usr/local/bin/start_beryl.sh}}<br />
<br />
Now, reboot your ThinkPad. When you come to the login screen, click the 'Sessions' button on the bottom left corner, and select XGL. login, et voila! beautiful 3D effects!<br />
<br />
: Figure 11. Beryl's Cube effect<br />
: [[Image:cube.jpg]]<br />
<br />
If you have NetBeans installed, try launching it now. It probably won't work due to Beryl. Luckily, this is easily solved. Open a terminal and type:<br />
<br />
: {{cmduser|sudo gedit /etc/environment}}<br />
<br />
Then add the following line to the end of the file.<br />
<br />
<pre>AWT_TOOLKIT="MToolkit"</pre><br />
<br />
Now save, close and reboot. Netbeans should now work!<br />
<br />
===Problem: Can't add programs to session===<br />
<br />
So you tried to add something to your startup programs, it shows up in the list, but it doesn't start up. You then launch the sessions program again, only to find your program has disappeared from the list. This problem is being caused by incorrect permissions in your home directory, and can happen on some occasions. To fix it, open a terminal and type the following:<br />
<br />
: {{cmduser|sudo chown -R username:usergroup /home/username/.config/}}<br />
<br />
Replace username with your username and usergroup with your group (by default, in Ubuntu your usergroup is the same as your username). Everything should be OK now!<br />
<br />
===Problem: Virtual terminals not working===<br />
<br />
One problem I had after installing the ATI drivers was that virtual terminals stopped working. Instead of seeing a console when pressing CTRL+ALT+F1...F6 I was seeing a yellow/orange garbled output. Luckily, solving this with ATI drivers is trivial. Open a terminal, and type:<br />
<br />
: {{cmduser|sudo gedit /boot/grub/menu.lst}}<br />
<br />
Find the line which says<br />
<br />
<pre>#defoptions=quiet splash</pre><br />
<br />
and replace it with<br />
<br />
<pre>#defoptions=quiet splash vga=791</pre><br />
<br />
Now, find the line which boots the kernel you are currently using, this is just under '## ## End Default Options ##. In the 'kernel' line, add:<br />
<br />
<pre>vga=791</pre><br />
<br />
Before:<br />
<br />
<pre>kernel /vmlinuz-2.6.17-10-generic root=/dev/sda7 ro quiet splash</pre><br />
<br />
After:<br />
<br />
<pre>kernel /vmlinuz-2.6.17-10-generic root=/dev/sda7 ro quiet splash vga=791</pre><br />
<br />
Now save and exit the file, and reboot. Virtual terminals should now work. If you use Intel drivers, you're going to have to bite the bullet and remove the 'splash' keyword from both the defoptions and kernel lines. You'll lose the pretty bootup screen, but at least virtual terminals will work, which are important to recover a crashed system.<br />
<br />
<br />
===Problem: Microphone doesn't work===<br />
<br />
On my system, I could get the microphone to work by simply un-muting the correct channels using alsamixer. To do this, open the ALSA mixer GUI form a terminal:<br />
<br />
: {{cmduser| alsamixer}}<br />
<br />
The alsamixer GUI will be displayed:<br />
<br />
[[Image:alsamixer.jpg]]<br />
<br />
Now make sure all outputs are un-muted. Scroll through the outputs using the {{key|LEFT}} and {{key|RIGHT}} arrow keys, and press {{key|M}} to un-mute a channel (muted channels show an MM symbol). Use the {{key|UP}} and {{key|DOWN}} arrow keys to raise and lower the volume for each channel. Press {{key|TAB}} to switch to capture settings. Select Mic and press {{key|SPACE}} to enable the microphone. Now enable microphone capture my selecting Capture, and pressing {{key|SPACE}}. Depending on your microphone, you may need to enable MIC boost to get some extra umph from your sound input.<br />
<br />
The volume of the input channels depends on your microphone. These settings worked best for me on a desktop microphone:<br />
<br />
: MIC: 71<br />
: MIC Boost: 33<br />
: Capture: 73<br />
<br />
Now test the microphone by going to Applications - Sound & Video - Sound Recorder and select "Capture" in the "Record from input" field. On my system, mixing worked too - meaning I could play games whilst talking on TeamSpeak or Skype.<br />
<br />
After following the above steps, your microphone may still not work, which appears to be linked to the a missing file /etc/asound.names. Executing<br />
<br />
: {{cmduser|sudo alsactl names}}<br />
: {{cmduser|sudo alsactl store}}<br />
<br />
to generate /etc/asound.names and /var/lib/alsa/asound.state seems to fix sound problems.<br />
<br />
<br />
===Problem: I don't have any sound!===<br />
<br />
If Ubuntu seems to recognize your sound-card (82801G ICH7) but still cannot initialize it (so you don't hear a thing), you have most probably turned the modem off in the system-bios. <br />
If you turn it on again, it should work again.<br />
If you don't want to do that [http://www.ubuntuforums.org/showthread.php?t=279241 this] might help you.<br />
<br />
As a last resort, you may have to install the latest version of ALSA. Try: http://www.alsa-project.org/alsa-doc/doc-php/template.php?module=hda-intel<br />
<br />
===Problem: I keep logging out!===<br />
<br />
If you're using Beryl, and find that you keep getting logged out, you've just encountered one of Beryl's most annoying bugs. Shift+Backspace causes a logout. To fix this, open a terminal and type:<br />
<br />
: {{cmduser|gedit /home/username/annoymenot.sh}}<br />
<br />
Remember to replace 'username' with your username. Now, in this file type:<br />
<br />
: {{cmduser|xmodmap -e "keycode 22 <nowiki>=</nowiki> BackSpace BackSpace Terminate_Server" }}<br />
<br />
Save and close the file, and make it executable:<br />
<br />
: {{cmduser|chmod 755 /home/username/annoymenot.sh}}<br />
<br />
Now go to System - Preferences - Session, Startup Programs. Click add, and type<br />
<br />
: {{cmduser|/home/username/annoymenot.sh}}<br />
<br />
Logout and back in, problem solved! While you're at it, how about getting the start button to work? Go to System - Preferences - Keyboard - Layout Options - Alt/Win Key behaviour and select 'Super is mapped to Win keys (default)'.<br />
<br />
<br />
===Problem: Hibernate (Suspend to Disk) does not work!===<br />
<br />
It was possible on some machines to get hibernate working by installing the hibernate script. However, when too many programs where open I got a "Not enough memory" error. You will have to try it. <br />
<br />
To install the script type<br />
<br />
: {{cmduser|sudo apt-get install hibernate}}<br />
<br />
To go to hibernate type<br />
<br />
: {{cmduser|sudo hibernate}}<br />
<br />
The computer will go to hibernate and turn off. To switch it on again, you will have to press the power button. It will boot and restore the system as you left it.<br />
<br />
The sleep, though, works really well -reliable- when neither using gdm nor gnome at all. For example, using any lightweight window manager such as dwm from http://www.suckless.org .<br />
In order to put the computer to sleep issue the following command:<br />
<br />
: {{cmduser|sudo pmi action sleep}}<br />
<br />
From within a standard ubuntu-desktop running gnome, the above works most of the time but not always. When it doesn't work, only a hard reboot will stop the moon from blinking and restore the kernel to a usable state.<br />
<br />
===Desktop envy===<br />
<br />
We're living in an age of desktop prettyness, and Linux can be just as pretty as MAC OS X or Vista. You've already got Beryl installed. Now go to Applications - Accesories - gDesklets. If the gDesklets entry is not there, make sure you install it, either using Synaptic or Automatix. Desklets are small programs you can add to your desktop, ala OS X's Deskbar or Vista's Sidebar. To make them start on boot, add gdesklets in System - Preferences - Sessions, Startup Programs.<br />
<br />
Another cool program is cairo clock. Download it from http://macslow.thepimp.net/projects/cairo-clock/cairo-clock_0.3.2-1_i386.deb and install it by double-clicking. To make it start automatically, add it to your sessions as mentioned above. I've found the following command makes it work best for me:<br />
<br />
<pre>cairo-clock -s -w 175 -g 175 -x 1219 -y 7 -t radium</pre><br />
<br />
Finally, make sure you click that Ruby icon in your notification area, it allows you to configure Beryl to do all sorts of cool stuff!<br />
<br />
===Conclusion===<br />
<br />
Well, that's about it! A dream Linux system on a dream laptop! Check out these cool technologies for an even better system:<br />
<br />
* Beagle<br />
* Tomboy<br />
* Deskbar<br />
<br />
===References===<br />
<br />
* ATI on Ubuntu - https://help.ubuntu.com/community/BinaryDriverHowto/ATI<br />
* Garbled Virtual Terminal Bug - https://launchpad.net/distros/ubuntu/+source/usplash/+bug/63558<br />
* Beryl logout Bug - http://forum.beryl-project.org/viewtopic.php?p=1295&sid=6feedd09a7f01bca68feb05a5f2f033c<br />
* Beryl Netbeans Bug - http://ubuntuforums.org/showthread.php?t=252594<br />
* Beryl on Ubuntu - http://wiki.beryl-project.org/index.php/Install/Ubuntu/Edgy/XGL<br />
* Home directory permissions bug - http://www.ubuntuforums.org/showthread.php?p=1789997<br />
* gnome-bluetooth bug - https://launchpad.net/distros/ubuntu/+source/gnome-bluetooth/+bug/70718<br />
* Atheros network cards on Ubuntu - http://ubuntuforums.org/showthread.php?t=38972<br />
* Enabling the microphone - http://ubuntu.wordpress.com/2005/12/05/fixing-the-errant-microphone/<br />
* Enabling the microphone (2) - http://ubuntuforums.org/showthread.php?t=272166<br />
* This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation guides survey (IBM/Lenovo)].</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_6_on_a_ThinkPad_T60&diff=26499Installing Fedora Core 6 on a ThinkPad T602006-11-22T19:36:34Z<p>Wehe: added external links section</p>
<hr />
<div>== Installation ==<br />
<br />
Installation of Fedora Core 6 (Zod) on a Thinkpad T60 (2623). The installation completes successfully but installs the i586 kernel instead of the required i686 kernel. The wrong kernel is due to a [https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=211941 known bug] in the Anaconda installer.<br />
<br />
== Works Out of the Box ==<br />
<br />
; Dual Cores (SMP processing)<br />
: As of Kernel 2.6.18, used in Fedora Core 6, there is no loger a single cpu and smp kernel image. SMP is now configured on-the-fly. FC6's kernel will automatically discover the T60's dual core cpu and bring up CPU0 and CPU1.<br />
<br />
; Wired Networking <br />
: Kernel recognizes eth0 and correctly loads the e1000 driver.<br />
<br />
; Video at 1400x1050<br />
: Fedora does not ship the proprietary ATi driver, as a reult the VESA driver is used. Installation of the ATi fgrlx driver is described later in this article.<br />
<br />
; Touchpad / Mouse<br />
<br />
; Sound <br />
: The first-boot sound test fails to play the test sound. However, sound support is correctly configured and the snd-hda-intel driver is loaded at startup.<br />
<br />
; Suspend to RAM <br />
: Works out of the box under Gnome. Gnome power management intregrates with HAL (Linux's hardware abstraction layer) and DBUS, which correctly put this computer into a suspsend to RAM state and wake it up correctly.<br />
<br />
== Requires Tweaking == <br />
<br />
* Wireless Networking (Requires ipw3945 driver)<br />
* ATi OpenGL Direct Rendering<br />
* Suspend to Disk / Hibernate<br />
<br />
== Post Install ==<br />
<br />
=== Getting Up to Date ===<br />
<br />
Before completing installation, it's best to get up to date by running yum update as root or by using the new graphical updater, Pup, that ships with Fedora Core 6. After all updates are installed, reboot before continuing the post-install tasks.<br />
<br />
=== Replacing the Kernel ===<br />
<br />
As previously mentioned, the i586 kernel is installed on this machine instead of the i686 version. The i686 version is required to install the ATI video drivers and Intel Wireless drivers required to get this machine 100% operational.<br />
<br />
Installing the new kernel can be done by various methods as documented on the [https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=211941 Red Hat Bugzilla bug]. However, the safest method is to use [[yum]] to do the kernel swap.<br />
<br />
To swap kernels:<br />
# Open up a terminal window are become root.<br />
# Execute: yum remove kernel<br />
# Make note of any other packages that will be removed due to dependency issues. The packages will have to be reinstalled in the next step.<br />
# Install the kernel.i686 package and any other packages removed in the previous step.<br />
# Fix your [[Grub]] configuration<br />
# Reboot<br />
<br />
On a minimal install, the only dependencies removed were gnome-session, compiz, gnome-volume-manager, and pcmciautils. Getting things back on track required:<br />
<br />
# yum install kernel.i686 gnome-session compiz gnome-volume-manager pcmciautils<br />
<br />
After [Yum] completes, you will have to fix the boot loader or you will be unable to boot after a restart.<br />
<br />
Again as root, fire up your favorite text editor and add the following lines to your grub configuration (/boot/grub/grub.conf) just below the initial comments:<br />
<br />
<pre><br />
title FC6 2.6.18-1.2798<br />
kernel /vmlinuz-2.6.18-1.2798.fc6 ro root=LABEL=/ rhgb quiet<br />
initrd /initrd-2.6.18-1.2798.fc6.img<br />
</pre><br />
<br />
=== Setting Up Additional Repositories ===<br />
<br />
In order to get the ATI driver and the Intel Wireless working, you will need to add two repositories to your computer; [http://rpm.livna.org/ Livna RPMs] and [http://atrpms.net/ AT-RPMs] repositories to your machine. <br />
* AFAIK livna does not support mixing its repository with other sources than Fedora Core and Fedora Extras, so try adding software just from one repo.<br />
<br />
; Enabling Livna's Repository <br />
: As root, rpm -ivh http://rpm.livna.org/livna-release-6.rpm .<br />
<br />
; Enabling AT-RPMs Repository<br />
: As root, use your favorite editor to create /etc/yum.repos.d/atrpms.repo and type in:<br />
<pre><br />
[atrpms]<br />
name=Fedora Core $releasever - $basearch - ATrpms<br />
baseurl=http://dl.atrpms.net/fc$releasever-$basearch/atrpms/stable<br />
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms<br />
gpgcheck=1<br />
</pre><br />
<br />
== ATi Video Driver (fglrx) ==<br />
<br />
Installing the fglrx driver is easy if you've enabled the Livna.org RPM repository as discribed earlier in this article. Unfortunately, the proprietary ATi driver currently does not support desktop effects or composite rendering used be default in Fedora Core 6.<br />
<br />
To install the drivers, as root:<br />
[root@scottt60 ~]# yum install kmod-fglrx.i686 xorg-x11-drv-fglrx<br />
<br />
While the driver installs, X fails to use direct Open GL rendering. There are two things that need to be done to get the driver working. First, we must disable effects by adding these lines to the bottom of /etc/X11/xorg.conf:<br />
<br />
<pre><br />
Section "ServerFlags"<br />
Option "AIGLX" "off"<br />
EndSection<br />
<br />
Section "Extensions"<br />
Option "Composite" "Disable"<br />
EndSection<br />
</pre><br />
<br />
Next, we need to add ATi's driver directory to dynamic linker (ld) search path and update the linker configuration:<br />
<br />
<pre><br />
[root@scottt60 ~]# echo "/usr/lib/ati-fglrx/" > /etc/ld.so.conf.d/ati-fglrx.conf<br />
[root@scottt60 ~]# ldconfig<br />
</pre><br />
<br />
After ldconfig completes, restart X. You can check if you've completed your installation correctly by running fglrxinfo. Your output should look like this:<br />
<br />
<pre><br />
[scott@scottt60 ~]$ fglrxinfo <br />
display: :0.0 screen: 0<br />
OpenGL vendor string: ATI Technologies Inc.<br />
OpenGL renderer string: ATI Mobility Radeon X1400 Generic<br />
OpenGL version string: 2.0.6174 (8.31.5)<br />
</pre><br />
<br />
Congratulations, your video configuration is complete.<br />
<br />
== Wireless Networking ==<br />
<br />
To use the T60's built in wireless networking driver, you will need to install ipw3945 driver. The AT-RPMs repository, mentioned earlier in this article, provides the necessary packages. As root:<br />
<br />
# yum install ipw3945d ipw3945-ucode ipw3945-kmdl-2.6.18-1.2798.fc6.i686<br />
<br />
Once installed, you must add a startup script to have ipw3945d started at boot. Create the following script in a file named /etc/init.d/ipw3945d<br />
<pre><br />
#! /bin/bash<br />
#<br />
# ipw3490d Load / unload Intel ipw3490 daemon<br />
#<br />
# chkconfig: 2345 09 90<br />
# description: Load / unload Intel ipw3490 daemon<br />
#<br />
### BEGIN INIT INFO<br />
# Provides: ipw3490d<br />
### END INIT INFO<br />
<br />
# Source function library.<br />
. /etc/init.d/functions<br />
<br />
if [ ! -f /etc/sysconfig/network ]; then<br />
exit 0<br />
fi<br />
<br />
case "$1" in<br />
start)<br />
echo -n "Starting ipw3945d: "<br />
/sbin/ipw3945d > /dev/null 2>&1<br />
echo<br />
;;<br />
stop)<br />
echo -n "Stopping ipw3945d: "<br />
killproc ipw3945d<br />
echo<br />
;;<br />
status)<br />
status ipw3945d<br />
;;<br />
restart)<br />
cd "$CWD"<br />
$0 stop<br />
$0 start<br />
;;<br />
*)<br />
echo $"Usage: $0 {start|stop|restart|status}"<br />
exit 1<br />
esac<br />
<br />
exit 0<br />
</pre><br />
<br />
Now, make it executable and add the script with chkconfig to be started on boot:<br />
<br />
# chmod 750 /etc/init.d/ipw3945d<br />
# chkconfig --add ipw3945d<br />
<br />
Make sure things are setup correctly by running chkconfig --list ipw345d. Your output should look something like:<br />
<br />
# chkconfig --list ipw3945d<br />
ipw3945d 0:off 1:off 2:on 3:on 4:on 5:on 6:off<br />
<br />
If everything looks okay, reboot. Once restarted you should be able to run <code>ifconfig eth1</code> and see information about your wireless card.<br />
<br />
=External Sources=<br />
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)].<br />
<br />
[[Category:Fedora]]</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_Kubuntu_6.10_on_a_ThinkPad_X60s&diff=26498Installing Kubuntu 6.10 on a ThinkPad X60s2006-11-22T19:35:28Z<p>Wehe: /* Links */ removed links section and double link to tuxmobil.org</p>
<hr />
<div>= Installation of Kubuntu 6.10 on a ThinkPad X60s (model 1704-56G) =<br />
<br />
== Summary ==<br />
<br />
=== What works out of the box ===<br />
<br />
* Everything not listed below :)<br />
<br />
=== What needs to be fixed ===<br />
<br />
* CPU frequency scaling<br />
* Suspend to RAM (works partially)<br />
* Integrated fingerprint reader<br />
* VGA out<br />
<br />
=== What has not yet been tested ===<br />
<br />
* Modem<br />
* TPM<br />
* Firewire<br />
* PCMCIA<br />
<br />
== Installation ==<br />
<br />
The X60s lacks an optical drive, so installation was done using an IDE DVD-ROM drive installed into an USB HDD case. The laptop was first booted into Windows so the FAT32 partition would get converted into NTFS. The Kubuntu live environment was then booted from the DVD-ROM drive and the installation process was started from the desktop icon. During the installation, the Windows partition was resized from 70 GB to 20 GB and Linux partitions (1 GB swap, 20 GB /, the rest in /home) were created in the free space. The installation process then completed without errors.<br />
<br />
== Fixes after installation ==<br />
<br />
=== CPU frequency scaling ===<br />
<br />
In Kubuntu the first core was correctly scaled down into 1,0 GHz but the second core stubbornly stayed at 1,67 GHz. I found out the second core was using the "performance" governor instead of "ondemand". The governor could be changed manually as follows:<br />
<br />
echo ondemand | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor<br />
echo ondemand | sudo tee /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor<br />
<br />
I also installed the package "sysfsutils" and added the following lines into /etc/sysfs.conf:<br />
<br />
devices/system/cpu/cpu0/cpufreq/scaling_governor=ondemand<br />
devices/system/cpu/cpu1/cpufreq/scaling_governor=ondemand<br />
<br />
This way the correct governor is selected at boot-time. Because I was using in-kernel frequency selection (ondemand governor), I removed the "powernowd" package and added the following lines into /etc/modules so that the cpufreq modules would still get loaded at startup:<br />
<br />
freq_table<br />
speedstep_centrino<br />
cpufreq_ondemand<br />
<br />
Settings from sysfs.conf are not forced after suspend or hibernate, though, so I added the following short script as /etc/acpi/resume.d/99-cpufreq-ondemand:<br />
<br />
#!/bin/bash<br />
#Activate the ondemand governor on each CPU<br />
for i in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do<br />
echo ondemand > $i<br />
done<br />
<br />
Remember to make the script executable.<br />
<br />
=== Suspending ===<br />
<br />
It would seem that attempting to suspend with the WLAN and/or Bluetooth radios turned '''on''' makes the suspend process hang (suspend LED keeps on blinking indefinitely). With the radios turned off using Fn+F5 suspend still crashes too often (about once in three tries).<br />
<br />
Hibernate (suspend to disk, swsusp) works.<br />
<br />
=== Integrated fingerprint reader ===<br />
<br />
Kubuntu Edgy does not contain out-of-the-box support for the [[integrated fingerprint reader]] of the X60s.<br />
<br />
=== VGA out ===<br />
<br />
Despite plenty of poking around with the Guidance display configuration module and xorg.conf, I haven't managed to get VGA out working.<br />
<br />
=External Sources=<br />
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)].<br />
<br />
[[Category:X60s]]<br />
[[Category:Kubuntu]]</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_Kubuntu_6.10_on_a_ThinkPad_X60s&diff=26366Installing Kubuntu 6.10 on a ThinkPad X60s2006-11-12T12:14:29Z<p>Wehe: /* VGA out */ added external sources section</p>
<hr />
<div>= Installation of Kubuntu 6.10 on a ThinkPad X60s (model 1704-56G) =<br />
<br />
== Summary ==<br />
<br />
=== What works out of the box ===<br />
<br />
* Everything not listed below :)<br />
<br />
=== What needs to be fixed ===<br />
<br />
* CPU frequency scaling<br />
* Suspend to RAM (works partially)<br />
* Integrated fingerprint reader<br />
* VGA out<br />
<br />
=== What has not yet been tested ===<br />
<br />
* Modem<br />
* TPM<br />
* Firewire<br />
* PCMCIA<br />
<br />
== Installation ==<br />
<br />
The X60s lacks an optical drive, so installation was done using an IDE DVD-ROM drive installed into an USB HDD case. The laptop was first booted into Windows so the FAT32 partition would get converted into NTFS. The Kubuntu live environment was then booted from the DVD-ROM drive and the installation process was started from the desktop icon. During the installation, the Windows partition was resized from 70 GB to 20 GB and Linux partitions (1 GB swap, 20 GB /, the rest in /home) were created in the free space. The installation process then completed without errors.<br />
<br />
== Fixes after installation ==<br />
<br />
=== CPU frequency scaling ===<br />
<br />
In Kubuntu the first core was correctly scaled down into 1,0 GHz but the second core stubbornly stayed at 1,67 GHz. I found out the second core was using the "performance" governor instead of "ondemand". The governor could be changed manually as follows:<br />
<br />
echo ondemand | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor<br />
echo ondemand | sudo tee /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor<br />
<br />
I also installed the package "sysfsutils" and added the following lines into /etc/sysfs.conf:<br />
<br />
devices/system/cpu/cpu0/cpufreq/scaling_governor=ondemand<br />
devices/system/cpu/cpu1/cpufreq/scaling_governor=ondemand<br />
<br />
This way the correct governor is selected at boot-time. Because I was using in-kernel frequency selection (ondemand governor), I removed the "powernowd" package and added the following lines into /etc/modules so that the cpufreq modules would still get loaded at startup:<br />
<br />
freq_table<br />
speedstep_centrino<br />
cpufreq_ondemand<br />
<br />
Settings from sysfs.conf are not forced after suspend or hibernate, though, so I added the following short script as /etc/acpi/resume.d/99-cpufreq-ondemand:<br />
<br />
#!/bin/bash<br />
#Activate the ondemand governor on each CPU<br />
for i in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do<br />
echo ondemand > $i<br />
done<br />
<br />
Remember to make the script executable.<br />
<br />
=== Suspending ===<br />
<br />
It would seem that attempting to suspend with the WLAN and/or Bluetooth radios turned '''on''' makes the suspend process hang (suspend LED keeps on blinking indefinitely). With the radios turned off using Fn+F5 suspend still crashes too often (about once in three tries).<br />
<br />
Hibernate (suspend to disk, swsusp) works.<br />
<br />
=== Integrated fingerprint reader ===<br />
<br />
Kubuntu Edgy does not contain out-of-the-box support for the [[integrated fingerprint reader]] of the X60s.<br />
<br />
=== VGA out ===<br />
<br />
Despite plenty of poking around with the Guidance display configuration module and xorg.conf, I haven't managed to get VGA out working.<br />
<br />
=External Sources=<br />
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)].<br />
<br />
== Links ==<br />
<br />
* This page is listed at [http://tuxmobil.org/ibm.html TuxMobil]<br />
<br />
[[Category:X60s]]<br />
[[Category:Kubuntu]]</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_Slackware_10.1_on_a_PC110&diff=26049Installing Slackware 10.1 on a PC1102006-10-26T14:49:16Z<p>Wehe: /* Miscellaneous */ added external sources section</p>
<hr />
<div>== Summary ==<br />
<br />
This article describes how to configure Slackware 10.1 on a [[PC110]], with a [http://www.hgst.com/hdd/micro/overvw.htm 4GB Hitachi Microdrive] in one PCMCIA type II slot, a wireless network adapter in the other PCMCIA slot, as well as configuration settings for the [[CT-65535|video hardware]], the built-in peripheral devices including the pointing stick and touch pad, the modem and [[IrDA]] serial ports, the sound hardware, and the [[Power Management|power management]] features.<br />
<br />
=== What works ===<br />
<br />
* 4GB Hitachi Microdrive in a PCMCIA slot, from where the root filesystem is mounted<br />
* PCMCIA Network adapters (3Com 3c589, Linksys WPC11 11Mbps 802.11b WLAN Card) <br />
* Graphics adapter and accelerator ([[CT-65535]])<br />
* X.Org 6.8.1<br />
* Digitizer pad<br />
* [[IrDA]]<br />
* [[ES488]] Audio controller<br />
* Modem<br />
* Suspend/resume to RAM<br />
<br />
=== What needs to be fixed ===<br />
<br />
* Occasional video corruption when switching from X to console<br />
* Suspend to disk ({{key|Fn}}{{key|F12}} -- there is an appropriate symbol on the key, but it is unknown whether the PC110 can suspend to disk at all)<br />
* Floppy drive<br />
<pre><br />
ed@carrot:~$ sudo mount -t msdos /dev/fd0h1440 /mnt/floppy/<br />
mount: block device /dev/fd0h1440 is write-protected, mounting read-only<br />
mount: wrong fs type, bad option, bad superblock on /dev/fd0h1440,<br />
missing codepage or other error<br />
In some cases useful info is found in syslog - try<br />
dmesg | tail or so<br />
<br />
ed@carrot:~$ dmesg | tail<br />
inserting floppy driver for 2.4.29<br />
Floppy drive(s): fd0 is 1.44M<br />
FDC 0 is a post-1991 82077<br />
FAT: bogus logical sector size 223<br />
VFS: Can't find a valid FAT filesystem on dev 02:28.<br />
FAT: bogus logical sector size 223<br />
VFS: Can't find a valid FAT filesystem on dev 02:28.<br />
</pre><br />
<br />
==Kernel configuration==<br />
<br />
{{NOTE|These instructions are intended for use with Slackware 10.1 plus Linux kernel version [http://kernel.org/pub/linux/kernel/v2.4/linux-2.4.29.tar.bz2 2.4.29], rather than with any of the kernels included with the Slackware 10.1 distribution.}}<br />
<br />
<br />
The stock 2.4.29 Linux kernel requires [http://www.mail-archive.com/kbuild-devel@lists.sourceforge.net/msg02111.html a patch] before {{cmduser|make config}} will produce a configuration appropriate for an i486. Alternatively, skip the {{cmduser|make config}} stage and use [[PC110Kernel2429Config|this configuration]].<br />
<br />
Compile the kernel and modules (do this overnight if you're compiling on the PC110 itself) and copy the kernel to<br />
{{path|/boot/bzImage-2.4.29}}. Install the modules in {{path|/lib/modules/2.4.29}}. Install any other modules you may have ([[hostap]] wireless network card driver modules, for example) if {{cmdroot|make modules_install}} removes them.<br />
<br />
==Boot sequence==<br />
<br />
Booting with {{path|/}} on a PCMCIA device is a bit tricky. There are two ways to do it:<br />
<br />
# Add "PCMCIA" to the start-up disk choices in the BIOS, or</li><br />
# Use an initial ram disk to load the pcmcia modules.</li><br />
<br />
The first option is easier -- the BIOS takes over the slot with the Microdrive in, and the other<br />
one is free for other devices. This works for booting, but the BIOS doesn't seem to be able to wake<br />
the disk up after a suspend-resume cycle. It used to work with the original type III PCMCIA<br />
disk, so it seems the Microdrive needs to be prodded in a different way to revive it.<br />
<br />
The solution is to create a PCMCIA-aware <tt>initrd</tt> to initialise the PCMCIA controller<br />
before {{path|/}} is mounted. {{path|/sbin/pcinitrd}}, part of the <tt>pcmcia-cs</tt><br />
package, will do most of the work. The ramdisk it creates uses <tt>ash</tt> to execute {{path|/linuxrc}},<br />
so make sure <tt>ash</tt> is installed before running <tt>pcinitrd</tt>.<br />
The ramdisk created by <tt>pcinitrd</tt> isn't quite complete; add the missing libraries<br />
and binaries like so:<br />
<br />
<pre><br />
root@carrot:~# /sbin/pcinitrd initrd<br />
2400+0 records in<br />
2400+0 records out<br />
mke2fs 1.35 (28-Feb-2004)<br />
1836K/2357K used<br />
root@carrot:~# mount -o loop initrd /mnt/<br />
root@carrot:~# cp /sbin/insmod.old /mnt/bin/<br />
root@carrot:~# cp /lib/libblkid.so.1 /mnt/lib/<br />
root@carrot:~# cp /lib/libuuid.so.1 /mnt/lib/<br />
root@carrot:~# cp /lib/modules/2.4.29/kernel/drivers/pcmcia/i82365.o /mnt/lib/pcmcia<br />
root@carrot:~# cp /lib/modules/2.4.29/kernel/drivers/ide/legacy/ide-cs.o /mnt/lib/pcmcia<br />
root@carrot:~# ldconfig -v -r /mnt<br />
ldconfig: Can't open configuration file /etc/ld.so.conf: No such file or directory<br />
ldconfig: Can't stat /usr/lib: No such file or directory<br />
/lib:<br />
libuuid.so.1 -> libuuid.so.1<br />
libblkid.so.1 -> libblkid.so.1<br />
ld-linux.so.2 -> ld-linux.so.2<br />
libc.so.6 -> libc.so.6<br />
root@carrot:~# umount /mnt/<br />
root@carrot:~# gzip initrd<br />
root@carrot:~# cp initrd.gz /boot/initrd<br />
</pre><br />
<br />
Set the [http://www.basterfield.com/pc110/bios/startup.htm BIOS startup<br />
sequence] to "FDD-1", "HDD-1", in that order. It's essential that the BIOS boot sequence doesn't include "PCMCIA", because if it does the BIOS will control the slot with the disk in, and <tt>pcmcia-cs</tt> will only control the one with the network card. The BIOS doesn't seem to be able to wake up the 4GB Hitachi Microdrive properly after a suspend/resume cycle, whereas the Linux IDE driver does.<br />
<br />
{{path|/boot}} is mounted on {{path|/dev/hda1}}, the 4MB internal flash disk (Hard<br />
disk 1 in the BIOS).<br />
<br />
{{path|/etc/lilo.conf}} should look like<br />
<br />
<pre><br />
boot=/dev/hda<br />
map=/boot/map<br />
install=/boot/boot.b<br />
prompt<br />
timeout=50<br />
linear<br />
default=slackware-10.1<br />
<br />
image=/boot/bzImage-2.4.29<br />
label=slackware-10.1<br />
inirtd=/boot/initrd<br />
read-only<br />
root=/dev/hdc2<br />
append="hdd=noprobe"<br />
</pre><br />
<br />
LILO version 22.5.9, as installed with Slackware 10.1, complains about the <tt>linear</tt><br />
option, but there is no immediate need to take it out; it's always been there and it's always worked.<br />
{{path|/dev/hda}} isn't bigger than 8.4GB, so using <tt>lba32</tt> instead wouldn't gain anything.<br />
<br />
<tt>append="hdd=noprobe"</tt> prevents the IDE driver probing for a slave device<br />
on the second IDE interface (the other PCMCIA slot); nothing bad happens if the probe takes place, but the boot<br />
process hangs for a few seconds. We know there's nothing there, so there's no point looking.<br />
<br />
=={{path|/etc/fstab}}==<br />
<br />
{{path|/etc/fstab}} looks like this:<br />
<br />
<pre><br />
/dev/hda1 /boot ext2 ro 1 2<br />
/dev/hdc2 / ext3 defaults 1 1<br />
/dev/fd0 /mnt/floppy auto noauto,owner 0 0<br />
none /proc proc defaults 0 0<br />
none /dev/pts devpts gid=5,mode=620 0 0<br />
/dev/hdc1 swap swap defaults 0 0<br />
</pre><br />
<br />
{{HINT|Mounting / with option "noatime" might be a good idea.}}<br />
<br />
{{HINT|For NFS to work properly, make sure /etc/rc.d/rc.portmap is chmod 755.}}<br />
<br />
==PCMCIA configuration==<br />
<br />
The second serial port and the sound card use IRQs 3 and 5 respectively, and the<br />
touch pad uses IRQ 10. Edit {{path|/etc/pcmcia/config.opts}} to prevent any PCMCIA devices<br />
being assigned these IRQs:<br />
<br />
<pre><br />
# Second built-in serial port<br />
exclude irq 3<br />
# Sound card<br />
exclude irq 5<br />
# Touch pad<br />
exclude irq 10<br />
</pre><br />
<br />
Make sure the {{path|/etc/pcmcia/config.opts}} found in the initial ramdisk<br />
{{path|/boot/initrd}} has the same IRQs excluded.<br />
<br />
==Network==<br />
<br />
{{NOTE|This section describes how to configure [[Hostap]] to use a Zyxel ZyAir B-100 11Mbps 802.11b WLAN card. This card uses the Prism3 chipset, and identifies itself as a "Linksys WPC11 11Mbps 802.11b WLAN Card". The following guidelines may work with other Prism3 chipset WLAN PCMCIA cards, but have only been tested with the card named above.}}<br />
<br />
[[Hostap]] isn't included with the <tt>pcmcia-cs</tt> distribution, so needs adding to the configuration files. Edit {{path|/etc/pcmcia/config}} and add this to the "Device driver definitions"<br />
section at the top of the file:<br />
<br />
<pre><br />
device "hostap_cs"<br />
class "network" module "hostap_cs"<br />
</pre><br />
<br />
and in the "Wireless network adapters" section (about half way through the file) change<br />
<pre><br />
card "Linksys WPC11 11Mbps 802.11b WLAN Card"<br />
manfid 0x0274, 0x1613<br />
bind "orinoco_cs"<br />
</pre><br />
to<br />
<pre><br />
card "Linksys WPC11 11Mbps 802.11b WLAN Card"<br />
manfid 0x0274, 0x1613<br />
bind "hostap_cs"<br />
</pre><br />
<br />
Compile the driver modules and install them in {{path|/lib/modules/}}:<br />
<pre><br />
/lib/modules/2.4.29/kernel/drivers/net/pcmcia/hostap_cs.o<br />
/lib/modules/2.4.29/kernel/drivers/net/wireless/hostap.o<br />
/lib/modules/2.4.29/kernel/drivers/net/wireless/hostap_crypt_ccmp.o<br />
/lib/modules/2.4.29/kernel/drivers/net/wireless/hostap_crypt_tkip.o<br />
/lib/modules/2.4.29/kernel/drivers/net/wireless/hostap_crypt_wep.o<br />
/lib/modules/2.4.29/kernel/drivers/net/wireless/hostap_pci.o<br />
/lib/modules/2.4.29/kernel/drivers/net/wireless/hostap_plx.o<br />
/lib/modules/2.4.29/pcmcia/hostap_cs.o<br />
</pre><br />
({{path|/lib/modules/2.4.29/pcmcia/hostap_cs.o}} is a symbolic link to<br />
{{path|../kernel/drivers/net/pcmcia/hostap_cs.o}}).<br />
<br />
===WPA configuration===<br />
<br />
{{NOTE|WPA requires that the Prism3 card's station firmware is at least version 1.7.0. Newer firmware is available [http://www.red-bean.com/~proski/firmware/ here] and instructions for downloading it into the network card's flash memory using tools supplied as part of the [[hostap]] driver can be found [http://linux.junsun.net/intersil-prism/ here].}}<br />
{{WARN|Unsuccessful attempts to reprogram the network card's flash memory may leave it in an unusable state, except as some sort of paperweight, or perhaps a tool for scraping ice off a car window. WEP and unencrypted network configurations will work with whichever station firmware version your card already has; if you don't understand the instructions for installing newer firmware versions, or don't understand why you might want a newer version, don't do it.}}<br />
<br />
Build and install <tt>wpa_supplicant</tt> according to the instructions in the source package.<br />
See its README file for details. Configure <tt>wpa_supplicant</tt> as described in the README,<br />
and summarised here.<br />
<br />
<p><br />
Create {{path|/etc/wpa_supplicant.conf}}:<br />
<pre><br />
network={<br />
ssid="&lt;the network name&gt;"<br />
scan_ssid=1<br />
key_mgmt=WPA-PSK<br />
psk="&lt;the key&gt;"<br />
}<br />
</pre><br />
<br />
Add the following block to the end of 'start' action handler in<br />
{{path|/etc/pcmcia/wireless}}:<br />
<br />
<pre><br />
if [ "$WPA" = "y" -a -x /usr/local/bin/wpa_supplicant ]; then<br />
/usr/local/bin/wpa_supplicant -Bw -c/etc/wpa_supplicant.conf -i$DEVICE<br />
fi<br />
</pre><br />
<br />
Separate 'restart', 'resume', 'check' and 'suspend' action handlers from 'stop', and<br />
add the following block to the end of 'stop' action handler in {{path|/etc/pcmcia/wireless}}:<br />
<br />
<pre><br />
if [ "$WPA" = "y" -a -x /usr/local/bin/wpa_supplicant ]; then<br />
killall wpa_supplicant<br />
fi<br />
</pre><br />
<br />
===General wireless network configuration===<br />
<br />
Edit {{path|/etc/pcmcia/wireless.opts}}. Remove the section marked "SECTION TO REMOVE"<br />
at the beginning of the file and replace it with this:<br />
<br />
<pre><br />
*,*,*,*)<br />
ESSID="&lt;the network name&gt;"<br />
KEY="&lt;the key&gt;"<br />
MODE="Managed"<br />
WPA="y"<br />
;;<br />
</pre><br />
<br />
Configure the network settings in {{path|/etc/pcmcia/network.opts}}. It's easiest if there is a DHCP server on the network, then the only change necessary is to ensure that<br />
<br />
<pre><br />
DHCP="y"<br />
</pre><br />
<br />
<tt>dhcpcd</tt> will clobber {{path|/etc/ntp.conf}} if you don't tell it not<br />
to. Edit {{path|/etc/rc.d/rc.inet1}} and {{path|/etc/pcmcia/network}} and add<br />
<tt>-N</tt> to every invocation of {{path|/sbin/dhcpcd}}. <tt>dhcpcd</tt> restores<br />
the original {{path|/etc/ntp.conf}} when it exits, so kill any running <tt>dhcpcd</tt><br />
process before editing {{path|/etc/ntp.conf}} (described in the next section).<br />
<br />
==Setting the clock==<br />
<br />
NTP configuration is optional but it's nice to have the clock tell the right time, particularly<br />
if there are NFS mounts.<br />
<br />
The <tt>ntpd</tt> (version 4.2.0) supplied with Slackware 10.1 is a big program that<br />
will hog more than 3MB of memory, so [http://chrony.sunsite.dk/ chronyd] is probably a better choice for the PC110. <tt>chronyd</tt> also measures the drift of<br />
the hardware clock, so can make a better estimate of the time immediately following a reboot.<br />
<br />
Create {{path|/etc/chrony.conf}} containing this:<br />
<br />
<pre><br />
driftfile /etc/chrony.drift<br />
rtcfile /etc/chrony.rtc<br />
rtconutc<br />
keyfile /etc/chrony.keys<br />
commandkey 0<br />
<br />
local stratum 10<br />
<br />
server 0.europe.pool.ntp.org<br />
server 1.europe.pool.ntp.org<br />
server 2.europe.pool.ntp.org<br />
server ch.pool.ntp.org<br />
server uk.pool.ntp.org<br />
<br />
deny all<br />
allow 127.0.0.1<br />
</pre><br />
<br />
{{HINT|Choose NTP servers located fairly close by geographically, if possible. This particular choice of time servers is appropriate for a computer somewhere in Europe.}}<br />
<br />
{{HINT|Set the time in the BIOS to UTC, or remove the line "rtconutc" from the configuration file. Keeping the time in the BIOS as UTC allows <tt>chronyd</tt> to keep track of daylight saving time correctly, but has the disadvantage that the time displayed on the front of the PC110 will be UTC not the local time.}}<br />
<br />
Launch <tt>chronyd</tt> from {{path|/etc/rc.d/rc.local}}:<br />
<br />
Create {{path|/etc/rc.d/rc.local}}, <tt>chmod 755</tt>, if it doesn't already exist.<br />
Add<br />
<pre><br />
echo "Starting NTP daemon: /usr/sbin/chronyd"<br />
/usr/sbin/chronyd<br />
</pre><br />
<br />
to start NTP when the {{PC110}} boots.<br />
<br />
==Keyboard map==<br />
<br />
Create {{path|/etc/rc.d/rc.keymap}} containing this:<br />
<pre><br />
#!/bin/sh<br />
# Load the keyboard map. More maps are in /usr/share/kbd/keymaps.<br />
if [ -x /usr/bin/loadkeys ]; then<br />
/usr/bin/loadkeys pc110.map<br />
fi<br />
</pre><br />
and <tt>chmod 755</tt>.<br />
<br />
It'll be called from {{path|/etc/rc.d/rc.M}} when the system boots.<br />
<br />
==Sound==<br />
<br />
The sound card is 8-bit, mono, and SoundBlaster compatible.<br />
<br />
Put this in {{path|/etc/modules.conf}}:<br />
<br />
<pre><br />
alias sound-slot-0 sb<br />
alias midi opl3<br />
options opl3 io=0x388<br />
options sb io=0x220 irq=5 dma=1<br />
alias sound sb<br />
</pre><br />
<br />
<br />
==Touch pad==<br />
<br />
The touch pad is fiddly and inconvenient to use, but it may as well be configured.<br />
<br />
<pre><br />
mknod /dev/pc110pad c 10 9<br />
</pre><br />
Run {{cmdroot|/usr/sbin/mouseconfig}} and choose a PS/2 mouse, in order to link<br />
{{path|/dev/mouse}} to {{path|/dev/psaux}} and create {{path|/etc/rc.d/rc.gpm}}.<br />
<br />
Edit {{path|/etc/rc.d/rc.gpm}} to invoke gpm in repeater mode: change both occurrences of<br />
<br />
<pre><br />
/usr/sbin/gpm -m /dev/mouse -t ps2<br />
</pre><br />
to<br />
<pre><br />
/usr/sbin/gpm -R -tps2 -M -tps2 -m /dev/pc110pad -g1 -i500 -d8<br />
</pre><br />
<br />
And in {{path|/etc/modules.conf}}:<br />
<pre><br />
alias char-major-10-9 pc110pad<br />
</pre><br />
<br />
==Serial ports==<br />
<br />
{{NOTE|The PC110 doesn't let you use all the serial ports at the same time: there are three serial devices and one two-channel UART. Here we configure the IrDA port and modem, since those are the two devices built into the computer itself (the ordinary DE9 wired serial port is located on the port replicator). The standard<br />
serial port requires no configuration beyond initialisation of the driver.}}<br />
<br />
In the BIOS, [http://www.basterfield.com/pc110/bios/serial.htm set the serial<br />
ports] to "Infrared 1" (ttyS0) and "Modem 2" (ttyS1). The potentially most useful setting,<br />
activating the serial port on the port replicator and IrDA at the same time and ignoring the<br />
crappy modem altogether, is not available because these two devices share UART circuitry.<br />
<br />
===IrDA===<br />
<br />
The device files need to be created:<br />
<br />
<pre><br />
mknod /dev/ircomm0 c 161 0<br />
mknod /dev/ircomm1 c 161 1<br />
mknod /dev/irlpt0 c 161 16<br />
mknod /dev/irlpt1 c 161 17<br />
mknod /dev/irnet c 10 187<br />
chmod 666 /dev/ir*<br />
</pre><br />
<br />
Put this in <tt>/etc/modules.conf</tt>:<br />
<br />
<pre><br />
alias tty-ldisc-11 irtty<br />
alias char-major-161 ircomm-tty<br />
</pre><br />
<br />
Get the [http://sourceforge.net/project/showfiles.php?group_id=5616 user-space<br />
IrDA tools] and install them.<br />
<br />
<p>{{cmdroot|irattach /dev/ttyS0 -s}} should load all the required modules, and start flashing<br />
the red light.<br />
<br />
===Modem===<br />
<br />
The modem is "FAX Class2/2.0 9600bps, DATA 2400/MNP5, VOICE (no standard)", and<br />
mostly undocumented. Finding suitable initialisation and command strings is left as an exercise<br />
for the reader.<br />
<br />
Here is the information it is prepared to tell us:<br />
<pre><br />
ati0<br />
Ver. 1.04 <br />
<br />
OK<br />
ati1<br />
197<br />
<br />
OK<br />
at&v<br />
ACTIVE PROFILE: E1 M1 Q0 T V1 X4 &C1 &D2 &K3 &Q0 &S0 &T0 S00:000 S02:043<br />
S03:013 S04:010 S05:008 S06:003 S07:030 S08:002 S09:020 S10:014 S11:070 S12:050<br />
S96:015<br />
<br />
DEFAULT PROFILE: E1 M1 Q0 T V1 X4 &C1 &D2 &K3 &Q0 &S0 &T0 S00:000 S02:043<br />
S06:003 S07:030 S08:002 S09:020 S10:014 S11:070 S12:050 S96:015<br />
<br />
OK<br />
</pre><br />
<br />
The modem is ''really loud'', so <tt>ATM0</tt> would be a good start;<br />
[http://open.nit.ca/wiki/index.php?page=WvDial <tt>wvdial</tt>] might be<br />
useful too. {{path|/etc/wvdial.conf}} might look like:<br />
<br />
<pre><br />
[Dialer Defaults]<br />
Modem = /dev/modem<br />
Baud = 57600<br />
# The PC110 modem doesn't like spaces in command strings.<br />
Init = ATZ<br />
Init2 = ATX3M0<br />
Init3 = ATQ0V1E1S0=0&C1&D2S11=55+FCLASS=0<br />
Phone = 555 555 5555<br />
Username = name<br />
Password = password<br />
</pre><br />
<br />
<br />
<br />
==APM==<br />
<br />
===[[Standby mode]]===<br />
<br />
The BIOS takes care of entering standby mode and turning off the display backlight when running on battery power. The backlight stays on when connected to AC power.<br />
<br />
===[[Sleep mode]]===<br />
<br />
The system can be suspended by pressing {{key|Fn}}{{key|F4}}, or by closing the lid. Opening the lid, or pressing {{key|Fn}}, wakes the machine up again.<br />
<br />
{{NOTE|It's essential that the BIOS boot sequence doesn't include "PCMCIA", because if it does the BIOS will control the slot with the disk in, and <tt>pcmcia-cs</tt> will only control the one with the network card. The BIOS doesn't seem to be able to wake the disk up properly after a suspend/resume cycle, whereas the Linux IDE driver does.}}<br />
<br />
Use the spare space on {{path|/dev/hda}}, mounted at {{path|/boot}} to keep a few handy binaries available even when {{path|/}}, the disk, is unavailable:<br />
<pre><br />
root@carrot:/boot# ls -lR apmd/ <br />
apmd/:<br />
total 2<br />
drwxr-xr-x 2 root root 1024 2006-07-23 16:17 bin/<br />
drwxr-xr-x 2 root root 1024 2005-03-21 00:50 lib/<br />
<br />
apmd/bin:<br />
total 349<br />
-rwxr--r-- 1 root root 650 2006-07-23 12:09 apmd_proxy*<br />
-rwxr-xr-x 1 root root 263064 2005-03-21 01:12 ash.static*<br />
-rwxr-xr-x 1 root root 14276 2005-03-21 00:50 cardctl*<br />
-rwxr-xr-x 1 root root 47656 2005-03-21 18:12 hdparm*<br />
-rwxr-xr-x 1 root root 14288 2005-03-21 18:13 sleep*<br />
-rwxr-xr-x 1 root root 11892 2005-03-21 18:13 sync*<br />
<br />
apmd/lib:<br />
total 1433<br />
-rwxr-xr-x 1 root root 100449 2005-03-21 00:49 ld-linux.so.2*<br />
-rwxr-xr-x 1 root root 1357414 2005-03-21 00:50 libc.so.6*<br />
</pre><br />
<br />
{{path|/boot/apmd/bin/apmd_proxy}} is a script called by <tt>apmd</tt> immediately before going to sleep, and again immediately after waking up. Some experimentation has resulted in the following script:<br />
<br />
<pre><br />
#!/boot/apmd/bin/ash.static<br />
<br />
# Make sure everything is flushed to the disk before suspending,<br />
# and tell the disk to spin down.<br />
<br />
LD_SO=/boot/apmd/lib/ld-linux.so.2<br />
LD_LIBRARY_PATH=/boot/apmd/lib<br />
<br />
case "$1" in<br />
suspend)<br />
$LD_SO --library-path $LD_LIBRARY_PATH /boot/apmd/bin/sync<br />
$LD_SO --library-path $LD_LIBRARY_PATH /boot/apmd/bin/sync<br />
$LD_SO --library-path $LD_LIBRARY_PATH /boot/apmd/bin/sync<br />
$LD_SO --library-path $LD_LIBRARY_PATH /boot/apmd/bin/hdparm -f /dev/hdc<br />
$LD_SO --library-path $LD_LIBRARY_PATH /boot/apmd/bin/hdparm -Y /dev/hdc<br />
;;<br />
<br />
resume)<br />
# The IDE disk driver will wake the disk up again if it is properly stopped before suspending.<br />
;;<br />
esac<br />
</pre><br />
<br />
Edit {{path|/etc/rc.d/rc.M}} to tell <tt>apmd</tt> where to find the script to execute.<br />
<br />
<pre><br />
# Start APM or ACPI daemon.<br />
# If APM is enabled in the kernel, start apmd:<br />
if [ -e /proc/apm ]; then<br />
if [ -x /usr/sbin/apmd ]; then<br />
echo "Starting APM daemon: /usr/sbin/apmd"<br />
/usr/sbin/apmd -P /boot/apmd/bin/apmd_proxy<br />
fi<br />
elif [ -x /etc/rc.d/rc.acpid ]; then # otherwise, start acpid:<br />
. /etc/rc.d/rc.acpid start<br />
fi<br />
</pre><br />
<br />
===[[Hibernation mode]]===<br />
<br />
Although the F12 key has a symbol on it that suggests suspending to disk, {{key|Fn}}{{key|F12}} does nothing.<br />
<br />
==X.Org 6.8.1==<br />
<br />
Turn off "Font Window" in the BIOS memory settings.<br />
<br />
[[CT-65535|Here]] is a working {{path|xorg.conf}}. Note that<br />
<br />
<pre><br />
Option "SWCursor"<br />
</pre><br />
<br />
is essential: configured to use the default hardware cursor, X will fail to start, and will just show a black screen and use 100% CPU until it's killed.<br />
<br />
The PC110 has enough video RAM to display 800x600 and 256 colours, either using a virtual desktop and a 640x480 viewport on the computer's own display, or full-screen using an external monitor connected to the VGA port on the port replicator. The appropriate Modeline to use depends on the desired settings for the external monitor.<br />
<br />
Using [http://www.jfc.org.uk/software/lwm.html <tt>lwm</tt>] is a good way to make the most of the PC110's limited memory. Finding button 2 on the mouse is a bit tricky, and so is accurately moving the pointer to a window frame, so<br />
<br />
<pre><br />
lwm*button1: xterm<br />
lwm*focus: click<br />
</pre><br />
<br />
makes a good addition to {{path|~/.Xresources}}.<br />
<br />
<br />
==Miscellaneous==<br />
<br />
Prevent <tt>syslogd</tt> from filling up the log with<br />
<pre><br />
Mar 12 08:40:33 carrot -- MARK --<br />
Mar 12 09:00:36 carrot -- MARK --<br />
Mar 12 09:20:41 carrot -- MARK --<br />
Mar 12 09:40:43 carrot -- MARK --<br />
Mar 12 10:20:48 carrot -- MARK --<br />
Mar 12 10:56:35 carrot -- MARK --<br />
</pre><br />
messages (and, more importantly, waking up the disk all the time and draining the battery<br />
without good reason) by editing {{path|/etc/rc.d/rc.syslog}}: add <tt>-m 0</tt> to the<br />
invocation:<br />
<pre><br />
echo -n "/usr/sbin/syslogd -m 0 "<br />
/usr/sbin/syslogd -m 0<br />
</pre><br />
<br />
{{path|/etc/rc.d/rc.modules}} is mostly comment; it only loads two modules as installed --<br />
agpgart and ide-scsi. Neither are useful on the {{PC110}}, so comment both of them out to avoid a<br />
couple of error messages at boot time.<br />
<br />
=External Sources=<br />
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)].<br />
<br />
==APM==</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_OpenSuSE_10.1_on_a_ThinkPad_X41_Tablet&diff=26046Installing OpenSuSE 10.1 on a ThinkPad X41 Tablet2006-10-26T13:04:57Z<p>Wehe: /* Helpful software */ added external sources section</p>
<hr />
<div>== Success Chart ==<br />
<br />
{| border="1" cellpadding="5" cellspacing="0"<br />
|-<br />
|colspan=2| '''Item''' || '''Working''' || '''Notes'''<br />
|-<br />
|rowspan=2|Installation <br />
| Network Installation ||class="diff-addedline"| Yes ||<br />
|-<br />
| USB Installation ||class="diff-addedline"| Yes (DVD) ||<br />
|- <br />
|rowspan=4|Display<br />
| Laptop Screen ||class="diff-addedline"| Yes || X.org i810 driver<br />
|-<br />
| CRT / Projector ||class="diff-addedline"| Yes || <br />
|-<br />
| Screen Rotation ||class="diff-addedline"| Yes (see discussion) || <br />
|-<br />
| Stylus ||class="diff-addedline"| Yes || wacom serial driver.<br />
|-<br />
|rowspan=2|Power Management<br />
| Software Suspend (hibernate) ||class="diff-context"| not tested || [[Software Suspend 2]]<br />
|-<br />
| Suspend to Memory (ACPI sleep) ||class="diff-context"| not tested || [[Software Suspend 2]]<br />
|-<br />
|colspan=2| Audio ||class="diff-addedline"| Yes || ALSA intel8x0 driver<br />
|-<br />
|rowspan=2| Wireless || 802.11b/g ||class="diff-addedline"| Yes || <br />
|-<br />
| Bluetooth ||class="diff-addedline"| Yes ||<br />
|-<br />
|rowspan=2|Extra Buttons || Keyboard Section ||class="diff-addedline"| Yes || ibm-acpi driver<br />
|-<br />
| Tablet buttons ||class="diff-context"| not working yet || setkeycodes<br />
|-<br />
|colspan=2| Middle Mouse button ||class="diff-addedline"| Yes ||<br />
|-<br />
|colspan=2| Fingerprint Scanner ||class="diff-context"| not working yet || bioapi<br />
|-<br />
|colspan=2| Harddisk Active Protection ||class="diff-context"| not tested || kernel 2.6.16, hdapsd<br />
|}<br />
<br />
== Introduction ==<br />
As you will realise quickly, I've taken the installation tipps from the (by the way very good) site {{Install|Fedora| Core 5|X41 Tablet}}. I've been a windows user for quite a long time so I decided to go with OpenSuSE because I've already had contact with this distro some years ago and found it very good, looking at usability, settings, installation, etc. Many things of your Thinkpad will work out of the box.Later in this article I'd like to show some software I'm currently using and that I find very handy on a Tablet.<br />
<br />
== Installation ==<br />
Download the OpenSuSE iso-Image and burn it either on CD's or DVD (if you go with DVD there's no need to swap media). An external drive should be recognized automatically.<br />
Installing OpenSuSE 10.1 is just as simple as with every other Linux distro. Adjust your local settings and choose your packages (see Helpful software for detailed information). After a reboot you're ready to run with the chameleon;-) <br />
<br />
Personally, I logged on as user although you have some administration work to do, but the good graphical user interfaces like YAST or SAX make it easy.<br />
<br />
== Display ==<br />
=== Graphics ===<br />
For the graphics setup you can either edit your preferences the "Linux"-way or you go with the "Windows"-method. I've chosen the second one and so made my preferences with SAX2 that you should find in System > Configuration > SaX2.<br />
<br />
Change the settings of the monitor, like resoltuion or color depth like you want but make sure you TEST your settings before SAVING them.<br />
Switching monitors with the FN-F7 combination should work out of the box.<br />
=== Stylus ===<br />
To enable the stylus simply go to the submenu "Touchscreen" in SAX2 and activate it. Choose "Wacom" and then "PenabledTablet". Save your settings and restart your computer and we're done here;-)<br />
<br />
For information about enabling the stylus by editing the xorg.conf go to {{Install|Fedora| Core 5|X41 Tablet}}.<br />
<br />
=== Screen rotation ===<br />
Definitly a feature that would come in handy for use with a tablet. For information about updating your X-Server take a look at the discussion. After updating the X-Server you can rotate the screen using xrandr.<br />
xrandr -o right<br />
<br />
should rotate the screen 90 degrees to the right. You can add this command to a starter on the desktop or the panel.<br />
xrandr -o normal<br />
<br />
will flip back the screen to normal position.<br />
{{NOTE| Although the screen rotates, the axis of the mouse and the stylus stay the same. So to avoid problems I changed the stylus settings as following:<br />
1. Got to SaX2 to the submenu "tablet"<br />
<br />
2. select "activate this tablet" and select "WACOM/ISDV4 TABLET PC(serial)"<br />
<br />
3. select the register "electronic stylus"<br />
<br />
4. select both stylus and eraser and click on "configure"<br />
<br />
5. scroll down to the point "ROTATE" and select there "CW" do this twice<br />
<br />
6. save the settings and restart the computer<br />
<br />
<br />
Now, if you have the convertible like a normal laptop the mouse works fine but the axis of the stylus are different (no great deal because normally you use the mouse) but when you swivel the screen to tablet mode you can rotate the screen and use the stylus and it works fine!}}<br />
<br />
== Power Management ==<br />
It sounds weird, but I actually don't care about Power Management because I just shut down my Laptop or look for the next power supply, but I'm sure that some may be interested in this so once again I recommend you to visit the Fedora Core site.<br />
<br />
== Audio ==<br />
This feature works out of the box with no problems or any differences to Windows. You can even control the volume with the Thinkpad buttons but you don't get a graphical feedback.<br />
<br />
== Wireless ==<br />
No great thing there, both, wlan and bluetooth work properly and without any problems. Make sure you install the NetworkManager if you go with GNOME it's very useful.<br />
<br />
== Extra buttons ==<br />
{{NOTE|If you haven't installed "tpb" with OpenSuSE, please install it now. You will need it for this chapter.}}<br />
=== Keyboard section ===<br />
The FN-Combinations should work properly without any changes just as the volume up/down and mute key. I wonder why tcb doesn't give a graphical feedback but maybe someone can figure this out.<br />
<br />
=== Tablet Buttons ===<br />
I don't know hox to execute a command on startup so I've created a little starter that runs the following command:<br />
sudo setkeycodes 6e 109 6d 104 69 28 6b 1 6c 120<br />
You just have to enter Root's password and you're done but somehow this setting gets lost on reboot.<br />
<br />
== Middle Mouse button ==<br />
You can activate the middle mouse button using SAX2 again. Enter your administration password and go to the submenu "mouse". There activate the option "Emulate Mouse Wheel" and change the number besides to "2". Restart your Laptop and it works.<br />
<br />
{{NOTE|Enabling the middle mouse button under Linux gives you more freedom than under Windows because the use of scrolling isn't anymore limited. You can scroll in every application that allows scrolling (exception: horizontal scrolling -> specific settings)}}<br />
<br />
As I use Opera I also changed my Opera settings according to [http://www.thinkwiki.org/index.php?title=How_to_configure_the_TrackPoint How to configure the TrackPoint]<br />
<br />
If you're interessted in enabling the middle mouse button NOT graphical visit [http://www.thinkwiki.org/index.php?title=How_to_configure_the_TrackPoint How to configure the TrackPoint]<br />
<br />
== Fingerprint reader ==<br />
I loved this one under Windows. It always gives this "magic"-effect when everyone types his password and you just swipe your finger, but I'm very unhappy not to get this running. I'm having problems with the BioApi because OpenSuSE 10.1 uses a newer GCC and the hint on the site [http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader How to enable the fingerprint reader] it didn't work<br />
<br />
== Harddisk Active Protection ==<br />
I'm not interested in this feature because I don't treat my laptop like a cocktail (shaken not stired;-))<br />
== Helpful software ==<br />
Getting at least some of the features of a tablet PC working will offer you new possibilities of working.<br />
* '''Xournal''': handy program for taking handwritten notes (no recognition like OneNote). It has also the skill to annotate PDF's, very useful. Sources can be found [http://prdownloads.sourceforge.net/xournal/xournal-0.3.1.tar.gz?download here].<br />
{{HINT| Installation is even for people who are scared of the terminal (like me;-)) easy, because there's an install script}}<br />
* '''VYM''': If you ever need to create mind-maps (by the way a very good method for projects) "View Your Mind" is the right thing. You can select it on OpenSuSE Installation or get it via Internet or YAST.<br />
* '''Scribus''': useful to create flyers or other DTP-stuff. You can get an rpm-Package [http://www.scribus.net/ here].<br />
* '''JMathNotes''': Transforms handwritten formula into LaTeX. For Packages click [http://page.mi.fu-berlin.de/~tapia/JMathNotes/ here]<br />
* '''MPlayer''':for some strange reason SuSE doesn't provide support for the libraries neede to view DVD's. This is where you're gonna need MPlayer. For details go [http://susewiki.org/index.php?title=Getting_proper_media_support_with_MPlayer here]<br />
<br />
=External Sources=<br />
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)] and the [http://tuxmobil.org/tablet_unix.html Linux on Tablet PCs and webpads survey].</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&diff=26045Installing Fedora Core 5 on a ThinkPad X41 Tablet2006-10-26T13:03:59Z<p>Wehe: /* Jarnal Note-Taking */ added external sources section</p>
<hr />
<div>== Success Chart ==<br />
<br />
{| border="1" cellpadding="5" cellspacing="0"<br />
|-<br />
|colspan=2| '''Item''' || '''Working''' || '''Notes'''<br />
|-<br />
|rowspan=2|Installation <br />
| Network Installation ||class="diff-addedline"| Yes ||<br />
|-<br />
| USB Installation ||class="diff-addedline"| Yes (DVD) ||<br />
|- <br />
|rowspan=4|Display<br />
| Laptop Screen ||class="diff-addedline"| Yes || X.org i810 driver<br />
|-<br />
| CRT / Projector ||class="diff-addedline"| Yes || <br />
|-<br />
| Screen Rotation ||class="diff-addedline"| Yes || <br />
|-<br />
| Stylus ||class="diff-addedline"| Yes || wacom serial driver.<br />
|-<br />
|rowspan=2|Power Management<br />
| Software Suspend (hibernate) ||class="diff-addedline"| Yes || [[Software Suspend 2]]<br />
|-<br />
| Suspend to Memory (ACPI sleep) ||class="diff-addedline"| Yes (mostly) || [[Software Suspend 2]]<br />
|-<br />
|colspan=2| Audio ||class="diff-addedline"| Yes || ALSA intel8x0 driver<br />
|-<br />
|rowspan=2| Wireless || 802.11b/g ||class="diff-addedline"| Yes || ipw2200/madwifi drivers<br />
|-<br />
| Bluetooth ||class="diff-context"| Not Tested (should work) || See [[Installing_Fedora_Core_4_on_a_ThinkPad_X41_Tablet#Bluetooth|Bluetooth on Fedora Core 4]]<br />
|-<br />
|rowspan=2|Extra Buttons || Keyboard Section ||class="diff-addedline"| Yes || ibm-acpi driver<br />
|-<br />
| Tablet buttons ||class="diff-addedline"| Yes || setkeycodes<br />
|-<br />
|colspan=2| Fingerprint Scanner ||class="diff-addedline"| Yes || bioapi<br />
|-<br />
|colspan=2| Harddisk Active Protection ||class="diff-addedline"| Yes || kernel 2.6.16, hdapsd<br />
|}<br />
<br />
== Installation ==<br />
<br />
Installation is straight forward and identical to the Fedora Core 4 installation process mentioned [[Installing Fedora Core 4 on a ThinkPad X41 Tablet#Installation|here]].<br />
<br />
== Configuration ==<br />
<br />
=== X Server ===<br />
<br />
==== Enabling the Stylus ====<br />
<br />
Add the following lines to {{path|/etc/rc.d/rc.local}}:<br />
<br><i>(Note: You will need to be root to perform these two edits)</i><br />
# Map stylus to a serial port<br />
setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig<br />
<br />
<br />
Add the lines in bold font to {{path|/etc/X11/xorg.conf}}:<br />
<br />
Section "ServerLayout"<br />
Identifier "default"<br />
Screen 0 "Screen0" 0 0<br />
InputDevice "Mouse0" "CorePointer"<br />
InputDevice "Keyboard0" "CoreKeyboard"<br />
'''InputDevice "cursor" "SendCoreEvents"'''<br />
'''InputDevice "stylus" "SendCoreEvents"'''<br />
EndSection<br />
<br />
'''Section "InputDevice"'''<br />
'''Driver "wacom"'''<br />
'''Identifier "cursor"'''<br />
'''Option "Device" "/dev/ttyS0"'''<br />
'''Option "Type" "cursor"'''<br />
'''Option "ForceDevice" "ISDV4"'''<br />
'''Option "Mode" "Absolute"'''<br />
'''Option "TPCButton" "on"'''<br />
'''EndSection'''<br />
<br />
'''Section "InputDevice"'''<br />
'''Driver "wacom"'''<br />
'''Identifier "stylus"'''<br />
'''Option "Device" "/dev/ttyS0"'''<br />
'''Option "Type" "stylus"'''<br />
'''Option "ForceDevice" "ISDV4"'''<br />
'''EndSection'''<br />
<br />
==== Enabling Screen Rotation ====<br />
<br />
Download and install the updated X server and drivers as follows:<br />
<br />
{{cmdroot|wget http://www.cs.cornell.edu/~saikat/xorg-x11-drv-i810-1.6.0-1.i386.rpm}}<br />
{{cmdroot|wget http://www.cs.cornell.edu/~saikat/xorg-x11-server-Xorg-1.0.99.901-5.i386.rpm}}<br />
{{cmdroot|wget http://www.cs.cornell.edu/~saikat/linuxwacom-0.7.2-3.i386.rpm}}<br />
{{cmdroot|yum localinstall xorg-x11-drv-i810-1.6.0-1.i386.rpm xorg-x11-server-Xorg-1.0.99.901-5.i386.rpm linuxwacom-0.7.2-3.i386.rpm}}<br />
{{HINT|'''Update:''' If you have issues using yum to install the RPM's, try:<br> rpm -Uvh xorg-x11-drv-i810-1.6.0-1.i386.rpm xorg-x11-server-Xorg-1.0.99.901-5.i386.rpm linuxwacom-0.7.2-3.i386.rpm}}<br />
<br />
'''- OR -'''<br />
<br />
To get working GL support as well try installing from the development yum repository<br />
<br />
{{cmdroot|yum --enablerepo<nowiki>=</nowiki>development update linuxwacom xorg-x11-drv-i810 xorg-x11-server-Xorg mesa-libGL mesa-libGLU}}<br />
<br />
Bear in mind that the development repository could easily get update in the future to rpm's that either won't work with FC5 or maybe just have large numbers of dependants. The following versions are known to work on the X41<br />
xorg-x11-drv-i810-1.6.0-5<br />
xorg-x11-server-Xorg-1.1.0-23<br />
linuxwacom-0.7.4_1-2<br />
mesa-libGL-6.5-9<br />
mesa-libGLU-6.5-9<br />
<br />
Download (and verify) the following script into your path:<br />
<br />
{{cmduser|wget http://www.cs.cornell.edu/~saikat/rotate}}<br />
{{cmduser|chmod a+x rotate}}<br />
<br />
Rotate the screen using the script:<br />
<br />
{{cmduser|rotate -h}}<br />
Useage:<br />
rotate [left|right|inverted|normal]<br />
<br />
If no option is given, rotates the screen 90 degrees to the right.<br />
<br />
To bind the tablet's {{key|Rotate}} button to rotate the screen on-the-fly, add the following line to {{path|/etc/X11/Xmodmap}}<br />
keycode 139 = XF86RotateWindows<br />
<br />
{{HINT|'''Update:''' Check to make sure you are using the new <tt>setkeycodes</tt> line in the Tablet Buttons section (one with <tt>6c 120</tt> in the command).}}<br />
<br />
Create the Gnome keybindings as follows:<br />
<br />
{{cmduser|gconftool-2 -s '/apps/metacity/keybinding_commands/command_12' -t string rotate}}<br />
{{cmduser|gconftool-2 -s '/apps/metacity/global_keybindings/run_command_12' -t string XF86RotateWindows}}<br />
<br />
=== Wireless Network ===<br />
<br />
Install the <tt>ipw2200</tt> driver from [http://atrpms.net/ ATrpms].<br />
<br />
{{cmdroot|rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms}}<br />
{{cmdroot|cd /etc/yum.repos.d}}<br />
{{cmdroot|wget http://www.cs.cornell.edu/~saikat/atrpms.repo}}<br />
{{cmdroot|yum install atrpms-package-config ipw2200}}<br />
<br />
'''- OR -'''<br />
<br />
Alternativly you can use the <tt>ipw2200</tt> driver that is already part of FC5 and just install the firmware from [http://rpm.livna.org/ livna.org].<br />
<br />
{{cmdroot|rpm -Uvh http://rpm.livna.org/livna-release-5.rpm}}<br />
{{cmdroot|yum install ipw2200-firmware}}<br />
<br />
=== Hibernation ===<br />
<br />
Software suspend works using [[Software Suspend 2]]. To install:<br />
<br />
{{cmdroot|cd /etc/yum.repos.d}}<br />
{{cmdroot|wget http://mhensler.de/swsusp/download/suspend2.repo}}<br />
{{cmdroot|yum install userui-suspend2-fbsplash userui-suspend2-theme-fedorabubbles kernel-suspend2}}<br />
<br />
Edit the appropriate kernel line in {{path|/etc/grub.conf}} and add the parameters {{bootparm|vga|0x317}} and {{bootparm|acpi_sleep|s3_bios}}. For example:<br />
<br />
title Fedora Core (''<kernel.version-build>''.rhfc5.cubbi_suspend2)<br />
root (hd0,1)<br />
kernel /vmlinuz-''<kernel.version-build>''.rhfc5.cubbi_suspend2 ro root=/dev/VolGroup00/LogVol00 rhgb quiet '''vga=0x317 acpi_sleep=s3_bios'''<br />
initrd /initrd-''<kernel.version-build>''.rhfc5.cubbi_suspend2.img<br />
<br />
Comment out the following line in {{path|/etc/hibernate/hibernate.conf}}:<br />
<br />
'''#''' ProcSetting userui_program /sbin/suspend2ui_text<br />
<br />
Add the following lines in {{path|/etc/hibernate/hibernate.conf}}:<br />
<br />
ProcSetting userui_program /sbin/suspend2ui_fbsplash<br />
OnResume 96 setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig<br />
<br />
Add the following lines in {{path|/etc/hibernate/ram.conf}}:<br />
<br />
Distribution fedora<br />
<br />
Comment out the following lines in {{path|/etc/hibernate/ram.conf}}:<br />
<br />
'''#''' EnableVbetool yes<br />
'''#''' VbetoolPost yes<br />
<br />
Make the following changes (i.e. comment out the two vbetool lines, and add the return 0 line in the resume_video function) in {{path|/etc/pm/functions-intel}}:<br />
<br />
resume_video()<br />
{<br />
(<br />
'''#''' /usr/sbin/vbetool post<br />
'''#''' /usr/sbin/vbetool vbestate restore < /var/run/vbestate<br />
'''return 0'''<br />
) >/dev/null 2>&1<br />
}<br />
<br />
Force the use of <tt>suspend2</tt> by editing the appropriate lines in {{path|/etc/sysconfig/pm}}:<br />
<br />
HIBERNATE_METHOD="'''suspend2'''"<br />
HIBERNATE_RESUME_POST_VIDEO="'''no'''"<br />
<br />
Problems with a black screen after resuming can sometimes be fixed by adding the following line to the device section in {{path|/etc/X11/xorg.conf}}:<br />
<br />
Option "VBERestore" "true"<br />
<br />
Add the following file {{path|/etc/pm/hooks/40wacom}}:<br />
<br />
#!/bin/sh<br />
setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig<br />
<br />
=== Tablet Buttons ===<br />
<br />
Activate mappings for the tablet buttons by adding the following lines to {{path|/etc/rc.d/rc.local}}:<br />
<br />
# Map tablet hardware buttons<br />
setkeycodes 6e 109 6d 104 69 28 6b 1 6c 120<br />
<br />
=== Fingerprint Reader ===<br />
<br />
The fingerprint reader is supported through the BioAPI framework. The BioAPI framework and the UPEK fingerprint reader driver can be installed as follows:<br />
<br />
wget http://www.cs.cornell.edu/~saikat/libbiometrics-1.2.2-1.sg.i386.rpm<br />
wget http://www.cs.cornell.edu/~saikat/libbiometrics-tfmess-1.0-1.sg.i386.rpm<br />
yum localinstall libbiometrics-1.2.2-1.sg.i386.rpm libbiometrics-tfmess-1.0-1.sg.i386.rpm<br />
<br />
{{NOTE|This is still work-in-progress. Currently you can enroll fingerprints, and verify them through a test application. Integrating<br />
this support into pam (and therefore logins, gdm, screensaver etc.) is in the works. Those interested in developing biometrics applications<br />
can install [http://www.cs.cornell.edu/~saikat/libbiometrics-devel-1.2.2-1.sg.i386.rpm libbiometrics-devel-1.2.2-1.sg.i386.rpm]. SRPMS for the above are available [http://www.cs.cornell.edu/w8/~saikat/packages/SRPMS/ here].}}<br />
<br />
To try out enrollment and verification, run: {{cmdroot|useraddbio}}<br />
<br />
=== Harddrive Active Protection System (HDAPS) ===<br />
<br />
Harddrive active protection system requires the <tt>hdaps</tt> kernel module (included in stock Fedora kernels), and<br />
a kernel capable of parking disks (patch included in <tt>kernel-suspend2</tt> RPMs from the Hibernation section above).<br />
It also requires a userspace daemon to monitor the accleration sensor and park the disk head when excessive motion is detected. To install <br />
the userspace daemon, do the following:<br />
<br />
{{HINT|This requires kernel support for <tt>hdaps</tt> and head parking. Install <tt>[http://mhensler.de/swsusp/download/yum/development/fc5/kernel-suspend2-2.6.16-1.2084_2.rhfc5.cubbi_suspend2.i686.rpm kernel-suspend2-2.6.16-1.2084_2]</tt> or [http://mhensler.de/swsusp/download/yum/development/fc5/ higher]}}<br />
<br />
{{cmdroot|wget http://www.cs.cornell.edu/~saikat/hdapsd-20060326cvs-1.sg.i386.rpm}}<br />
{{cmdroot|yum localinstall hdapsd-20060326cvs-1.sg.i386.rpm}}<br />
<br />
If software suspend is enabled, add the following line to {{path|/etc/hibernate/hibernate.conf}}<br />
<br />
UnloadModules hdaps<br />
<br />
To install the Gnome panel applet that monitors the state of the harddisk, install:<br />
<br />
{{cmdroot|wget http://www.cs.cornell.edu/~saikat/gnome-applet-hdaps-20060120cvs-1.sg.i386.rpm}}<br />
{{cmdroot|yum localinstall gnome-applet-hdaps-20060120cvs-1.sg.i386.rpm}}<br />
<br />
{{NOTE|SRPMS for the above are available [http://www.cs.cornell.edu/w8/~saikat/packages/SRPMS/ here].}}<br />
<br />
== Software ==<br />
<br />
=== Network, Power Management, OSD ===<br />
<br />
Some useful software is not installed by default. These include:<br />
* <tt>tpb</tt> &mdash; On screen display for thinkpad buttons<br />
* <tt>Network Manager</tt> &mdash; Manages wireless and wired networks automatically<br />
* <tt>Gnome Power Manager</tt> &mdash; Manages ACPI power events<br />
<br />
To install them execute:<br />
<br />
{{cmdroot|yum install tpb NetworkManager gnome-power-manager}}<br />
{{cmdroot|chkconfig NetworkManager on}}<br />
<br />
Check your <tt>gnome-session-manager</tt> is configured to automatically start the panel applets that control Network Manager and Gnome Power Manager.<br />
Ensure the following entries are present under {{path|System > Preferences > More Preferences > Sessions > Startup Programs}}:<br />
<br />
nm-applet --sm-disable<br />
gnome-power-manager --sm-disable<br />
<br />
=== Java 1.5 ===<br />
<br />
Install Sun's JRE 1.5. This is required for the <tt>jarnal</tt> program below.<br />
<br />
* Download the build: {{cmduser|wget http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/SRPMS/java-1.5.0-sun-1.5.0.06-1jpp.nosrc.rpm}}<br />
* Create the build environment: {{cmdroot|rpm -Uvh java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm}}<br />
* Download the JVM from [http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=jdk-1.5.0_06-oth-JPR&SiteId=JSC&TransactionId=noreg Sun's Java page] and download <tt>jdk-1_5_0_06-linux-i586.bin</tt> to {{path|/usr/src/redhat/SOURCES}}<br />
* Build the RPMs: {{cmdroot|rpmbuild -ba /usr/src/redhat/SPECS/java-1.5.0-sun.spec}}<br />
* Install the JVM: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-1.5.0.06-1jpp.i586.rpm}}<br />
* Install the fonts: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-fonts-1.5.0.06-1jpp.i586.rpm}}<br />
<br />
Note: This is tailored for the latest JVM as of writing this article. Substitute the latest version numbers if this doesn't work.<br />
<br />
=== Jarnal Note-Taking ===<br />
<br />
Install the [http://www.dklevine.com/general/software/tc1000/jarnal.htm Jarnal] note-taking application:<br />
<br />
{{cmdroot|wget http://www.cs.cornell.edu/~saikat/jarnal-8.14-1sg.noarch.rpm}}<br />
{{cmdroot|yum localinstall jarnal-8.14-1sg.noarch.rpm}}<br />
<br />
{{NOTE|SRPMS for the above are available [http://www.cs.cornell.edu/w8/~saikat/packages/SRPMS/ here]}}<br />
<br />
=External Sources=<br />
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)] and the [http://tuxmobil.org/tablet_unix.html Linux on Tablet PCs and webpads survey].<br />
<br />
<br />
[[Category:X41 Tablet]][[Category:Fedora]]</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.10_on_a_ThinkPad_X41_Tablet&diff=26042Installing Ubuntu 6.10 on a ThinkPad X41 Tablet2006-10-26T13:00:11Z<p>Wehe: /* ACPI Swivel Events */ added external links section</p>
<hr />
<div>This document describes the process of (installing and?) configuring [https://wiki.ubuntu.com/EdgyEft Ubuntu Edgy Eft] (final release expected October 2006) on a Lenovo ThinkPad X41 Tablet. With whatever relevance it may have, the particular model number used in testing was an 1869CSU. Keep in mind that at this document's inception 6.10 is a development version of the Ubuntu Linux OS.<br />
<br />
== Success Chart ==<br />
<br />
{| border="1" cellpadding="5" cellspacing="0"<br />
|-<br />
|colspan=2| '''Item''' || '''Working'''<br />
|-<br />
|rowspan=2|Installation <br />
| Network Installation ||class="diff-addedline"| Yes<br />
|-<br />
| USB Installation ||class="diff-addedline"| Yes (CD)<br />
|- <br />
|rowspan=4|Display<br />
| Laptop Screen ||class="diff-addedline"| Yes<br />
|-<br />
| CRT / Projector ||class="diff-context"| Unknown<br />
|-<br />
| Screen Rotation ||class="diff-addedline"| Yes<br />
|-<br />
| Stylus ||class="diff-addedline"| Yes<br />
|-<br />
|rowspan=2|Power Management<br />
| Software Suspend (hibernate) ||class="diff-context"| Unknown<br />
|-<br />
| Suspend to Memory (ACPI sleep) ||class="diff-addedline"| Yes<br />
|-<br />
|colspan=2| Audio ||class="diff-addedline"| Yes<br />
|-<br />
|rowspan=2| Wireless || 802.11b/g ||class="diff-addedline"| Yes<br />
|-<br />
| Bluetooth ||class="diff-context"| Unknown<br />
|-<br />
|rowspan=2|Extra Buttons || Keyboard Section ||class="diff-context"| Unknown<br />
|-<br />
| Tablet buttons ||class="diff-context"| Unknown<br />
|-<br />
|colspan=2| Fingerprint Scanner ||class="diff-context"| Unknown<br />
|-<br />
|colspan=2| Harddisk Active Protection ||class="diff-addedline"| Yes<br />
|}<br />
<br />
= Pre-Installation Notes =<br />
<br />
== Tablet Screen Rotation (updated i810 drivers) ==<br />
<br />
This edition of Ubuntu (Edgy) has XRandR enabled i810 drivers, which allow you to rotate your screen orientation on the fly. The command <tt>xrandr -o [orientation]</tt> will rotate your screen to your liking. For more information about the <tt>xrandr</tt> command, refer to the man file (<tt>man xrandr</tt>).<br />
<br />
== Wireless Support ==<br />
<br />
Wireless seems to be supported flawlessly in terms of drivers, though I'm not sure how well the built-in Network Manager works. I use the <tt>iwconfig</tt> command to manage my wireless, as I have a need to create pseudo-"profiles", and in this document I will describe this alternative process.<br />
<br />
== Fingerprint Reader Support ==<br />
<br />
Honestly, I care very little about the fingerprint functionality. Its only real use seems to be for gksu-type logins while the tablet is swiveled down, which doesn't occur often in my setup. If someone wants to explore/expound, please do, but I won't include any details about the fingerprint reader in this document.<br />
<br />
== Terminology Used ==<br />
<br />
For those of you new to Linux, I'll try to detail a few terms I use with little explanation:<br />
* Xorg configuration -- the display configuration file, residing in <tt>/etc/X11/xorg.conf</tt><br />
* Execute a command -- press Alt-F2, then type <tt>gnome-terminal</tt> into the prompt and press enter -- this is a terminal into which you input said commands<br />
<br />
= Installation Notes =<br />
<br />
== Booting With NetBOOT ==<br />
<br />
To boot over NetBOOT I fisrt went into the BIOS and change the boot settings so that PXE was first on the list. Then I set my desktop to be a DHCP server (dhcp3-server) and configured it using this site [http://wiki.koeln.ccc.de/index.php/Ubuntu_PXE_Install Ubuntu_PXE_Install] and installed tftpd-hpa<br />
<br />
Then I downloaded the [http://archive.ubuntu.com/ubuntu/dists/dapper/main/installer-i386/current/images/netboot/netboot.tar.gz Dapper netboot archive] (I tried the testing edgy but it would not run on my X41 as of 9/9/06)<br />
<br />
Then I assigned my desktop a static IP in the range I set my DHCP server up for and plugged my laptop into it with a cross over cable and rebooted. <br />
<br />
The X41 received an IP and then connected to lftp and the same screen as the Ubuntu netboot CD has came up and I followed the instructions.<br />
<br />
Once it was intstalled and up-to-date I ran (leave in all quotes, they are important)<br />
<br />
<tt>sudo aptitiude update && sudo aptitude upgrade <br />
gksudo "update-manager -c -d" </tt><br />
<br />
To upgrade to edgy eft<br />
<br />
= Post-Installation Notes =<br />
<br />
== Configuring Xorg ==<br />
<br />
=== TrackPoint ===<br />
<br />
Like in all ThinkPad Xorg configurations, add the following under the "Configured Mouse" device to enable TrackPoint scrolling:<br />
<br />
Option "EmulateWheel" "true"<br />
Option "EmulateWheelButton" "2"<br />
<br />
=== Wacom Stylus ===<br />
<br />
First install the wacom drivers with the following command:<br />
sudo apt-get install wacom-kernel-source xserver-xorg-input-wacom wacom-tools<br />
<br />
After doing this, I strongly suggest that you reboot your computer; however, if you're one of those people whose uptime is on the order of four years, I'm sure you'll figure out an alternative that I won't be describing here.<br />
<br />
Next step is to check to see if <tt>/dev/wacom</tt> exists. A '<tt>ls -al /dev | grep wacom</tt>' should do the trick quite nicely. If it <strong>does</strong> exist, add the following to your Xorg configuration.<br />
<br />
Section "InputDevice"<br />
Driver "wacom"<br />
Identifier "stylus"<br />
Option "Device" "/dev/wacom"<br />
Option "Type" "stylus"<br />
Option "ForceDevice" "ISDV4"<br />
EndSection<br />
<br />
Section "InputDevice"<br />
Driver "wacom"<br />
Identifier "eraser"<br />
Option "Device" "/dev/wacom"<br />
Option "Type" "eraser"<br />
Option "ForceDevice" "ISDV4"<br />
EndSection<br />
<br />
Section "InputDevice"<br />
Driver "wacom"<br />
Identifier "cursor"<br />
Option "Device" "/dev/wacom"<br />
Option "Type" "cursor"<br />
Option "ForceDevice" "ISDV4"<br />
EndSection<br />
<br />
And under the ServerLayout section add:<br />
<br />
InputDevice "stylus" "SendCoreEvents"<br />
InputDevice "cursor" "SendCoreEvents"<br />
InputDevice "eraser" "SendCoreEvents"<br />
<br />
Some people seem to have slightly different configurations (potentially due to model differences). At any rate, if you're looking to find what serial device your stylus is, a simple '<tt>dmesg | grep ttyS</tt>' should do the trick. Be sure to append to this article if the procedure varies from model to model.<br />
<br />
=== ACPI Swivel Events ===<br />
<br />
When you swivel your tablet's LCD down or up your computer triggers what's called an ACPI event. This is an event similar to pushing the power or sleep buttons -- it's telling the OS about something that's going on with the hardware.<br />
<br />
In Linux, ACPI event handling is bundled into a nice neat little package. First, to make sure you can hear the ACPI event when it happens, run the command '<tt>acpi_listen</tt>'. The command line will hang there until it picks up on an ACPI event that's occuring, and then it will dump it to the screen. After running acpi_listen, while it's hanging there, swivel your screen down, and then back up. You should get a result similar to this:<br />
<br />
$ acpi_listen<br />
ibm/hotkey HKEY 00000080 00005009<br />
ibm/hotkey HKEY 00000080 0000500a<br />
<br />
The first HKEY entry is your swivel-down-event identifier and the second is your swivel up. If your values differ from those displayed here, be sure to use your values instead.<br />
<br />
Next, what we do is create new ACPI handler entries for the specified events, which we operate on in <tt>/etc/acpi/</tt>. <br />
<br />
The <tt>/etc/acpi/</tt> folder generally contains shell files to be executed when events occur. Since there's no shell files to handle swivel events yet, we're gonna go ahead and create some. Yeah, that'd be great.<br />
<br />
I don't know what all the rave is about these so called "text editors". I do all my "text editing" from the command line. Actually, I'd just rather not confuse newbies by teaching them vi in this article. Therefore, run the following commands:<br />
<br />
sudo cat <<EOF > /etc/acpi/x41tsdown.sh<br />
#!/bin/sh<br />
/usr/bin/xrandr -o right<br />
/usr/bin/xsetwacom set stylus rotate 1<br />
/usr/bin/xvkbd&<br />
EOF<br />
<br />
sudo cat << EOF > /etc/acpi/x41tsup.sh<br />
#!/bin/sh<br />
/usr/bin/xrandr -o normal<br />
/usr/bin/xsetwacom set stylus rotate 0<br />
killall xvkbd<br />
EOF<br />
<br />
sudo chown root.root /etc/acpi/x41tsdown.sh<br />
sudo chmod 755 /etc/acpi/x41tsdown.sh<br />
sudo chown root.root /etc/acpi/x41tsup.sh<br />
sudo chmod 755 /etc/acpi/x41tsup.sh<br />
<br />
If you'd like to edit these scripts with your favorite text editor (which, I realize, is most likely [http://www.gnu.org/fun/jokes/ed.msg.html ed]), it's fairly obvious that they're located in <tt>/etc/acpi/</tt> as <tt>x41tsdown.sh</tt> and <tt>x41tsup.sh</tt>. These commands make the shell scripts that handle the events... once we register the events. Let's do that now.<br />
<br />
sudo cat <<EOF > /etc/acpi/events/x41t-swivel-down<br />
# /etc/acpi/events/x41t-swivel-down<br />
# called when tablet head swivels down<br />
event=ibm/hotkey HKEY 00000080 00005009<br />
action=/etc/acpi/x41tsdown.sh<br />
EOF<br />
<br />
sudo cat <<EOF > /etc/acpi/events/x41t-swivel-up<br />
# /etc/acpi/events/x41t-swivel-up<br />
# called when tablet head swivels up<br />
event=ibm/hotkey HKEY 00000080 0000500a<br />
action=/etc/acpi/x41tsup.sh<br />
EOF<br />
<br />
Now, awaken your inner ACPI daemon with the following commands:<br />
<br />
sudo /etc/init.d/acpid force-reload <br />
sudo /etc/init.d/acpid restart<br />
<br />
And swivel down your LCD to make sure it works.<br />
<br />
To be continued...<br />
<br />
<br />
=External Sources=<br />
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)] and the [http://tuxmobil.org/tablet_unix.html Linux on Tablet PCs and webpads survey].</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.04_on_a_ThinkPad_X41&diff=26036Installing Ubuntu 6.04 on a ThinkPad X412006-10-26T11:05:06Z<p>Wehe: /* Nice templates for Qt (Skype, Eric3, ...) */ added external sources section</p>
<hr />
<div>{{Stub}}<br />
This is a draft on how to get Ubuntu 6.04 on the ThinkPad X41<br />
<br />
== easyubuntu ==<br />
http://easyubuntu.freecontrib.org/get.html<br />
== Penguin Liberation Front ==<br />
deb http://packages.freecontrib.org/ubuntu/plf/ dapper free non-free<br />
<br />
deb-src http://packages.freecontrib.org/ubuntu/plf/ dapper free non-free<br />
<br />
{{cmduser|apt-get install realplay}}<br />
<br />
== FreeNX ==<br />
deb http://free.linux.hp.com/~brett/seveas/freenx dapper-seveas freenx<br />
<br />
http://www.ubuntuforums.org/showthread.php?t=156019<br />
<br />
The proxy package doesn't exist. It's not a problem. I choose to use the FreeNX key.<br />
<br />
== Swiss keyboard encoding ==<br />
{{cmduser|setxkbmap ch}} (for Swiss German)<br />
<br />
{{cmduser|setxkbmap ch -variant fr}} (for Swiss French)<br />
<br />
== blogbridge ==<br />
{{cmduser|sudo update-alternatives --config java}}<br />
<br />
sudo mv blogbridge-2.16.tgz /usr/share/<br />
<br />
sudo tar xvzf blogbridge-2.16.tgz<br />
<br />
mv blogbridge-2.16 blogbridge<br />
== Enable TrackPoint middle-button scrolling ==<br />
<br />
To use the blue middle TrackPoint button as a scroll wheel (using the red TrackPoint itself to scroll up and down), do the following. In a terminal, enter these commands:<br />
<br />
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf-original<br />
<br />
sudo gedit /etc/X11/xorg.conf<br />
<br />
In the editor, find the section headed Section “InputDevice†/ Identifier “Configured Mouse†and the following lines <br />
above the “EndSection†line:<br />
<br />
Option "EmulateWheel" "true"<br />
<br />
Option "EmulateWheelButton" "2"<br />
<br />
Save the file. Logout, restart X with Ctrl-Alt-Backspace, and log in again.<br />
Source for this item: Many ThinkPad-related sites, confirmed by experiment.<br />
<br />
== WINE ==<br />
<br />
deb http://wine.budgetdedicated.com/apt dapper main<br />
<br />
{{cmduser|apt-get install wine}}<br />
<br />
{{cmduser|run winecfg}} --> Windows2000<br />
<br />
== Suspend to RAM ==<br />
<br />
BUG: https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/50031<br />
<br />
You need to install this update:<br />
<br />
{{cmduser|wget http://ch.archive.ubuntu.com/ubuntu/pool/main/a/acpi-support/acpi-support_0.85_i386.deb}}<br />
<br />
{{cmduser|dpkg -i acpi-support_0.85_i386.deb}}<br />
<br />
After installing this package, the on-screen volume control does not work anymore ... can anyone confirm this. (did a lot of changes to my system, so I do not know if this reason.)<br />
<br />
== SBB06 (Swiss Railway Timetable) ==<br />
<br />
setup.exe<br />
<br />
wine /home/cgaspoz/.wine/drive_c/Program\ Files/CFF.06/HAFASWIN.EXE<br />
<br />
cp SBB/BIN/sbb.ico /usr/share/pixmaps<br />
<br />
== EndNote ==<br />
<br />
wine /home/cgaspoz/.wine/drive_c/Program\ Files/EndNote\ 9/EndNote.exe<br />
<br />
gdiplus.dll not found? copy GDIPLUS.DLL from a Windows box to .wine/drive_c/windows/system32<br />
<br />
== Internet Explorer ==<br />
{{cmduser|apt-get install cabextract}}<br />
<br />
Download and run ies4linux (http://www.tatanka.com.br/ies4linux/index-en.html)<br />
<br />
== Nice templates for Qt (Skype, Eric3, ...) ==<br />
<br />
http://www.ubuntuforums.org/showthread.php?t=76633<br />
<br />
=External Sources=<br />
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)].<br />
<br />
[[Category:X41]] [[Category:Ubuntu]]</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_OpenSUSE_10.0_on_a_ThinkPad_X41&diff=26035Installing OpenSUSE 10.0 on a ThinkPad X412006-10-26T11:04:02Z<p>Wehe: /* see also */ added external sources section</p>
<hr />
<div>Installing {{OpenSUSE}} 10.0 on your {{X41}} is straightforward.<br />
<br />
OpenSUSE uses a patched 2.6.13 kernel, and most of the things described here should also work on other distros if you're prepared to roll your own kernel, but the amount of integration the SUSE folks did (nice GUI tools, YaST configurator) is what makes it so painless and fun.<br />
<br />
==Installation==<br />
You might want to shrink the existing Windows partition in case you would later want to revert back to Windows in order to find out about hardware peculiarities and maybe get firmware installed, but since things just work under OpenSUSE 10.0, you might as well nuke it.<br />
<br />
During the SUSE installation process, be sure to check "Mobile Computing" in addition to your usual choice of packages.<br />
<br />
==The following things Just Work(tm):==<br />
* suspend to disk<br />
* suspend to RAM works with the current (Feb. 2006) SuSE kernel updates<br />
* mute, volume up and down buttons (but that's probably a hardware thing since it does not affect the ALSA mixer)<br />
* {{key|Fn}}{{key|PgUp}} switches on the light (again, probably done in hardware)<br />
* [[acpid]] gets events from the lid, power button and {{key|Fn}}{{key|F1}} to {{key|Fn}}{{key|12}}, some of which you can assign to suspend, poweroff etc. in the yast power management configurator<br />
* Battery and AC status<br />
* Bluetooth enable/disable via {{key|Fn}}{{key|F5}}<br />
* Bluetooth modem (tested with UMTS cell phone Sony Ericsson K600i)<br />
* WLAN <br />
* Audio playback/recording.<br />
* 3D graphics acceleration (enabled via YaST->Graphics Card and Monitor). Works, but causes the fan to stay on almost all the time, although at low rpm.<br />
* External VGA works in Clone mode after activating Dual Head support in YaST. For some reason, Xinerama didn't work so far, it stays greyed out. The external VGA on/off button {{key|Fn}}{{key|F7}} does not do anything.<br />
* [[UltraBase X4]] docking station ([[UltraBay|UltraBay Slim]] drive not tested)<br />
<br />
==These things work, but require extra configuration==<br />
===Modem===<br />
* Modem: the [[IBM Integrated Bluetooth IV with 56K Modem (BMDC-3)|integrated modem]] works using the commercial driver [[Conexant HSF modem drivers|Conexant HSF]].<br />
<br />
===Numlock and Browse keys===<br />
To get numlock and browse keys to work, please add the following lines to {{path|$HOME/.Xmodmap}}:<br />
keycode 77 = Num_Lock<br />
keycode 233 = XF86Forward<br />
keycode 234 = XF86Back<br />
<br />
===Getting suspend-to-RAM to work...===<br />
<br />
====Good news - it works in principle:====<br />
:''I checked it only on Ubuntu Breezy Badger, but it seems, that if you compile kernel 2.6.15 with SATA suspend patch http://linux.spiney.org/system/files?file=02_libata_passthru.fixed.patch and also add patch ata_idle_wait after Andrew Morton's advice at http://lkml.org/lkml/2005/11/16/403, then you should have working suspend-to-RAM.''<br />
<br />
:''You may also want to use 2.6.15 because it has a driver to Harddisk Protection System built-in.''<br />
<br />
:''The first patch fixes problem with screen not being switched on, the second fixes cryptic error message: "ata: abnormal status 0x80 on port 0x1F7".''<br />
<br />
====Suspend-to-RAM on OpenSUSE====<br />
<br />
Currently suspend-to-RAM will not work with the stock SUSE kernel. It can be made to work with a custom kernel package provided by Jan Engelhardt of [http://alphagate.hopto.org/AS_kernel/ alphagate.hopto.org]. You can download the RPM [ftp://ftp4.gwdg.de/pub/linux/misc/suser-jengelh/SUSE-10.0/i586/kernel-default-2.6.16-AS24.i586.rpm here].<br />
<br />
Before you enable suspend-to-RAM, be sure to add the kernel parameter<br />
acpi_sleep=s3_bios<br />
to your /boot/grub/menu.lst, otherwise your screen will stay blank when the system resumes.<br />
<br />
{{WARN|This new kernel will temporarily break your WLAN support.}}<br />
<br />
The 2.6.16 kernel contains a newer (and better) [[ipw2200]] module which requires an updated firmware package. You can download it [http://ipw2200.sourceforge.net/firmware.php?fid=6 from the ipw2200.sourceforge.net project site].<br />
<br />
Then drop it into the directory where the hotplug firmware loader is expecting it (may be different on other distros):<br />
<br />
{{cmdroot|cd /lib/firmware}}<br />
<br />
{{cmdroot|tar xvzf /where/you/downloaded/ipw2200-fw-2.4.tar.gz}}<br />
<br />
Now that the firmware is in place, the interface should work the next time you boot (or reload the module).<br />
<br />
===Getting Dual head Xinerama to work on X41===<br />
On Ubuntu, you can use advice from http://eko.one.pl/index.php?page=Xinerama to configure two devices and two screens and omit Option "Xinerama" "On" line to get xinerama working on X.org 6.8.<br />
<br />
Question: Did anyone get 1280x1024 on external flat panel and 1024x768 on internal monitor on the same desktop with DRI? I happen to succeed with Xinerama, but not with cloning.<br />
<br />
===Switching the WLAN radio===<br />
<br />
There is no pre-defined function key to switch the WLAN radio transmitter on and off during runtime (unlike Bluetooth, which uses {{key|Fn}}{{key|F5}}).<br />
<br />
The [[Ipw2200]] page has detailed instructions on [[Ipw2200#Power Management | how to do it via sysctl]]. <br />
<br />
==The following things don't work yet:==<br />
* Dual Head in Xinerama mode.<br />
<br />
<br />
<br />
==Oddities:==<br />
* In order to get into the BIOS, you can either hit {{key|F1}} or press the weird blue [[ThinkPad Button|Access IBM Button]], and then choose "BIOS" in IBM's pre-boot environment. There is no message on bootup about the {{key|F1}} option, but it works.<br />
<br />
==Open Issues:==<br />
<br />
* Try manual X11 config to enable Xinerama.<br />
* Try making use of the [[How to get special keys to work | special keys]].<br />
* Try to understand [[How to configure the TrackPoint | TrackPoint configuration]].<br />
<br />
==see also==<br />
Additional hints about OpenSuSE 10 (although on different hardware) can be found here:<br />
[[Installing SUSE 10 on a ThinkPad TransNote]]<br />
<br />
=External Sources=<br />
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)].</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_SUSE_Professional_9.3_on_a_ThinkPad_X32&diff=26034Installing SUSE Professional 9.3 on a ThinkPad X322006-10-26T08:40:52Z<p>Wehe: /* Installation */ added external sources section</p>
<hr />
<div>I recently (August 2005) bought a new {{X32}} and installed {{SUSE}} Professional 9.3 on it. With the exception of some Radeon problems, everything worked without a hitch.<br />
==Hardware==<br />
The hardware configuration is as follows:<br />
* Model 2884-A3U<br />
* Pentium M 725 (1.6GHz)<br />
* 1GB RAM (one Corsair CMSS1GB-333SOD; one slot open)<br />
* 60GB Samsung SpinPoint 5400RPM 2.5" ATA100<br />
* [[IBM_11a/b/g_Wireless_LAN_Mini_PCI_Adapter_II|IBM 802.11a/b/g Wireless LAN mini-PCI Adapter II]]<br />
<br />
I also bought a Target USB 2.0 DVD-ROM/CD-RW combo drive. The X32 can boot off USB devices.<br />
<br />
Because I purchased a custom-to-order (CTO) model, it came without a hard drive, and I purchased my own from [[http://www.newegg.com NewEgg]]. Therefore, I started with a clean disk, and didn't have to bother with the IBM pre-desktop area, Windows dual boot, etc. I just partitioned the drive into /boot, /, and /local, with a 1GB swap partition (to be used for suspend-to-disk).<br />
==Installation==<br />
I installed Suse 9.3 from DVD without any glitches. I ran Yast online update (YOU), using the wired Ethernet connection.<br />
<br />
Everything basically worked out of the box. Suspend to disk works perfectly. Suspend to RAM works, too, except that the Radeon leaves the [[Problem_with_LCD_backlight_remaining_on_during_ACPI_sleep|backlight turned on]] and continues to [[Problem_with_high_power_drain_in_ACPI_sleep|draw power during sleep mode]].<br />
<br />
I downloaded [[Radeontool|radeontool]], and switched KDE from using its own screenscaver to xscreensaver, so I could also use the lightwatch script. I had to modify the suspend and restore scripts in {{path|/usr/lib/powersave/scripts}} to run radeontool.<br />
<br />
Suse detected the Atheros chipset in the [[IBM_11a/b/g_Wireless_LAN_Mini_PCI_Adapter_II|IBM 802.11a/b/g mini-PCI card]], and installed the right drivers. It works fine. I have tested with all three types of access pointers (a, b, and g).<br />
<br />
I don't use sleep mode for long periods of time, so the power drain problem doesn't bother me. I suspend to disk when I expect to leave the laptop alone for more than a few minutes.<br />
<br />
=External Sources=<br />
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)].</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_on_a_ThinkPad_X31&diff=26033Installing Ubuntu on a ThinkPad X312006-10-26T08:39:43Z<p>Wehe: /* Using ACPI */ added external sources section</p>
<hr />
<div>==Preface==<br />
The content of this page was originally geared toward Hoary ({{Ubuntu}} 5.04),<br />
but nearly everything here applies just as well to the Warty (4.10) and Breezy (5.10) releases.<br />
<br />
See [http://www.brixandersen.dk/papers/X31/X31.html Henrik Brix Andersens] page for a lot of useful background information.<br />
<br />
==Installing without cdrom or floppy==<br />
Look [[Installation on ThinkPads without CD-ROM drive|here]] or follow the [http://help.ubuntu.com/community/Installation/Netboot Netboot remarks] instructions at [http://wiki.ubuntu.com Ubuntu Wiki].<br />
<br />
==Enabling the Access IBM Button and on-screen display for volume buttons==<br />
Install the tpb package (use Synaptic or ''$sudo apt-get install tpb''), then use the Users and Groups Administration tool to add your user account to the 'nvram' group. Now see [[ThinkPad Button|Access IBM Button]] for configuration details.<br />
<br />
==Choosing between APM and ACPI for power management==<br />
I tested both, APM and ACPI but settled with ACPI which now works like a charm.<br />
<br />
Since Ubuntu Dapper (6.06LTS) ACPI works out of the box, either in Standby Mode or Suspend to Disk Mode. <br />
ACPI will make your system use about 10% less power than with apm, which reduces my battery runtime from ~4:00h to 3:40h.<br />
<br />
Please read "[[How to make use of Power Management features]]" for more in depth information.<br />
<br />
Unfortunately, if ACPI is used, hibernate and standby modes might not work with a CompactFlash card inserted. Read the [[Category_talk:X31|X31 Talk Page]] for further info. <br />
<br />
===Disabling ACPI and using APM===<br />
Simply disabling ACPI at boottime activates APM which works fine with suspend to ram and suspend to disk.<br />
<br />
To disable ACPI boot your kernel with acpi=off<br />
<br />
''...describe how to edit /boot/grub/menu.lst...''<br />
<br />
APM based suspend to disk needs a save2disk.img hibernation file on FAT16. Use the [[tphdisk]] utility to create this file.<br />
<br />
Use {{key|Fn}}{{Key|F4}} to suspend-to-ram and {{key|Fn}}{{key|F12}} to suspend-to-disk.<br />
<br />
===Using ACPI===<br />
Get ubuntulinux, radeontool and this script (which goes in /etc/acpi), nothing more!<br />
{{NOTE|This procedure is not necessary with the Breezy Badger release, which already knows how to blank the radeon video. Just be sure you have the radeontool package installed.}}<br />
<br />
{{cmduser|cat lid.sh}}<br />
<br />
<pre><br />
#!/bin/sh<br />
<br />
. /usr/share/acpi-support/power-funcs<br />
<br />
getXuser;<br />
<br />
grep -q closed /proc/acpi/button/lid/*/state<br />
if [ $? = 0 ]<br />
then<br />
. /usr/share/acpi-support/screenblank<br />
echo `fgconsole` > $LIDSTATE<br />
chvt 12<br />
<br />
# Unmount any NFS or SMB filesystems:<br />
echo "unmounting NFS and SMB filesystems"<br />
umount -a -r -t nfs,smbfs<br />
<br />
# remove modules<br />
echo "remove modules"<br />
#rmmod ipw2100 ## WLAN<br />
rmmod ehci-hcd ## USB module<br />
rmmod uhci-hcd ## -||-<br />
<br />
# update the disk super block<br />
echo "sync"<br />
sync<br />
<br />
<br />
# wait a second<br />
sleep 1<br />
<br />
<br />
# turn the LCD off<br />
echo "backlight off"<br />
radeontool light off<br />
<br />
<br />
# suspend to ram<br />
echo "suspend to ram"<br />
echo -n mem > /sys/power/state<br />
<br />
# load modules<br />
modprobe ehci-hcd<br />
modprobe uhci-hcd<br />
<br />
# turn the LCD on<br />
echo "turn the LCD on"<br />
radeontool light on<br />
<br />
# go back to VT7 (X)<br />
echo "back to VT7"<br />
chvt 7<br />
<br />
else<br />
grep -q off-line /proc/acpi/ac_adapter/*/state<br />
#if [ $? = 1 ]<br />
#then<br />
#su - $user -c "xscreensaver-command -unthrottle"<br />
#fi<br />
chvt `cat $LIDSTATE`<br />
fi<br />
</pre><br />
<br />
=External Sources=<br />
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)].<br />
<br />
<br />
[[Category:X31]]</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_on_a_ThinkPad_X31&diff=26032Installing Ubuntu on a ThinkPad X312006-10-26T08:38:31Z<p>Wehe: /* Preface */ link corrected</p>
<hr />
<div>==Preface==<br />
The content of this page was originally geared toward Hoary ({{Ubuntu}} 5.04),<br />
but nearly everything here applies just as well to the Warty (4.10) and Breezy (5.10) releases.<br />
<br />
See [http://www.brixandersen.dk/papers/X31/X31.html Henrik Brix Andersens] page for a lot of useful background information.<br />
<br />
==Installing without cdrom or floppy==<br />
Look [[Installation on ThinkPads without CD-ROM drive|here]] or follow the [http://help.ubuntu.com/community/Installation/Netboot Netboot remarks] instructions at [http://wiki.ubuntu.com Ubuntu Wiki].<br />
<br />
==Enabling the Access IBM Button and on-screen display for volume buttons==<br />
Install the tpb package (use Synaptic or ''$sudo apt-get install tpb''), then use the Users and Groups Administration tool to add your user account to the 'nvram' group. Now see [[ThinkPad Button|Access IBM Button]] for configuration details.<br />
<br />
==Choosing between APM and ACPI for power management==<br />
I tested both, APM and ACPI but settled with ACPI which now works like a charm.<br />
<br />
Since Ubuntu Dapper (6.06LTS) ACPI works out of the box, either in Standby Mode or Suspend to Disk Mode. <br />
ACPI will make your system use about 10% less power than with apm, which reduces my battery runtime from ~4:00h to 3:40h.<br />
<br />
Please read "[[How to make use of Power Management features]]" for more in depth information.<br />
<br />
Unfortunately, if ACPI is used, hibernate and standby modes might not work with a CompactFlash card inserted. Read the [[Category_talk:X31|X31 Talk Page]] for further info. <br />
<br />
===Disabling ACPI and using APM===<br />
Simply disabling ACPI at boottime activates APM which works fine with suspend to ram and suspend to disk.<br />
<br />
To disable ACPI boot your kernel with acpi=off<br />
<br />
''...describe how to edit /boot/grub/menu.lst...''<br />
<br />
APM based suspend to disk needs a save2disk.img hibernation file on FAT16. Use the [[tphdisk]] utility to create this file.<br />
<br />
Use {{key|Fn}}{{Key|F4}} to suspend-to-ram and {{key|Fn}}{{key|F12}} to suspend-to-disk.<br />
<br />
===Using ACPI===<br />
Get ubuntulinux, radeontool and this script (which goes in /etc/acpi), nothing more!<br />
{{NOTE|This procedure is not necessary with the Breezy Badger release, which already knows how to blank the radeon video. Just be sure you have the radeontool package installed.}}<br />
<br />
{{cmduser|cat lid.sh}}<br />
<br />
<pre><br />
#!/bin/sh<br />
<br />
. /usr/share/acpi-support/power-funcs<br />
<br />
getXuser;<br />
<br />
grep -q closed /proc/acpi/button/lid/*/state<br />
if [ $? = 0 ]<br />
then<br />
. /usr/share/acpi-support/screenblank<br />
echo `fgconsole` > $LIDSTATE<br />
chvt 12<br />
<br />
# Unmount any NFS or SMB filesystems:<br />
echo "unmounting NFS and SMB filesystems"<br />
umount -a -r -t nfs,smbfs<br />
<br />
# remove modules<br />
echo "remove modules"<br />
#rmmod ipw2100 ## WLAN<br />
rmmod ehci-hcd ## USB module<br />
rmmod uhci-hcd ## -||-<br />
<br />
# update the disk super block<br />
echo "sync"<br />
sync<br />
<br />
<br />
# wait a second<br />
sleep 1<br />
<br />
<br />
# turn the LCD off<br />
echo "backlight off"<br />
radeontool light off<br />
<br />
<br />
# suspend to ram<br />
echo "suspend to ram"<br />
echo -n mem > /sys/power/state<br />
<br />
# load modules<br />
modprobe ehci-hcd<br />
modprobe uhci-hcd<br />
<br />
# turn the LCD on<br />
echo "turn the LCD on"<br />
radeontool light on<br />
<br />
# go back to VT7 (X)<br />
echo "back to VT7"<br />
chvt 7<br />
<br />
else<br />
grep -q off-line /proc/acpi/ac_adapter/*/state<br />
#if [ $? = 1 ]<br />
#then<br />
#su - $user -c "xscreensaver-command -unthrottle"<br />
#fi<br />
chvt `cat $LIDSTATE`<br />
fi<br />
</pre><br />
<br />
<br />
<br />
[[Category:X31]]</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_SuSE_10.1_on_a_ThinkPad_T60&diff=26014Installing SuSE 10.1 on a ThinkPad T602006-10-25T07:55:05Z<p>Wehe: /* Not tested */ added external sources section</p>
<hr />
<div>Installation of Suse 10.1 on a T60.<br />
<br />
== System ==<br />
''T60 (2007-49G)''<br />
* Processor: Intel Core Duo Prozessor T2400 mit 1,83 GHz, 2 MB L2 Cache<br />
* Ram: 512 MB 667 MHz DDR2<br />
* HD: 60 GB SATA w Active Protection System; 5400 U/min<br />
* CD/DVD: DVD/CD-RW Combodrive V<br />
* Display: 14,1' (35,8 cm); TFT Display; 1400x1050 (SXGA+)<br />
* Graphics: ATI Mobility RADEON X1300; 64 MB DDR2 SDRAM<br />
* Communication: 10/100/1000 LAN, Intel Mini PCI PRO/Wireless 3945ABG Lan, Infrarot, 56K Int. Modem<br />
<br />
== Summary ==<br />
Most of the installation went very smoothly. Many components were recognized and configured correctly. <br />
{{NOTE|To keep the "ThinkVantage" Button functionality, create a primary boot partition and let grup be installed there<br />
LEAVE THE MBR ALONE}}<br />
<br />
<br />
=== What works out of the box ===<br />
<br />
* Intel Duo processor (dual-core)<br />
* Network card<br />
* Sound<br />
* Volume control keys and the function key for the locked screensaver.<br />
* Always working without any OS support: keyboard light and screen brightness control<br />
* Wireless (actually worked even though it looked different at first, but then worked flawless after reboot)<br />
* Suspend to disc and suspend to RAM (wow!)<br />
<br />
<br />
=== What needs to be fixed post-install ===<br />
<br />
* Graphics card (ati drivers available via [http://www.ati.com ati] homepage)<br />
<br />
To enable 3D acceleration, generate own rpm's from the ati package which can then be installed<br />
either via yast or simply with rpm. <br />
You should include the kernel sources in your installation since the ati script needs it to <br />
generate the Suse specific package which in terms is needed to properly enable 3D acceleration<br />
<br />
* OSD for sound, thinklight, brightness<br />
<br />
{{HINT|Install the tpb package and enable the nvram kernel module (is available but not loaded by default)<br />
change the rights on the /dev/nvram from 600 to 666 and include a small script like e.g.<br />
#!/bin/sh<br />
#<br />
# start Thinkpad button support daemon<br />
tpb -d -c /etc/tpbrc<br />
in the <tt>~/.kde/Autostart</tt> Directory. <br />
There are also other suggestions on the web about creating a 'nvram' group and adding the users to this group, but I did not do this at the moment.<br />
}}<br />
<br />
=== Not tested ===<br />
* IR Interface<br />
* Modem (but I think it was not recognized in the installation process)<br />
<br />
=External Sources=<br />
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)].</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_T60&diff=26013Installing Fedora Core 5 on a ThinkPad T602006-10-25T07:53:13Z<p>Wehe: /* Suspend */ added external sources section</p>
<hr />
<div>Installation of Fedora Core 5 (Bordeaux) on a ThinkPad T60 (2007-46G).<br />
The installation works fine, but the system hangs during the first boot. It can only be circumvented by booting the rescue system and modifying a Fedora startup file.<br />
<br />
== Summary ==<br />
=== What works out of the box ===<br />
<br />
* Network card (e1000 module)<br />
* Keyboard light and brightness control (not controlled by the OS)<br />
* Dual CPU (uses SMP kernel by default)<br />
* Graphics Card (recogized as ATI unknown device 7149)<br />
* SATA controller (in AHCI mode)<br />
<br />
=== What needs to be fixed post-install ===<br />
<br />
* System boot<br />
* Fingerprint Scanner<br />
* Sound<br />
* Modem<br />
* Wireless<br />
* Software Suspend<br />
<br />
=== Not tested ===<br />
<br />
* PCMCIA Slots (at least lspci shows Texas Instruments CardBus bridge)<br />
* Monitor out<br />
* Bluetooth<br />
<br />
== Details ==<br />
=== Getting the system booted ===<br />
<br />
Boot from the Fedora Core 5 CD and enter rescue mode (<i>linux rescue</i>).<br />
<br />
Edit the file /etc/sysconfig/modules/udev-stw.modules and delete <i>parport_pc parport lp</i> (don't forget to chroot into /mnt/sysimage or adjust the path of the edited file). So the for loop will iterate only over nvram and floppy.<br />
<br />
I also disabled the parallel port in the BIOS, but it does not seem to be necessary.<br />
Now reboot and enjoy the first clean boot of your Fedora Core 5 on your T60.<br />
<br />
If anybody has an idea why the system hangs while trying to load this modules, please let us know.<br />
<br />
=== Activating the Fingerprint Scanner ===<br />
FC5 recognizes the integrated fingerprint scanner as an USB device. All you have to do is follow the instructions of [[How_to_enable_the_fingerprint_reader]]. The script works, but make sure you have installed all necessary packages (like gcc-c++, pam-devel, ...).<br />
Within the script you are asked to swipe the finger, it install all necessary entries into the /etc/pam.d files and it works afterwards :-)<br />
<br />
=== Controlling the fan and system LEDs ===<br />
* LEDs<br />
The LEDs can be controlled out of the box. Type "cat /proc/acpi/ibm/led" to see the detailed usage. Unfortunately there is no mapping between number and LED. Just try out and reset it if necessary.<br />
<br />
(For example "echo 7 blink > /proc/acpi/ibm/led" will make the rightmost (crescent) LED blinking.)<br />
<br />
* Fan<br />
Add the following line to your <i>/etc/modprobe.conf</i>:<br />
options ibm_acpi experimental=1<br />
<br />
After the next reboot you will have a new entry in your proc-fs: /proc/acpi/ibm/fan<br />
<br />
Now type "cat /proc/acpi/ibm/fan" to see the current status (including speed). Feel free to control your fan with "echo [disable|enable] > /proc/acpi/ibm/fan". (But remember: it's at your own risk! I wouldn't switch off the fan during kernel compilation ;-) )<br />
<br />
=== Modem ===<br />
<br />
In my T60 (2007-B12), the modem is a Connexant winmodem, linked together very closely with the [[AD1981HD| High Definition Audio]] Soundcard.<br />
<br />
I got it working with the [http://www.linuxant.com/drivers/hsf/ linuxant] HSF driver ([http://www.linuxant.com/drivers/hsf/full/downloads.php download]). I '''had''' to recompile my kernel without the 4KSTACKS option (in the Kernel Hacking section), otherwise, my system paniced during boot when the HSF driver was loaded. Still I get a freeze when I try to suspend with the HSF driver loaded (I have to <code>rmmod snd_hda_intal hsfhda</code>) --- but I yet cannot resume with 2.6.17 anyway.<br />
<br />
=== Wireless ===<br />
<br />
The wireless IPW3945 card works with the drivers available from [http://ipw3945.sourceforge.net/ ipw3945.sourceforge.net] or [http://support.intel.com/support/notebook/sb/CS-006408.htm Intel]. Before the driver compiled, I had to first update ieee80211 kernel support from the version 1.1.7-git (coming with 2.6.17) to 1.1.14 available from [http://ieee80211.sourceforge.net/ ieee80211.sourceforge.net].<br />
<br />
I updated the ieee80211 directly in the kernel source tree with <code>make KSRC=/usr/src/linux-2.6.17_FC5-custom patch_kernel</code> (in ieee80211-1.1.14).<br />
<br />
Then, ipw3945 works fine. Note that you have to install all the three parts:<br />
# ipw3945.ko into /lib/modules<br />
# ipw3945.ucode into /lib/firmware<br />
# ipw3945d into /sbin (and run it).<br />
<br />
=== Suspend ===<br />
<br />
This was quite tricky to get working. The key issue is that the ATA hard drive is controlled by the SATA kernel module --- and kernel modules are not yet available at the time SoftwareSuspend would try to resume from the swap partition. The hard drive is not available yet at that time, and the suspended state is thus ignored and the computer boots instead of doing a resume.<br />
<br />
To get Software Suspend working, you have to compile scsi_mod.ko, sd.ko, libata.ko, and ahci.ko into the kernel.<br />
(Options CONFIG_SCSI, CONFIG_BLK_DEV_SD, CONFIG_SCSI_SATA, and CONFIG_SCSI_SATA_AHCI have all to be changed from "m" to "y").<br />
<br />
On a DuoCore CPU with SMP enabled, you also need CONFIG_HOTPLUG_CPU=y (this allows to switch into Uniprocessor mode, needed for SoftwareSuspend).<br />
Works fine for me afterwards. (Note: I got it working only with 2.6.17-1.2174; I am still getting unresolved problems (a sudden reboot at the end of a resume) in 2.6.17-1.2187.<br />
<br />
=External Sources=<br />
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)].</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.06_Flight_5_on_a_ThinkPad_T60&diff=26012Installing Ubuntu 6.06 Flight 5 on a ThinkPad T602006-10-25T07:52:23Z<p>Wehe: /* Not tested */ edited external sources section</p>
<hr />
<div>Installation of Ubuntu 6.06 Flight 5 or Flight 6 on a T60 (2623D6U).<br />
<i>(note: Ubuntu 6.04 has been re-labeled as 6.06)</i><br />
<br />
The Ubuntu 5.10 (Breezy Badger) installer did not recognize the network card (Intel 82573L), so I decided to try 6.06 (an alpha version of Dapper Drake).<br />
<br />
== Summary ==<br />
=== What works out of the box ===<br />
<br />
* Intel Duo processor (dual-core)<br />
* Network card<br />
* Sound<br />
* Volume control keys and the function key for the locked screensaver.<br />
* The PCMCIA slots<br />
* Always working without any OS support: keyboard light and screen brightness control<br />
* Monitor out (but perhaps not perfectly)<br />
* Wireless, since kernel revision 23<br />
<br />
=== What needs to be fixed post-install ===<br />
<br />
* Graphics card (see http://wiki.cchtml.com/index.php/Ubuntu_Dapper_Installation_Guide)<br />
<br />
== Installing of Ubuntu 6.04 alpha Flight 5 or Ubuntu 6.06 Flight 6==<br />
<br />
* '''First''', you should look at {{Install|Ubuntu| 5.04|T43 (1875)}}. There is information on '''preserving''' the functionality of the '''ThinkVantage button''', which I did not follow.<br />
* You should probably create the IBM Rescue CDs before you begin. I expected the rescue partition to be able to restore my system to the factory default state if I messed up, but I was wrong.<br />
* Downloaded CD ISO of Ubuntu's Dapper flight 5 [http://www.ubuntu.com/testing/flight5 Flight 5] or [http://cdimage.ubuntu.com/releases/dapper/flight-6/ Flight 6] Install CD for PC (Intel x86).<br />
* I used the installer's partitioner. I reduced the Windows partition to 10GB, left the IBM recovery partition alone, and created four ReiserFS partitions for the Linux system: / (6GB), /usr (8GB), swap (2.5GB), and /home (the remaining space). You should have a minumum of 5GB free space, for a standard Ubuntu installation.<br />
* I let the installer install GRUB in the MBR. I kind of regret doing that because now the ThinkVantage button does not work properly. See the T43 instructions on the alternative methods that might work. {{Install|Ubuntu| 5.04|T43 (1875)}}<br />
* The installer recognized the network card (unlike Ubuntu 5.10).<br />
* The blue "ThinkVantage" button now goes to GRUB instead of IBM's Rescue System. You can get to the IBM partition from the GRUB menu by choosing the "Windows NT" partition.<br />
* Don't forget to turn up and unmute (key m) the front speaker level in alsamixer. It's usually muted after installation.<br />
<br />
== Fixes after installation ==<br />
<br />
* X wouldn't start. The ATI x1300 is now supported since driver version 8.24.8. To get a provisorily support for the chip, change the Device driver in xorg.conf from "ati" to "vesa". A resolution of 1400x1050 works fine on my T60 with the vesa drivers (but try 1280x1024 if that doesn't work). But for real support for your x1300 follow the instructions on (http://wiki.cchtml.com/index.php/Ubuntu_Dapper_Installation_Guide) - Method 2. You may also find the instructions at [http://hallx049.oit.umn.edu/linux/laptops/tp-t60/] to be helpful, since the instructions included with the ATI driver do not work.<br />
* The linux-686-smp package supports the dual core processor. I verified that it worked by looking at /proc/cpuinfo. In Dapper 6.06 LTS, linux-686 supports the processor.<br />
** Because I needed to compile other modules anyways (e.g., the wireless drivers), I decided to get the 2.6.16 kernel source and compile it myself. I set the "Pentium M" processor type with 2 processors ([http://wiki.ubuntu.com/KernelCompileHowto]). The package generated by make-kpkg worked when I used make-kpkg's "--initrd" flag.<br />
** To make the frequency scaling work for both cores, you can install the "sysfs" package and execute this lines after startup: ''echo "ondemand" >/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor && echo "ondemand" >/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor'' <br />
* To get the built-in wireless to work, I installed the 3945ABG wireless driver from SourceForge (http://ipw3945.sourceforge.net/), the latest IEEE 80211 (http://ieee80211.sourceforge.net/downloads.php) modules, and the latest ipw2200 (http://www.thinkwiki.org/wiki/Ipw2200) modules. Note: ipw2200 is included in the kernel source starting with version 2.6.14. <br />
** Downloading the binary driver by Intel, (Stable release 1.0.0) from [http://downloadfinder.intel.com/scripts-df-external/detail_desc.aspx?ProductID=2259&DwnldID=10315&agr=Y] and following the quick installation instructions also works fine.<br />
<br />
== Unsolved ==<br />
* I can't get the system back to work after any suspended, standby oder hibernate mode.<br />
* I didn't try to get my T60's IrDA interface working, up to now.<br />
* Powersave Mode for the ATI Graphics Adapter leads to complete system lockup<br />
<br />
== Not tested ==<br />
* The modem<br />
<br />
=External Sources=<br />
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)].</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_Debian_3.1_(Sarge)_on_a_ThinkPad_T43p&diff=26005Installing Debian 3.1 (Sarge) on a ThinkPad T43p2006-10-25T03:57:51Z<p>Wehe: /* lspci Output */ added external sources section</p>
<hr />
<div>__TOC__<br />
<br />
This is how I installad Debian / Sarge on my new T43p.<br />
<br />
==Installation==<br />
I also got a new 100 GB HDS disk, so I swapped out the 60 GB model an plug in my new 100 GB.<br />
When I booted the Sarge Installdisks with the 2.6 Kernel, Linux was not able to recognize the HD.<br />
<br />
Then I booted with the old 2.4 Kernel, installed sarge, get a fresh kernel from kernel.org.<br />
After compilation and replacing hda through sda, the T43p boot into 2.6.<br />
<br />
'''Note:''' Changing to the 2.6.8 kernel Sarge offers does not work, boot stops during init. A recent 2.6.15 kernel from backports.org does it, there's a [http://jroller.com/page/erAck?entry=lot_day_4_2 detailed description] available.<br />
<br />
Restated:<br />
<br />
* <b>The Debian Sarge installation will not work if you try to use the 2.6 kernel.</b> In brief, your hdd will be detected as a SCSI device, and should be assigned to /dev/sda. However, the installation program will look for the device as /dev/hda and refuse to boot. I have had <b>no</b> success in using the automated installation bootstrap sequence of a 2.6 kernel from the sarge installation cd - email me if you have an experience otherwise.<br />
<br />
* That being said, this is actually pretty simple to fix, and there are a multitude of ways to get around this. The easiest is to install the 2.4 kernel, which will put your drive in a ATA compatability mode (slooooww, approxmiately 4 MB/s throughput. Install it, and then install the 2.6 kernel. When you install the 2.6 kernel, change in your menu.lst or lilo config all references of /dev/hda to /dev/sda. You can get a nice .config for a modern kernel elsewhere on this site. I'm trying to move everything here for a central repository of information, but in the meantime check out the [http://www.linux-on-laptops.com/ibm.html Linux on Laptops website] for a wide selection of configs.<br />
<br />
* Alternatively, you can bootstrap Sarge's installation by using a linux boot cd (Knoppix / SuSe Live or equivalent) and then changing boot parameters, or installing the base system via this linux boot. I did something like this when I upgraded from slackware. Nevertheless, installing via the 2.4 kernel is probably the easiest option. With linux, there are always multiple ways of accomplishing the same thing. :)<br />
<br />
* Otherwise, choose your packages to install, and have fun. You will get a basic, working, Debian system.<br />
<br />
==Hardware==<br />
===CPU and frequency scaling===<br />
First you have to activate ACPI and Speedsteep in your Kernel:<br />
<br />
<pre><br />
CONFIG_ACPI=y<br />
CONFIG_ACPI_BOOT=y<br />
CONFIG_ACPI_INTERPRETER=y<br />
CONFIG_ACPI_AC=y<br />
CONFIG_ACPI_BATTERY=y<br />
CONFIG_ACPI_BUTTON=y<br />
CONFIG_ACPI_FAN=y<br />
CONFIG_ACPI_PROCESSOR=y<br />
CONFIG_ACPI_THERMAL=y<br />
CONFIG_ACPI_IBM=y<br />
CONFIG_ACPI_BLACKLIST_YEAR=0<br />
CONFIG_ACPI_BUS=y<br />
CONFIG_ACPI_EC=y<br />
CONFIG_ACPI_POWER=y<br />
CONFIG_ACPI_PCI=y<br />
CONFIG_ACPI_SYSTEM=y<br />
CONFIG_X86_ACPI_CPUFREQ=y<br />
CONFIG_X86_SPEEDSTEP_CENTRINO_ACPI=y<br />
CONFIG_X86_ACPI_CPUFREQ_PROC_INTF=y<br />
<br />
<br />
CONFIG_X86_SPEEDSTEP_CENTRINO=y<br />
CONFIG_X86_SPEEDSTEP_CENTRINO_ACPI=y<br />
CONFIG_X86_SPEEDSTEP_ICH=y<br />
CONFIG_X86_SPEEDSTEP_LIB=y<br />
CONFIG_X86_SPEEDSTEP_RELAXED_CAP_CHECK=y<br />
</pre><br />
<br />
apt-get install acpid powernowd<br />
<br />
you can test your current cpu frequenc with the following comand:<br />
echo `cat /proc/cpuinfo | grep "^cpu MHz" | cut -d":" -f2` MHZ<br />
<br />
===Network===<br />
Broadcom Corporation NetXtreme BCM5751M Gigabit Ethernet PCI Express (rev 11)<br />
Works with the tg3 module<br />
<br />
{{NOTE|With newer versions of the Kernel there is no tg3 module anymore :( <br />
<br />
'''Note''' in note: at least in kernel 2.6.15 from http://backports.org tg3 is still available. So if you're using Sarge there's nothing to fear.<br />
<br />
I read something about licencing issues and stuff and that because of these the Debian project removed that module from their release.<br />
<br />
But there is still the painfull way to go:<br />
<br />
Install that package: http://packages.debian.org/unstable/net/bcm5700-source, the kernel header files and the module-assistant. Start the module-assistant and run through that program (satisfying every compiling need) until it asks if you want to install the newly compiled module.<br />
<br />
If everything worked, <br />
<br />
modprobe bcm5700<br />
<br />
and<br />
<br />
ifup eth0 (or whatever your network is called)<br />
<br />
See http://jriddell.org/thinkpad-r40e.html -> Network, for details.}}<br />
<br />
<br />
The onboard Intel WLAN adapter works with [[Ipw2200]] module. The driver does not appear to support MII interface, so any roaming network configuration manager that uses it ( whereami in particular ) will prevent the card from working properly. I found that the combination of ifplugd, ifmetric and waproamd are a better solution, until NetworkManager comes around.<br />
<br />
===Bluetooth===<br />
Nothing special here. Working without any problem. Uses the standard bluez stack and should behave well. If you turn the bluetooth on using Fn+F5 and the light does not appear, restart your hotplug system by issuing the command:<br />
<br />
:/etc/init.d/hotplug restart<br />
<br />
and you will be all set.<br />
<br />
===Sound===<br />
Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller<br><br />
Use built-in or modular ALSA snd_intel8x0, works without any problems.<br />
<br />
<ul><br />
<li><br />
Configuration: You can simply use alsaconf followed by alsamixer to ensure that volumes are set appropriately. Alsa mixing works wonderfully with any application that supports it (e.g. all KDE integrated apps.)</li><br />
<br />
<li>You may need to set compile options for other applications (e.g. mplayer) to use alsa.</li><br />
<li>Do not use the oss drivers if you want everything to play nice. Otherwise, you will get a lot of busy /dev/dsp's and have to use the oss alsa wrapper, which is a pain in the best of circumstances.</li> </ul><br />
<b>Issues: </b> MIDI synthesis does not seem to work with this setup - has anybody gotten this to work? I have gotten nowhere troubleshooting this issue. The virtual MIDI soundcard is selected in my .config...<br />
<br />
===Graphics Adapter===<br />
ATI Technologies Inc M24 1T [FireGL M24 GL] (rev 80)<br />
<br />
It is a [[ATI Mobility FireGL V3200]] with 128MB<br />
<br />
The fglrx driver use and setup is discussed in depth [[Fglrx|elsewhere]] on this wiki. If you like you can use an installer:<br />
<br />
I used the debian packages from [http://xoomer.virgilio.it/flavio.stanchina/debian/fglrx-installer.html] version 8.14.13-2<br />
and followed the instructions on that page.<br />
<br />
With version 8.22.5 and a backport's kernel 2.6.15 on Sarge there's [http://jroller.com/page/erAck?entry=lot_day_6_2_fglrx another way].<br />
<br />
Nothing special here. (XFree 4.3.0.dfsg)<br />
<br />
Note that debian sid now includes xorg server package if you like - ATI's driver works with both XFree and XOrg nicely.<br />
<br />
===Mouse===<br />
I use one external USB Logitech Trackball and both internal, the Touchpad and the Trackpoint.<br />
In my XF86Config-4 are 3 mice.<br />
<br />
<pre><br />
Section "InputDevice"<br />
Identifier "Configured Mouse"<br />
Driver "mouse"<br />
Option "CorePointer"<br />
Option "Device" "/dev/psaux"<br />
Option "Protocol" "PS/2"<br />
EndSection<br />
<br />
<br />
Section "InputDevice"<br />
Identifier "Configured Mouse_II"<br />
Driver "mouse"<br />
Option "CorePointer"<br />
Option "Device" "/dev/psaux"<br />
Option "Protocol" "PS/2"<br />
EndSection<br />
<br />
Section "InputDevice"<br />
Identifier "Generic Mouse"<br />
Driver "mouse"<br />
Option "SendCoreEvents" "true"<br />
Option "Device" "/dev/input/mice"<br />
Option "Protocol" "ImPS/2"<br />
Option "ZAxisMapping" "4 5"<br />
EndSection<br />
</pre><br />
<br />
==Buttons==<br />
{|<br />
|ThinkLight<br />
|Fn + PgUp<br />
|Just worked (can also be toggled through ibm-acpi's /proc/acpi/ibm/light)<br />
|-<br />
|Display brightness up <br />
|Fn + Home<br />
|Just worked (no software necessary)<br />
|-<br />
|Display brightness down <br />
|Fn + End<br />
|Just worked (no software necessary)<br />
|}<br />
<br />
KDE Konfigurationtool for the Buttons:<br />
apt-get install kmilo<br />
<br />
==Various Information==<br />
===lspci Output===<br />
<br />
To have all the hardware show up with its proper name, I had to get a new pci.ids file from the [http://pciids.sourceforge.net/ Linux PCI ID Repostiory] and copy it to /usr/share/misc/pci.ids. I believe newer distributions and kernels won't need that file anymore. -- 2005-07-19 (kernel 2.6.12.2) still need it.<br />
<pre><br />
0000:00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)<br />
0000:00:01.0 PCI bridge: Intel Corporation Mobile 915GM/PM Express PCI Express Root Port (rev 03)<br />
0000:00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03)<br />
0000:00:1c.2 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 3 (rev 03)<br />
0000:00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)<br />
0000:00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03)<br />
0000:00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03)<br />
0000:00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03)<br />
0000:00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03)<br />
0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d3)<br />
0000:00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)<br />
0000:00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 03)<br />
0000:00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 03)<br />
0000:00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 03)<br />
0000:00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)<br />
0000:01:00.0 VGA compatible controller: ATI Technologies Inc M24 1T [FireGL M24 GL] (rev 80)<br />
0000:02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751M Gigabit Ethernet PCI Express (rev 11)<br />
0000:04:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 8d)<br />
0000:04:02.0 Network controller: Intel Corporation: Unknown device 4224 (rev 05)<br />
</pre><br />
<br />
=External Sources=<br />
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)].<br />
<br />
<br />
[[Category:Debian]] [[Category:T43p]]</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_4_on_a_ThinkPad_T43_(2668)&diff=26004Installing Fedora Core 4 on a ThinkPad T43 (2668)2006-10-25T03:34:45Z<p>Wehe: /* Problems with Audio */ added external sources section</p>
<hr />
<div>Installation is quite smooth, but requires some work by hand. I enlist only the changes<br />
<br />
== X-Windows ==<br />
Add the dynamic clock option in {{path|/etc/X11/xorg.conf}}. It aims to provide a moderate boost in battery life. The device section should contain a videocard section like the following one:<br />
Section "Device"<br />
Identifier "Videocard0"<br />
Driver "radeon"<br />
VendorName "Videocard vendor"<br />
BoardName "ATI Radeon Mobility M300"<br />
'''Option "DynamicClocks" "on"'''<br />
EndSection<br />
<br />
==Wireless Network Installation==<br />
Running {{cmdroot|lspci}} shows<br />
04:02.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)<br />
<br />
I got the madwifi source code from [http://madwifi.sf.net MadWifi Home Page]. Compile after downloading:<br />
:{{cmdroot|tar xzf madwifi-cvs-current.tar.gz}}<br />
:{{cmdroot|cd madwifi}}<br />
:{{cmdroot|make}}<br />
:{{cmdroot|su}}<br />
:{{cmdroot|make install}}<br />
<br />
==IBM ACPI Module==<br />
<br />
The module version included in current kernels (2.6.12) is 0.8, but the current version of the module is 0.11. It has some advantages. For directions on how to install this driver, please refer to [[Ibm-acpi]].<br />
After compilation, edit {{path|/etc/rc.local}}:<br />
#!/bin/sh<br />
#<br />
# This script will be executed *after* all the other init scripts.<br />
# You can put your own initialization stuff in here if you don't<br />
# want to do the full Sys V style init stuff.<br />
<br />
touch /var/lock/subsys/local<br />
<br />
modprobe ibm_acpi experimental=1 hotkey=enable<br />
<br />
The last line enables hotkeys. To utilize supsend to RAM or to disk, the acpid has to be configured.<br />
<br />
Alternatively, you can do the same thing by adding the following lines to {{path|/etc/modprobe.conf}} (2.6 kernels):<br />
<br />
options ibm_acpi experimental=1 hotkey=enable<br />
<br />
==Suspend to disk==<br />
<br />
To get suspend to disk working, fetch a recent kernel and recompile. For further instructions, take a look at the swsusp-Section in [[How to make ACPI work]]. Especially configure the kernel to suspend to the swap partition. If you're not sure, take a look at the partitition list output by issuing in command line<br />
:{{cmdroot|fdisk -l}}<br />
Don't forget to compile SCSI and the Intel SATA into the kernel. Do a <br />
:{{cmdroot|make && make install}}<br />
Check the boot loader (ususally grub) to include the new kernel.<br />
<br />
Reboot and do a<br />
:{{cmdroot|echo -n 4 > /proc/acpi/sleep}}<br />
If everything works, the system will be shut down to disk.<br />
<br />
[[Category:T43]] [[Category:Fedora]]<br />
<br />
==Suspend to RAM, DMA for DVD drive==<br />
<br />
See [[Problems with SATA and Linux]].<br />
<br />
<br />
==Problems with Audio==<br />
<br />
Although most have claimed no problems with audio using Fedora Core 4 on a T43 (model 2668), I had persistent problems. These were manifest by IRQ errors:<br />
<br />
irq 11: nobody cared!<br />
Disabling IRQ #11<br />
<br />
By moving IRQs in the BIOS configuration from IRQ 11 to IRQ 10, I was able to narrow the problem down to what the ThinkPad BIOS refers to as IRQG which corresponds to the audio system. After preventing loading of the sound module (<tt>snd_intel8x0</tt>), the IRQ problems went away but I had no audio.<br />
<br />
After much searching for a solution, I found someone who was having the same problem. After upgrading through several kernel releases without success, I finally re-compiled using the options suggested by [http://meltin.net/hacks/linux/t43.html Mr. Schwenke] regarding the interrupt controller. The new kernel, derived from 2.6.14-1.1637_FC4 and also patched for the suspend to RAM problem ([[Problems with SATA and Linux]]) works great.<br />
<br />
=External Sources=<br />
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)].</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installation_instructions_for_the_ThinkPad_T43&diff=26003Installation instructions for the ThinkPad T432006-10-25T03:32:48Z<p>Wehe: added link to second FC4 back, but with deep link now, still ugly formatted</p>
<hr />
<div>Specific installation notes for the ThinkPad {{T43}}.<br />
<br />
==Distribution-specific instructions==<br />
*{{Install|Debian|/Sarge|T43}}<br />
*{{Install|Debian|/Sid|T43}}<br />
*{{Install|Fedora| Core 4|T43}}<br />
*{{Install|Fedora| Core 4|T43}} (2668) [[http://thinkwiki.org/wiki/Installing_Fedora_Core_4_on_a_ThinkPad_T43_%282668%29]]<br />
*{{Install|Fedora| Core 5|T43}} (2686)<br />
*{{Install|Gentoo||T43}} (2668)<br />
*{{Install|Ubuntu| 5.04|T43}} (1875)<br />
*{{Install|Ubuntu| 5.10|T43}} (1871)<br />
*{{Install|Ubuntu| 6.06|T43}}<br />
*{{Install|OpenSUSE| 10.1|T43}} (2668)<br />
<br />
==External instructions==<br />
* [http://linux.spiney.org/debian_gnu_linux_on_an_ibm_thinkpad_t43p Debian Linux on an IBM Thinkpad T43p]<br />
* [http://wiki.foosel.net/linux/t43 Debian GNU/Linux Etch on an IBM ThinkPad T43]<br />
* [http://sth.freeshell.org/t43-linux.html Gentoo on T43]<br />
* [http://www.cs.ust.hk/~joseph/Favorites/Debian/UbuntuOnIBMThinkpadT43.html Ubuntu on IBM ThinkPad T43 (2668-HH5)]<br />
* [http://ce.et.tudelft.nl/~zhijiangchang/index.html#useful How to make windows, linux and AcessIBM work all together]</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installation_instructions_for_the_ThinkPad_T43&diff=26002Installation instructions for the ThinkPad T432006-10-25T03:18:57Z<p>Wehe: /* Distribution-specific instructions */ removed double entry for FC4</p>
<hr />
<div>Specific installation notes for the ThinkPad {{T43}}.<br />
<br />
==Distribution-specific instructions==<br />
*{{Install|Debian|/Sarge|T43}}<br />
*{{Install|Debian|/Sid|T43}}<br />
*{{Install|Fedora| Core 4|T43}}<br />
*{{Install|Fedora| Core 5|T43}} (2686)<br />
*{{Install|Gentoo||T43}} (2668)<br />
*{{Install|Ubuntu| 5.04|T43}} (1875)<br />
*{{Install|Ubuntu| 5.10|T43}} (1871)<br />
*{{Install|Ubuntu| 6.06|T43}}<br />
*{{Install|OpenSUSE| 10.1|T43}} (2668)<br />
<br />
==External instructions==<br />
* [http://linux.spiney.org/debian_gnu_linux_on_an_ibm_thinkpad_t43p Debian Linux on an IBM Thinkpad T43p]<br />
* [http://wiki.foosel.net/linux/t43 Debian GNU/Linux Etch on an IBM ThinkPad T43]<br />
* [http://sth.freeshell.org/t43-linux.html Gentoo on T43]<br />
* [http://www.cs.ust.hk/~joseph/Favorites/Debian/UbuntuOnIBMThinkpadT43.html Ubuntu on IBM ThinkPad T43 (2668-HH5)]<br />
* [http://ce.et.tudelft.nl/~zhijiangchang/index.html#useful How to make windows, linux and AcessIBM work all together]</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_Debian_3.1_(Sarge)_on_a_ThinkPad_T43&diff=26001Installing Debian 3.1 (Sarge) on a ThinkPad T432006-10-25T03:15:21Z<p>Wehe: /* Complaints */ added external sources section</p>
<hr />
<div>__TOC__<br />
<br />
<br />
This is how I slapped {{Debian}}/Sarge onto my shiny new {{T43}}, which seems quite a nice machine all in all. It's a very new type, being based on the Sonoma platform with PCI Express, SATA and other happy things. Does Intel marketing really call Sonoma a "platform"? Oh well.<br />
<br />
==Installation==<br />
<br />
===Repartitioning/Resizing the Windows Partition===<br />
<br />
This is only necessary if you want to keep your Windows installation for dual booting. I kept mine just so I could update the BIOS more easily in case it becomes necessary.<br />
<br />
I was able to boot Knoppix 3.7, '''but only with the 2.4 kernel'''. Then resizing the existing 70-odd GB NTFS partition presented no problems at all, but it was rather slow (no DMA mode) due to the ICH6 IDE/SATA controller not being recognized properly. Use ntfsresize, or if you don't trust your knowledge of this rather powerful and potentially confusing tool, try QtParted. Both are available in Knoppix' K menu. Don't be worried if nothing happens while you resize your partition, it took more than an hour on mine.<br />
<br />
As of Knoppix 4.0, the default 2.6 kernel also works.<br />
<br />
===The big switcharoo: /dev/hda becomes /dev/sda===<br />
<br />
When initially installing Sarge from the rc3 Debian Installer images, the installation disc's 2.4 kernel saw the hard drive as /dev/hda. Since the ICH6 controller doesn't support DMA that way, transfers are extremely slow. Therefore I started by installing a base system with a compiler so I could build my own kernel. After building my kernel with options to support ICH6 ({{kernelconf|CONFIG_SCSI_ATA_PIIX|<*>|Intel PIIX/ICH SATA support|SCSI low level drivers|SCSI device support|Device Drivers|}}), the drive is seen through libata's SCSI emulation as {{path|/dev/sda}}, though.<br />
<br />
To change that, you can boot to 2.4, edit {{path|/etc/fstab}} and {{path|/boot/grub/menu.lst}} (or your preferred bootloader's configuration file). Replace all occurences of "hda" with "sda" and reboot to your new 2.6 kernel. If things go wrong and your 2.6 doesn't boot properly, use the Debian installer CD as rescue system and change your fstab and bootloader configuration back to hda, then retry with new kernel options. I will post my working .config as soon as I figure out how to upload non-image files here :)<br />
<br />
I suppose the Debian installer might at some time switch to a kernel that supports ICH6 natively, removing the need for this procedure.<br />
<br />
(2005-11-18) I have found that '''the new [http://www.debian.org/devel/debian-installer/ Debian Installer] has got rid of the SATA hardisk issue compeletly''', since I downloaded the daily-built Debian netinst CD Image from the URL above and successfully installed Debian Sarge on my office desktop PC which is a DELL Dimension 8400 with 250G SATA harddisk. [Joseph WU]<br />
<br />
(2005-07-02) Debian Stable 3.1 (sarge) still has this problem.<br />
<br />
(2005-09-20) To date the problem has NOT been fixed!<br />
<br />
==Hardware==<br />
===CPU and frequency scaling===<br />
2.6.11.7's <tt>CONFIG_X86_SPEEDSTEP_CENTRINO</tt> (speedstep-centrino.ko) and <tt>CONFIG_X86_ACPI_CPUFREQ</tt> (acpi-cpufreq.ko) '''both''' seem to work to scale the CPU frequency. Which of the two gets you more battery life and a less noisy CPU fan has yet to be determined. I noticed the CPU fan is rather loud and active a lot. Not something you'd expect for a laptop this expensive. On the other hand, the whole system is pretty brand new and perhaps future kernels will allow for a quieter machine.<br />
<br />
===Network===<br />
The network card identifies to lspci as "Broadcom Corporation NetXtreme BCM5751M Gigabit Ethernet PCI Express" and works with the tg3 module, both on kernel 2.4 and 2.6. I didn't find anyhting special here. Haven't tested it on an actual gigabit network, though, so nothing to benchmark with.<br />
<br />
===Bluetooth===<br />
Seems to work under 2.6.11.7. Make sure to enable RFCOMM in your kernel, and you will also need support for ibm-acpi. then:<br />
<br />
apt-get install bluez-utils<br />
echo "enable" > /proc/acpi/ibm/bluetooth<br />
/etc/init.d/bluez-utils start<br />
<br />
And you can try using "hcitool scan" to scan for nearby devices. My Sony Ericsson T630 was found immediately and I could back up its contens using MultiSync.<br />
<br />
==Buttons==<br />
{|<br />
|[[ThinkLight]]<br />
|{{key|Fn}}{{key|PgUp}}<br />
|Just worked (can also be toggled through [[ibm-acpi|ibm-acpi's]] {{path|/proc/acpi/ibm/light}})<br />
|-<br />
|Display brightness +<br />
|{{key|Fn}}{{key|Home}}<br />
|Just worked (no software necessary)<br />
|-<br />
|Display brightness -<br />
|{{key|Fn}}{{key|End}}<br />
|Just worked (no software necessary)<br />
|-<br />
|Backlight off<br />
|{{key|Fn}}{{key|F3}}<br />
|Supported with [[ibm-acpi]], [[acpid]] and [[radeontool]]<br />
|}<br />
<br />
===Backlight off===<br />
I turned this into something more like a backlight toggle by using this script as {{path|/etc/acpid/backlight.sh}} for acpid:<br />
<br />
<pre><br />
<nowiki><br />
#!/bin/bash<br />
<br />
RADEONTOOL='/usr/local/sbin/radeontool'<br />
<br />
status=`$RADEONTOOL light`;<br />
<br />
if [[ "$status" = "The radeon backlight looks on" ]] ; then<br />
$RADEONTOOL light off<br />
elif [[ "$status" = "The radeon backlight looks off" ]] ; then<br />
$RADEONTOOL light on<br />
fi<br />
</nowiki><br />
</pre><br />
<br />
You must first grab radeontool and copy it to {{path|/usr/local/sbin}} for this to work, of course. The script itself was stolen from someone else (whose name I forgot -- sorry!) and modified to work with the current version of radeontool.<br />
<br />
My {{path|/etc/acpid/events/backlight}} looks like this:<br />
<br />
event=ibm/hotkey.*1003<br />
action=/etc/acpi/backlight.sh<br />
<br />
==Various Information==<br />
===lspci Output===<br />
<br />
To have all the hardware show up with its proper name, I had to get a new pci.ids file from the [http://pciids.sourceforge.net/ Linux PCI ID Repostiory] and copy it to {{path|/usr/share/misc/pci.ids}}. I believe newer distributions and kernels won't need that file anymore.<br />
<br />
0000:00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)<br />
0000:00:01.0 PCI bridge: Intel Corporation Mobile 915GM/PM Express PCI Express Root Port (rev 03)<br />
0000:00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03)<br />
0000:00:1c.2 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 3 (rev 03)<br />
0000:00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)<br />
0000:00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03)<br />
0000:00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03)<br />
0000:00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03)<br />
0000:00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03)<br />
0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d3)<br />
0000:00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family)\<br />
AC'97 Audio Controller (rev 03)<br />
0000:00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 03)<br />
0000:00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 03)<br />
0000:00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 03)<br />
0000:00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)<br />
0000:01:00.0 VGA compatible controller: ATI Technologies Inc M22 [Radeon Mobility M300]<br />
0000:02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751M Gigabit Ethernet PCI Express (rev 11)<br />
0000:04:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 8d)<br />
0000:04:02.0 Network controller: Intel Corporation: Unknown device 4224 (rev 05)<br />
<br />
<br />
Things are up and running, WLAN and all, and I will update this article with the details once I have the time :)<br />
<br />
'''... To be continued ...'''<br />
<br />
==Complaints==<br />
It appears to me that even when the CPU is clocked down to 800 MHz, the CPU fan is very noisy and blows practically non-stop at the same speed. As a partial solution, I use a script (started from a an rc.d script as a daemon) to check the temperatures and turn the fan on or off depending on the temperature:<br />
<br />
<pre><br />
#!/bin/sh<br />
<br />
MAXTEMP=55<br />
<br />
while [ 1 ];<br />
do<br />
fan=no<br />
<br />
for temp in `sed s/temperatures:// < /proc/acpi/ibm/thermal`<br />
do<br />
test $temp -gt $MAXTEMP && fan=yes<br />
done<br />
<br />
command='disable'<br />
test "$fan" = "yes" && command='enable'<br />
echo $command > /proc/acpi/ibm/fan<br />
<br />
sleep 20<br />
done<br />
</pre><br />
<br />
See [[Problem with fan noise]] for further discussion, alternative scripts and fine-level control of fan speed.<br />
<br />
----<br />
<br />
I cannot see {{path|/proc/acpi/ibm/fan}} yet, perhaps it's because {{path|/etc/init.d/acpid}} tries to load any and all available acpi modules when the system boots, so a module is already filling places that ibm_acpi wants to take. I'll reconfigure it so it leaves out "fan" and "thermal" and see if ibm_acpi can then grab those two.<br />
<br />
It appears that wasn't the problem, but that the ibm-acpi that ships with 2.6.11.7 doesn't have the experimental fan adjustment support. I downloaded the latest available version and will try with that.<br />
<br />
It works when using the downloaded ibm-acpi and when that's loaded with the "experimental=1" option.<br />
<br />
=External Sources=<br />
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)].</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(June_2005)_on_a_ThinkPad_T43&diff=26000Installing Debian Sid (June 2005) on a ThinkPad T432006-10-25T03:14:21Z<p>Wehe: /* External Sources */ added link to tuxmobil.org</p>
<hr />
<div>__TOC__<br />
<br />
Please update with any contextual or cosmetic changes you feel appropriate.<br />
<br />
June 30, 2005: Installing Debian/Sid (Unstable) on the T43 proved to be a very long process. Support for the relatively new machine should get much better over time, perhaps making much of this guide unnecessary. A great deal of useful information can be found in the T43 Category hardware page, and the other T-Series installation guides over on the Debian Category page.<br />
<br />
==Installation==<br />
===Partitioning the hard drive===<br />
The thinkpad comes with Windows XP preinstalled but not set up. If you want to keep Windows it may be a good idea to turn on the machine and let it go through the Windows setup process before shrinking the partition. One step of the process is to convert the FAT32 windows parition to NTFS. The FAT32 partition may be easier to resize, but ntfsresize in Linux works fine too. For easy resizing, boot up in Knoppix 3.9+ with kernel 2.6 (earlier versions of Knoppix do not contain a 2.6 Kernel capable of handling the SATA drive). Once Knoppix is loaded head over to K->System->QtParted and you will be presented with a nice GUI for resizing the Windows partition. The Windows NTFS and IBM system restore FAT32 partitions take up 2/4 primary paritions, which doesn't leave much room for expansion. Between QtParted and cfdisk I partitioned my hard drive as:<br />
<br />
- sda1 Primary NTFS 20 GB<br />
- sda3 Primary Linux (reiser4) 20 GB (/)<br />
- Extended remaining space (~30GB)<br />
|- sda5 Logical Linux (ext3) 256 MB (/boot)<br />
|- sda6 Logical Linux (ext3) 30 GB (/storage)<br />
- sda2 Primary FAT32 (system restore)<br />
<br />
If I started over I would probably put everything in a single extended parition. The reiser4 root parition here causes a lot of trouble because of the lack of widespread reiser4 support. The strategy here is to install the base system on sda6, compile a kernel with reiser4 support, and move everything back over to sda3. Obviously this can be skipped if you want to stick with ext3 or something else. The ext3 boot partition is also necessary since GRUB does not support reiser4 easily. sda6 will eventually become a FAT32 parition to share data between Windows and Linux. In the beginning you may find it useful to have an extra copy of everything on sda6 to use as a fall back in case something goes wrong. Also a swap partition can be useful if you want to be able to hibernate using swsusp or [[Software Suspend 2]] (note the latter can also use a swap file), or if you have less than 1GB of memory. The inside of the drive (last sectors) can be ~50% slower than the outside (first sectors), so put frequently accessed portions up front.<br />
<br />
===Running the net install===<br />
As of June, 2005, the net installer still ships with a 2.6.8 kernel that will not read the SATA drive. It will be necessary to boot with kernel 2.4 to install the system (using legacy IDE drivers without DMA support - slow but manageable). To get all the latest and greatest, edit /apt/sources.list by hand and put in:<br />
<br />
- deb http://http.us.debian.org/debian unstable main contrib non-free<br />
- deb-src http://http.us.debian.org/debian unstable main contrib non-free<br />
- deb http://http.us.debian.org/debian experimental main contrib non-free<br />
- deb-src http://http.us.debian.org/debian experimental main contrib non-free<br />
<br />
the experimental repository may be necessary since the packages in unstable don't always have their dependencies satisfied within unstable. Don't worry since experimental packages must be manually installed. There is no need to install extra stuff at this point (X, etc) as it all can be taken care of after the system is working.<br />
===Choosing a kernel===<br />
Debian strips the Broadcom Tigon3 driver out of their 2.6.11 kernels. Also the Intel Pro/Wireless 2200/2915 drivers are unavailable. You can try to go the [http://newbiedoc.sourceforge.net/system/kernel-pkg.html Debian-way] and download the Debian source and non-free patches while using the Debian modules tools to add support for everything. I decided to go over to [http://www.kernel.org www.kernel.org] and get the latest mm kernel (2.6.12-mm2 at the time). Kernel building instructions are [http://kerneltrap.org/node/875 here]. I started with the original Debian 2.6.11-1 configuration file (found in /boot), and made the major changes:<br />
<br />
* P4 optimizations<br />
* Preemptible Kernel<br />
* built-in support for ext2, ext3, reiser4 (comes with mm kernel)<br />
* built-in relevant SCSI and SATA support (ata_piix)<br />
* Broadcom tg3 and IPW2200 modules<br />
<br />
Also a number of little things can be removed and customized ([http://www.mit.edu/~lindy/t43/linux-2.6.12-mm2.config .config] file). If you like to do so, go ahead and "apt-get install ccache" then change "gcc" to "ccache gcc" and "g++" to "ccache g++" in the Makefile to speed up future compilations. While gcc 4.0 comes with Debian Unstable, you probably want to use gcc 3.3 (or 2.95 as some suggest). The config file also represents bootsplash 3.1.6 and a SATA ACPI suspend fix patches to the 2.6.12-mm2 kernel (see sections below). The nice thing about built-in filesystem and SATA support is that we don't need an initrd.<br />
<br />
Before you boot into a 2.6 kernel, go into "/etc/fstab" and change "hda" to "sda", etc since the SATA drives are handled through the SCSI drivers.<br />
<br />
==Reiser4==<br />
The mm patch will add reiser4 support to the 2.6.12-mm2 kernel. The next step is to change the root filesystem. Assuming the everything is installed in the ext3 partition on /dev/sda6, the steps are:<br />
# apt-get install reiser4progs<br />
# mkfs.reiser4 /dev/sda3<br />
# boot into a [http://gentoo-wiki.com/TIP_Reiser4_Enabled_Live_CD reiser4-enabled live-CD]<br />
#*# {{cmdroot|mkdir /mnt/sda6; mount -t ext3 /dev/sda6 /mnt/sda6}}<br />
#*# {{cmdroot|mkdir /mnt/sda3; mount -t reiser4 /dev/sda3 /mnt/sda3}}<br />
#*# {{cmdroot|cp -a /mnt/sda6/* /mnt/sda3/}}<br />
# if you don't want to get a reiser4 live-CD, you can use a regular CD and copy all of /dev/sda6 into a subdirectory, boot back into /dev/sda6 and copy it back to /dev/sda3<br />
# update the new /etc/fstab and /boot/grub/menu.lst<br />
==Wireless: Intel Pro/Wireless 2915ABG==<br />
The 2.6.12-mm2 kernel comes with the ipw2200 driver, but you'll still need to download the firmware from [http://ipw2200.sourceforge.net/firmware.php here] and put it in /lib/firmware. Note that the driver in 2.6.12-mm2 is version 1.0.0 and does not use the latest firmware. Once the driver is set up, apt-get install wireless-tools, check "iwconfig", and if all is well set up /etc/network/interfaces accordingly.<br />
<br />
==Bootsplash==<br />
Here are some [http://hacks.oreilly.com/pub/h/3124 instructions]. I've had no problems I could trace back to the radeon framebuffer device. vga=834 is for the 1400x1050 display. The bootsplash themes are accessible through the bootsplash.de debian archive, though I haven't yet found one for or adapted one to 1400x1050.<br />
==ACPI==<br />
===CPU frequency scaling===<br />
First the relevant modules must be enabled in the kernel. Both the acpi-cpufreq and speedstep-centrino modules work to some extent, but I wasn't able to clock the CPU below 1.3 GHz with the speedstep-centrino module, while with acpi-cpufreq I had one non-reproduceable issue with the frequency being stuck at 800 MHz. You'll need to put the modules (acpi-cpufreq, cpufreq-ondemand, cpufreq-conservative, cpufreq-powersave) in /etc/modules so that they are loaded at bootup. There are many ways to automatically manage frequency scaling behavior. I chose to use "cpufreqd" with this [http://www.mit.edu/~lindy/t43/cpufreqd.conf configuration], and there is also powernowd using the cpufreq-userspace governor, or writing your own ACPI event scripts.<br />
===Suspend to RAM===<br />
The 2.6.12-mm2 kernel will crash on resume because there is no SATA support for suspend. There are patches at [[How to make ACPI work]] which need minimal [http://www.mit.edu/~lindy/t43/sata_pm.2.6.12-mm2.diff changes] to work with 2.6.12-mm2 (note: I have no idea what I'm doing but it seems to work). The video card does not wake up after resume, but the X.org radeon driver will reset the card properly. If you want to get the text consoles back, you'll either have to append "acpi_sleep=s3_bios" to the GRUB kernel arguments for a VGA display, or use vbetool to save/restore video bios state for a framebuffer device (not exactly stable on my machine).<br />
===Suspend to disk (hibernate)===<br />
Software suspend comes with the kernel, and [[Software Suspend 2]] looks really nice but messy to patch into 2.6.12-mm2 (didn't really try). Without a swap drive I went for neither since suspend to RAM only takes ~.5 W of power and is much faster. It would be nice to be able to hibernate, switch to windows, and come back. [[Software Suspend 2]] is supposed to be merged with the kernel at some point, so perhaps it's enough to wait for that.<br />
<br />
===laptop-mode===<br />
Laptop-mode is built into the kernel. To easily activate it, 'apt-get install powermgmt-base laptop-mode-tools'. It should help preserve battery life by minimizing hard-drive spin-up, though this depends on the SATA ACPI support.<br />
<br />
==X==<br />
===XFree86===<br />
The radeon driver in the 4.3.0 XFree86 from Debian unstable is not new enough to support the Mobility X300. I tried the unofficial Debian [http://www.stanchina.net/~flavio/debian/fglrx-installer.html fglrx] drivers, and with some suggestions from this [http://www.linuxquestions.org/questions/showthread.php?s=&threadid=335524 thread] was able to compile against 2.6.12-mm2, but ended up with a radeon driver which crashed my computer (maybe because I had DRI enabled in the kernel).<br />
===X.org===<br />
There are experimental X.org packages available [http://www.livejournal.com/users/gravityboy/14794.html here] which I am currently running with X300 support with the opensource drivers. I'm not really sure what I miss out on besides 3D acceleration by doing so.<br />
<br />
Try setting in /etc/X11/xorg.conf:<br />
Option "DynamicPM" "True"<br />
which improves battery life considerably ([http://www.sas.upenn.edu/~vbraun/computing/T41/power.html see this page for details]).<br />
<br />
Later versions of X.org have renamed the flag to:<br />
Option "DynamicClocks" "True"<br />
<br />
==External Sources==<br />
*http://jefke.free.fr/writings/thinkpad_t43/<br />
*http://www.zolnott.de/laptop/ibm-t43-uc34nge.html<br />
*http://www.zolnott.de/laptop/ibm-t43-uc34nge-deutsch.html German translation<br />
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)].<br />
<br />
<br />
[[Category:Debian]] [[Category:T43]]</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_4_on_a_ThinkPad_T43&diff=25999Installing Fedora Core 4 on a ThinkPad T432006-10-25T03:13:08Z<p>Wehe: /* Need some attention */ added external sources section</p>
<hr />
<div>Installation Log<br />
Fedora Core 4<br />
System components<br />
Thinkpad {{T43}} (1871-4AG)<br />
<br />
<br />
==Preparations==<br />
* When first switched on, preinstalled Win XP immediately converted almost the entire hard disk to NTFS. The last 4 GB are occupied by a FAT partition containing IBM recovery software<br />
* Boot into Win XP and burn recovery CDs (access IBM button or start menu entry) <br />
* Boot Knoppix (3.9, http://www.knopper.net/knoppix/index-en.html) and use qtparted to reduce the size of the NTFS partition<br />
<br />
<br />
==Installation of Fedora Core 4==<br />
* DVD ISO downloaded from mirror (http://fedora.redhat.com)<br />
* Installation without any difficulty<br />
<br />
<br />
==Working out of the box==<br />
* Touchpad<br />
* Touchpad buttons<br />
* Trackpoint<br />
* LAN<br />
* USB flash<br />
<br />
<br />
==Need some attention==<br />
* WLAN (Intel Wireless 2200 BG):<br />
The driver is already included in the kernel, although an update will include configuration scripts to help load/unload modules, verify hardware, check status, etc. The only thing missing is the firmware. Apparently, this is proprietary and thus not included in the distribution. It can be downloaded however. The kernel I installed with the first upgrade (2.6.12-1.1387_FC4) includes driver version 1.0.2 (?). This driver version requires firmware version 2.2.<br />
<br />
- Download appropriate firmware from http://ipw2200.sourceforge.net/firmware.php<br />
<br />
- Extract and copy files to /lib/firmware<br />
<br />
- Reload Modules (Optionally using the scripts included with the ipw2200 driver)<br />
# load<br />
- Configure wireless network using<br />
# /usr/bin/system-config-network<br />
* Suspend to RAM<br />
- As described on http://www.ces.clemson.edu/linux/suspend_mem.shtml<br />
- Additional comment: make sure there are no backup copys (FILE~) left in the directories. If there are, the laptop will go straight back into suspend after waking up and you have to wake it again. Backup files seem to be read as well, so that all events are processed twice.<br />
- You can restart the acpi daemon straight away using<br />
# /etc/init.d/acpid restart<br />
- You can also configure klaptop<br />
* Special keys (volume, brightness)<br />
- Install tpb and xosd from extras repository<br />
# yum install tpb xosd<br />
- If you like, you can also use the kde thinkpad configuration settings:<br />
kcontrol - System Administration - IBM Thinkpad Laptop - KMilo<br />
<br />
=External Sources=<br />
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)].<br />
<br />
[[Category:Fedora]]</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.06_on_a_ThinkPad_T43&diff=25998Installing Ubuntu 6.06 on a ThinkPad T432006-10-25T03:11:39Z<p>Wehe: /* IrDA */ added external sources section</p>
<hr />
<div>Installation Log of {{Ubuntu}} 6.06 on a {{T43}}<br />
<br />
__TOC__<br />
<br />
<br />
==Overview==<br />
Worked right out of the box<br />
* 1400*1050 resolution<br />
* Battery Management<br />
* Ultra Nav (Trackpoint and synaptic touchpad)<br />
* WLAN (Atheros, IBM 11a/b/g Wireless LAN Mini PCI Adapter II)<br />
* Hibernate and Standby<br />
* Fn keys (switch between monitors untested)<br />
* Audio Keys <br />
* ThinkLight<br />
<br />
Was easy or required some work<br />
* easy ubuntu (includes skype and some codecs) <br />
* middle key of Ultra Nav (Trackpoint)<br />
* ATI 3D Acceleration (Mobility Radeon X300)<br />
* Xgl / Compiz<br />
<br />
Still TODO<br />
* Fingerprint reader<br />
* Forward/Backward keys, Access IBM Key<br />
<br />
Untested<br />
* Bluetooth (light indicates working)<br />
* Modem <br />
* IrDA<br />
* TV out, VGA out<br />
<br />
Failed / still requires work<br />
* Active Protection System<br />
<br />
==Installation==<br />
<br />
===Recovery copy of data===<br />
<br />
Before installing a new OS you should create a security copy of your old system. As the IBM Rescue and Recovery tool quit with an error message I used the Ubuntu live CD, mounted and cd'ed into my external hard drive and ran the following command:<br />
<br />
$ cmduser|sudo dd if=/dev/sda1 | gzip | dd of=./sda1.img<br />
<br />
where /dev/sda1 is the device with my windows partition and sda1.img the gzipped security copy.<br />
In case of problems one can now restore lost information using<br />
<br />
$ sudo dd if=./sda.img | gzip -d | of=/dev/sda1 <br />
<br />
After creating the recovery copy we are ready to resize the existing windows partition. This article assumes you want to keep your IBM Rescue and Recovery Partition, shrink in size, but keep your windows partition and create a new partition for Dapper Drake.<br />
<br />
===Resizing Partitions===<br />
<br />
Probably the best choice is now to boot from the alternate CD (read http://gawrysiak.org/corvus/?p=4) to know why) and use it to resize the existing NTFS partition. Unfortionately in my case it didn't work. So I booted the Live CD, but gparted and parted refused to resize my Windows, too. If the same happens to you, use the example (http://crashrecovery.org/CrashRecoveryKit/iso/2.4.21/HOWTO.ntfs.html) to know how to resize it "manually" using ntfsresize and fdisk.<br />
<br />
After resizing your windows partition you should reboot window to check everything's in order. It probably will run checkdisk and reboot two times - according to experieces you can read in the web, you should better let windows do that.<br />
<br />
===Installation of Ubuntu===<br />
<br />
Know it's the time to install ubuntu. I used the alternate CD for that because I chose to install grub into the Linux partition and not into the Master Boot Record (read why (http://gawrysiak.org/corvus/?p=4), same article as above). The graphical LiveCD installer automatically installs grub to the MBR. If you want to use grub in the MBR read http://thinkwiki.org/wiki/Rescue_and_Recovery . There is a description of what you have to do in order to still be able to use the IBM R'n'R partition.<br />
<br />
* remember that you're installing GRUB to an '''sda''' mount, not an hda mount like the GRUB installer will prompt you for what you should enter after you tell GRUB not to install in the MBR will be something like this:<br />
<br />
/dev/sda3<br />
<br />
<br />
After the installation is finshed it will reboot your system. Now windows should start. In my case it didn't, but playing around, booting into the R'n'R partition, starting PC Doctor and doing some Diagnostics (no changes) somehow and surprisingly made windows boot again.<br />
<br />
To boot you freshly installed Linux you have to reboot the LiveCD one last time. Use<br />
<br />
$ sudo dd if=/dev/hda3 of=ubuntu.img bs=512 count=1<br />
<br />
to copy the first block of grub into an image file and use e.g. an usb flash drive to transfer it to your newly booted windows. Copy paste the image to C:\ and add the following line to your C:\boot.ini:<br />
<br />
C:\ubuntu.img="Ubuntu Dapper Drake" $<br />
<br />
At the next restart the windows boot manager should now welcome you with the choice to boot windows or ubuntu. Choose ubuntu to (finally ;-) boot your newly installed linux for the first time.<br />
<br />
==Configuration==<br />
<br />
===Easyubuntu===<br />
<br />
On http://easyubuntu.freecontrib.org/ you can find a helpful tool to install skype, codecs, ati 3d drivers and further things that can make your live easier.<br />
<br />
===Keyboard layout===<br />
<br />
My T43 has a German keyboard layout. Most worked just fine, but some keys (in my case the "at" and the "tilde" among others) just didn't. If the same happens to you, just go to the gnome system preferences menu and choose the right layout for your keyboard (probably named after your language and something like eliminate-dead-keys or no-dead-keys)<br />
<br />
===3D acceleration and Xgl/Compiz===<br />
<br />
Search at thinkwiki.org for help on your graphics card. If you have an ATI Radeon X300 like me, use this explanation how to make your hardware 3d acceleration work:<br />
http://wiki.cchtml.com/index.php/Ubuntu_Dapper_Installation_Guide<br />
<br />
To test if it works type<br />
<br />
$ glxinfo | grep rendering<br />
<br />
The answer should be: "direct rendering: Yes". If it says "No", you don't have 3D acceleration.<br />
<br />
If you want to install Xgl/Compiz like me, here is a great installation help for ATI cards (use way two): http://www.compiz.net/viewtopic.php?id=389<br />
If you have another card you might find a good explanation here: http://ubuntuforums.org/showthread.php?t=148351<br />
<br />
===Active Protection System===<br />
<br />
The T43 has a great system to protect your hard disk, the Active Protection System APS. An Howto http://thinkwiki.org/wiki/How_to_protect_the_harddisk_through_APS describes, how you can use it. I try to explain it a little more in detail, but <br />
{{WARN|only follow these instructions if you know what you are doing!}}<br />
<br />
If you didn't until now you will have to install make, libc, gcc, ... Best is you use<br />
<br />
$ sudo apt-get install build-essentials<br />
<br />
Determine your kernel version using <br />
<br />
$ uname -a<br />
<br />
You should see somthing like<br />
<br />
Linux ibm 2.6.15-26-386 #1 PREEMPT Thu Aug 3 02:52:00 UTC 2006 i686 GNU/Linux<br />
<br />
Install the kernel sources "linux-source" e.g. using Synaptic.<br />
Download the right kernel patch from http://thinkwiki.org/wiki/HDAPS#Applications according to your kernel version and system (I chose "sata/ide disk protection patch for 2.6.15")<br />
adapt following steps to your needs:<br />
<br />
$ cd /usr/src/<br />
$ sudo su<br />
# bunzip2 linux-source-2.6.15.tar.bz2<br />
# tar -xf linux-source-2.6.15.tar<br />
# cd linux-source-2.6.15<br />
# patch -p1 -l < /home/silvan/hdaps_protect.20060118.patch<br />
<br />
You should see several lines with the word "suceeded". If you see many "failed" instead you probably chose the wrong patch for your kernel. You can use the --dry-run option to try it out first. If you get errors in the following steps you should better stop unless you know what you are doing.<br />
<br />
# make clean<br />
# make oldconfig # use old config, ask for new items, only<br />
# make clean<br />
# make # takes quite a long time, several minutes<br />
# make modules<br />
# make modules_install<br />
<br />
Afterwards use the debian sources mentioned in http://thinkwiki.org/wiki/How_to_protect_the_harddisk_through_APS to install the user space deamon hdapsd and the gnome applet gnome-hdaps-applet, e.g. using Synaptic.<br />
<br />
If this worked for you, you can find some nice applications at http://thinkwiki.org/wiki/HDAPS#Applications which make use of the APS.<br />
<br />
{{HELP|For me unfortunately it didn't work as making the patched kernel failed. Please update ths section if you have different experiences and a better, more detailed working explanation.}}<br />
<br />
<br />
===Track Point middle key scrolling===<br />
<br />
In my case the track point worked out of the box, but the middle mouse button for scrolling did not.Track point(http://thinkwiki.org/wiki/How_to_configure_the_TrackPoint) explains, how to solve this, the steps, you need to follow are in section "Using the X server (kernel 2.6.11+)".<br />
However you don't need to follow the steps in "EmulateWheelTimeout temporarily broken (-> fix for Ubuntu Dapper)" as this is fixed already if you have all your packages up-to-date.<br />
Follow the instructions in the sections "Configure firefox for using trackpoint horizontal scrolling" and "Configure Opera for using trackpoint horizontal scrolling" as well, if you are using one of the two browsers.<br />
<br />
<br />
===Fingerprint reader===<br />
{{Todo|needs editing}}<br />
Look at this Howto (http://thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader) if you want to use your fingerprint reader.<br />
<br />
===Forward / backward keys, Access IBM===<br />
{{Todo|needs editing}}<br />
You'll find more here: http://thinkwiki.org/wiki/How_to_get_special_keys_to_work<br />
<br />
===IrDA===<br />
{{Todo|needs editing}}<br />
Find information here: http://thinkwiki.org/wiki/How_to_make_use_of_IrDA<br />
<br />
<br />
Sorry for the bad formatting of the links :-(<br />
Hope this helped anyhow :-)<br />
<br />
Greetz<br />
<br />
tec<br />
<br />
=External Sources=<br />
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)].</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_OpenSUSE_10.1_on_a_ThinkPad_T43&diff=25997Installing OpenSUSE 10.1 on a ThinkPad T432006-10-25T03:10:37Z<p>Wehe: /* External Sources */ added link to tuxmobil.org</p>
<hr />
<div>Most things run just fine after installation, the Rest I got working with the great articles here.<br />
<br />
==Installation==<br />
{{WARN| The Pre-Desktop-Area has to be protected before installation, otherwise the Recovery-System will be lost. To do so, set Predesktop-Area to "Secure" in BIOS. Additionally, it's always useful to have the Recovery-CDs burned before an installation attempt}}<br />
<br />
The automatic shrinking of the NTFS-partition did not work during the Installation of {{SUSE}}, so I shrinked it with QtParted from a Knoppix-DVD.<br />
To be able to boot Windows and Linux (via Grub) and the Recovery-System (with {{ibmkey|Access IBM|#495988}}), install the bootloader in the new, extended partition (usually <tt>/dev/sda</tt>).<br />
<br />
Besides that, everything went fine, most Hardware was set up correctly: Graphics Card, Touchpad and Trackpoint, WLAN, Bluetooth, Modem (yet untested), Volume Control.<br />
<br />
==ACPI==<br />
Everything set up correctly, [[ibm-acpi]] ist installed, Suspend-to-RAM and Suspend-to-Disk work with the keys already assigned to them. I still miss [[RediSafe]] though, maybe I'll use [[Software Suspend 2]] some day.<br />
<br />
==Hotkeys==<br />
[[How to get special keys to work]] gives a general overview.<br />
<br />
Suspend keys worked by default installation, as did {{key|Fn}}{{key|F5}} for switching Bluetooth on and off. For the remaining keys, the <tt>nvram</tt>-module was missing. So when {{path|/dev/nvram/}} is missing, you have to create it first: <br />
<br />
{{cmdroot|mknod /dev/nvram c 10 144}} <br />
<br />
and load it with<br />
<br />
{{cmdroot|modprobe nvram}}<br />
<br />
Additionally, I had to specify the module to be loaded automatically at {{path|/etc/sysconfig/kernel}}:<br />
[...]<br />
MODULES_LOADED_ON_BOOT="nvram"<br />
[...]<br />
<br />
Last, the access rights had to be corrected. To do so, search for <tt>nvram</tt> in {{path|/etc/udev/rules.d/50-udev-default.rules }} and change the entry to:<br />
KERNEL=="nvram", NAME="%k", GROUP="nvram", MODE="660"<br />
so the users of group nvram have access to it. Of course that group has to exist, and you need to be a member of it:<br />
<br />
{{cmdroot|groupadd nvram}}<br />
{{cmdroot|usermod -G nvram username}}<br />
<br />
After a reboot, you can use either [[tpb]] or the [[KMilo]]-Plugin in KControl (System Administration -> IBM Thinkpad Laptop) to set up the keys. I liked the OSD of KMilo better. Additionally, I set the Mixer setting to "Software" (<tt>MIXER ON</tt> in tpb), so the Mixer volume and mute status matches the one in KMix.<br />
<br />
==Fingerprint Reader==<br />
[[How to enable the fingerprint reader]] neatly explains everything. I had to do the last steps manually, because the [[Script for enabling the fingerprint reader]] did not run till the end on Suse 10.1<br />
<br />
==3D Acceleration==<br />
The Standard driver did work for 2D, but with no 3D acceleration. When I added<br />
<pre>Section "Module"<br />
[...]<br />
Load "glx"<br />
[...]<br />
EndSection</pre><br />
to my {{path|/etc/X11/xorg.conf}}, the 3D acceleration worked with the OpenSource driver, but now there were problems with Suspend. So I decided for the proprietary [[fglrx]]-Driver directly from Ati. Installed fine, after I created a distribution-specific rpm with the Installer.<br />
<br />
==Extensions==<br />
[[How_to_configure_the_TrackPoint#Scrolling | Trackpoint Scrolling]] <br />
<br />
==External Sources==<br />
*[http://omnibus.uni-freiburg.de/~s8arhorn/index.php?section=Linux&file=Suse%2010.1%20auf%20IBM%20Thinkpad%2043 My Installation article, in German]<br />
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)].</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_Debian_Sid_(September_2004)_on_a_ThinkPad_T42p&diff=25986Installing Debian Sid (September 2004) on a ThinkPad T42p2006-10-24T14:29:15Z<p>Wehe: /* Links */ added link to tuxmobil.org</p>
<hr />
<div>==Links==<br />
During my install of Debian Linux on my T42p I found the following Links to be very, very useful:<br />
<br />
* [http://www.digriz.org.uk/t40p-linux/ A page with instructions for T40p.] Lots of useful info, but do not use the IRQ layout on this page for a T42p!<br />
* Two more pages about Debian on T42p's: [http://modular.fas.harvard.edu/t42/ here] and [http://www.icemark.net/beh/misc/T42P here]<br />
* [http://pompone.cs.ucsb.edu/~graziano/PowerPlay.html Enabling Powerplay (Radeon Power saving)] in three simple steps for debian XFree packages<br />
* the original (closed-source) [[Fglrx | ATI drivers]] [http://xoomer.virgilio.it/flavio.stanchina/debian/fglrx-installer.html pre-packaged for debian] (to be compiled into a module deb with make-kpkg)<br />
* An interesting [http://www.sas.upenn.edu/%7Evbraun/computing/T41/power.html Benchmark Page on Powersaving] with Windows vs Linux and APM vs ACPI<br />
* A page documenting the first attempts to get [http://r300.sf.net/ hardware acceleration for the R300 GPU] (the one built into the T42p) running without the closed-source ATI drivers.<br />
* another special and useful kernel module: [[Ibm-acpi | IBM-ACPI]] (since kernel versin 2.6.10 this is part of the stock kernel tree!)<br />
* Quite some interesting add-ons for thinkpad-users, namely an extended Trackpoint driver with graphical configuration tool can be found here: [http://tpctl.sf.net tpctl home page] (unfortunately the trackpoint driver seems to be incompatible with the latest 2.6 kernels) <br />
* [[BIOS_Upgrade | BIOS Updates]] [http://www-3.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-55386 from IBM]<br />
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)].<br />
<br />
==First steps==<br />
Unfortunately there are no detailed instructions here, yet. Visit the links above if you feel the present set of information is too terse for your taste.<br />
<br />
For the first boot and maybe even the first install I recommend a recent [http://kanotix.mipooh.net/viewforum.php?f=8 Image of] [[:Category:Kanotix|Kanotix]] (a [[:Category:Knoppix|Knoppix]] descendant with lots of notebook-specific extensions built-in, so it should boot your Thinkpad with most bells and whistles right out of the box!)<br />
<br />
Before you change or repartition your drive, visit the [[Installation steps which apply to every Thinkpad_model#Backup.2FRescue_CD_Set|Backup/Rescue-Section]].<br />
<br />
If you want to keep your WinXP partition, take a look at the [[Installation steps which apply to every Thinkpad_model#Resizing_your_Windows_Partition|Partition-Resizing Section]].<br />
<br />
If you compile a new kernel (recommended), you can use [http://fionn.de/config-t42p-2.6.8 this 2.6.8 kernel-configuration] as a starting point if you like. For kernel 2.6.8 you will also need to apply [http://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.8-rc3/2.6.8-rc3-mm1/broken-out/bk-cpufreq.patch this patch] and [http://gort.metaparadigm.com/cpufreq/cpufreq-speedstep-dothan-3.patch this one], too. Otherwise speedstep will not work on your Dothan CPU. I think in 2.6.9 this is fixed.<br />
<br />
You might want to change your [[IRQ]] settings in BIOS<br />
<br />
==Debian Packages==<br />
<br />
The following packages are relevant to your Thinkpad installation:<br />
<br />
====Kernel:====<br />
<br />
* kernel-source-2.6.11 (or the latest version available)<br />
* If you have a kernel version < 2.6.10: ibm-acpi-source (see [[Ibm-acpi | IBM-ACPI]])<br />
* sl-modem-source (for the built-in modem)<br />
* ipw2100-source (if you have the "simple" 802.11b WLAN option, otherwise you either need the atheros or ipw2200 drivers!)<br />
* thinkpad-source (optional, I have yet to find a feature that thinkpad-modules offer and the more modern ibm-acpi does not)<br />
* (optional) the closed-source [[Fglrx | ATI drivers]] [http://xoomer.virgilio.it/flavio.stanchina/debian/fglrx-installer.html pre-packaged for debian]<br />
<br />
====Other:====<br />
<br />
* sl-modem-daemon (modem)<br />
* tpb (for the thinkpad buttons a nifty OSD, actually alot nicer than the WinXP one!)<br />
* tpctl (needed to control some functions of the thinkpad kernel extensions)<br />
* thinkpad-base<br />
* acpid<br />
* [http://packages.debian.org/testing/net/whereami whereami] (automatically detects suitable LANs and supports drop-in configuration), waproamd is obselete and limited to WEP<br />
* ifplugd (automatically detects network connections and brings up your interfaces accordingly)<br />
* powernowd (Use this OPTIONS line in /etc/init.d/powernowd: OPTIONS="-q -m 0 -l 35 -p 500 -s 200000") and viola, there you got nice, all-automatic speedstepping.<br />
* bluez-utils (for bluetooth)<br />
* wireless-tools (for wlan)<br />
* laptop-mode-tools (see [[Laptop-mode | laptop-mode]] for further information)<br />
<br />
====DO NOT USE:====<br />
<br />
* tleds (this package will mess up your keyboard during network-io and tremendously slow down network throughput)<br />
<br />
[[Category:T42p]] [[Category:Debian]]</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_4_on_a_ThinkPad_T42p_(2373-HBU)&diff=25985Installing Fedora Core 4 on a ThinkPad T42p (2373-HBU)2006-10-24T14:28:31Z<p>Wehe: /* Links */ added link to tuxmobil.org, made ipw2200 link to wiki link</p>
<hr />
<div>= Success Chart =<br />
<br />
{| border="1" cellpadding="5" cellspacing="0"<br />
|-<br />
|colspan=2| '''Item''' || '''Working''' || '''Notes'''<br />
|-<br />
|rowspan=3|Installation <br />
| DVD Installation ||class="diff-addedline"| Yes ||<br />
|-<br />
| Network Installation ||class="diff-context"| Not Tested ||<br />
|-<br />
| USB Installation ||class="diff-context"| Not Tested ||<br />
|- <br />
|rowspan=4|Display<br />
| Laptop Screen ||class="diff-addedline"| Yes || [[#ATI driver]] (fglrx) and xorg raedon<br />
|-<br />
| CRT / Projector ||class="diff-context"| Not Tested || <br />
|-<br />
| TV Out ||class="diff-context"| Not Tested || <br />
|-<br />
| 3D ||class="diff-addedline"| Yes || [[#ATI driver]] (fglrx)<br />
|-<br />
|rowspan=2|Power Management<br />
| Software Suspend (hibernate) ||class="diff-addedline"| Yes || [[#Modem/Swsups2 Kernel]] (using custom kernel for modem AND suspend2)<br />
|-<br />
| Suspend to Memory (ACPI sleep) ||class="diff-addedline"| Yes || [[#Modem/Swsups2 Kernel]] and plain ACPI Tested on 2.6.13<br />
|-<br />
|colspan=2| Audio ||class="diff-addedline"| Yes || ALSA intel8x0 driver<br />
|-<br />
|rowspan=3| Wireless || 802.11b/g ||class="diff-addedline"| Yes || ipw2200 driver<br />
|-<br />
| Bluetooth (BMDC-2) ||class="diff-context"| Not tested ||<br />
|-<br />
| IRDA ||class="diff-addedline"| Yes ||<br />
|-<br />
|rowspan=2| Wired || 1000 Ethernet ||class="diff-addedline"| Yes || e1000 driver<br />
|-<br />
| Modem (BMDC-2)||class="diff-addedline"| Yes || Linuxant HSF (using custom kernel for modem AND suspend2)<br />
|-<br />
<br />
|rowspan=1|Extra Buttons || Keyboard Section ||class="diff-addedline"| Yes || ibm-acpi (in kernel 2.6.14)<br />
|-<br />
|colspan=2| Fingerprint Scanner ||class="diff-addedline"| Yes || with PAM See [[Integrated Fingerprint Reader]].<br />
|-<br />
|colspan=2| Harddisk Active Protection ||class="diff-context"| Not Tested || in kernel 2.6.14 .<br />
|-<br />
|rowspan=2| Hot Swap || DVD-RW/CDROM ||class="diff-deletedline"| No ||<br />
|-<br />
| Battery ||class="diff-addedline"| Yes || can be done with ultra slim battery and having the DVD out at boot<br />
|-<br />
|}<br />
<br />
==Basic Install==<br />
After loading the Fedora Core 4 i686 CD here is the basic lay of the land.<br />
* Video (FireGL) - Unaccelered default setup, but it worked<br />
* Ethernet (10/1000) - Working<br />
* Sound (AD1981B) - Working<br />
* Basic Function Keys - Brightness,Keyboard light,Bluetooth on/off<br />
* Bluetooh (BMDC-2) - Untested (I do see the drivers loaded)<br />
* Modem (BMDC-2) - Untested (I do not see drivers loaded)<br />
* Wireless (ipw2200) - Not Working<br />
* DVD-RW - Working<br />
* Fingerprint reader - Not Working<br />
* Suspend Memory - Not Working<br />
* Suspend Disk - Not Working<br />
* IBM Active Protection System (HDAPS) - Not working<br />
<br />
=Basic Hardware=<br />
==Wireless==<br />
I really needed this first so I could have the easy freedom to work on the machine throughout my house. All you really need here is the firmware loaded in to the right spot. This is an old version of the driver and firmware and it will not run Kismet. Later, I will show how to get this working.<br />
<br />
Goto http://ipw2200.sourceforge.net/firmware.php. Download and install the version 2.2 in /lib/firmware. Reboot and your wireless should work. Go here for some more tips: [[ipw2200]]<br />
<br />
==Updating==<br />
At this point I setup my system to get all of the current updates for Fedora Core 4. I just ran the up2date program and let it do it's thing.<br />
<br />
==Video==<br />
I am currently using the default raedon driver. I am looking a later loading the fglrx driver. <br />
===xorg driver===<br />
I read [[Additional options for the radeon driver]] page to come up with what I have. Here is the radeon device section from my xorg.conf<br />
<br />
Section "Device"<br />
Identifier "Videocard0"<br />
Driver "radeon"<br />
VendorName "Videocard vendor"<br />
BoardName "ATI FireGL Mobility T2"<br />
# accelration<br />
Option "backingstore" "on"<br />
Option "AGPFastWrite" "on"<br />
#may need to turn of enablepageflip<br />
Option "EnablePageFlip" "on"<br />
Option "AGPMode" "4"<br />
Option "EnablePageFlip" "on"<br />
Option "RenderAccel" "on"<br />
# enable PowerPlay features<br />
Option "DynamicClocks" "on"<br />
# use bios hot keys on thinkpad (aka fn+f7)<br />
Option "BIOSHotkeys" "on"<br />
#Xvmc<br />
Option "XvMCSurfaces" "7"<br />
EndSection<br />
<br />
===ATI driver===<br />
I decided to try out the ATI driver to see if it was better. After installing and getting the feel of it, I would say thats it is much faster. If you do choose to use the driver, remember to reinstall after every kernel upgrate. Also, retest your suspend scripts, as it does not seem to play nicely. You can make it work see [[Modem/Swsups2 Kernel]]. <br />
<br />
The first thing you need to do is install compat-libstdc++-33. This is needed for the fireglcontrolpanel to work.<br />
{{cmdroot|yum install compat-libstdc++-33}}<br />
<br />
Downloaded the driver from ATI (https://support.ati.com/ics/support/default.asp?deptID=894&task=knowledge&folderID=356) I downloaded the big 60MB installer and let it do a general install. <br />
{{NOTE|Do not setup the second monitor unless you use it. Programs that use the xv overlay will reboot X when the second screen is not available. (This means xine and mplayer will crash your machine.}}<br />
<br />
==Fingerprint Reader==<br />
I followed for the most part the instructions given at [[How to enable the fingerprint reader|according HOWTO]]. the only thing that I changed was the /etc/pam.d/system-auth. Mine looks like:<br />
#%PAM-1.0<br />
# This file is auto-generated.<br />
# User changes will be destroyed the next time authconfig is run.<br />
auth required /lib/security/$ISA/pam_env.so<br />
auth sufficient /lib/security/pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi1.10/pam/<br />
auth sufficient /lib/security/$ISA/pam_unix.so likeauth nullok<br />
auth required /lib/security/$ISA/pam_deny.so<br />
<br />
account required /lib/security/$ISA/pam_unix.so<br />
account sufficient /lib/security/$ISA/pam_succeed_if.so uid < 100 quiet<br />
account required /lib/security/$ISA/pam_permit.so<br />
<br />
password requisite /lib/security/$ISA/pam_cracklib.so retry=3<br />
password sufficient /lib/security/pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi1.10/pam/<br />
password sufficient /lib/security/$ISA/pam_unix.so nullok use_authtok md5 shadow<br />
password required /lib/security/$ISA/pam_deny.so<br />
<br />
session required /lib/security/$ISA/pam_limits.so<br />
session required /lib/security/$ISA/pam_unix.so<br />
<br />
I just try to find the correct place in the list for the pam_bioapi line. I am currently looking for ways to have the scan graphic come up faster. Also note that with the KDE screen saver that the fingerprint reader does not quite work correctly, and it also has some error when comming out of suspend. I will be working on this and hopefully creating a patch and submitting it.<br />
<br />
==IRDA==<br />
===BIOS Setup===<br />
===IRDA Service===<br />
===OBEX Tool===<br />
====Install BWidget====<br />
* Download<br />
* Copy to tcl library location<br />
** cp -r BWidget /usr/share/tcl8.4/.<br />
<br />
== Modem/Swsups2 Kernel ==<br />
Ok you are asking yourself why lump these two together? Well, it seems you can download a kernel for one or the other but not both. So I hacked a solution. There may be a more eloquent way, if so, help me out and edit this section.<br />
<br />
The modem requires 16K program stacks. (If you don't want suspend to disk, just download the kernel from Lunixant and goto the modem section.)<br />
The Swsups2 requires kernel modifications. (If you don't want to use the modem, just download the kernel from http://mhensler.de/swsusp/download_en.php)<br />
<br />
OK here is a quick outline of what I did, I hope to flesh it out later:<br />
# Downloaded the two kernal sources.<br />
# Found the patch requred to do 16k status<br />
# unarchived the swsups2 into a directory<br />
# copied the 16k stacks patch into the directory<br />
# cleaned out my /usr/src/redhat/BUILD , SOURCES , SPEC<br />
# moved all of the files that I have in the tmp dir to SOURCES<br />
# copied the spec files to SPEC<br />
# make a new 16K spec file<br />
# edited it<br />
## Added distags i686<br />
## Added define at the top (need some more work here to really understand what is going on.)<br />
## Added source line: Source3: kernel-2.6.14-1.1653_%{swsuspbuild}_16k.rhfc4.cubbi_swsusp2.spec<br />
## Added patch line: Patch1000003: linux-2.6.14-16kstacks.patch<br />
## Added section to set configs<br />
## for 16KSTACKS<br />
%if %{_with_16k}<br />
for file in *i[56]86*.config; do<br />
grep -Ev 'CONFIG_4KSTACKS[= ]' $file > $file.tmp<br />
echo -e "CONFIG_4KSTACKS=n\nCONFIG_16KSTACKS=y\nCONFIG_IRQSTACKS=y" >> $file.tmp<br />
mv -f $file.tmp $file<br />
<br />
grep -Ev 'CONFIG_DEBUG_PREEMPT[= ]' $file > $file.tmp<br />
echo -e "CONFIG_DEBUG_PREEMPT=n\n" >> $file.tmp<br />
mv -f $file.tmp $file<br />
<br />
grep -Ev 'CONFIG_PREEMPT_NONE[= ]' $file > $file.tmp<br />
echo -e "CONFIG_PREEMPT=y\nCONFIG_PREEMPT_BKL=y\n" >> $file.tmp<br />
mv -f $file.tmp $file<br />
done<br />
%endif<br />
# copied the spec files back to SOURCES<br />
# Then ran rpmbuild -ba kernel-2.6.14-1.1653_1_16k.rhfc4.cubbi_swsusp2.spec --target i686 -vv<br />
# Then downloaded and installed hibernate (see swsups website)<br />
# Downloaded and installed swsusp2-mkinitrd-5.0.8-1.cubbi1.noarch.rpm<br />
# Downloaded and installed swsusp2-userui-0.6.1-0.fc4.cubbi1.i386.rpm<br />
# ran rpm -ivh on created kernel-2.6.14-1.1653_1_16k.i686.cubbi_swsusp2.i686.rpm<br />
# see install instructions on swsups site to complete <br />
## edit grub<br />
## initrd<br />
### I checked and this is aready taken care of in the version that I am using.<br />
## Remeber to reinstall ipw2200<br />
## Remeber to reinstall fglrx for the new kernel<br />
<br />
Ok, for the next step you need to edit your /etc/hibernate.conf file. Here is what mine looks like:<br />
UseSuspend2 yes<br />
Reboot no<br />
EnableEscape yes<br />
DefaultConsoleLevel 1<br />
Compressor lzf<br />
Encryptor none<br />
<br />
Verbosity 0<br />
LogFile /var/log/hibernate.log<br />
LogVerbosity 1<br />
<br />
### clock<br />
SaveClock restore-only<br />
<br />
### modules<br />
UnloadModules usb-ohci hsfmc97ich hsfserial hsfengine hsfosspec hsfsoar ipw2200 e1000 button battery ibm_acpi<br />
UnloadBlacklistedModules yes<br />
LoadModules auto<br />
<br />
### services<br />
#I have create a service init.d file for wpa_supplicant.<br />
StopServices wpa<br />
StartServices wpa<br />
<br />
### xhacks<br />
SwitchToTextMode yes<br />
UseDummyXServer yes<br />
<br />
This file takes care if you run the hibernate to shutdown the system.<br />
{NOTE|For testing I set the system to runlevel 3 to do my basic testing (telinit 3). Then I worry about adding the complexity of X}<br />
I edited my /etc/acpi/actions/powerbtn.sh to:<br />
#!/bin/sh<br />
# Initiates a shutdown when the power putton has been<br />
# pressed. <br />
/usr/sbin/hibernate --config-file=/etc/hibernate/hiberante.conf<br />
<br />
OK you should have suspend to disk running. Now for suspend-to-RAM. Edit or create the file /etc/hibernate/ram.conf<br />
### sysfs_power_state<br />
UseSysfsPowerState mem<br />
<br />
Verbosity 0<br />
LogFile /var/log/hibernate.log<br />
LogVerbosity 1<br />
<br />
### clock<br />
SaveClock restore-only<br />
<br />
### modules<br />
UnloadModules usb-ohci hsfmc97ich hsfserial hsfengine hsfosspec hsfsoar ipw2200 e1000 button battery ibm_acpi<br />
UnloadBlacklistedModules yes<br />
LoadModules auto<br />
<br />
### xhacks<br />
SwitchToTextMode yes<br />
UseDummyXServer yes<br />
<br />
Then I changed my /etc/acpi/actions/lm_lid.sh<br />
#!/bin/bash<br />
# lid button pressed/released event handler<br />
/usr/sbin/hibernate --config-file=/etc/hibernate/ram.conf<br />
<br />
Try it now. It should all be working.<br />
<br />
=Programs=<br />
==Mplayer==<br />
==Xine==<br />
==Kismet==<br />
I got Kismet running with some ado. Their where some got'cha which I hope to document through them here.<br />
===IPW2200===<br />
{{NOTE|You may want to backup your current modules and firmware so you can restore them if something goes wrong.}}<br />
* Get the module software<br />
** Download the lastest IPW200 source and firmware.<br />
** Download the lastest IEEE-80211<br />
* Build the modules<br />
** Build IEEE 80211<br />
*** Untar IEEE<br />
*** Run sh remove-old (as root)<br />
*** make; make install<br />
** Build the IWP2200 modules<br />
*** Untar IPW2200 source<br />
*** Read in the instructions Goto throught section 5. KERNEL REQUIREMENTS - Configuration and check the things that can not be enabled.<br />
*** Edit the Makefile<br />
#ifndef CONFIG_IPW2200<br />
EXTERNAL_BUILD=y<br />
CONFIG_IPW2200=m<br />
CONFIG_IPW_DEBUG=y<br />
CONFIG_IPW_QOS=y<br />
CONFIG_IPW2200_MONITOR=y<br />
CONFIG_IEEE80211_RADIOTAP=y<br />
#endif<br />
{{NOTE|I had to comment out the #ifndef and #endif to make mine compile right. I did infact remove the CONFIG_IP2200 from the .config file as suggested in the INSTALL file.}}<br />
*** sh remove-old<br />
*** make;makeinstall<br />
* Install the Firmware<br />
** make a new directory for the firmware, extract the firmware into that directory<br />
** Remove Old Firmware<br />
*** Remove old firmware files from /lib/firmware (rm /lib/firmware/ipw*)<br />
*** Remove links for firmware in /usr/lib/hotplug/firmware (rm /usr/lib/hotplug/firmware/ipw*)<br />
** Copy firmware and create links<br />
*** From the directory that has the downloaded firmware<br />
*** cp ipw* /lib/firmware/.<br />
*** ln -s /lib/firmware/ipw* /usr/lib/hotplug/firmware/.<br />
<br />
That sets up the new driver. Reboot and test that the driver works.<br />
====Kismet====<br />
I got the Kismet program from the dag site (http://dag.wieers.com/home-made/apt/) as source and did rpmbuild --rebuild <kismet.src.rpm> (as root). I then loaded the resulting rpm file.<br />
<br />
There was only two things that I setup in the /etc/kismet.conf file.<br />
# suiduser -- I set the to my normal login<br />
# source=ipw2200,eth0,ipw2200 -- this worked for me.<br />
<br />
{{NOTE| Because I choise to use the suiduser I have to run kismet from a directory that my normal login can write to, aka like my home directory or you can create a directory for it. This, I believe is to limit any hack attempts through kismet itself.}}<br />
<br />
==wpa_supplicant==<br />
I needed to setup wpa_supplicant because some of the wireless AP I connect to use WPA. The standard stuff in Fedora does not handle that so here you go.<br />
<br />
* Download the current version of wpa_supplicant<br />
* Untar<br />
* Create a new .config file<br />
CONFIG_CTRL_IFACE=y<br />
CONFIG_DRIVER_HOSTAP=y<br />
CONFIG_DRIVER_PRISM54=y<br />
#CONFIG_DRIVER_HERMES=y<br />
#CONFIG_DRIVER_MADWIFI=y<br />
CONFIG_DRIVER_ATMEL=y<br />
CONFIG_DRIVER_WEXT=y<br />
CONFIG_DRIVER_NDISWRAPPER=y<br />
#CONFIG_DRIVER_BROADCOM=y<br />
CONFIG_DRIVER_IPW=y<br />
#CONFIG_DRIVER_BSD=y<br />
#CONFIG_DRIVER_NDIS=y<br />
CONFIG_WIRELESS_EXTENSION=y<br />
CONFIG_IEEE8021X_EAPOL=y<br />
CONFIG_EAP_MD5=y<br />
CONFIG_EAP_MSCHAPV2=y<br />
CONFIG_EAP_TLS=y<br />
CONFIG_EAP_PEAP=y<br />
CONFIG_EAP_TTLS=y<br />
CONFIG_EAP_GTC=y<br />
CONFIG_EAP_OTP=y<br />
CONFIG_EAP_SIM=y<br />
CONFIG_EAP_AKA=y<br />
CONFIG_EAP_PSK=y<br />
CONFIG_EAP_LEAP=y<br />
#CONFIG_PCSC=y<br />
{{NOTE|The got'chas here where adding the the CONFIG_WIRELESS_EXTENSION and CONFIG_CTRL_IFACE. CTRL_IFACE is need for the WPA_CLI and the WPA_GUI, which I use.}}<br />
* make;make install<br />
* make make_gui -- This make a nice GUI interface to use from X<br />
* Then copy wpa_gui to /usr/local/bin -- it must be run as root<br />
<br />
I created the following file /sbin/wpa_actions.sh. This sets up the networks seen to use dhcp automatically. You can setup an embeded in using the SSID.<br />
#!/bin/sh <br />
<br />
IFNAME=$1<br />
CMD=$2 <br />
<br />
if [ "$CMD" == "CONNECTED" ]; then<br />
SSID=`wpa_cli -i$IFNAME status | grep ^ssid= | cut -f2- -d=`<br />
# configure network, signal DHCP client, etc.<br />
/bin/sleep 2<br />
/sbin/dhclient $IFNAME<br />
fi<br />
<br />
if [ "$CMD" == "DISCONNECTED" ]; then<br />
# remove network configuration, if needed<br />
/sbin/dhclient -r $IFNAME<br />
fi<br />
<br />
Now to get the system to work I setup in /etc/rc.d/rc.local<br />
<br />
/usr/local/sbin/wpa_supplicant -B -w -ieth0 -c/etc/wpa_supplicant.conf -Dwext<br />
#It takes a moment for wpa_supplicant to come up.<br />
/bin/sleep 2<br />
/usr/local/sbin/wpa_cli -a/sbin/wpa_action.sh -B<br />
<br />
{{NOTE|The interface to use is west NOT iwp. This finally worked for me.}}<br />
<br />
I have now setup a wpa service to make it easy to start and stop. Here is the /etc/init.d/wpa file that I created:<br />
#!/bin/sh<br />
#<br />
# wpa <br />
#<br />
# chkconfig: 35 98 10<br />
<br />
. /etc/rc.d/init.d/functions<br />
RETVAL=0<br />
<br />
start() {<br />
echo $"Starting wpa_supplicant"<br />
/usr/local/sbin/wpa_supplicant -B -w -ieth0 -c/etc/wpa_supplicant.conf -Dwext<br />
/bin/sleep 1<br />
/usr/local/sbin/wpa_cli -a/sbin/wpa_action.sh -B<br />
/sbin/iwconfig eth0 power on<br />
/sbin/iwconfig eth0 power timeout 300u all<br />
/sbin/iwconfig eth0 power period 2<br />
ret=$?<br />
echo<br />
return $ret<br />
}<br />
<br />
stop() {<br />
echo $"Stopping wpa_supplicant"<br />
/usr/bin/killall wpa_supplicant<br />
ret=$?<br />
echo<br />
return $ret<br />
}<br />
<br />
reload() {<br />
stop<br />
/bin/sleep 3<br />
start<br />
}<br />
<br />
case "$1" in<br />
start)<br />
start<br />
;;<br />
stop)<br />
stop<br />
;;<br />
restart)<br />
reload<br />
;;<br />
*)<br />
echo $"Usage: $prog {start|stop|restart}"<br />
exit 1<br />
esac<br />
exit $RETVAL<br />
<br />
=Links=<br />
*[http://ipw2200.sourceforge.net Intel IPW2200]<br />
*Fingerprint Reader - [[How to enable the fingerprint reader|according HOWTO]]<br />
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)].<br />
<br />
[[Category:T42p]] [[Category:Fedora]]</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_Debian_3.1_(Sarge)_on_a_ThinkPad_T42&diff=25983Installing Debian 3.1 (Sarge) on a ThinkPad T422006-10-24T14:07:10Z<p>Wehe: /* Special keys */ minor typo</p>
<hr />
<div>==My specs==<br />
I've just got a Thinkpad T42 (2373-9VG) with the following specs:<br />
<br />
* Pentium M745 (1.8GHz, 2Mb L2 Cahce)<br />
* 1 Gb RAM<br />
* 80GB 5400rpm HDD<br />
* 14.1 SXGA+(1400x1050) TFT LCD<br />
* 64MB ATI Radeon 9600<br />
* 24x24x24x/8x CD-RW/DVD<br />
* Intel 802.11b/g wireless(MPCI)<br />
* Bluetooth/Modem(CDC)<br />
* 1Gb Ethernet(LOM)<br />
<br />
==Preparing==<br />
First I had to start up Windows and check that everything worked out well. It did. Next step was to go into BIOS and disable the restore-partition on the harddrive. I also changed the IRQ settings in BIOS from 11 to Auto. Not sure if you have to, but I read that you should somewhere.<br />
<br />
Then I repartitioned the disc (one small windows partition, one swap and one ext3 partition).<br />
<br />
==Installing Debian/Sarge==<br />
<br />
Boot up the Debian Installation CD. Remember to boot the CD up with "linux26" to get the 2.6.x kernel directly.<br />
Everything worked just fine. Remember to chokkkose the radeon display-driver for X though. <br />
<br />
Extra packages I installed:<br />
* acpid<br />
* alsa<br />
* ipw2200-source<br />
* module-assistant<br />
* laptop-mode-tools (spins down your hd when on battery)<br />
* hibernate<br />
<br />
==2.6.10 kernel==<br />
Then a downloaded the source for the 2.6.10 kernel. I stole a 2.6.9-config file and did a "make oldconfig". <br />
<!-- This link doesn't work: <br />
[http://configfile This is] what came out that process.<br />
--><br />
I didn't use any patch, it's simply not needed with kernel 2.6.10.<br />
<br />
==Display drivers==<br />
<br />
I chose to stick with the opensource driver radeon since there were reports on problems with hibernation with the driver [[Fglrx | ATI drivers]]. However it should be pointed out that the opensource driver is much slower, so if that bugs you...<br />
<br />
==Modem==<br />
Some people have reported that the [http://www.smlink.com/content.aspx?id=132 SmartLink] drivers (sl-modem) worked. However, for me they did not (I did get AT-commands to work, but not the dialing out). Instead the [http://www.linuxant.com/drivers/hsf/downloads-installer.php Linuxant] driver (hsfmodem) worked just fine (the 14.4kbps is free but you'll have to pay a rather small amount for the full version of the driver).<br />
I had to put the snd_intel8x0m modules into /etc/hotplug/blacklist so that hotplug wouldn't load this faulty (?) module on boot. Otherwise the installation was straight forward.<br />
<br />
==Bluetooth==<br />
I did a "apt-get install bluez-utils" and, voila, the bluetooth worked. I use the multisync package to sync my SonyEricsson T610 with Evolution and it works great. <br />
<br />
To get gprs working I had to do a bit of work. I followed the instructions on [http://nix.fulhack.nu/z600/ this page] and got it working in the end.<br />
<br />
==Wireless==<br />
Not yet tested but shouldn't be a problem with the [Ipw2200 | ipw2200] driver.<br />
<br />
==Hibernation==<br />
I decided not to care about standby-mode (when do you really use that?) since the ACPI standby-mode needs quite a lot of battery-power. However I wanted the hibernation mode. Coming up...<br />
<br />
==Cpufreq speedstepping==<br />
The cpufreq speedstepping in the 2.6.10 kernel works fine (without any patch). However it boots up with the "userspace cpufreq-govenor" which means that it does not take command over the setting the cpu frequencies itself. A "echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor" on boot fixes this (I made a small init.d-script for this). You can check the current cpu-freq with "cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq" (or "cat /proc/cpuinfo")and you can tweak the ondemand governor by setting the values in /sys/devices/system/cpu/cpu0/cpufreq/ondemand (I haven't though).<br />
<br />
==Special keys==<br />
I didn't bother with those. Volume, [[ThinkLight|light]], bluetooth and backlight works fine out of the box. The others I don't want (I especially don't want the standby button (Fn-F4) to work since Ctrl-F4 means switching to workspace 4 and I'm using that a lot (and my Ctrl on my desktop computer is where the Fn key is on the thinkpad)).<br />
<br />
[[Category:T42p]] [[Category:Debian]]<br />
<br />
I installed the tpb package:<br />
<br />
apt-get install tpb<br />
chmod a+rw /dev/nvram<br />
<br />
To start it I use this script:<br />
<br />
#!/bin/bash<br />
exec tpb<br />
<br />
I have a script with those lines in my .kde/Autostart folder.<br />
<br />
=External Sources=<br />
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)].</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_Debian_3.1_(Sarge)_on_a_ThinkPad_T42&diff=25982Installing Debian 3.1 (Sarge) on a ThinkPad T422006-10-24T14:06:27Z<p>Wehe: /* Special keys */</p>
<hr />
<div>==My specs==<br />
I've just got a Thinkpad T42 (2373-9VG) with the following specs:<br />
<br />
* Pentium M745 (1.8GHz, 2Mb L2 Cahce)<br />
* 1 Gb RAM<br />
* 80GB 5400rpm HDD<br />
* 14.1 SXGA+(1400x1050) TFT LCD<br />
* 64MB ATI Radeon 9600<br />
* 24x24x24x/8x CD-RW/DVD<br />
* Intel 802.11b/g wireless(MPCI)<br />
* Bluetooth/Modem(CDC)<br />
* 1Gb Ethernet(LOM)<br />
<br />
==Preparing==<br />
First I had to start up Windows and check that everything worked out well. It did. Next step was to go into BIOS and disable the restore-partition on the harddrive. I also changed the IRQ settings in BIOS from 11 to Auto. Not sure if you have to, but I read that you should somewhere.<br />
<br />
Then I repartitioned the disc (one small windows partition, one swap and one ext3 partition).<br />
<br />
==Installing Debian/Sarge==<br />
<br />
Boot up the Debian Installation CD. Remember to boot the CD up with "linux26" to get the 2.6.x kernel directly.<br />
Everything worked just fine. Remember to chokkkose the radeon display-driver for X though. <br />
<br />
Extra packages I installed:<br />
* acpid<br />
* alsa<br />
* ipw2200-source<br />
* module-assistant<br />
* laptop-mode-tools (spins down your hd when on battery)<br />
* hibernate<br />
<br />
==2.6.10 kernel==<br />
Then a downloaded the source for the 2.6.10 kernel. I stole a 2.6.9-config file and did a "make oldconfig". <br />
<!-- This link doesn't work: <br />
[http://configfile This is] what came out that process.<br />
--><br />
I didn't use any patch, it's simply not needed with kernel 2.6.10.<br />
<br />
==Display drivers==<br />
<br />
I chose to stick with the opensource driver radeon since there were reports on problems with hibernation with the driver [[Fglrx | ATI drivers]]. However it should be pointed out that the opensource driver is much slower, so if that bugs you...<br />
<br />
==Modem==<br />
Some people have reported that the [http://www.smlink.com/content.aspx?id=132 SmartLink] drivers (sl-modem) worked. However, for me they did not (I did get AT-commands to work, but not the dialing out). Instead the [http://www.linuxant.com/drivers/hsf/downloads-installer.php Linuxant] driver (hsfmodem) worked just fine (the 14.4kbps is free but you'll have to pay a rather small amount for the full version of the driver).<br />
I had to put the snd_intel8x0m modules into /etc/hotplug/blacklist so that hotplug wouldn't load this faulty (?) module on boot. Otherwise the installation was straight forward.<br />
<br />
==Bluetooth==<br />
I did a "apt-get install bluez-utils" and, voila, the bluetooth worked. I use the multisync package to sync my SonyEricsson T610 with Evolution and it works great. <br />
<br />
To get gprs working I had to do a bit of work. I followed the instructions on [http://nix.fulhack.nu/z600/ this page] and got it working in the end.<br />
<br />
==Wireless==<br />
Not yet tested but shouldn't be a problem with the [Ipw2200 | ipw2200] driver.<br />
<br />
==Hibernation==<br />
I decided not to care about standby-mode (when do you really use that?) since the ACPI standby-mode needs quite a lot of battery-power. However I wanted the hibernation mode. Coming up...<br />
<br />
==Cpufreq speedstepping==<br />
The cpufreq speedstepping in the 2.6.10 kernel works fine (without any patch). However it boots up with the "userspace cpufreq-govenor" which means that it does not take command over the setting the cpu frequencies itself. A "echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor" on boot fixes this (I made a small init.d-script for this). You can check the current cpu-freq with "cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq" (or "cat /proc/cpuinfo")and you can tweak the ondemand governor by setting the values in /sys/devices/system/cpu/cpu0/cpufreq/ondemand (I haven't though).<br />
<br />
==Special keys==<br />
I didn't bother with those. Volume, [[ThinkLight|light]], bluetooth and backlight works fine out of the box. The others I don't wotn (I especially don't want the standby button (Fn-F4) to work since Ctrl-F4 means switching to workspace 4 and I'm using that a lot (and my Ctrl on my desktop computer is where the Fn key is on the thinkpad)).<br />
<br />
[[Category:T42p]] [[Category:Debian]]<br />
<br />
I installed the tpb package:<br />
<br />
apt-get install tpb<br />
chmod a+rw /dev/nvram<br />
<br />
To start it I use this script:<br />
<br />
#!/bin/bash<br />
exec tpb<br />
<br />
I have a script with those lines in my .kde/Autostart folder.<br />
<br />
=External Sources=<br />
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)].</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_Debian_3.1_(Sarge)_(alternative)_on_a_ThinkPad_T42&diff=25981Installing Debian 3.1 (Sarge) (alternative) on a ThinkPad T422006-10-24T13:52:04Z<p>Wehe: /* Caveats */ added external sources section</p>
<hr />
<div>Some notes I took for my install (drop me a line at koalillo-at-fastmail-dot-fm):<br />
<br />
IBM ThinkPad {{T42}} (2373VUW)<br />
<br />
I installed [[:Category:Debian|Debian Sarge]] (testing with selected packages from unstable/experimental).<br />
<br />
== Kernel ==<br />
<br />
* Set preemptive kernel<br />
* Add madwifi<br />
* Add patch from: http://bugme.osdl.org/show_bug.cgi?id=3022 , adding the 2373VUW model<br />
* Add swsusp<br />
* {{cmduser|make-kpkg --append-to-version -t42 --initrd kernel_image modules_image}}<br />
<br />
== Additional packages ==<br />
<br />
* acpid<br />
* alsa-base, alsa-utils, alsa-oss<br />
* anacron<br />
* gnome-volume-manager<br />
* libc6-i686<br />
* tpb for OSD display of IBM keys and remapping the Access IBM key<br />
<br />
== Frequency scaling ==<br />
<br />
* Load modules: cpufreq_ondemand, speedstep-centrino<br />
* Add the following to your startup sequence {{cmdroot|echo >/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor ondemand}}<br />
<br />
== HDAPS ==<br />
<br />
* Add module hdaps<br />
* Add package hdaps-utils<br />
<br />
== Additional modules ==<br />
<br />
* ibm_acpi<br />
* nvram<br />
<br />
== ACPID ==<br />
<br />
* To map Fn-F4 (suspend) and Fn-F12 (hibernate)<br />
<br />
{{path|/etc/acpi/events/ibm}}<br />
event=ibm/hotkey<br />
action=/etc/acpi/ibm.sh %e<br />
<br />
{{path|/etc/acpi/ibm.sh}}<br />
#!/bin/sh<br />
case $4 in<br />
00001004) /usr/local/sbin/suspend.sh mem ;;<br />
0000100c) /usr/local/sbin/suspend.sh disk ;;<br />
esac<br />
<br />
{{path|/usr/local/sbin/suspend.sh}}<br />
#!/bin/sh<br />
ifdown ath0<br />
echo -n $1 >/sys/power/state<br />
ifup ath0<br />
/etc/init.d/hotplug restart # testing if this solves my Bluetooth problems, see below<br />
<br />
* Add {{cmdroot|echo enable >/proc/acpi/ibm/hotkey}} to enable hotkey reporting to ACPI<br />
<br />
== GRUB ==<br />
<br />
* Add resume=<swap device> so that the system finds the hibernated ram on power up<br />
* Add a noresume option to boot without recovering the hibernation<br />
<br />
== Caveats ==<br />
<br />
* Using cifs causes hiccups suspending/hibernating, use smbnetfs<br />
* I get some USB errors when enabling/disabling Bluetooth after sleep/hibernation, like: {{cmdresult|usb 4-1: device not accepting address 5, error -71}} googling around it seems like restarting hotplug (or reloading the usb modules) solves the problem... I'll test that.<br />
<br />
=External Sources=<br />
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)].<br />
[[Category:Debian]]</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu/Breezy_on_a_ThinkPad_T42&diff=25980Installing Ubuntu/Breezy on a ThinkPad T422006-10-24T13:51:11Z<p>Wehe: /* Links */ added link to tuxmobil.org</p>
<hr />
<div>==General installation==<br />
Here comes installation instructions for {{Ubuntu}} Breezy Badger on <br />
{{T42}} 2374-ZEP.<br />
<br />
Get a copy of Ubuntu from [http://www.ubuntulinux.org UbuntuLinux.org].<br />
<br />
<br />
You should update your {{path|/etc/apt/sources.list}} here mine:<br />
#deb cdrom:[Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)]/ breezy main restricted<br />
<br />
#deb http://dk.archive.ubuntu.com/ubuntu breezy main restricted<br />
<br />
## Uncomment the following two lines to fetch updated software from the network<br />
deb http://mirrors.dotsrc.org/ubuntu breezy main restricted universe multiverse<br />
deb-src http://mirrors.dotsrc.org/ubuntu breezy main restricted universe multiverse<br />
<br />
## Uncomment the following two lines to fetch major bug fix updates produced<br />
## after the final release of the distribution.<br />
deb http://mirrors.dotsrc.org/ubuntu breezy-updates main restricted universe multiverse<br />
deb-src http://mirrors.dotsrc.org/ubuntu breezy-updates main restricted universe multiverse<br />
<br />
## Uncomment the following two lines to add software from the 'backports'<br />
## repository.<br />
## N.B. software from this repository may not have been tested as<br />
## extensively as that contained in the main release, although it includes<br />
## newer versions of some applications which may provide useful features.<br />
## Also, please note that software in backports WILL NOT receive any review<br />
## or updates from the Ubuntu security team.<br />
#deb http://mirrors.dotsrc.org/ubuntu breezy-backports main restricted universe multiverse<br />
#deb-src http://mirrors.dotsrc.org/ubuntu breezy-backports main restricted universe multiverse<br />
<br />
deb http://mirrors.dotsrc.org/ubuntu breezy-security main restricted universe multiverse<br />
deb-src http://mirrors.dotsrc.org/ubuntu breezy-security main restricted universe multiverse<br />
<br />
#deb ftp://ftp.nerim.net/debian-marillat/ etch main<br />
<br />
{{cmduser|sudo apt-get update}}<br />
<br />
==Kernel support==<br />
How to get the correct kernel:<br />
{{cmduser|sudo apt-get install linux-686}}<br />
<br />
===Kernel modules===<br />
{{Todo|Load the different kernel modules, and their configuration}}<br />
<br />
ibm_acpi module:<br />
<br />
Turning on experimental features:<br />
<br />
{{path|/etc/modprobe.d/ibm_acpi.modprobe}}:<br />
options ibm_acpi hotkey=enable,0xffff experimental=1<br />
<br />
<br />
Starting with wireless off:<br />
{{path|/etc/modprobe.d/ipw2100.modprobe}}:<br />
options ipw2100 disable=1<br />
<br />
====ibm_acpi modules compilation====<br />
Kernel 2.6.12-9 included in Breezy only included ibm_acpi version 0.8. However a version 0.11 is available, and included in 2.6.13.<br />
<br />
[http://bugme.osdl.org/show_bug.cgi?id=4947 http://bugme.osdl.org/show_bug.cgi?id=4947]<br />
<br />
===ACPI===<br />
{{Todo|Hibernate, suspend, buttons, lid, speedstep}}<br />
<br />
Because of "options ipw2100 disable=1" the wireless lan is initially turned off by a software feature.<br />
The default script in Breezy does not turn on the software part.<br />
Modification to turn on wireless:<br />
{{path|/etc/acpi/wireless.sh}}:<br />
#!/bin/bash<br />
# Find and enable/disable wireless devices<br />
<br />
for DEVICE in /sys/class/net/*; do<br />
if [ -d $DEVICE/wireless ]; then<br />
# $DEVICE is a wireless device. Check if it's powered on:<br />
if [ `cat $DEVICE/device/power/state` = 0 ]; then<br />
# It's powered on. Switch it off.<br />
echo -n 3 > $DEVICE/device/power/state;<br />
echo 0<br />
else<br />
# It's powered off. Switch it on.<br />
echo -n 0 > $DEVICE/device/power/state;<br />
'''echo -n 0 > $DEVICE/device/rf_kill;'''<br />
echo 1<br />
fi<br />
fi<br />
done<br />
<br />
==== Using Fn-F5 to enable/disable Bluetooth ====<br />
<br />
First, to make sure Fn-F5 is available as a hotkey, either do<br />
<br />
# If you want Fn-F5, use this, and verify the mask in:<br />
# /etc/modprobe.d/ibm_acpi.modprobe<br />
echo 0xff9f > /proc/acpi/ibm/hotkey<br />
<br />
# For Fn-F6, use this one. You'll need to change the mask in<br />
# /etc/modprobe.d/ibm_acpi.modprobe<br />
echo 0xffff > /proc/acpi/ibm/hotkey<br />
<br />
Next, create a shell script called /etc/acpi/bluetooth.sh:<br />
<br />
#!/bin/bash<br />
# Enable/disable builtin Bluetooth on IBM Thinkpads<br />
BLUETOOTH=/proc/acpi/ibm/bluetooth<br />
STATE=dis<br />
if grep -q disabled $BLUETOOTH; then<br />
STATE=en<br />
fi;<br />
echo ${STATE}abled > $BLUETOOTH<br />
<br />
Next, create an ACPI event file /etc/acpi/events/ibm-bluetooth<br />
<br />
# This is called when the user presses Fn-F5 button and calls<br />
# /etc/acpi/bluetooth.sh for further processing.<br />
event=ibm/hotkey HKEY 00000080 00001005<br />
action=/etc/acpi/bluetooth.sh<br />
<br />
You might need to restart acpid for it to start working.<br />
<br />
==Xorg==<br />
<br />
Relevant part:<br />
Section "InputDevice"<br />
Identifier "Configured Mouse"<br />
Driver "mouse"<br />
Option "CorePointer"<br />
Option "Device" "/dev/input/mice"<br />
Option "Protocol" "ImPS/2"<br />
Option "Emulate3Buttons" "true"<br />
Option "EmulateWheel" "true"<br />
Option "EmulateWheelButton" "2"<br />
Option "ZAxisMapping" "4 5"<br />
EndSection<br />
<br />
Section "InputDevice"<br />
Identifier "Synaptics Touchpad"<br />
Driver "synaptics"<br />
Option "SendCoreEvents" "true"<br />
Option "Device" "/dev/psaux"<br />
Option "Protocol" "auto-dev"<br />
Option "HorizScrollDelta" "0"<br />
EndSection<br />
<br />
Section "Device"<br />
Identifier "ATI Technologies, Inc. Radeon Mobility 7500 (M7 LW)"<br />
Driver "radeon"<br />
BusID "PCI:1:0:0"<br />
Option "DynamicClocks" "off"<br />
Option "AGPMode" "4"<br />
Option "AGPFastWrite" "yes"<br />
EndSection<br />
<br />
{{WARN|Options DynamicClocks "on" may hang your machine}}<br />
<br />
==Initng==<br />
Very great initiative for optimizing the boot process. [http://initng.thinktux.net/index.php/Main_Page Initng]<br />
<br />
Dep packages can be found:<br />
[http://alioth.debian.org/projects/pkg-initng/ http://alioth.debian.org/projects/pkg-initng/]<br />
<br />
Installation:<br />
{{cmduser|sudo dpkg -i initng_0.3.3-2_i386.deb}}<br />
<br />
To run nice a few things and scripts need modification as follows:<br />
<br />
====Load modules on startup====<br />
Unfortunately it seems not all relevant modules are loaded automaticly when using InitNG.<br />
<br />
Please help finding the proper scripts to do this.<br />
<br />
Just add the proper modules to {{path|/etc/modules}}.<br />
<br />
This is my list:<br />
lp<br />
mousedev<br />
psmouse<br />
<br />
#Additional ACPI features<br />
ibm_acpi<br />
<br />
#Frequency scaling<br />
cpufreq_userspace<br />
cpufreq_powersave<br />
speedstep_centrino<br />
<br />
====Grub kernel options====<br />
<br />
To enable initng an option must be appended to the kernel load command in grub.<br />
<br />
{{path|/boot/grub/menu.lst}}:<br />
kernel /vmlinuz-2.6.12-9-686 root=/dev/hda9 ro quiet splash video=radeonfb '''init=/sbin/initng'''<br />
<br />
====Runlevel====<br />
Add bootitems to the default bootlevel:<br />
<br />
Ex: {{cmduser|sudo ng-update add daemon/powernowd default}}<br />
<br />
This is my {{path|/etc/initng/default.runlevel}}:<br />
system<br />
daemon/acpid<br />
daemon/dbus<br />
daemon/hald<br />
daemon/vixie-cron<br />
daemon/ifplugd<br />
system/alsasound<br />
system/speedstep<br />
system/laptop-mode<br />
daemon/syslogd<br />
daemon/klogd<br />
daemon/gdm<br />
daemon/cupsd<br />
daemon/powernowd<br />
<br />
<br />
Coldplug is not added to the system.runlevel. We need this to automatically load modules, like sound and wireless.<br />
Add coldplug to the system runlevel {{path|/etc/initng/system.runlevel}}:<br />
<br />
{{cmduser|sudo ng-update add system/coldplug system}}<br />
<br />
===Scripts===<br />
====dbus.i====<br />
{{path|daemon/dbus.i}} has a few faults, on Ubuntu it is "dbus" not "dbus-1"!<br />
service daemon/dbus {<br />
need = system/initial system/mountfs system/bootmisc<br />
<br />
pid_file = /var/run/dbus/pid<br />
daemon {<br />
'''DAEMON=/usr/bin/dbus-daemon'''<br />
'''NAME=dbus'''<br />
DAEMONUSER=messagebus<br />
PIDDIR=/var/run/dbus<br />
PIDFILE=$PIDDIR/pid<br />
DESC="system message bus"<br />
<br />
if [ -e '''/etc/default/dbus''' ]; then<br />
. '''/etc/default/dbus'''<br />
fi<br />
<br />
if [ ! -d $PIDDIR ]; then<br />
mkdir -p $PIDDIR<br />
chown $DAEMONUSER $PIDDIR<br />
chgrp $DAEMONUSER $PIDDIR<br />
fi<br />
if [ -e $PIDFILE ]; then<br />
PIDDIR=/proc/$(cat $PIDFILE)<br />
if [ -d ${PIDDIR} -a "$(readlink -f ${PIDDIR}/exe)" = "${DAEMON}" ]; then<br />
echo "$DESC already started; not starting."<br />
else<br />
echo "Removing stale PID file $PIDFILE."<br />
rm -f $PIDFILE<br />
fi<br />
fi<br />
echo -n "Starting $DESC: "<br />
$DAEMON --system $PARAMS<br />
echo "$NAME."<br />
}<br />
}<br />
<br />
====hald.i====<br />
{{path|daemon/hald.i}}<br />
service daemon/hald {<br />
need = system/initial system/mountfs daemon/dbus<br />
# use = daemon/acpid<br />
<br />
daemon {<br />
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin<br />
DAEMON=/usr/sbin/hald<br />
PIDDIR=/var/run/hal<br />
NAME=hal<br />
'''DAEMONUSER=hal'''<br />
DESC="Hardware abstraction layer"<br />
<br />
if [ -f /etc/default/hal ] ; then<br />
. /etc/default/hal<br />
fi<br />
<br />
if [ ! -d $PIDDIR ]; then<br />
mkdir -p $PIDDIR<br />
chown $DAEMONUSER:$DAEMONUSER $PIDDIR<br />
fi<br />
<br />
echo -n "Starting $DESC: "<br />
$DAEMON --daemon=no $DAEMON_OPTS<br />
echo "$NAME."<br />
}<br />
}<br />
<br />
====gdm.i====<br />
<br />
{{path|daemon/gdm.i}}, to add locale support to the GDM login screen:<br />
service daemon/gdm {<br />
need = system/initial system/mountfs system/hostname net/lo system/modules system/bootmisc<br />
use = daemon/xfs system/static-modules system/coldplug system/netmount <br />
# daemon = /usr/sbin/gdm<br />
# daemon = /usr/bin/gdm<br />
# daemon_args = -nodaemon<br />
daemon {<br />
PATH=/bin:/sbin:/usr/bin:/usr/sbin<br />
if [ -r /etc/default/gdm ]; then<br />
. /etc/default/gdm<br />
if [ -z "$LANG" ]; then<br />
:<br />
else<br />
export LANG<br />
fi<br />
fi<br />
<br />
gdm -nodaemon<br />
}<br />
#pid_file = /var/run/gdm.pid<br />
}<br />
<br />
====cupsd.i====<br />
Somethings wrong in the way the initNG scripts loads cups with hplip.<br />
<br />
I did an ugly hack: {{path|daemon/cupsd}}<br />
service daemon/cupsd {<br />
need = system/initial system/mountroot net/lo<br />
# use = daemon/printconf daemon/hpiod daemon/hpssd<br />
# daemon = /usr/sbin/cupsd<br />
# daemon_args = -f<br />
daemon {<br />
/etc/init.d/hplip start<br />
/etc/init.d/cupsys start<br />
}<br />
}<br />
<br />
==Helpfull tools==<br />
===Rovclock===<br />
Utility to overclock and underclock the ATI radeon chip.<br />
Can be used to underclock to reduce power, especialy when on batteries.<br />
<br />
Get it from: [http://www.hasw.net/linux/ http://www.hasw.net/linux/]<br />
<br />
Stable clock speeds:<br />
Core: 100MHz<br />
Memory: 120Mhz for LCP only, 180Mhz when using DVI out on port replicator.<br />
<br />
Ex:<br />
{{cmduser|sudo rovclock -c 100 -m 120}}<br />
<br />
===noflushd===<br />
Noflushd is a daemon that spins down disks that have not been read from<br />
after a certain amount of time, and then prevents disk writes from<br />
spinning them back up. It's targeted for laptops but can be used on any<br />
computer with IDE disks. The effect is that the hard disk actually spins<br />
down, saving you battery power, and shutting off the loudest component of<br />
most computers.<br />
{{cmduser|sudo apt-get install noflushd}}<br />
<br />
===ifplugd===<br />
ifplugd is a daemon which will automatically configure your<br />
ethernet device when a cable is plugged in and automatically<br />
unconfigure it if the cable is pulled. This is useful on laptops with<br />
onboard network adapters, since it will only configure the interface<br />
when a cable is really connected.<br />
{{cmduser|sudo apt-get install ifplugd}}<br />
<br />
{{path|/etc/default/ifplugd}}:<br />
INTERFACES="'''eth0'''"<br />
HOTPLUG_INTERFACES="'''eth0'''"<br />
ARGS="-q -f -u0 -d10 -w -I '''-b'''"<br />
SUSPEND_ACTION="stop"<br />
<br />
===gnubiff===<br />
<br />
gnubiff is a mail notification program that checks for mail and displays headers when new mail has arrived. Has a tray icon for gnome. Supports SSL which I needed.<br />
[http://gnubiff.sourceforge.net/ http://gnubiff.sourceforge.net/]<br />
<br />
{{cmduser|sudo apt-get install gnubiff}}<br />
<br />
==Known problems==<br />
{{Todo|List of bugs from kernel, Xorg and Ubuntu}}<br />
<br />
==Links==<br />
*[http://www.columbia.edu/~em36/ubuntubreezythinkpadt42.html Ubuntu Breezy on a ThinkPad T42]<br />
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)].</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_LFS_on_a_ThinkPad_T41p&diff=25973Installing LFS on a ThinkPad T41p2006-10-24T07:41:25Z<p>Wehe: /* Power Management */ added external sources section</p>
<hr />
<div>__TOC__<br />
----<br />
==Graphics==<br />
<br />
===internal, AGP: ATI Radeon FireGL T2===<br />
<br />
You have two choices: xorgs radeon driver or ATIs [[fglrx|fglrx driver]].<br />
The xorg driver works fine, but doesn't support DRI. A solution is underway with the [[R300|R300 driver]]. Also, support for a docks or port replicators DVI port is theoretically available, but practically not possible. This is being worked on as well.<br />
<br />
===PCI of dock: ATI Radeon 9000===<br />
<br />
I made several attempts to get this card working under x.org, with no success, or very limited one.<br />
With both x.org radeon driver and ATIs fglrs driver the system totally freezes when you try enabling the card in your config.<br />
This seems to be a problem with PCI scanning/handling in x.org.<br />
<br />
I managed once to get the PCI card alone working after switching the primary display device to PCI in the BIOS.<br />
<br />
==Drives==<br />
<br />
===Harddisk: Hitachi Travelstar HTS548080M9AT00===<br />
<br />
I replaced the original harddrive (60GB at 7260RPM) with the 80GB/5480RPM model from Hitachi (which are the ones that IBM labels for their purposes).<br />
For some speed optimizations you might try the following (at your own risk):<br />
:{{cmdroot|hdparm -c 3 -u 1 -X 99 -k 1 /dev/hda}}<br />
<br />
===DVD/CDRW Combo: Toshiba SD-R9012===<br />
<br />
The drive works pretty fine with the kernels standard IDE CD-ROM driver. You can burn CDs using cdrecord in ATAPI mode.<br />
Alternatively you may use ide-scsi and treat the device as a SCSI drive.<br />
<br />
===Ultrabay 2000 ZIP Drive (in docks Ultrabay 2000)===<br />
<br />
Works great using the kernels ide-disk driver.<br />
<br />
==Sound: ...==<br />
{{Todo|needs to be filled}}<br />
<br />
==Networking==<br />
<br />
===LAN: Intel Pro/1000 (82540EP)===<br />
<br />
Compile the e1000 driver into the kernel or as module (CONFIG_E1000).<br />
You might want to take a look at [[ifplugd]].<br />
<br />
===Wireless LAN: Atheros AR5212 802.11abg (aka IBM a/b/g)===<br />
The [[madwifi]] project will be your friend.<br />
You might want to give [[waproamd]] a try.<br />
<br />
===Modem===<br />
<br />
never used<br />
<br />
==PCMCIA==<br />
<br />
Just enable the PCMCIA support in the kernel configuration and with it the cardbus driver and the thing will work great. A Xircom CardCaddy as well as some other CompactFlash adapter both worked.<br />
<br />
==USB==<br />
<br />
Enable the EHCI and UHCI drivers in your kernel config. You might need to unload them before suspending and reload them on resume if you use ACPI. This is a kernel issue and should be solved in latest kernels.<br />
<br />
==Specials==<br />
<br />
===UltraBay===<br />
I didn't have success trying to enable hotplugging. Using [[ibm-acpi]] you can get events for the UltraBay eject lever, but i didn't manage to make hdparm unregister the IDE device. On my system it executes the command giving no error but afterwards the IDE device still shows up in {{path|/proc}}.<br />
<br />
===ThinkLight===<br />
Works by pressing {{key|Fn}}{{key|PageUp}}, since it's controlled by the BIOS.<br><br />
See [[ThinkLight | this page]] for further information.<br />
<br />
===special keys===<br />
By using [[ibm-acpi]], [[tpb]] and xmodmap you can make use of all the specific special keys.<br /><br />
Have a look [[How to get special keys to work | here]] on how to configure them.<br />
<br />
===Trackpoint===<br />
The trackpoint is a PS/2 device. Look [[How to configure the TrackPoint|here]] for a advanced settings/finetuning.<br />
<br />
===Touchpad===<br />
{{Todo|needs to be filled}}<br />
<br />
===Docking Station (IBM ThinkPad Full Dock II)===<br />
The thing works great.<br />
PCMCIA and all the ports were recognised by default.<br />
The docks IDE interface is a CMD 648, so you should enable the according kernel option (building as module didn't work for me), if you want to use anything else than a floppy in the docks UltraBay.<br />
Note that the interface will most likely be ide2 and ide3 then, so the docks UltraBay drive will be hde.<br />
<br />
==Power Management==<br />
<br />
The T41p is APM and ACPI capable.<br />
See [[How to make use of Power Management features]].<br />
<br />
=External Sources=<br />
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)].<br />
<br />
[[Category:T41p]] [[Category:LFS]]</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_SUSE_LINUX_Professional_9_on_a_ThinkPad_T41p&diff=25972Installing SUSE LINUX Professional 9 on a ThinkPad T41p2006-10-24T07:40:45Z<p>Wehe: /* External Sources */ added link to tuxmobil.org</p>
<hr />
<div>== The machine ==<br />
ThinkPad {{T41p}}<br />
* 1400x1050 display<br />
* 1.7GHz CPU<br />
* 80GB HDD<br />
* 2GB RAM<br />
* [[IBM 11a/b/g Wireless LAN Mini PCI Adapter]]<br />
* [[IBM Integrated Bluetooth II with 56K Modem (BMDC)]]<br />
<br />
== The Install process ==<br />
I started the install on a spare 80GB HDD, so did not have to worry about preserving any data or OS.<br />
<br />
I let {{SUSE}} determine almost everything automatically, but during the install there where a few things that I needed to adjust.<br />
=== Keyboard and Mouse ===<br />
Keyboard and [[TrackPoint]] work out of the box.<br />
<br />
Note that I have the integrated [[UltraNav|TouchPad]] disabled in the BIOS, so I cannot comment on its functions.<br />
<br />
=== Display ===<br />
SUSE defaulted to 1024x768 instead of my displays native 1400x1050 resolution. But this was easy to adjust.<br />
<br />
=== Networking ===<br />
The installer (Yast) recognized the integrated Ethernet and Wireless, and allowed me to specify the SSID (wireless network name) and Key. To bad it did not allow me to scan for available wireless networks at this time.<br />
<br />
I did run into an issue in that after install DNS lookups where failing, shutting down the default configured firewall resolved this issue, but is obviously not the best solution.<br />
<br />
=== Bluetooth ===<br />
SUSE automatically recognized the bluetooth function, but I have not tried to use it yet<br />
<br />
=== Modem ===<br />
The modem was also autodetected, but to get SUSE to install the support for it, I was forced to select and configure a dialup provider. I got around this by just providing it with some fake data.<br />
<br />
After install I echoed 'atdt' to /dev/ttySL0 and got 'NO DIALTONE' back (which would be correct, since nothing was connected to the RJ11 port), so it seems to be working.<br />
<br />
=== Infrared (IrDA) ===<br />
By default SUSE Yast can only handle SIR devices, but after manually putting IRDA_PORT='nsc-ircc' into /etc/sysconfig/irda and following the instructions on the [[How to make use of IrDA]] page, I was able to start the irda service and the kernel module loaded.<br />
<br />
Note that I have not actually tried to do anything with IrDA yet.<br />
<br />
== Power Management ==<br />
SUSE supports "Suspend to Disk" and "Suspend to RAM", but by default these functions are disabled.<br><br />
They can be enabled Yast, which I did.<br />
<br />
After enabling these functions, I tried pressing Fn-F12, but there was no response.<br><br />
The battery/power icon in the system tray can be used to initiate Suspend functions.<br />
<br />
=== Suspend to Disk ===<br />
The system was able to suspend to disk and resume from a graphical desktop, although I was a bit concerned when a garbled screen was displayed for a few seconds during restore, before the screensaver lockup appeared asking for my password.<br><br />
After resume my wireless network was again operational.<br />
<br />
--- Added 5th June 9:03am By Anonymous ---<br />
The suspend to disk feature worked when I pressed Fn+F4. Which was supposed to be suspend to RAM in the original thinkpad keyboard maping.<br />
<br />
--- Added 5th July 11:06 by Anonymous ---<br />
Under YaST's System/Power Management section there are options to change the triggers for suspend to RAM and suspend to disk. The default if suspend to disk is enabled is that the Sleep button (Fn+F4) will trigger a suspend to disk.<br />
<br />
=== Suspend to RAM ===<br />
The suspend itself worked fine (from a graphical desktop), but resuming the system resulted in a white screen that slowly (unevenly) turned dark.<br />
<br />
==External Sources==<br />
*[http://www.volker-lanz.de/en/linux/thinkpad_suse/ SUSE LINUX Professional 9.2 on a ThinkPad T41p]<br />
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)].</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_T30&diff=25941Installing Fedora Core 5 on a ThinkPad T302006-10-23T14:30:42Z<p>Wehe: /* Suspend, Sleep, and other FN+ keys */ added external sources section</p>
<hr />
<div>Installation of Fedora Core 5 (Bordeaux) on a ThinkPad T30 (2366-97U).<br />
These notes cover an upgrade (not a fresh install) from a successful working FC3 installation.<br />
<br />
{{WARN|As of 6/19/2006, I am finding FC5 unuseable on my T30, due to the problems with ATI drivers and dual-head display (which I depend on for my work). Bugs against this issue are filed at Fedora and Freedesktop.org (see below). Sadly, I am going to revert to FC4 for the time being.}}<br />
<br />
<br />
== Summary ==<br />
=== What works out of the box ===<br />
<br />
* Onboard display (1400x1050)<br />
* Wireless<br />
* Trackpad & TrackPoint (except center button)<br />
* External PS/2 keyboard<br />
* External USB mouse including scroll wheel<br />
<br />
=== What needs to be fixed post-install ===<br />
<br />
* Problems with network<br />
* Dual-Head Mode<br />
* NTFS volume mounting<br />
* Automounting of inserted CF cards<br />
* Fast access to terminals<br />
* Additional screen savers<br />
* Better wireless support<br />
* Suspend, Sleep, and other FN+ keys<br />
<br />
=== Not tested ===<br />
<br />
* Bluetooth<br />
* Modem<br />
* DVD / CD-R<br />
* Controlling the fan and system LEDs<br />
* What else?<br />
<br />
== Details ==<br />
=== Getting the system booted ===<br />
<br />
I simply inserted the FC5 DVD into the drive and booted into it, and selected a few items to take me into an upgrade-in-place.<br />
<br />
When the upgrade completed it booted immediately into FC5.<br />
<br />
My system was configured for dual-boot using GRUB (not NT) as the primarly bootloader (MBR) and chainloading back to Windows when necessary. This makes linux installation easier. Returning from the NT bootloader back to linux requires copying the grub boot block into NT, which can be done using commonly-available instructions.<br />
<br />
=== System Updates ===<br />
Although presented in the System Tools menu, the ''Red Hat Network'' and ''Red Hat Network Alert Icon'' utilities appear to have been deprecated. They don't seem to work at all.<br />
<br />
Instead, you can now use System Tools : ''Software Updater'' to download and install the latest updates for Fedora. This will take quite a while the first time you do it (the DVD is already quite out of date).<br />
<br />
Many web sites also suggest adding external repositories so yum has additional places to look. FreshRPMs and Livna seem to be the most common, with conflicting opinions as to which should be chosen. For various reasons I selected Livna. Installation instructions can be found [http://rpm.livna.org/configuration.html here] or you can simply enter<br />
<br />
{{cmduser|sudo rpm -ivh http://rpm.livna.org/livna-release-5.rpm}}<br />
<br />
This adds a number of pre-built packages to yum and enables auto-update.<br />
<br />
== What needs to be fixed post-install ==<br />
=== Problems with network ===<br />
I'm finding that a certain percentage of startups fail to activate networking. The following clues are seen:<br />
* all network-oriented applications fail (e.g. FireFox)<br />
* ''ifconfig'' reports no address assigned to eth0<br />
* attempting to activate the network, either via ''sudo ifup eth0'' or ''system-config-network'' fails<br />
The most interesting clue lies within ''system-config-network''. If you click the ''hardware'' tab and look carefully, you'll see that the hardware types are reversed: eth0 shows ''Wireless'', and eth1 shows ''Ethernet''.<br />
I am continuing to investigate this. One proposed fix will be to edit {{path|/etc/modprobe.conf}} and insert or move<br />
alias eth0 e100<br />
To the top (first line) of the file.<br />
<br />
=== Dual-Head Mode ===<br />
This was very important for me as I use an external Dell 2000FP monitor (1600x1200) as my primary programming monitor. When I configured dual-head mode, the screen layed out properly for two pages (spanning mode) but the external monitor never activated.<br />
<br />
An experimental ATI driver update can be downloaded [http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/5/i386/xorg-x11-drv-ati-6.5.8.0-1.i386.rpm here]. I followed the directions suggested [http://www.redhat.com/archives/rhl-list/2006-May/msg02069.html here] and my external monitor works now in spanning mode with 1600x1200 resolution. Hopefully this note can be removed or updated when this newer driver is promoted into the regular FC5 updates system.<br />
<br />
{{WARN|Some users have reported system hangs using this updated driver. I have experienced them myself. As of this time the system does not appear to be useable in dual-head mode.}}<br />
<br />
Bugs against useability of dual-head mode are filed at: <br />
* [https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=185944 fedora #185944]<br />
* [https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=190751 fedora #190751]<br />
* [https://bugs.freedesktop.org/show_bug.cgi?id=5781 freedesktop #5781]<br />
* [https://bugs.freedesktop.org/show_bug.cgi?id=7019 freedesktop #7019]<br />
<br />
{{Todo|Performance, especially on 3d screen savers, seems quite a bit slower than under FC3. This implies that some form(s) of HW acceleration are not properly enabled. Need to figure out how to do that.}}<br />
<br />
=== NTFS volume mounting ===<br />
Seems to work properly. The basic roadmap is:<br />
# Download & install NTFS module<br />
# Build mount points (I used {{path|/mnt/c}} and {{path|/mnt/d}} to mimic the volume names under Windows)<br />
# Mount manually using {{cmdroot|mount}}<br />
# Setup to mount automatically by editing {{path|/etc/fstab}}<br />
<br />
I have, however, found conflicting instructions as to the best way to download/install.<br />
<br />
*At [ http://www.linux-ntfs.org ], the installation instructions lead one to select and download the appropriate version of {{path|kernel-module-ntfs}} and then use {{cmdroot|rpm -ihv}} to install it.<br />
*Other sources suggest configuring for use of the [ http://rpm.livna.org ] repository and then use {{cmdroot|yum install kmod-ntfs ntfs-kmod-common}} to install it (may also require {{cmdroot|modprobe}}).<br />
<br />
I have tried both and both work.<br />
<br />
{{Todo|Which installation method is preferred?}}<br />
{{Todo|The NTFS module defaults to read-only for safest operation. Try enabling full read-write mode.}}<br />
<br />
=== Automounting of inserted CF cards ===<br />
I use a lot of CF memory cards (with a PCMCIA adapter) and on FC3, these would reliably automount when inserted. On FC5 this seems to be broken. For now, I have simply created mount points in {{path|/media/}}, e.g.<br />
<br />
{{cmduser|sudo mkdir /media/cf1}}<br />
<br />
{{cmduser|sudo mkdir /media/cf2}}<br />
<br />
And when I need access to a card, I insert it and mount it manually, e.g.<br />
<br />
{{cmduser|sudo mount /dev/hde1 /media/cf1}}<br />
<br />
Your device names and mount points may vary based on number of mounted volumes and your preferences.<br />
<br />
{{Todo|Can anybody suggest a way to reenable true automount?}}<br />
<br />
=== Fast access to terminals ===<br />
The gnome folks seem to have removed the ability to open a terminal (shell) window from desktop right-click. I'm finding this very annoying as I open terminal windows all the time and now they're buried in Menu -> Accessories -> Terminal.<br />
<br />
As a workaround, select Menu -> Accessories, right-click Terminal, and select ''Add this launcher to panel''. You may have to shuffle things around to put it exactly where you want it.<br />
<br />
{{Todo|Does anybody know if it's possible to reenable desktop right-click access?}}<br />
=== Additional screen savers ===<br />
They've also removed lots of fun screensavers from the default installation. There are two options to bring them back. To simply add more screensavers, enter:<br />
<br />
{{cmduser|sudo yum install xscreensaver-gl-extras}}<br />
<br />
However, the screensaver control panel GUI has been (somewhat controversially) simplified - most notably, you can no longer edit the settings of individual screen savers. The situation is described [http://forums.fedoraforum.org/archive/index.php/t-107117.html here] and one option presented is to return to the old screensaver system (I have not tested this):<br />
<br />
{{cmduser|sudo yum install xscreensaver-base xscreensaver-extras xscreensaver-gl-extras}}<br />
<br />
{{cmduser|sudo yum remove gnome-screensaver}}<br />
<br />
===Better wireless support===<br />
My system included the device (as reported by {{cmduser|lspci}}) called {{cmdresult|Intersil Corporation Prism 2.5 Wavelan chipset (rev 01)}}. While this card seems to be useable with the FC5 drivers, the basic wireless support does not support any sort of network discovery. You have to know the name and password of the base station you wish to connect to, and enter them manually using {{cmduser|system-config-network}}.<br />
{{Todo|I'd like to investigate the use of more advanced wireless tools with this system}}<br />
<br />
===Suspend, Sleep, and other FN+ keys===<br />
I tried the following keys. None of them really worked.<br />
* {{key|Fn}}{{key|F3}} Darkened the built-in LCD, but didn't really suspend the system.<br />
* {{key|Fn}}{{key|F4}} Darkened the built-in LCD, but didn't really suspend the system.<br />
In both cases, the system was clearly still running because you could move the mouse into the external monitor, click and drag icons, etc.<br />
The screen was reactivated by typing any key (e.g. Shift or Enter).<br />
* {{key|Fn}}{{key|F7}} The OSD showed various combinations of LCD & CRT on/off states, but there was no actual change to the display configuration.<br />
* {{key|Fn}}{{key|F12}} No response.<br />
* {{key|Fn}}{{key|Home}} / {{key|Fn}}{{key|End}} Correct adjustment of brightness.<br />
* {{key|Fn}}{{key|PgUp}} Correct activation of ThinkLight.<br />
<br />
=External Sources=<br />
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)].<br />
<br />
[[Category:Fedora]] [[Category:T30]]</div>Wehehttps://www.thinkwiki.org/w/index.php?title=How_to_make_ACPI_work_on_a_ThinkPad_T23&diff=25940How to make ACPI work on a ThinkPad T232006-10-23T14:11:04Z<p>Wehe: /* Resume */ added external sources section</p>
<hr />
<div>This page deals with installing and running {{Gentoo}} Linux (2005.1) on a ThinkPad {{T23}}, Model 2647-4MG.<br />
<br />
==Basic installation==<br />
The default kernel (2.6.12-r6) boots OK, and recognises all the devices (modem not tested).<br />
<br />
==ACPI==<br />
Getting software suspend working requires some tweaking.<br />
<br />
First of all, [[BIOS Upgrade|update to the latest BIOS and Embedded Controller Program]].<br />
<br />
{{cmdroot|dmesg}} will probably tell you that ACPI isn't enabled in the BIOS, because the T23 BIOS has no mention of ACPI. Just add {{bootparm|lapic|}} to the kernel<br />
arguments in {{path|/etc/lilo.conf}} or {{path|/boot/grub/menu.lst}}.<br />
<br />
After that, you will probably get a lot of ACPI error messages, generally of the form <tt>AE_NOT_EXIST</tt>. Those can be fixed by recompiling your DSTD. To do just that, get the Intel iasl compiler source from [http://developer.intel.com/technology/iapc/acpi/downloads.htm their site] and compile it. It should build without troubles. De- and re-compile the DSDT. If it gives errors or remarks, try fixing them as best as you can. Then load the new DSDT on boot with the kernel's "Custom DSDT" option.<br />
<br />
Now {{cmdroot|dmesg}} should show that the ACPI had found the ECDT and enabled the interpreter and you should find a full set of ACPI entries under {{path|/proc}}.<br />
<br />
Done that, verify that the [[ibm-acpi]] driver is enabled by issuing {{cmdroot|ls /proc/acpi/ibm/*}}. If you see files in this directory, everything is alright. If the directory couldn't be found, you will have to enable [[ibm-acpi]] in your kernel config (as builtin or module) and recompile your kernel.<br />
<br />
The next step is [[How to configure acpid|configuring acpid]], which handles the ACPI buttons through scripts in {{path|/etc/acpi}}.<br />
<br />
To try if suspend to ram workd, press {{key|Fn}}{{key|F4}} or issue a {{cmdroot|echo -n mem >/sys/power/state}}.<br />
<br />
===Resume problem===<br />
If your system doesn't resume from sleep after that, use the power button to switch it off and restart. To solve the issue, try disabling S3 framebuffer support in your kernel config and recompile your kernel. Should that not be enough, try unloading suspicious drivers such as USB in your suspend script and reloading them on resume.<br />
<br />
If all that doesn't help, build a monolithic kernel having everything you need builtin and only minimal options enabled. If it works with that kernel, start reenabling other options step by step.<br />
<br />
===Button events===<br />
By default, ACPI seems to handle three button events only - the Power button, the Suspend key ({{key|Fn}}{{key|F4}}) and the lid event. {{key|Fn}}{{key|F3}} (Screen blank) will need [[How to make ACPI work#Screen blanking (Standby)|extra configuration]], as well as {{key|Fn}}{{key|F12}} (Suspend to disk) (look [[How to make ACPI work#Suspend to disk (Hibernate)|here]]). {{key|Fn}}{{key|F7}}, (Switch to<br />
video) at least blanks the LCD.<br />
<br />
{{key|Fn}}{{key|Home}} (LED brighter), {{key|Fn}}{{key|End}} (LED dimmer), {{key|Fn}}{{key|PgUp}}<br />
(Screen light) will work without any further effords, since they are not handled by the ACPI subsystem.<br />
<br />
When the machine is running, the lid switch blanks the screen when<br />
pressed and restores on release, but if the machine is suspended<br />
pressing the switch does nothing and releasing it brings the machine out<br />
of suspend mode.<br />
<br />
Commands echoed to eg: {{path|/proc/acpi/ibm/light}} can be mixed with the appropriate keypresses (here,<br />
{{key|Fn}}{{key|PgUp}}) without problems.<br />
<br />
===Frequency Scaling===<br />
The CPU (Pentium III-M) has power management and<br />
throttling; use the '''acpi-cpufreq''' module instead of the '''speedstep-ich''' module to change speed automatically. The CPU has <br />
only two speeds, and with the '''cpufreq_ondemand''' & '''cpufreq_conservative''' modules, dynamic scaling will be achieved. Alternatively, with the '''speedstep-ich''' module, you can use a shell script to flip between the performance and powersave kernel governors; everything needed can be found in the {{path|/sys/devices/system/cpu/cpu0/cpufreq}} directory.<br />
<br />
===UltraBay LED stays lit===<br />
The Bay LED wrongly stays lit even when in suspend to ram mode, but the most recent (1.1) [[ibm-acpi]] module provides an ACPI LED device which controls most of the LEDs (the Bay LED<br />
is 4), so you can switch it off in your suspend script.<br />
{{WARN|The UltraBay LED should stay lit when suspended to RAM. Any ThinkPads newer than the 600X have hot-swappable UltraBays, not warm-swappable ones. Attempting to remove or insert an UltraBay device when suspended will cause it to wake up and try to handle the request, but with Linux this usually causes lockups.}}<br />
<br />
===Resume===<br />
With the CPU on low speed (if it matters) and the LED off the power consumption in Suspend mode is around 580mW.<br />
<br />
It looks as if the software to control full ACPI functionality has<br />
only stabilised within the middle of 2005, so if you<br />
have problems, try upgrading to IBM's latest BIOS and EBIOS, and a<br />
kernel >=2.12. With luck, the next version or so of the S3 driver will<br />
be free of its hang problem.<br />
<br />
=External Sources=<br />
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)].</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_LFS_on_a_ThinkPad_T23&diff=25939Installing LFS on a ThinkPad T232006-10-23T14:10:32Z<p>Wehe: /* Power Management */ added external sources section</p>
<hr />
<div>__TOC__<br />
----<br />
===Graphics===<br />
<br />
====Chip (internal, AGP): S3 SuperSavage/IXC 16.====<br />
<br />
Support for this chip is in the savage driver of Xfree86 4.x, but you can find most current versions on the linux savage driver page.<br />
At the time of writing this the driver works fine, but supports neither DRI nor DualView :-/.<br />
Someone at least was once working on DualView support, you can read about this here.<br />
Also the Utah-GLX project had DRI for some savage chips for XFree86 3.x, porting to XFree86 4.x is in progress. The driver however doesn't support all cards, i can't say if it supports the supersavage.<br />
The DRI project doesn't have support for SuperSavages.<br />
<br />
I had some trouble with X hanging up when switching twice to the terminal and back, which vanished sometime during my XFree86 updates.<br />
I'm now at Savage driver version 1.1.27, and everything works fine.<br />
I didn't manage to enable the rotation feature (complete server hang), but I'd have to retry that.<br />
You'd want to enable intel 830 AGP support in the kernel as well.<br />
<br />
====Chip (ATI Radeon 9000 in docks PCI): ATI Radeon 9000====<br />
<br />
You will have to enable ati drivers when you compile X.<br />
DRI support is present starting from XFree86 4.3.0. However, it segfaulted on my machine until i updated to 4.3.99.902, so 4.4.0 should work. OpenGL apps were still very slow until i set the R200_NO_TCL environment variable. It disables hardware TCL support, so i guess the driver is still buggy in this field.<br />
Now i'm getting framerates a bit below 600 fps with glxgears, which i think is quite ok for a PCI based card in a dock.<br />
...<br />
<br />
===Drives===<br />
<br />
====Harddisk: IBM Travelstar IC25N040ATCS04-0====<br />
You may use hdparm to get some little performance improvements.<br />
{{cmdroot|hdparm /dev/hda}} showed that dma and prefetch were already in use.<br />
I also enabled 32bit io and interrupt-unmask and set multicount to 16.<br />
The line looks like this: {{cmdroot|hdparm -c1 -m 16 -u1 /dev/hda .}}<br />
<br />
Somebody wrote that you can also add -X69 as parameter, but I'd suggest to be careful with that, since it highly depends on the drive model you are using and can cause data corruption.<br />
In any case, use the -i option first to get a clou of what your drive supports and what not.<br />
You can also add {{bootparm|idebus|66}} to the kernel command line, it might have the same effect.<br />
<br />
====DVD: Matshita SR-8176====<br />
The linux IDE driver has some problem with the firmware of the drive.<br />
So you will have to use ide-scsi to make it work.<br />
Ofcourse this will disable any attempts of making hot-swapping work, since hdparm -U only works with IDE controlled drives.<br />
<br />
====CD/RW: TEAC CD-W28E====<br />
The drive works great, as CD-Rom as well as for burning.<br />
I had one original IBM labelled drive which i gave to a friend and built a second one out of an original TEAC CD-W28E (without Ultrabay frame) and an IBM Ultrabay CD-Rom drive. I took the frame from the CD-Rom, attached it to the CD/RW and everything works just fine.<br />
Even though the drive is recognised by cdrecord through the new direct atapi implementation, you might want to use SCSI emulation for performance reasons (xcdroast suggests that). I'll list the modules.conf entries here since it took me a while again to figure out the correct way to do it:<br />
<br />
alias scsi_hostadapter ide-scsi<br />
alias scd0 sr_mod<br />
<br />
Also you should add the line<br />
<br />
append="hdc=ide-scsi"<br />
<br />
to /etc/lilo.conf, so that the kernel ide driver doesn't take the drive.<br />
Or if you compiled ide-cd as a module, add<br />
<br />
options ide-cd ignore='hdc'<br />
<br />
to your modules.conf.<br />
<br />
===Sound: Crystal Semiconductors CS4299 with AC97 codec===<br />
<br />
Unfortunately this chip doesn't seem to be supported directly neither by the kernel nor by ALSA.<br />
There seems to be development on kernel support around the 2.4.21 release, but I don't really have a clue.<br />
However, you can use the Intel 8xx driver from the kernel or the according ALSA driver. I didn't have much luck getting the ALSA (0.9.6) stuff to work, but kernel works ok.<br />
Sound quality is not the best that way, but at least it works.<br />
<br />
===Networking===<br />
<br />
====LAN: Intel PRO/100 VE====<br />
<br />
The Kernel Intel EtherExpress PRO/100 driver (eepro100) worked well till recently.<br />
Newer kernels (introduced somewhere between 2.4.19 and 2.4.22) have an alternative driver that comes directly from Intel. It offers a lot of options and the PRO/100 VE card is in the list of supported devices.<br />
Since my network started to behave strangely (maybe I did something strange during kernel compilation), I switched to the new e100 driver and experienced that it works quite fine.<br />
<br />
====Wireless LAN====<br />
<br />
Unfortunately my model seems to be one without antennas and so I can't use the MiniPCI WLAN cards.<br />
But if you belong to the more lucky ones you might want to look at the IBM support page. You can find more information there as well as links that point to the driver homepages for the according cards.<br />
<br />
I was able to work with a Linkpro WL-2000-C PCMCIA WLAN card using the Linux-WLAN-NG driver.<br />
<br />
====Modem====<br />
<br />
You most likely are boarding a Lucent WinModem 56k.<br />
Although the kernel now has support for ACP WinModems, it seems it's still lacking a Lucent driver.<br />
However, you can find a lot of information on that as well as links to drivers at linmodems.org, or then just try a google search, you will find something for sure.<br />
The IBM support site also offers a Lucent driver for Linux, but I don't know if there's source code included.<br />
IRDA<br />
The chip is a NSC PC87392. (took some time to figure that out)<br />
You should set IRDA to enabled in the BIOS settings, since Linux has no way of enabling it when it's in OS controlled mode.<br />
The BIOS suggested an io-port of 2f8 and interrupt 3. The interrupt conflicted with a PCMCIA card on my machine, so I changed it to 5, which works fine. The default io of the kernel driver is 3f8, so you might want to change that as well. I decided to leave it and gave according options to the driver.<br />
<br />
If you use a recent kernel (2.4.21 or newer) you can use FIR mode by enabling the nsc-ircc kernel driver and adding a line<br />
options nsc-ircc dongle_id=0x09 io=??? irq=?<br />
to your modules.conf.<br />
<br />
If you build nsc-ircc as a module and the serial driver into the kernel, you might get the problem, that the kernel has already considered the IRDA port to be a serial device when you want to load the irda driver.<br />
I got rid of that by compiling the serial driver as a module also, but you can as well do setserial /dev/ttyS1 uart none to fix it.<br />
<br />
===PCMCIA===<br />
<br />
Just enable the PCMCIA support in the kernel configuration and with it the cardbus driver and the thing will work great.<br />
I tested the Linkpro WL-2000-C WLAN card and a Xircom CardCaddy CompactFlash adapter. Both worked.<br />
<br />
===USB===<br />
<br />
I enabled USB support with the alternate UHCI driver in kernel config.<br />
It seems to work, at least the kernel recognises the USB controller.<br />
I tested my Canon PowerShot S30 with gphoto2 on the USB port of the Thinkpad Dock II (2631) and it works great. I only tried the USB port in the docking station, but if that works, the ones in the notebook should work even better. ;-)<br />
Needed packages for USB were usbutils and hotplug.<br />
It's worth reading the readme files and having a look at the hotplug scripts, they're not too complex.<br />
Also on the gphoto pages there's some documentation about getting the user mode driver to work with hotplug.<br />
(I messed around with the hotplug stuff not starting gtkam for quite some time just to figure out in the end that it was just that my X server didn't allow root to connect to it.)<br />
<br />
===Specials===<br />
<br />
====UltraBay====<br />
Didn't really test hot-/warm-swapping so far.<br />
The notebook gives warn beeps if you try hot-swapping or warm-swapping the module.<br />
Look at google to find information about it. Seems like some guys got it to work on different machines. There also seem to be support tools for that.<br />
<br />
====UltraPort====<br />
I tried an UltraPort Camera and brought it to work, a bit unstable however.<br />
What you need is the kernel patch from Gutwin. You really need it, don't trust the ultracam driver the kernel offers by default (by compiling the IBM cam module). It seems to offer a lot of features, but it doesn't work at all: you'll get a distorted picture.<br />
It seems that the driver itself is fine, but the decoder is broken.<br />
<br />
However, Gutwins version works, even though only a subset of features is supported, yet. At least for me it is also a bit unstable.<br />
Since he made the patch for a 2.4.20 kernel, you might need to modify Makefile and Config.in by hand after applying the patch.<br />
As soon as you compiled the modules, you can modprobe ultracam, start xawtv or whatever and there you go.<br />
If you want the driver to be loaded automatically, add the following two lines to your /etc/modules.conf:<br />
<br />
alias char-major-81 ultracam<br />
alias char-major-81-0 ultracam<br />
<br />
====Thinklight====<br />
Since this is hardware driven it works quite fine.<br />
<br />
====Function keys====<br />
They work just as normal. There is a very nice utility called tpb (Thinkpad Button) which gives on screen display feedback with xosd and which enables the ThinkPad button (you can configure an application to start). You need to enable /dev/nvram support in the kernel to make it work.<br />
A good graphical application for the "ThinkPad" button might be configure-thinkpad, a gnome-frontend for tpctl.<br />
<br />
====Trackpoint====<br />
Works as usual. The blue button is recognised as third mouse button as well.<br />
Didn't try the tap to click feature, yet.<br />
You can do a lot through proper X configuration already, but additionally you might want to look at what the Linux Trackpoint Utilities have to offer you.<br />
<br />
====Docking Station (Type 2631)====<br />
The thing works great.<br />
PCMCIA and all the ports were recognised by default.<br />
The docks IDE interface is a CMD 648, so you should enable the according kernel option (building as module didn't work for me), if you want to use anything else than a floppy in the docks UltraBay.<br />
Note that the interface will most likely be ide2 and ide3 then, so the docks UltraBay drive will be hde.<br />
Even though I read about problems with the docks USB ports it worked wonderful for me. At least in the lower port (in the upper one my digital camera seemed not to be realised at all, but that might also have been my fault since I only tried it in early stages).<br />
I also managed to get an ATI Radeon 9000 PCI card working in the docks PCI port.<br />
Didn't get 3D to work so far, but everything else is just pure cream.<br />
<br />
===Power Management===<br />
<br />
The Thinkpad is APM and ACPI capable.<br />
However, I had some trouble with the kernel ACPI drivers (2.4.22).<br />
The PCI IRQ routing seems to work quite fine, but the EmbeddedController dependent ACPI modules all end up with errors as well as the processor dependent ones. Only status information that works is the button modules.<br />
Some research in the net brought up the impression that there is no solution for this yet and either the kernel support or the IBM BIOS' ACPI must be broken. So it's more sensible to disable ACPI support in the kernel and switch back to APM for the time being.<br />
<br />
You most likely want to install tpctl (Thinkpad Control), a nice little tool which you can access your BIOS Power Management settings with.<br />
<br />
=External Sources=<br />
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)].<br />
<br />
[[Category:T23]] [[Category:LFS]]</div>Wehehttps://www.thinkwiki.org/w/index.php?title=Installing_Mandriva_Linux_on_a_ThinkPad_T20&diff=25401Installing Mandriva Linux on a ThinkPad T202006-10-22T18:50:43Z<p>Wehe: /* External Sources */ added link to tuxmobil.org</p>
<hr />
<div>=Mandriva 2006=<br />
==Basic Installation==<br />
The basic install of {{Mandriva}} Linux 2006 works smoothly on a ThinkPad {{T20}}. Read on for things that need tweaking.<br />
<br />
==DVD Notes==<br />
With appropriate software installed, the combination of Mandriva and the T20 plays DVDS fine. <br />
However, the frame rate will be noticeably reduced if the DVD is hotswapped in place of a battery, or if the laptop is suspended and resumed. This DMA-related phenomenon is explained more on the [[UltraBay]] page in the Hotswapping section.<br />
<br />
==Upgrading from 2005 LE to 2006==<br />
Although the installer ran without incident, look out for several issues to address: <br />
<br />
* Several things quit working until I switched to the 2.6.11 kernel that was installed. Notably, sound didn't work and the trackpointer didn't work. You can use drakboot to change the default corner, or command line jockeys can edit {{path|/etc/lilo.conf}}<br />
<br />
* The DVD drive could not be located. It was being sought at {{path|/mnt/cdrom}} but really existed at {{path|/mnt/cdrom2}}. Rebooting seemed to fix this. <br />
<br />
* My Orinico wireless card quit working. It was being recognized at "eth0" now instead of "eth1". Copying my settings from the eth1 configuration to the eth0 configuration fixed that. <br />
<br />
* Using the TrackPoint in combination with the middle mouse button as a scroll wheel quit working. I got it working by using this bit in my {{path|/etc/X11/xorg.conf}} file.<br />
<br />
Section "InputDevice"<br />
Identifier "Mouse1"<br />
Driver "mouse"<br />
Option "Protocol" "ExplorerPS/2"<br />
Option "Device" "/dev/mouse"<br />
Option "Emulate3Buttons" "true"<br />
Option "XAxisMapping" "4 5"<br />
Option "YAxisMapping" "6 7"<br />
Option "EmulateWheel" "true"<br />
Option "EmulateWheelButton" "2"<br />
EndSection<br />
<br />
If you haven't editted this file before, select "Run" from the start menu and then run a text editor (such as "kate") as root. Be sure to create an extra copy of the file before you change it in case there is a problem!<br />
To make the changes take effect you'll need to restart X. Rebooting is one way to do that, or you could hold Control-Alt-Backspace to restart the X server.<br />
<br />
* The "Suspend" option had disappeared from the KLaptop menu. It was necessary to go into the "Configure KLaptop" dialog and re-setup the "helper applications". <br />
<br />
* Selecting "ondemand" as a Performance Profile seems to have no effect, through KLaptop or on the command line. It would be nice to solve this for better life. <br />
<br />
* While suspending worked great with Mandriva LE, trying to suspend with APM, now resulted in a reboot upon resuming. What finally worked me was: <br />
** Upgraded to 2.6.12 kernel (not sure if this mattered)<br />
** Make sure acpi and acpid are installed and apmd is not<br />
** Use the built-in suspend key to suspend (Fn-F4). (Using KLaptop instead resulted in no sound upon resume). <br />
<br />
* My USB card reader quit working. My fix was to make sure the USB service was started at boot time, and to explicitly load the USB mass storage module at boot time. <br />
**{{cmdroot|ln -s /etc/init.d/usb /etc/rc5.d/S50usb}}<br />
**Edit {{path|/etc/sysconfig/usb}} and set <tt>STORAGE=yes</tt><br />
<br />
==Getting the modem to work==<br />
The modem is not accessible through one of the default serial interfaces. It can, however, be queried through {{path|/dev/tty13}}.<br />
<br />
For further information, see [[Installing_Ltmodem_driver_for_Mandriva]].<br />
<br />
== Support for the Thinkpad buttons with Kmilo == <br />
<br />
[http://www.kde.me.uk/index.php?page=kmilo Kmilo ] is software that provides on screen feedback and some<br />
extra configuration when using the Thinkpad-specific buttons such as the volume and brightness keys. It<br />
is provided by Mandriva as part of KDE 3.5 bundle for Mandriva 2006. The package name is 'libkmilo1'. <br />
It works after installing that package and rebooting. Now when visting {{path|settings:/Peripherals/}} you'll see<br />
a new icon for "IBM Thinkpad", with a few option to configure it.<br />
<br />
=Mandriva 2005 LE=<br />
<br />
==Suspend/Resume==<br />
<br />
Mandriva controls suspend/resume preferences through the file {{path|/etc/sysconfig/suspend}}.<br />
It is a well-commented text file. Here are two options I set that seemed to help make sound<br />
continue working after a suspend on the T20:<br />
<br />
RESTORE_SOUND="yes"<br />
SOUND_MODULES="sb uart401 sound soundcore maestro cs4281 snd-cs46xx"<br />
<br />
I'm not sure if all the sound modules in this list are necessary. I added <tt>snd-cs46xx</tt> to the list<br />
because I knew it was the one I was using.<br />
<br />
From the Mandrake Control Center, I configured one specific Thinkpad-specific option for the sound<br />
driver. I entered the "Hardware" area and then selected the sound card and clicked "Configure Module". <br />
One of the options is labeled simply "thinkpad". I set it to "1".<br />
<br />
===Screen Locking after Suspend===<br />
<br />
My screen always came back locked after I suspended, and I couldn't figure out how to turn that off<br />
at first. That preference is also in {{path|/etc/sysconfig/suspend}} and is named LOCK_XFREE.<br />
<br />
I set it to "no", but can still lock the screen if I want by using the Klaptop "Lock & Suspend..." option<br />
<br />
==External Sources==<br />
<br />
*[http://mr.uue.org/gnulinux/t20/ Michael Reinsch's notes about Mandriva on a Thinkpad T20]<br />
*[http://pmag.chez.tiscali.fr/mdk80ontpt20.html How to Install a Mandrake 8.0 on a IBM Thinkpad T20]<br />
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)].<br />
<br />
[[Category:Mandriva]] [[Category:T20]]</div>Wehe