https://www.thinkwiki.org/w/api.php?action=feedcontributions&user=Ddouthitt&feedformat=atomThinkWiki - User contributions [en]2024-03-28T20:21:07ZUser contributionsMediaWiki 1.31.12https://www.thinkwiki.org/w/index.php?title=Talk:ThinkPad_Dock_II_(3546)&diff=31306Talk:ThinkPad Dock II (3546)2007-07-15T06:44:23Z<p>Ddouthitt: 755C as supported model?</p>
<hr />
<div>=== 755C Support ===<br />
I don't know if this model is officially supported, but mine seemed to work fine in this Dock. I might add that it is running FreeBSD 4.x. [[User:Ddouthitt|Ddouthitt]] 06:44, 15 July 2007 (UTC)</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=ThinkPad_Dock_II_(3546)&diff=31305ThinkPad Dock II (3546)2007-07-15T06:42:51Z<p>Ddouthitt: /* Supported ThinkPads */ added 755C as supported model</p>
<hr />
<div>__NOTOC__<br />
{| cellspacing="0" cellpadding="2" border="0"<br />
| style="vertical-align:top;" | <div style="margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;"><br />
== IBM ThinkPad Dock II ==<br />
The Dock II (3546-001 or 84G3587) provides expandability for your IBM ThinkPad notebook models, while providing the same usability as a desktop computer system. Option cables connected or disconnected to your computer can be connected to the Dock I so you can easily carry your computer.<br />
<br />
=== Standard Features ===<br />
* Passthrough ports:<br />
** [[PS/2 Port|PS/2 Keyboard]]<br />
** [[PS/2 Port|PS/2 Mouse]]<br />
** [[Serial Port|Serial (DB9-M)]]<br />
** [[Parallel Port|Parallel (DB25-F)]]<br />
** Audio-Out<br />
** Headphone connector<br />
** [[VGA Port|VGA]]<br />
** [[Floppy Connector|External Diskette drive]] (26pin)<br />
* Security Hook<br />
* Stereo Speakers<br />
* Audio-In (direct to speakers, no capture possible)<br />
* External SCSI II connector (50pin)<br />
* Optional Internal SCSI device<br />
* Optional Internal IDE device<br />
* (1) Type IV, or (1) Type III + (1) Type II, or (2) Type II [[PCMCIA slot|PCMCIA slots]]<br />
* (2) Full size ISA 16 bit slots<br />
</div><br />
|}<br />
* [ftp://ftp.software.ibm.com/pc/pccbbs/mobiles/dockiiug.pdf Users Guide - ThinkPad Dock II]<br />
* [http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&lndocid=GSMH-3DBH25 Parts List - ThinkPad Dock II]<br />
* [ftp://ftp.software.ibm.com/pc/pccbbs/bp_thinkpad/tpvol1.pdf HMM - ThinkPad Dock II]<br />
<br />
==ISA Slots==<br />
These are Full Height, Full Length 16 bit ISA slots.<br />
<br />
==SCSI==<br />
Internal and External SCSI II connectors are available.<br />
<br />
Internally there is space for the following:<br />
* (1) 1" high SCSI device, either a CD-ROM drive or a HDD<br />
* (1) Half-Height device<br />
<br />
SCSI Chipset is an ancient Adaptec AHA-1520<br />
<br />
==IDE==<br />
An Internal 50pin IDE connector is available.<br />
<br />
==PCMCIA==<br />
Two PCMCIA slots are available, these are the valid configurations:<br />
<br />
* Type II (x2)<br />
* Type II (x1) + Type III (x1)<br />
* Type IV (x1)<br />
<br />
== Supported ThinkPads ==<br />
* ThinkPad {{360}}, {{360C}}, {{360Cs}}, {{360P}}, {{360CE}}, {{360CSE}}, {{360PE}}<br />
* ThinkPad {{370C}}<br />
* ThinkPad {{701C}}, {{701CS}} <tt>(with [[Dock II Adapter Kit]])</tt><br />
* ThinkPad {{750}}, {{750C}}, {{750Cs}}, {{750P}}<br />
* ThinkPad {{755C}}, {{755CE}}, {{755CSE}}, {{755CX}}, {{755CV}}, {{755CD}}, {{755CDV}}<br />
* ThinkPad {{760L}}, {{760LD}}, {{760C}}, {{760CD}}, {{760E}}, {{760ED}}, {{760EL}}, {{760ELD}}, {{760XL}}, {{760XD}}</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=ThinkPad_Dock_I_(3545)&diff=31304ThinkPad Dock I (3545)2007-07-15T06:41:15Z<p>Ddouthitt: </p>
<hr />
<div>__NOTOC__<br />
{| cellspacing="0" cellpadding="2" border="0"<br />
| style="vertical-align:top;" | <div style="margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;"><br />
The Dock I (3545-001) -- which was also known as the Expansion Unit --<br />
provides expandability for IBM ThinkPad notebook models, while providing the same usability as a desktop computer system. Option cables connected or disconnected to your computer can be connected to the Dock I so you can easily carry your computer.<br />
<br />
=== Features ===<br />
* Passthrough ports:<br />
** [[PS/2 Port|PS/2 Keyboard]]<br />
** [[PS/2 Port|PS/2 Mouse]]<br />
** [[Serial Port|Serial (DB9-M)]]<br />
** [[Parallel Port|Parallel (DB25-F)]]<br />
** Audio-Out<br />
** Headphone connector<br />
** [[VGA Port|VGA-Out]]<br />
** [[Floppy Connector|External Diskette drive]]<br />
* Security Hook<br />
* Stereo Speakers<br />
* Audio-In (direct to speakers, no capture possible)<br />
* VGA-In (direct to LCD, no capture possible)<br />
* External SCSI connector (60 pin special rare connector)<br />
* Optional Internal SCSI CD-ROM drive or SCSI HDD<br />
* Full size ISA 16 bit slot<br />
</div><br />
* [ftp://ftp.software.ibm.com/pc/pccbbs/mobiles/dock1ug.pdf User's Guide - ThinkPad Dock I]<br />
* [ftp://ftp.software.ibm.com/pc/pccbbs/bp_thinkpad/tpvol1.pdf HMM - ThinkPad Dock I]<br />
|}<br />
<br />
==ISA Slot==<br />
This is a Full Height, Full Length 16 bit ISA slot.<br />
==SCSI==<br />
Internal and External SCSI 1 connectors are available.<br />
<br />
Internally there is only space for one 1" high SCSI device, either a CD-ROM drive or a HDD.<br />
<br />
Chipset is an ancient Future Domain TMC-850, which might work with the 'seagate' driver.<br />
<br />
The internal SCSI is 50 pin but its width is half of standard SCSI connector. Also the external SCSI connector is a spceial 60 pin connector rarely found anymore. So its not useful. There is two type of power plug for the drives. An add on ISA SCSI card with Boot Bios will work. Windows loads fine but LILO loads the kernel bz image slowly but after boot init it speeds up again.<br />
<br />
== Other ==<br />
<br />
The dock has no software options. The Thinkpad configuration and Thinkpad Features does not detect its presence and the download tool for the dock (from IBM site) is for Selectadock and not this one.<br />
<br />
You cannot enter Easy setup with the docking station in place (with thinkpad 760L and dock 3545-001 i CAN (KotCzarny)).<br />
You cannot flash BIOS with docking station. (It will detect it and reject)<br />
<br />
== Supported ThinkPads ==<br />
* ThinkPad {{360}}, {{360C}}, {{360Cs}}, {{360P}}, {{360CE}}, {{360CSE}}, {{360PE}}<br />
* ThinkPad {{370C}}<br />
* ThinkPad {{750}}, {{750C}}, {{750Cs}}, {{750P}}<br />
* ThinkPad {{755C}}, {{755Cs}}, {{755CE}}, {{755CSE}}, {{755CD}}, {{755CX}}, {{755CV}}, {{755CDV}}<br />
* ThinkPad {{760C}}, {{760CD}}, {{760E}}, {{760ED}}, {{760EL}}, {{760ELD}}, {{760L}}, {{760LD}}, {{760XL}}, {{760XD}}</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=ThinkPad_Dock&diff=31303ThinkPad Dock2007-07-15T06:13:20Z<p>Ddouthitt: /* DVI pass-through */ fixed links</p>
<hr />
<div>{| cellspacing="0" cellpadding="2" border="0"<br />
| style="vertical-align:top;" | __TOC__ <br />
[[Image:ThinkPadDock.jpg|ThinkPad Dock]]<br />
| style="vertical-align:top;" | <div style="margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;"><br />
== IBM ThinkPad Dock ==<br />
The IBM ThinkPad Dock (Model 2631) transforms a regular Thinkpad into a full blown workstation with multiple monitors (PCI video card), higher fidelity audio (PC Card audio), and additional storage [[UltraBay|Ultrabay 2000]]. These expansion features are not supported by all Thinkpads, therefore the Dock does not support as many Thinkpads as the [[ThinkPad Port Replicator|Port Replicator]], [[ThinkPad Port Replicator II|Port Replicator II]] or [[ThinkPad Mini-Dock|Mini-Dock]].<br />
<br />
=== Features ===<br />
* everything the [[ThinkPad Port Replicator]] has<br />
* 1 Full-size, half length PCI card slot<br />
* 2 Type II (or 1 Type III) [[CardBus slot]]<br />
* 1 [[UltraBay|Ultrabay 2000]] slot<br />
<br />
===Pros & Cons===<br />
* Positives: Expansion capability<br />
* Negatives: internal fan is fairly large.<br />
* DVI pass-through and ethernet (RJ45) on the Dock is only supported with select ThinkPads.<br />
* Compatibility: X20/30, T20/30 and A20/30 Series notebooks (does not support the A21e/22e).<br />
* Warranty: One Year<br />
</div><br />
* [ftp://ftp.software.ibm.com/pc/pccbbs/mobiles_pdf/92p1836.pdf ThinkPad Docking Solutions HMM (February 2003)] (248,638 Bytes)<br />
|}<br />
{{gallery_start}}<br />
{{thumb|t30_dock.jpg|T30 docked in a Dock}}<br />
{{thumb|t30_dock-2.jpg|T30 docked in a Dock}}<br />
{{gallery_end}}<br />
<br />
Lenovo (IBM) link to the dock: http://www-307.ibm.com/pc/support/site.wss/MIGR-42164.html<br />
<br />
==IBM part numbers==<br />
* order part number: P/N 02K8660<br />
* FRU part number: P/N 02K8666<br />
* Type: 2631<br />
<br />
==PCI Slot==<br />
Many use the PCI slot for peripherals like secondary video cards, TV tuners, audio cards, etc. This is considered by many to be the highlight of the Dock, and is a feature that few other docks have. The Dock does not support AGP or PCI Express. Potential owners of the Dock are often concerned about compatibility and recommendations of video cards. See the [[#Compatible Video Cards|compatible video cards]] list below for more information.<br />
===Video Cards===<br />
The PCI slot is most often used for installing video cards to allow for multiple monitors. This feature is especially useful for anyone that requires visualizing a large amount of information, including stock brokers, artists, etc. Due to the slow PCI bus, gaming is generally not improved much by external cards.<br />
One of the chief concerns of low profile video cards is whether they support the monitor setup you desire. As more monitors these days are LCDs, quality DVI support is essential. Additional concerns include driver support, ability to hot-swap (add or remove the thinkpad without rebooting), and noise/heat.<br />
====Quality DVI & Widescreen support====<br />
One way to work around the [[Problem with DVI throughput|limitations]] of the docks DVI pass-through port is to use a PCI graphics card which features a PCI port. Note that while this probably will work, the performance of the PCI graphics accellerator will be poor because of the limitations of the interface.<br />
<br />
Also the newest ATI video drivers for both Linux and Windows are known to not have limited resolution support on the external DVI port anymore.<br />
<br />
====Compatible Video Cards====<br />
This is a list of the most popular low-profile PCI video cards used with the IBM ThinkPad Dock.<br />
{| cellpadding="5" border="1"<br />
|- style="text-align:left;"<br />
!Card !! Chipset !! RAM !! Ports !! Max DVI Res !! TDMS !! Cooling !! Compatibility<br />
|-<br />
|3DFuzion GeForce FX 6200<br />
|NVidia GeForce FX 6200<br />
|128 MB DDR<br />
|1x DVI, 1x VGA, 1x TV-Out<br />
|Unknown<br />
|Unknown<br />
|passive<br />
|working<br />
|-<br />
|ATI Radeon 9200<br />
|ATI Radeon 9200<br />
|128 MB DDR<br />
|1x DVI, 1x VGA, 1x TV-Out<br />
|Unknown<br />
|Unknown<br />
|passive<br />
|working<br />
|-<br />
|ATI Technologies Inc 3D Rage II+ 215GTB [Mach64 GTB] (rev 9a)<br />
|<br />
|<br />
|1x VGA<br />
|<br />
|<br />
|passive<br />
|working<!--http://home.arcor.de/leggewie/--><br />
|-<br />
|Gainward Pro 660 TV/DVI<br />
|GeForce FX 5200<br />
|128 MB DDR<br />
|1x DVI, 1x VGA, 1x TV-Out<br />
|Unknown<br />
|Unknown<br />
|passive<br />
|working<br />
|-<br />
|GeForce 4 MX 440<br />
|GeForce 4 MX 440<br />
|64 MB<br />
|1x VGA, 1x T-Out<br />
|Unknown<br />
|Unknown<br />
|passive<br />
|working<br />
|}<br />
<br />
====PCI USB 2.0 Cards====<br />
PCI USB 2.0 card installed in the PCI slot will provide USB 2.0 support to the older systems.<br />
<br />
====PCI FireWire 800 Cards====<br />
PCI FireWire 800 card installed in the PCI slot will provide FireWire and FireWire 800 support to the older systems.<br />
<br />
==Ultrabay 2000==<br />
The ThinkPad Dock has a [[UltraBay|UltraBay 2000]] slot, which is '''not''' hotswap capable.<br />
<br />
The docks IDE interface is a CMD 648, so you should enable the according kernel option (compile it into the kernel if loading as a module doesn't work), 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 />
Under MacOS X x86 10.4.5 having any drives in the [[UltraBay|UltraBay 2000]] slot will result in a kernel crash at boot. Without an [[UltraBay|UltraBay 2000]] device installed it boots correctly.<br />
<br />
==PC Card Slots==<br />
The PC Card slot has been verified to work with a USB 2.0 CardBus card under Fedora Core 5.<br />
The card used to test it is seen as USB Controller: NEC Corporation USB 2.0 (rev 04).<br />
<br />
==Noise & Heat==<br />
[[Image:thinkpad_dock_fanconnector.png|left]]<br />
Since the ThinkPad Dock is a bit noisy, some people have taken to unplugging the fan inside (or possibly replacing it). While this likely voids your warranty, it may be necessary if you really want it quiet. Adding a PCI card (especially a video card) increases the heat inside the dock, and it may have a fan on board as well, meaning it will increase the noise level. You should take into consideration the noise and heat it may add.<br />
<br />
The connector for the fan is visible in the picture at left, and is accessible by removing the PCI bay cover.<br />
<br />
==DVI pass-through==<br />
LCD monitors are getting larger and higher-resolution. Currently, DVI based on 165MHz TDMS transmitters can only (officially) support 1600x1200x32 at 60Hz, which is the resolution of your average 20" non-widescreen LCD. IBM's driver support for this resolution through DVI ports on docks has been inconsistent. Also in Linux you might experience [[Problem with DVI throughput|problems]] even with this resolution and IBM officially states that the pass-through DVI port only supports resolutions up to 1280x1024. Read [[Problem with DVI throughput|our page]] of information on how to solve these troubles.<br />
<br />
{{NOTE|DVI pass-through is only supported in combination with a ThinkPad {{A20p}}, {{A21p}}, {{A22p}} and {{A31p}}.}}<br />
<br />
== Supported ThinkPads ==<br />
* {{A20m}}, {{A20p}}, {{A21m}}, {{A21p}}, {{A22m}}, {{A22p}}<br />
* {{A30}}, {{A30p}}, {{A31}}, {{A31p}}<br />
* {{T20}}, {{T21}}, {{T22}}, {{T23}}<br />
* {{T30}}<br />
* {{X20}}, {{X21}}, {{X22}}, {{X23}}, {{X24}}<br />
* {{X30}}, {{X31}}, {{X32}}</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=ThinkPad_Dock&diff=31302ThinkPad Dock2007-07-15T06:11:11Z<p>Ddouthitt: /* DVI pass-through */ added links</p>
<hr />
<div>{| cellspacing="0" cellpadding="2" border="0"<br />
| style="vertical-align:top;" | __TOC__ <br />
[[Image:ThinkPadDock.jpg|ThinkPad Dock]]<br />
| style="vertical-align:top;" | <div style="margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;"><br />
== IBM ThinkPad Dock ==<br />
The IBM ThinkPad Dock (Model 2631) transforms a regular Thinkpad into a full blown workstation with multiple monitors (PCI video card), higher fidelity audio (PC Card audio), and additional storage [[UltraBay|Ultrabay 2000]]. These expansion features are not supported by all Thinkpads, therefore the Dock does not support as many Thinkpads as the [[ThinkPad Port Replicator|Port Replicator]], [[ThinkPad Port Replicator II|Port Replicator II]] or [[ThinkPad Mini-Dock|Mini-Dock]].<br />
<br />
=== Features ===<br />
* everything the [[ThinkPad Port Replicator]] has<br />
* 1 Full-size, half length PCI card slot<br />
* 2 Type II (or 1 Type III) [[CardBus slot]]<br />
* 1 [[UltraBay|Ultrabay 2000]] slot<br />
<br />
===Pros & Cons===<br />
* Positives: Expansion capability<br />
* Negatives: internal fan is fairly large.<br />
* DVI pass-through and ethernet (RJ45) on the Dock is only supported with select ThinkPads.<br />
* Compatibility: X20/30, T20/30 and A20/30 Series notebooks (does not support the A21e/22e).<br />
* Warranty: One Year<br />
</div><br />
* [ftp://ftp.software.ibm.com/pc/pccbbs/mobiles_pdf/92p1836.pdf ThinkPad Docking Solutions HMM (February 2003)] (248,638 Bytes)<br />
|}<br />
{{gallery_start}}<br />
{{thumb|t30_dock.jpg|T30 docked in a Dock}}<br />
{{thumb|t30_dock-2.jpg|T30 docked in a Dock}}<br />
{{gallery_end}}<br />
<br />
Lenovo (IBM) link to the dock: http://www-307.ibm.com/pc/support/site.wss/MIGR-42164.html<br />
<br />
==IBM part numbers==<br />
* order part number: P/N 02K8660<br />
* FRU part number: P/N 02K8666<br />
* Type: 2631<br />
<br />
==PCI Slot==<br />
Many use the PCI slot for peripherals like secondary video cards, TV tuners, audio cards, etc. This is considered by many to be the highlight of the Dock, and is a feature that few other docks have. The Dock does not support AGP or PCI Express. Potential owners of the Dock are often concerned about compatibility and recommendations of video cards. See the [[#Compatible Video Cards|compatible video cards]] list below for more information.<br />
===Video Cards===<br />
The PCI slot is most often used for installing video cards to allow for multiple monitors. This feature is especially useful for anyone that requires visualizing a large amount of information, including stock brokers, artists, etc. Due to the slow PCI bus, gaming is generally not improved much by external cards.<br />
One of the chief concerns of low profile video cards is whether they support the monitor setup you desire. As more monitors these days are LCDs, quality DVI support is essential. Additional concerns include driver support, ability to hot-swap (add or remove the thinkpad without rebooting), and noise/heat.<br />
====Quality DVI & Widescreen support====<br />
One way to work around the [[Problem with DVI throughput|limitations]] of the docks DVI pass-through port is to use a PCI graphics card which features a PCI port. Note that while this probably will work, the performance of the PCI graphics accellerator will be poor because of the limitations of the interface.<br />
<br />
Also the newest ATI video drivers for both Linux and Windows are known to not have limited resolution support on the external DVI port anymore.<br />
<br />
====Compatible Video Cards====<br />
This is a list of the most popular low-profile PCI video cards used with the IBM ThinkPad Dock.<br />
{| cellpadding="5" border="1"<br />
|- style="text-align:left;"<br />
!Card !! Chipset !! RAM !! Ports !! Max DVI Res !! TDMS !! Cooling !! Compatibility<br />
|-<br />
|3DFuzion GeForce FX 6200<br />
|NVidia GeForce FX 6200<br />
|128 MB DDR<br />
|1x DVI, 1x VGA, 1x TV-Out<br />
|Unknown<br />
|Unknown<br />
|passive<br />
|working<br />
|-<br />
|ATI Radeon 9200<br />
|ATI Radeon 9200<br />
|128 MB DDR<br />
|1x DVI, 1x VGA, 1x TV-Out<br />
|Unknown<br />
|Unknown<br />
|passive<br />
|working<br />
|-<br />
|ATI Technologies Inc 3D Rage II+ 215GTB [Mach64 GTB] (rev 9a)<br />
|<br />
|<br />
|1x VGA<br />
|<br />
|<br />
|passive<br />
|working<!--http://home.arcor.de/leggewie/--><br />
|-<br />
|Gainward Pro 660 TV/DVI<br />
|GeForce FX 5200<br />
|128 MB DDR<br />
|1x DVI, 1x VGA, 1x TV-Out<br />
|Unknown<br />
|Unknown<br />
|passive<br />
|working<br />
|-<br />
|GeForce 4 MX 440<br />
|GeForce 4 MX 440<br />
|64 MB<br />
|1x VGA, 1x T-Out<br />
|Unknown<br />
|Unknown<br />
|passive<br />
|working<br />
|}<br />
<br />
====PCI USB 2.0 Cards====<br />
PCI USB 2.0 card installed in the PCI slot will provide USB 2.0 support to the older systems.<br />
<br />
====PCI FireWire 800 Cards====<br />
PCI FireWire 800 card installed in the PCI slot will provide FireWire and FireWire 800 support to the older systems.<br />
<br />
==Ultrabay 2000==<br />
The ThinkPad Dock has a [[UltraBay|UltraBay 2000]] slot, which is '''not''' hotswap capable.<br />
<br />
The docks IDE interface is a CMD 648, so you should enable the according kernel option (compile it into the kernel if loading as a module doesn't work), 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 />
Under MacOS X x86 10.4.5 having any drives in the [[UltraBay|UltraBay 2000]] slot will result in a kernel crash at boot. Without an [[UltraBay|UltraBay 2000]] device installed it boots correctly.<br />
<br />
==PC Card Slots==<br />
The PC Card slot has been verified to work with a USB 2.0 CardBus card under Fedora Core 5.<br />
The card used to test it is seen as USB Controller: NEC Corporation USB 2.0 (rev 04).<br />
<br />
==Noise & Heat==<br />
[[Image:thinkpad_dock_fanconnector.png|left]]<br />
Since the ThinkPad Dock is a bit noisy, some people have taken to unplugging the fan inside (or possibly replacing it). While this likely voids your warranty, it may be necessary if you really want it quiet. Adding a PCI card (especially a video card) increases the heat inside the dock, and it may have a fan on board as well, meaning it will increase the noise level. You should take into consideration the noise and heat it may add.<br />
<br />
The connector for the fan is visible in the picture at left, and is accessible by removing the PCI bay cover.<br />
<br />
==DVI pass-through==<br />
LCD monitors are getting larger and higher-resolution. Currently, DVI based on 165MHz TDMS transmitters can only (officially) support 1600x1200x32 at 60Hz, which is the resolution of your average 20" non-widescreen LCD. IBM's driver support for this resolution through DVI ports on docks has been inconsistent. Also in Linux you might experience [[Problem with DVI throughput|problems]] even with this resolution and IBM officially states that the pass-through DVI port only supports resolutions up to 1280x1024. Read [[Problem with DVI throughput|our page]] of information on how to solve these troubles.<br />
<br />
{{NOTE|DVI pass-through is only supported in combination with a ThinkPad [[A20p]], [[A21p]], [[A22p]] and [[A31p]].}}<br />
<br />
== Supported ThinkPads ==<br />
* {{A20m}}, {{A20p}}, {{A21m}}, {{A21p}}, {{A22m}}, {{A22p}}<br />
* {{A30}}, {{A30p}}, {{A31}}, {{A31p}}<br />
* {{T20}}, {{T21}}, {{T22}}, {{T23}}<br />
* {{T30}}<br />
* {{X20}}, {{X21}}, {{X22}}, {{X23}}, {{X24}}<br />
* {{X30}}, {{X31}}, {{X32}}</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=ThinkPad_Dock&diff=31301ThinkPad Dock2007-07-15T06:10:05Z<p>Ddouthitt: /* Noise & Heat */ relocated picture and updated reference to it</p>
<hr />
<div>{| cellspacing="0" cellpadding="2" border="0"<br />
| style="vertical-align:top;" | __TOC__ <br />
[[Image:ThinkPadDock.jpg|ThinkPad Dock]]<br />
| style="vertical-align:top;" | <div style="margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;"><br />
== IBM ThinkPad Dock ==<br />
The IBM ThinkPad Dock (Model 2631) transforms a regular Thinkpad into a full blown workstation with multiple monitors (PCI video card), higher fidelity audio (PC Card audio), and additional storage [[UltraBay|Ultrabay 2000]]. These expansion features are not supported by all Thinkpads, therefore the Dock does not support as many Thinkpads as the [[ThinkPad Port Replicator|Port Replicator]], [[ThinkPad Port Replicator II|Port Replicator II]] or [[ThinkPad Mini-Dock|Mini-Dock]].<br />
<br />
=== Features ===<br />
* everything the [[ThinkPad Port Replicator]] has<br />
* 1 Full-size, half length PCI card slot<br />
* 2 Type II (or 1 Type III) [[CardBus slot]]<br />
* 1 [[UltraBay|Ultrabay 2000]] slot<br />
<br />
===Pros & Cons===<br />
* Positives: Expansion capability<br />
* Negatives: internal fan is fairly large.<br />
* DVI pass-through and ethernet (RJ45) on the Dock is only supported with select ThinkPads.<br />
* Compatibility: X20/30, T20/30 and A20/30 Series notebooks (does not support the A21e/22e).<br />
* Warranty: One Year<br />
</div><br />
* [ftp://ftp.software.ibm.com/pc/pccbbs/mobiles_pdf/92p1836.pdf ThinkPad Docking Solutions HMM (February 2003)] (248,638 Bytes)<br />
|}<br />
{{gallery_start}}<br />
{{thumb|t30_dock.jpg|T30 docked in a Dock}}<br />
{{thumb|t30_dock-2.jpg|T30 docked in a Dock}}<br />
{{gallery_end}}<br />
<br />
Lenovo (IBM) link to the dock: http://www-307.ibm.com/pc/support/site.wss/MIGR-42164.html<br />
<br />
==IBM part numbers==<br />
* order part number: P/N 02K8660<br />
* FRU part number: P/N 02K8666<br />
* Type: 2631<br />
<br />
==PCI Slot==<br />
Many use the PCI slot for peripherals like secondary video cards, TV tuners, audio cards, etc. This is considered by many to be the highlight of the Dock, and is a feature that few other docks have. The Dock does not support AGP or PCI Express. Potential owners of the Dock are often concerned about compatibility and recommendations of video cards. See the [[#Compatible Video Cards|compatible video cards]] list below for more information.<br />
===Video Cards===<br />
The PCI slot is most often used for installing video cards to allow for multiple monitors. This feature is especially useful for anyone that requires visualizing a large amount of information, including stock brokers, artists, etc. Due to the slow PCI bus, gaming is generally not improved much by external cards.<br />
One of the chief concerns of low profile video cards is whether they support the monitor setup you desire. As more monitors these days are LCDs, quality DVI support is essential. Additional concerns include driver support, ability to hot-swap (add or remove the thinkpad without rebooting), and noise/heat.<br />
====Quality DVI & Widescreen support====<br />
One way to work around the [[Problem with DVI throughput|limitations]] of the docks DVI pass-through port is to use a PCI graphics card which features a PCI port. Note that while this probably will work, the performance of the PCI graphics accellerator will be poor because of the limitations of the interface.<br />
<br />
Also the newest ATI video drivers for both Linux and Windows are known to not have limited resolution support on the external DVI port anymore.<br />
<br />
====Compatible Video Cards====<br />
This is a list of the most popular low-profile PCI video cards used with the IBM ThinkPad Dock.<br />
{| cellpadding="5" border="1"<br />
|- style="text-align:left;"<br />
!Card !! Chipset !! RAM !! Ports !! Max DVI Res !! TDMS !! Cooling !! Compatibility<br />
|-<br />
|3DFuzion GeForce FX 6200<br />
|NVidia GeForce FX 6200<br />
|128 MB DDR<br />
|1x DVI, 1x VGA, 1x TV-Out<br />
|Unknown<br />
|Unknown<br />
|passive<br />
|working<br />
|-<br />
|ATI Radeon 9200<br />
|ATI Radeon 9200<br />
|128 MB DDR<br />
|1x DVI, 1x VGA, 1x TV-Out<br />
|Unknown<br />
|Unknown<br />
|passive<br />
|working<br />
|-<br />
|ATI Technologies Inc 3D Rage II+ 215GTB [Mach64 GTB] (rev 9a)<br />
|<br />
|<br />
|1x VGA<br />
|<br />
|<br />
|passive<br />
|working<!--http://home.arcor.de/leggewie/--><br />
|-<br />
|Gainward Pro 660 TV/DVI<br />
|GeForce FX 5200<br />
|128 MB DDR<br />
|1x DVI, 1x VGA, 1x TV-Out<br />
|Unknown<br />
|Unknown<br />
|passive<br />
|working<br />
|-<br />
|GeForce 4 MX 440<br />
|GeForce 4 MX 440<br />
|64 MB<br />
|1x VGA, 1x T-Out<br />
|Unknown<br />
|Unknown<br />
|passive<br />
|working<br />
|}<br />
<br />
====PCI USB 2.0 Cards====<br />
PCI USB 2.0 card installed in the PCI slot will provide USB 2.0 support to the older systems.<br />
<br />
====PCI FireWire 800 Cards====<br />
PCI FireWire 800 card installed in the PCI slot will provide FireWire and FireWire 800 support to the older systems.<br />
<br />
==Ultrabay 2000==<br />
The ThinkPad Dock has a [[UltraBay|UltraBay 2000]] slot, which is '''not''' hotswap capable.<br />
<br />
The docks IDE interface is a CMD 648, so you should enable the according kernel option (compile it into the kernel if loading as a module doesn't work), 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 />
Under MacOS X x86 10.4.5 having any drives in the [[UltraBay|UltraBay 2000]] slot will result in a kernel crash at boot. Without an [[UltraBay|UltraBay 2000]] device installed it boots correctly.<br />
<br />
==PC Card Slots==<br />
The PC Card slot has been verified to work with a USB 2.0 CardBus card under Fedora Core 5.<br />
The card used to test it is seen as USB Controller: NEC Corporation USB 2.0 (rev 04).<br />
<br />
==Noise & Heat==<br />
[[Image:thinkpad_dock_fanconnector.png|left]]<br />
Since the ThinkPad Dock is a bit noisy, some people have taken to unplugging the fan inside (or possibly replacing it). While this likely voids your warranty, it may be necessary if you really want it quiet. Adding a PCI card (especially a video card) increases the heat inside the dock, and it may have a fan on board as well, meaning it will increase the noise level. You should take into consideration the noise and heat it may add.<br />
<br />
The connector for the fan is visible in the picture at left, and is accessible by removing the PCI bay cover.<br />
<br />
==DVI pass-through==<br />
LCD monitors are getting larger and higher-resolution. Currently, DVI based on 165MHz TDMS transmitters can only (officially) support 1600x1200x32 at 60Hz, which is the resolution of your average 20" non-widescreen LCD. IBM's driver support for this resolution through DVI ports on docks has been inconsistent. Also in Linux you might experience [[Problem with DVI throughput|problems]] even with this resolution and IBM officially states that the pass-through DVI port only supports resolutions up to 1280x1024. Read [[Problem with DVI throughput|our page]] of information on how to solve these troubles.<br />
<br />
{{NOTE|DVI pass-through is only supported in combination with a ThinkPad A20p, A21p, A22p and A31p.}}<br />
<br />
== Supported ThinkPads ==<br />
* {{A20m}}, {{A20p}}, {{A21m}}, {{A21p}}, {{A22m}}, {{A22p}}<br />
* {{A30}}, {{A30p}}, {{A31}}, {{A31p}}<br />
* {{T20}}, {{T21}}, {{T22}}, {{T23}}<br />
* {{T30}}<br />
* {{X20}}, {{X21}}, {{X22}}, {{X23}}, {{X24}}<br />
* {{X30}}, {{X31}}, {{X32}}</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=ThinkPad_Dock&diff=31300ThinkPad Dock2007-07-15T06:05:56Z<p>Ddouthitt: /* Features */ fixed spelling and syntax</p>
<hr />
<div>{| cellspacing="0" cellpadding="2" border="0"<br />
| style="vertical-align:top;" | __TOC__ <br />
[[Image:ThinkPadDock.jpg|ThinkPad Dock]]<br />
| style="vertical-align:top;" | <div style="margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;"><br />
== IBM ThinkPad Dock ==<br />
The IBM ThinkPad Dock (Model 2631) transforms a regular Thinkpad into a full blown workstation with multiple monitors (PCI video card), higher fidelity audio (PC Card audio), and additional storage [[UltraBay|Ultrabay 2000]]. These expansion features are not supported by all Thinkpads, therefore the Dock does not support as many Thinkpads as the [[ThinkPad Port Replicator|Port Replicator]], [[ThinkPad Port Replicator II|Port Replicator II]] or [[ThinkPad Mini-Dock|Mini-Dock]].<br />
<br />
=== Features ===<br />
* everything the [[ThinkPad Port Replicator]] has<br />
* 1 Full-size, half length PCI card slot<br />
* 2 Type II (or 1 Type III) [[CardBus slot]]<br />
* 1 [[UltraBay|Ultrabay 2000]] slot<br />
<br />
===Pros & Cons===<br />
* Positives: Expansion capability<br />
* Negatives: internal fan is fairly large.<br />
* DVI pass-through and ethernet (RJ45) on the Dock is only supported with select ThinkPads.<br />
* Compatibility: X20/30, T20/30 and A20/30 Series notebooks (does not support the A21e/22e).<br />
* Warranty: One Year<br />
</div><br />
* [ftp://ftp.software.ibm.com/pc/pccbbs/mobiles_pdf/92p1836.pdf ThinkPad Docking Solutions HMM (February 2003)] (248,638 Bytes)<br />
|}<br />
{{gallery_start}}<br />
{{thumb|t30_dock.jpg|T30 docked in a Dock}}<br />
{{thumb|t30_dock-2.jpg|T30 docked in a Dock}}<br />
{{gallery_end}}<br />
<br />
Lenovo (IBM) link to the dock: http://www-307.ibm.com/pc/support/site.wss/MIGR-42164.html<br />
<br />
==IBM part numbers==<br />
* order part number: P/N 02K8660<br />
* FRU part number: P/N 02K8666<br />
* Type: 2631<br />
<br />
==PCI Slot==<br />
Many use the PCI slot for peripherals like secondary video cards, TV tuners, audio cards, etc. This is considered by many to be the highlight of the Dock, and is a feature that few other docks have. The Dock does not support AGP or PCI Express. Potential owners of the Dock are often concerned about compatibility and recommendations of video cards. See the [[#Compatible Video Cards|compatible video cards]] list below for more information.<br />
===Video Cards===<br />
The PCI slot is most often used for installing video cards to allow for multiple monitors. This feature is especially useful for anyone that requires visualizing a large amount of information, including stock brokers, artists, etc. Due to the slow PCI bus, gaming is generally not improved much by external cards.<br />
One of the chief concerns of low profile video cards is whether they support the monitor setup you desire. As more monitors these days are LCDs, quality DVI support is essential. Additional concerns include driver support, ability to hot-swap (add or remove the thinkpad without rebooting), and noise/heat.<br />
====Quality DVI & Widescreen support====<br />
One way to work around the [[Problem with DVI throughput|limitations]] of the docks DVI pass-through port is to use a PCI graphics card which features a PCI port. Note that while this probably will work, the performance of the PCI graphics accellerator will be poor because of the limitations of the interface.<br />
<br />
Also the newest ATI video drivers for both Linux and Windows are known to not have limited resolution support on the external DVI port anymore.<br />
<br />
====Compatible Video Cards====<br />
This is a list of the most popular low-profile PCI video cards used with the IBM ThinkPad Dock.<br />
{| cellpadding="5" border="1"<br />
|- style="text-align:left;"<br />
!Card !! Chipset !! RAM !! Ports !! Max DVI Res !! TDMS !! Cooling !! Compatibility<br />
|-<br />
|3DFuzion GeForce FX 6200<br />
|NVidia GeForce FX 6200<br />
|128 MB DDR<br />
|1x DVI, 1x VGA, 1x TV-Out<br />
|Unknown<br />
|Unknown<br />
|passive<br />
|working<br />
|-<br />
|ATI Radeon 9200<br />
|ATI Radeon 9200<br />
|128 MB DDR<br />
|1x DVI, 1x VGA, 1x TV-Out<br />
|Unknown<br />
|Unknown<br />
|passive<br />
|working<br />
|-<br />
|ATI Technologies Inc 3D Rage II+ 215GTB [Mach64 GTB] (rev 9a)<br />
|<br />
|<br />
|1x VGA<br />
|<br />
|<br />
|passive<br />
|working<!--http://home.arcor.de/leggewie/--><br />
|-<br />
|Gainward Pro 660 TV/DVI<br />
|GeForce FX 5200<br />
|128 MB DDR<br />
|1x DVI, 1x VGA, 1x TV-Out<br />
|Unknown<br />
|Unknown<br />
|passive<br />
|working<br />
|-<br />
|GeForce 4 MX 440<br />
|GeForce 4 MX 440<br />
|64 MB<br />
|1x VGA, 1x T-Out<br />
|Unknown<br />
|Unknown<br />
|passive<br />
|working<br />
|}<br />
<br />
====PCI USB 2.0 Cards====<br />
PCI USB 2.0 card installed in the PCI slot will provide USB 2.0 support to the older systems.<br />
<br />
====PCI FireWire 800 Cards====<br />
PCI FireWire 800 card installed in the PCI slot will provide FireWire and FireWire 800 support to the older systems.<br />
<br />
==Ultrabay 2000==<br />
The ThinkPad Dock has a [[UltraBay|UltraBay 2000]] slot, which is '''not''' hotswap capable.<br />
<br />
The docks IDE interface is a CMD 648, so you should enable the according kernel option (compile it into the kernel if loading as a module doesn't work), 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 />
Under MacOS X x86 10.4.5 having any drives in the [[UltraBay|UltraBay 2000]] slot will result in a kernel crash at boot. Without an [[UltraBay|UltraBay 2000]] device installed it boots correctly.<br />
<br />
==PC Card Slots==<br />
The PC Card slot has been verified to work with a USB 2.0 CardBus card under Fedora Core 5.<br />
The card used to test it is seen as USB Controller: NEC Corporation USB 2.0 (rev 04).<br />
<br />
==Noise & Heat==<br />
Since the ThinkPad Dock is a bit noisy, some people have taken to unplugging the fan inside (or possibly replacing it). While this likely voids your warranty, it may be necessary if you really want it quiet. Adding a PCI card (especially a video card) increases the heat inside the dock, and it may have a fan on board as well, meaning it will increase the noise level. You should take into consideration the noise and heat it may add.<br />
<br />
[[Image:thinkpad_dock_fanconnector.png]] <br />
The connector for the fan is visible, and accessible by removing the PCI bay cover.<br />
<br />
==DVI pass-through==<br />
LCD monitors are getting larger and higher-resolution. Currently, DVI based on 165MHz TDMS transmitters can only (officially) support 1600x1200x32 at 60Hz, which is the resolution of your average 20" non-widescreen LCD. IBM's driver support for this resolution through DVI ports on docks has been inconsistent. Also in Linux you might experience [[Problem with DVI throughput|problems]] even with this resolution and IBM officially states that the pass-through DVI port only supports resolutions up to 1280x1024. Read [[Problem with DVI throughput|our page]] of information on how to solve these troubles.<br />
<br />
{{NOTE|DVI pass-through is only supported in combination with a ThinkPad A20p, A21p, A22p and A31p.}}<br />
<br />
== Supported ThinkPads ==<br />
* {{A20m}}, {{A20p}}, {{A21m}}, {{A21p}}, {{A22m}}, {{A22p}}<br />
* {{A30}}, {{A30p}}, {{A31}}, {{A31p}}<br />
* {{T20}}, {{T21}}, {{T22}}, {{T23}}<br />
* {{T30}}<br />
* {{X20}}, {{X21}}, {{X22}}, {{X23}}, {{X24}}<br />
* {{X30}}, {{X31}}, {{X32}}</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=Installing_Debian_on_a_ThinkPad_T20&diff=31299Installing Debian on a ThinkPad T202007-07-15T06:04:09Z<p>Ddouthitt: expanded link</p>
<hr />
<div>===External Sources===<br />
<br />
*[http://www.spack.org/wiki/ThinkPadT20 Installing Debian 2.2 Linux on A Thinkpad T20] (Debian 2.2 "Potato")<br />
[[Category:Debian]] [[Category:T20]]</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=S3_Savage_IX8&diff=31298S3 Savage IX82007-07-15T05:59:31Z<p>Ddouthitt: /* ThinkPad LCD */</p>
<hr />
<div>__NOTOC__<br />
{| width="100%"<br />
|style="vertical-align:top" |<br />
<div style="margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;"><br />
=== S3 Savage IX8 or IX8+===<br />
This is a S3 video adapter<br><br />
S3 is now owned by Via Technologies<br />
<br />
The IX8 and IX8+ chips share the same PCI-ID<br />
<br />
=== Features ===<br />
* Chipset: S3<br />
* PCI ID: 5333:8c12<br />
* AGP 2X<br />
* 8MB SGRAM video memory<br />
</div><br />
|style="vertical-align:top" |<br />
|}<br />
<br />
=== Linux X.Org driver ===<br />
This chip is supported by the '[[savage]]' driver as part of the X.Org distribution.<br />
<br />
==== ThinkPad LCD ====<br />
Display on the internal LCD works as long as you set the monitor settings correctly. The driver does not appear<br />
to support [[DPMS]] on the internal LCD, so it is necessary to make sure that horizontal sync and vertical refresh settings are included in the "Monitor" section of xorg.conf.<br />
<br />
HorizSync 31.5 - 48.5<br />
VertRefresh 50-70<br />
<br />
==== External VGA port ====<br />
Works. {{key|Fn}}-{{Key|F7}} switches between LCD and CRT. To use both, use [http://www.probo.com/timr/savage40.html s3switch] (on some models you need to run "'''s3switch lcd crt tv'''" even if you want only CRT and LCD, otherwise the CRT display is corrupted). You can also use [[ibm-acpi]] to control video output by echoing commands to {{path|/proc/acpi/ibm/video}}.<br />
<br />
==== SVideo port ====<br />
Works. Use [http://www.probo.com/timr/savage40.html s3switch] to change display output in software.<br />
<br />
=== Linux kernel Framebuffer driver ===<br />
This chip will work with either the 'vesa' or 'savagefb' driver as part of any recent 2.4 or 2.6 kernel.<br />
<br />
==== Dual Monitor Tip ====<br />
The chip supports using an external monitor plus the LCD as one big monitor. This can lead to a problem<br />
if X is configured for this, but the external monitor has been detached. This creates a ghost monitor that you <br />
cannot see, but can move the mouse onto and applications can open windows on.<br />
<br />
Sometimes in this situation it's necessary to grab a window from the ghost monitor and drag it into view.<br />
This can be done by moving the mouse onto the ghost screen and then holding down the ALT key, which allows you<br />
to click-and-drag a window back into view. To see what is on the ghost monitor, a screen capture utility like<br />
Ksnapshot can help you. When it takes a screenshot of the entire screen, it will show the contents of the ghost<br />
screen, even though you can't see it directly.<br />
<br />
=== Quirks ===<br />
==== Power Management and savagefb ====<br />
The savagefb appears to interfere with acpi sleep. (tested on 2.6 kernels up to 2.6.12) There are also some display problems with savagefb including limiting boot text to a 800x600 window centered in a 1024x768 display and problems with libdirectfb. For those reasons, vesafb is recommended as the framebuffer driver.<br /><br />
The 800x600 boot-text problem can be resolved by altering the savagefb.c (pre-2.6.20) or savagefb_driver.c (2.6.20 and later) and then recompiling the Kernel or the respective module. To do that, open the savagefb_driver.c, for example under ''<Kernel Root>/drivers/video/savage'' in the 2.6.20 release. Now, locate the following function:<br />
<pre>static struct fb_var_screeninfo __devinitdata savagefb_var800x600x8 = {<br />
.accel_flags = FB_ACCELF_TEXT,<br />
.xres = 800,<br />
.yres = 600,<br />
.xres_virtual = 800,<br />
.yres_virtual = 600,<br />
.bits_per_pixel = 8,<br />
.pixclock = 25000,<br />
.left_margin = 88,<br />
.right_margin = 40,<br />
.upper_margin = 23,<br />
.lower_margin = 1,<br />
.hsync_len = 128,<br />
.vsync_len = 4,<br />
.sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,<br />
.vmode = FB_VMODE_NONINTERLACED<br />
};</pre><br />
<br />
Alter the lines ''.xres'', ''.yres'', ''.xres_virtual'' and ''.yres_virtual'' to reflect your chosen resolution. Recompile and reinstall the Kernel, reboot or reload the module and the savagefb should use the new resolution.<br />
<br />
==== Video-related System Lockups ====<br />
Some quirks in the interactions between the OS and the Savage hardware can cause system lockups, especially due to high video load and 3D rendering operations. For a more complete description of this problem and the workarounds, see the [[Problem with video related system lockup]] page.<br />
<br />
==== The Black 'X' (old X pointer) Problem ====<br />
On some systems a black 'X' (which is actually the old default XFree86 pointer) appears frozen in the middle of the screen inside of X Windows. This problem can be remedied by setting<br />
<br />
Option "SWCursor" "on"<br />
<br />
in xorg.conf. Also see the [[Problem with black X]] page for more information.<br />
<br />
==== 3D Acceleration Quirks ====<br />
If 3D acceleration is not working on your system (after installing the DRM savage module), or 3D programs are exhibiting strange behavior, one of the following changes may fix the problem. First, most Savage chips do not have enough video memory to support 3D textures and acceleration with a frame buffer depth of 24 bits. Therefore, you may need to change "DefaultDepth 24" to "DefaultDepth 16" in the "Screen" section of xorg.conf (and of course provide the appropriate subsection for 16 bit depth if it is not present). Also, adding one of both of the following configuration options to the "Device" section of your xorg.conf may solve the video quirks (also explained in the [[Problem with video related system lockup|video related system lockup]] page)<br />
<br />
Option "BusType" "PCI"<br />
Option "DmaMode" "None"<br />
<br />
On Debian based systems you need the package '''libgl1-mesa-dri''' to enable 3d acceleration. Deborphan may decide it is just a futile library, but that is false.<br />
<br />
=== ThinkPads this chip may be found in ===<br />
* {{A22e}}<br />
* {{T20}}, {{T21}}, {{T22}}<br />
<br />
[[Category:Components]]</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=Installing_SUSE_Linux_on_a_ThinkPad_T20&diff=31297Installing SUSE Linux on a ThinkPad T202007-07-15T05:58:16Z<p>Ddouthitt: /* External Sources */ changed from dead link to archive</p>
<hr />
<div>==External Sources==<br />
<br />
*[http://web.archive.org/web/20070129061051/http://www.kristofferk.com/linux/suseandt20.html Installing SUSE 8.2 on a Thinkpad T20] (from Internet Archive)<br />
[[Category:SUSE]]<br />
[[Category:T20]]</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=S3_Savage_IX8&diff=31296S3 Savage IX82007-07-15T05:52:20Z<p>Ddouthitt: /* External VGA port */</p>
<hr />
<div>__NOTOC__<br />
{| width="100%"<br />
|style="vertical-align:top" |<br />
<div style="margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;"><br />
=== S3 Savage IX8 or IX8+===<br />
This is a S3 video adapter<br><br />
S3 is now owned by Via Technologies<br />
<br />
The IX8 and IX8+ chips share the same PCI-ID<br />
<br />
=== Features ===<br />
* Chipset: S3<br />
* PCI ID: 5333:8c12<br />
* AGP 2X<br />
* 8MB SGRAM video memory<br />
</div><br />
|style="vertical-align:top" |<br />
|}<br />
<br />
=== Linux X.Org driver ===<br />
This chip is supported by the '[[savage]]' driver as part of the X.Org distribution.<br />
<br />
==== ThinkPad LCD ====<br />
Display on the internal LCD works as long as you set the monitor settings correctly. The driver does not appear<br />
to support [DPMS] on the internal LCD, so it is necessary to make sure that horizontal sync and vertical refresh settings are included in the "Monitor" section of xorg.conf.<br />
<br />
HorizSync 31.5 - 48.5<br />
VertRefresh 50-70<br />
<br />
==== External VGA port ====<br />
Works. {{key|Fn}}-{{Key|F7}} switches between LCD and CRT. To use both, use [http://www.probo.com/timr/savage40.html s3switch] (on some models you need to run "'''s3switch lcd crt tv'''" even if you want only CRT and LCD, otherwise the CRT display is corrupted). You can also use [[ibm-acpi]] to control video output by echoing commands to {{path|/proc/acpi/ibm/video}}.<br />
<br />
==== SVideo port ====<br />
Works. Use [http://www.probo.com/timr/savage40.html s3switch] to change display output in software.<br />
<br />
=== Linux kernel Framebuffer driver ===<br />
This chip will work with either the 'vesa' or 'savagefb' driver as part of any recent 2.4 or 2.6 kernel.<br />
<br />
==== Dual Monitor Tip ====<br />
The chip supports using an external monitor plus the LCD as one big monitor. This can lead to a problem<br />
if X is configured for this, but the external monitor has been detached. This creates a ghost monitor that you <br />
cannot see, but can move the mouse onto and applications can open windows on.<br />
<br />
Sometimes in this situation it's necessary to grab a window from the ghost monitor and drag it into view.<br />
This can be done by moving the mouse onto the ghost screen and then holding down the ALT key, which allows you<br />
to click-and-drag a window back into view. To see what is on the ghost monitor, a screen capture utility like<br />
Ksnapshot can help you. When it takes a screenshot of the entire screen, it will show the contents of the ghost<br />
screen, even though you can't see it directly.<br />
<br />
=== Quirks ===<br />
==== Power Management and savagefb ====<br />
The savagefb appears to interfere with acpi sleep. (tested on 2.6 kernels up to 2.6.12) There are also some display problems with savagefb including limiting boot text to a 800x600 window centered in a 1024x768 display and problems with libdirectfb. For those reasons, vesafb is recommended as the framebuffer driver.<br /><br />
The 800x600 boot-text problem can be resolved by altering the savagefb.c (pre-2.6.20) or savagefb_driver.c (2.6.20 and later) and then recompiling the Kernel or the respective module. To do that, open the savagefb_driver.c, for example under ''<Kernel Root>/drivers/video/savage'' in the 2.6.20 release. Now, locate the following function:<br />
<pre>static struct fb_var_screeninfo __devinitdata savagefb_var800x600x8 = {<br />
.accel_flags = FB_ACCELF_TEXT,<br />
.xres = 800,<br />
.yres = 600,<br />
.xres_virtual = 800,<br />
.yres_virtual = 600,<br />
.bits_per_pixel = 8,<br />
.pixclock = 25000,<br />
.left_margin = 88,<br />
.right_margin = 40,<br />
.upper_margin = 23,<br />
.lower_margin = 1,<br />
.hsync_len = 128,<br />
.vsync_len = 4,<br />
.sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,<br />
.vmode = FB_VMODE_NONINTERLACED<br />
};</pre><br />
<br />
Alter the lines ''.xres'', ''.yres'', ''.xres_virtual'' and ''.yres_virtual'' to reflect your chosen resolution. Recompile and reinstall the Kernel, reboot or reload the module and the savagefb should use the new resolution.<br />
<br />
==== Video-related System Lockups ====<br />
Some quirks in the interactions between the OS and the Savage hardware can cause system lockups, especially due to high video load and 3D rendering operations. For a more complete description of this problem and the workarounds, see the [[Problem with video related system lockup]] page.<br />
<br />
==== The Black 'X' (old X pointer) Problem ====<br />
On some systems a black 'X' (which is actually the old default XFree86 pointer) appears frozen in the middle of the screen inside of X Windows. This problem can be remedied by setting<br />
<br />
Option "SWCursor" "on"<br />
<br />
in xorg.conf. Also see the [[Problem with black X]] page for more information.<br />
<br />
==== 3D Acceleration Quirks ====<br />
If 3D acceleration is not working on your system (after installing the DRM savage module), or 3D programs are exhibiting strange behavior, one of the following changes may fix the problem. First, most Savage chips do not have enough video memory to support 3D textures and acceleration with a frame buffer depth of 24 bits. Therefore, you may need to change "DefaultDepth 24" to "DefaultDepth 16" in the "Screen" section of xorg.conf (and of course provide the appropriate subsection for 16 bit depth if it is not present). Also, adding one of both of the following configuration options to the "Device" section of your xorg.conf may solve the video quirks (also explained in the [[Problem with video related system lockup|video related system lockup]] page)<br />
<br />
Option "BusType" "PCI"<br />
Option "DmaMode" "None"<br />
<br />
On Debian based systems you need the package '''libgl1-mesa-dri''' to enable 3d acceleration. Deborphan may decide it is just a futile library, but that is false.<br />
<br />
=== ThinkPads this chip may be found in ===<br />
* {{A22e}}<br />
* {{T20}}, {{T21}}, {{T22}}<br />
<br />
[[Category:Components]]</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_on_a_ThinkPad_T20&diff=31295Installing Ubuntu on a ThinkPad T202007-07-15T05:50:00Z<p>Ddouthitt: /* External Resources */ corrected category syntax</p>
<hr />
<div>== Ubuntu 7.04, Feisty Fawn ==<br />
<br />
Feisty reportedly [http://ubuntuforums.org/showthread.php?t=411498 works well on the T20].<br />
<br />
Whether you install or upgrade, you will need to [[#Suspend_and_Hibernate_with_ACPI|force ACPI to be turned on]].<br />
<br />
See Video section below to fix video problems. Desktop effects don't work. TORCS, ppracer and Actioncube work well. <br />
<br />
The Belkin wireless adapter listed below does not seem to work "out of the box" with Feisty. It gets stuck on authenticating (at least with WEP). <br />
<br />
Some of the other notes from below may apply.<br />
<br />
===My experience with T20 and Ubuntu===<br />
<br />
My Install of Feisty required the alternate CD, as the liveCD was unable to start X (blank screen, even using 'safe graphics mode'<br />
After alternate installation finished, it still wouldn't load (a bug with S3 Savage drivers), so I needed to use grub to go into 'recovery mode'. From the prompt it eventually gives you, I used `nano -w /etc/X11/xorg.conf`, Found the section for 'Device'. (shown below, it may have more items) It said "savage", changed it to "vesa". This is one of several workarounds, but seems the most successful. N.B. This will disable Direct Rendering / OpenGL acceleration.<br />
<br />
Section "Device"<br />
Identifier "S3 Inc. 86C270-294 Savage/IX-MV"<br />
Driver "savage"<br />
BusID "PCI:1:0:0"<br />
EndSection<br />
<br />
See Video section below for a fix that is known to work (at least on one T20 model).<br />
<br />
For more info, and other workarounds/fixes, check out:<br />
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-savage/+bug/33617<br />
<br />
== Ubuntu 6.10, Edgy Eft ==<br />
<br />
=== Blank Screen when booting Live CD ===<br />
There is an issue with the Savage driver which makes the initial boot into X hang. <br />
<br />
1. Hit F6 on the boot menu, delete "quiet splash" from the boot parameter line, and add "break=bottom".<br />
<br />
2. After a while you will get a prompt (initramfs), type "chroot /root nano -w /etc/X11/xorg.conf".<br />
<br />
3. Find your video card, and change driver "savage" to "vesa".<br />
<br />
4. Save (ctrl+w), exit nano (ctrl+x), then press ctrl+d.<br />
<br />
5. After that the live cd will work<br />
<br />
This is most likely the same issue as gdm hanging on start. See Video section below for a fix that is known to work (at least on one T20 model).<br />
<br />
Howto with screenshots [https://wiki.ubuntu.com/EdgyKnownIssues/59618 Ubuntu Wiki]<br />
<br />
=== Using APM to Suspend ===<br />
<br />
To enable APM when booting the Live/Install CD, add these boot options:<br />
<br />
`noacpi acpi=off apm=on`<br />
<br />
After booting, `Fn-F4` will still only put the command in a standby state, but<br />
using `apm --suspend` on the command line will successfully suspend machine, and it resumes as well.<br />
<br />
Another user reports that APM leads to a unsuccessful shutdown, hanging on the last splash screen.<br />
<br />
=== Suspend and Hibernate with ACPI ===<br />
<br />
ACPI is a newer and preferred alternative to APM. On the T20 it necessary to force the use of ACPI, using <br />
the following instructions.<br />
<br />
gksudo gedit /boot/grub/menu.lst<br />
<br />
Look for an uncommented line starting with "kernel" and add "acpi=force" to the end of the line. There should be<br />
a "title" line above describing the default kernel that usually boots. Making the change for just the default kernel should be sufficient. <br />
<br />
Once the file has been re-saved, you can re-install the bootloader. The command for that is:<br />
<br />
sudo grub-install /dev/hda<br />
<br />
'''NOTE''': This assumes your hard drive is at /dev/hda. Use "df" to see your hard drive names if you are not sure. <br />
This operation can potentially make your computer unbootable if there are mistakes, so be careful! (Of course, even if the hard drive became unbootable, you could most likely boot off a CD and fix it. )<br />
<br />
==== Fixing Sound-After-Suspend ====<br />
<br />
Sound doesn't work after a suspend/resume cycle without some help. This is due to [https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/11149 a bug in the sound card driver]. Until that's fixed, a workaround is available.<br />
<br />
Install the files available here:<br />
*https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/11149/comments/6<br />
*https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/11149/comments/7<br />
<br />
They automatically kill all sound applications when resuming, and then restart them. Be sure to save<br />
your playlists, etc., before you suspend!<br />
<br />
In `/etc/default/acpi-support` adjust the following values:<br />
<br />
MODULES="sb uart401 sound soundcore maestro cs4281 snd-cs46xx"<br />
RESTART_IRDA=true<br />
RESTORE_SOUND=true<br />
<br />
==== Suspend while using the LiveCD ====<br />
<br />
''ACPI Suspend does not work on the LiveCD. `gnome-power-manager` logs to `/var/log/messages` that is beginning to suspend, but nothing happens. This looks like it might be a [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/50031 known bug] in Ubuntu.''<br />
<br />
==== Getting rid of the password upon resuming ====<br />
<br />
If you don't want the password prompt when resuming, Use "Alt-F2" to open the run box<br />
and type `gconf-editor`. Navigate to "apps / gnome-power-manager ". Browse the options that start with "lock". Each has a description to read. While it's possible to directly disable the password prompt here, consider setting `lock_use_screensaver_settings`. Then, you can control the option through "System : Preferences : Screensaver", and you won't have to use gconf-editor in the future.<br />
<br />
=== Special Key Support ===<br />
<br />
The light and brightness keys work as expected. The volume and brightness keys have some on-screen visuals that automatically<br />
appear to illustrate them, using graphics that match the current theme. Rather nice!<br />
<br />
=== Video ===<br />
<br />
Edgy: Direct rendering / GL acceleration works with the following xorg.conf changes. Use "PCI" in BIOS rather than AGP. I removed all modes apart from 1024x768. ppracer plays well at c. 10fps with all the eye candy on.<br />
<br />
Feisty: On the 2647-21G model, with default BIOS settings, the following changes to xorg.conf work with Direct Rendering enabled and fix the gdm blank screen issue (see above). I have confirmed this over a few months of trouble free operation with and without the dock.<br />
<br />
Driver "savage"<br />
BusID "PCI:1:0:0"<br />
Option "SWCursor" "on"<br />
Option "ShadowStatus" "on"<br />
Option "DMAMode" "Vertex"<br />
Option "DmaType" "PCI"<br />
Option "BusType" "PCI"<br />
<br />
HorizSync 28-51<br />
VertRefresh 43-60<br />
<br />
Have to set DefaultColorDepth to 16 in section Screen, otherwise, the memory card won't have enough memory to do acceleration.<br />
<br />
Make sure the package libgl1-mesa-dri is installed. Deborphan may decide it is just a futile library, but that is false.<br />
<br />
=== Wireless ===<br />
<br />
Ubuntu has a great wireless networking tool that is not installed by default in Breezy or Edgy but is installed by default in Feisty. <br />
<br />
sudo apt-get install network-manager network-manager-gnome<br />
<br />
To launch the applet: {{key|Alt}}-{{key|F2}} and then <tt>nm-applet</tt>.<br />
<br />
A networking applet should appear that you can click on to browse wireless networks and connect to them.<br />
<br />
You may also want install <tt>network-manager-pptp</tt> which is a plugin for the system which makes it easy<br />
to connect to PPTP-based VPN networks. <br />
<br />
==== Confirmed compatible wireless cards ====<br />
<br />
The Orinico Gold card works great with no configuration at all. They may be sold branded as<br />
Lucent or 2wire. These cards can be found for around US $30. Be aware that they may support WEP<br />
but not WPA, which is considered more secure and required in some cases. <br />
<br />
The Belkin f5d7050 Wireless 802.11g USB adaptor (version 3) works under Edgy. The procedure is essentially to install the <tt>ndiswrapper-1.8</tt> and work through [https://help.ubuntu.com/community/WifiDocs/WirelessTroubleShootingGuide WirelessTroubleShootingGuide] at the Ubuntu Community pages.<br />
<br />
=== DVDs ===<br />
<br />
DVDs play great once you've installed all the missing multimedia plugins. Use the [https://help.ubuntu.com/community/MultimediaApplications MultimediaApplications] page at the Ubuntu Community pages and follow the links to the ''freeformats'' and ''restrictedformats'' pages.<br />
<br />
=== Sound ===<br />
<br />
Processor frequency scaling causes interruptions in sound output. To avoid this, disable scaling by removing the service powernowd (System > Administration > Service ...). This may reduce your run time on battery as a trade-off.<br />
<br />
If sound appears disorted after resuming, check your mixer settings. From the volume icon in the dock, you can right click and select "Open Volume Control". Check if "PCM" is all the way up. Turn it down some to reduce the distortion.<br />
<br />
=== Software memory requirements ===<br />
<br />
Here are some test results from trying software with Ubuntu on this model. <br />
<br />
*OpenOffice - OK with 128Mb<br />
*Eclipse - 128Mb is not enough, 384Mb is OK<br />
<br />
== Ubuntu 6.06 LTS, Dapper Drake ==<br />
<br />
When booting the Live/Install CD, adjust the boot options to add the following parameters:<br />
<br />
noacpi acpi=off apm=on<br />
<br />
Sometimes the CD may stall on boot with a blank black screen. Trying again with "Safe Graphics" <br />
mode may help, but is no guarantee that it will work. Best way is to follow the same procedure as for Ubuntu 6.10, i.e., use the alternate install CD.<br />
<br />
Once booted, suspend and resume using {{key|Fn}}-{{key|F4}} was successfully tested running from the LiveCD. <br />
However, in at least a couple of cases, the Live CD froze at seemingly random points shortly<br />
after resuming. <br />
<br />
'''Results from a complete install still need to be documented.'''<br />
<br />
== See Also ==<br />
<br />
Because the T20 and T21 models are so similar, the instructions describing [[Installing Ubuntu on a ThinkPad T21|installation of Ubunto onto a ThinkPad T21]] may also be helpful.<br />
<br />
== External Resources ==<br />
<br />
*[http://del.icio.us/tags/ubuntu+t20 Bookmarks tagged with Ubuntu and T20] on del.icio.us<br />
*[http://ubuntuforums.org/tags/index.php/t20/ Forum posts tagged with T20] on ubuntuforums.org<br />
[[Category:T20]]<br />
[[Category:Ubuntu]]</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_on_a_ThinkPad_T20&diff=31294Installing Ubuntu on a ThinkPad T202007-07-15T05:48:39Z<p>Ddouthitt: /* Ubuntu 7.04, Feisty Fawn */</p>
<hr />
<div>== Ubuntu 7.04, Feisty Fawn ==<br />
<br />
Feisty reportedly [http://ubuntuforums.org/showthread.php?t=411498 works well on the T20].<br />
<br />
Whether you install or upgrade, you will need to [[#Suspend_and_Hibernate_with_ACPI|force ACPI to be turned on]].<br />
<br />
See Video section below to fix video problems. Desktop effects don't work. TORCS, ppracer and Actioncube work well. <br />
<br />
The Belkin wireless adapter listed below does not seem to work "out of the box" with Feisty. It gets stuck on authenticating (at least with WEP). <br />
<br />
Some of the other notes from below may apply.<br />
<br />
===My experience with T20 and Ubuntu===<br />
<br />
My Install of Feisty required the alternate CD, as the liveCD was unable to start X (blank screen, even using 'safe graphics mode'<br />
After alternate installation finished, it still wouldn't load (a bug with S3 Savage drivers), so I needed to use grub to go into 'recovery mode'. From the prompt it eventually gives you, I used `nano -w /etc/X11/xorg.conf`, Found the section for 'Device'. (shown below, it may have more items) It said "savage", changed it to "vesa". This is one of several workarounds, but seems the most successful. N.B. This will disable Direct Rendering / OpenGL acceleration.<br />
<br />
Section "Device"<br />
Identifier "S3 Inc. 86C270-294 Savage/IX-MV"<br />
Driver "savage"<br />
BusID "PCI:1:0:0"<br />
EndSection<br />
<br />
See Video section below for a fix that is known to work (at least on one T20 model).<br />
<br />
For more info, and other workarounds/fixes, check out:<br />
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-savage/+bug/33617<br />
<br />
== Ubuntu 6.10, Edgy Eft ==<br />
<br />
=== Blank Screen when booting Live CD ===<br />
There is an issue with the Savage driver which makes the initial boot into X hang. <br />
<br />
1. Hit F6 on the boot menu, delete "quiet splash" from the boot parameter line, and add "break=bottom".<br />
<br />
2. After a while you will get a prompt (initramfs), type "chroot /root nano -w /etc/X11/xorg.conf".<br />
<br />
3. Find your video card, and change driver "savage" to "vesa".<br />
<br />
4. Save (ctrl+w), exit nano (ctrl+x), then press ctrl+d.<br />
<br />
5. After that the live cd will work<br />
<br />
This is most likely the same issue as gdm hanging on start. See Video section below for a fix that is known to work (at least on one T20 model).<br />
<br />
Howto with screenshots [https://wiki.ubuntu.com/EdgyKnownIssues/59618 Ubuntu Wiki]<br />
<br />
=== Using APM to Suspend ===<br />
<br />
To enable APM when booting the Live/Install CD, add these boot options:<br />
<br />
`noacpi acpi=off apm=on`<br />
<br />
After booting, `Fn-F4` will still only put the command in a standby state, but<br />
using `apm --suspend` on the command line will successfully suspend machine, and it resumes as well.<br />
<br />
Another user reports that APM leads to a unsuccessful shutdown, hanging on the last splash screen.<br />
<br />
=== Suspend and Hibernate with ACPI ===<br />
<br />
ACPI is a newer and preferred alternative to APM. On the T20 it necessary to force the use of ACPI, using <br />
the following instructions.<br />
<br />
gksudo gedit /boot/grub/menu.lst<br />
<br />
Look for an uncommented line starting with "kernel" and add "acpi=force" to the end of the line. There should be<br />
a "title" line above describing the default kernel that usually boots. Making the change for just the default kernel should be sufficient. <br />
<br />
Once the file has been re-saved, you can re-install the bootloader. The command for that is:<br />
<br />
sudo grub-install /dev/hda<br />
<br />
'''NOTE''': This assumes your hard drive is at /dev/hda. Use "df" to see your hard drive names if you are not sure. <br />
This operation can potentially make your computer unbootable if there are mistakes, so be careful! (Of course, even if the hard drive became unbootable, you could most likely boot off a CD and fix it. )<br />
<br />
==== Fixing Sound-After-Suspend ====<br />
<br />
Sound doesn't work after a suspend/resume cycle without some help. This is due to [https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/11149 a bug in the sound card driver]. Until that's fixed, a workaround is available.<br />
<br />
Install the files available here:<br />
*https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/11149/comments/6<br />
*https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/11149/comments/7<br />
<br />
They automatically kill all sound applications when resuming, and then restart them. Be sure to save<br />
your playlists, etc., before you suspend!<br />
<br />
In `/etc/default/acpi-support` adjust the following values:<br />
<br />
MODULES="sb uart401 sound soundcore maestro cs4281 snd-cs46xx"<br />
RESTART_IRDA=true<br />
RESTORE_SOUND=true<br />
<br />
==== Suspend while using the LiveCD ====<br />
<br />
''ACPI Suspend does not work on the LiveCD. `gnome-power-manager` logs to `/var/log/messages` that is beginning to suspend, but nothing happens. This looks like it might be a [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/50031 known bug] in Ubuntu.''<br />
<br />
==== Getting rid of the password upon resuming ====<br />
<br />
If you don't want the password prompt when resuming, Use "Alt-F2" to open the run box<br />
and type `gconf-editor`. Navigate to "apps / gnome-power-manager ". Browse the options that start with "lock". Each has a description to read. While it's possible to directly disable the password prompt here, consider setting `lock_use_screensaver_settings`. Then, you can control the option through "System : Preferences : Screensaver", and you won't have to use gconf-editor in the future.<br />
<br />
=== Special Key Support ===<br />
<br />
The light and brightness keys work as expected. The volume and brightness keys have some on-screen visuals that automatically<br />
appear to illustrate them, using graphics that match the current theme. Rather nice!<br />
<br />
=== Video ===<br />
<br />
Edgy: Direct rendering / GL acceleration works with the following xorg.conf changes. Use "PCI" in BIOS rather than AGP. I removed all modes apart from 1024x768. ppracer plays well at c. 10fps with all the eye candy on.<br />
<br />
Feisty: On the 2647-21G model, with default BIOS settings, the following changes to xorg.conf work with Direct Rendering enabled and fix the gdm blank screen issue (see above). I have confirmed this over a few months of trouble free operation with and without the dock.<br />
<br />
Driver "savage"<br />
BusID "PCI:1:0:0"<br />
Option "SWCursor" "on"<br />
Option "ShadowStatus" "on"<br />
Option "DMAMode" "Vertex"<br />
Option "DmaType" "PCI"<br />
Option "BusType" "PCI"<br />
<br />
HorizSync 28-51<br />
VertRefresh 43-60<br />
<br />
Have to set DefaultColorDepth to 16 in section Screen, otherwise, the memory card won't have enough memory to do acceleration.<br />
<br />
Make sure the package libgl1-mesa-dri is installed. Deborphan may decide it is just a futile library, but that is false.<br />
<br />
=== Wireless ===<br />
<br />
Ubuntu has a great wireless networking tool that is not installed by default in Breezy or Edgy but is installed by default in Feisty. <br />
<br />
sudo apt-get install network-manager network-manager-gnome<br />
<br />
To launch the applet: {{key|Alt}}-{{key|F2}} and then <tt>nm-applet</tt>.<br />
<br />
A networking applet should appear that you can click on to browse wireless networks and connect to them.<br />
<br />
You may also want install <tt>network-manager-pptp</tt> which is a plugin for the system which makes it easy<br />
to connect to PPTP-based VPN networks. <br />
<br />
==== Confirmed compatible wireless cards ====<br />
<br />
The Orinico Gold card works great with no configuration at all. They may be sold branded as<br />
Lucent or 2wire. These cards can be found for around US $30. Be aware that they may support WEP<br />
but not WPA, which is considered more secure and required in some cases. <br />
<br />
The Belkin f5d7050 Wireless 802.11g USB adaptor (version 3) works under Edgy. The procedure is essentially to install the <tt>ndiswrapper-1.8</tt> and work through [https://help.ubuntu.com/community/WifiDocs/WirelessTroubleShootingGuide WirelessTroubleShootingGuide] at the Ubuntu Community pages.<br />
<br />
=== DVDs ===<br />
<br />
DVDs play great once you've installed all the missing multimedia plugins. Use the [https://help.ubuntu.com/community/MultimediaApplications MultimediaApplications] page at the Ubuntu Community pages and follow the links to the ''freeformats'' and ''restrictedformats'' pages.<br />
<br />
=== Sound ===<br />
<br />
Processor frequency scaling causes interruptions in sound output. To avoid this, disable scaling by removing the service powernowd (System > Administration > Service ...). This may reduce your run time on battery as a trade-off.<br />
<br />
If sound appears disorted after resuming, check your mixer settings. From the volume icon in the dock, you can right click and select "Open Volume Control". Check if "PCM" is all the way up. Turn it down some to reduce the distortion.<br />
<br />
=== Software memory requirements ===<br />
<br />
Here are some test results from trying software with Ubuntu on this model. <br />
<br />
*OpenOffice - OK with 128Mb<br />
*Eclipse - 128Mb is not enough, 384Mb is OK<br />
<br />
== Ubuntu 6.06 LTS, Dapper Drake ==<br />
<br />
When booting the Live/Install CD, adjust the boot options to add the following parameters:<br />
<br />
noacpi acpi=off apm=on<br />
<br />
Sometimes the CD may stall on boot with a blank black screen. Trying again with "Safe Graphics" <br />
mode may help, but is no guarantee that it will work. Best way is to follow the same procedure as for Ubuntu 6.10, i.e., use the alternate install CD.<br />
<br />
Once booted, suspend and resume using {{key|Fn}}-{{key|F4}} was successfully tested running from the LiveCD. <br />
However, in at least a couple of cases, the Live CD froze at seemingly random points shortly<br />
after resuming. <br />
<br />
'''Results from a complete install still need to be documented.'''<br />
<br />
== See Also ==<br />
<br />
Because the T20 and T21 models are so similar, the instructions describing [[Installing Ubuntu on a ThinkPad T21|installation of Ubunto onto a ThinkPad T21]] may also be helpful.<br />
<br />
== External Resources ==<br />
<br />
*[http://del.icio.us/tags/ubuntu+t20 Bookmarks tagged with Ubuntu and T20] on del.icio.us<br />
*[http://ubuntuforums.org/tags/index.php/t20/ Forum posts tagged with T20] on ubuntuforums.org<br />
{{T20}} {{Ubuntu}}</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=Category:T_Series&diff=31293Category:T Series2007-07-15T05:45:35Z<p>Ddouthitt: /* ThinkPad T4x series */ spell fixes; syntax fixes</p>
<hr />
<div>=ThinkPad T series=<br />
As the successor of the [[ThinkPad_series#ThinkPad_600_series|600 series]], the T series became IBM mobile productivity line. Usually leading the ThinkPad range in technology, innovation and price, the T series was intended for the travelling businessman - comparatively more stylish, functional, and rugged machines; and easy to disassemble for repair or upgrades. T series ThinkPads are clad in black non-slip rubber with embedded glitter. The case lid has tabs along the edge that interlocks with depressions in the lower case when closed, to reduce case flexing. <br />
<br />
==ThinkPad T2x series==<br />
The ThinkPad T2x models ([[:Category:T20|T20]], [[:Category:T21|T21]], [[:Category:T22|T22]], [[:Category:T23|T23]]) were [[Intel Mobile Pentium III-M]] based, sub-5 lb (2.3 kg) class machines. These machines typically had 14.1 inch XGA screens, S3 Savage graphics chips and Cirrus Logic sound chips. The T2x series introduced the [[UltraBay|UltraBay 2000]] optical drive bay and titanium-reinforced screen lids. With the T23, an internal WiFi antenna became available, so WiFi miniPCI cards could be used. Also the T23 was the first ThinkPad featuring an [[UltraBay|UltraBay Plus]] drive and [[Embedded Security Subsystem]].<br />
<br />
==ThinkPad T3x series==<br />
The T3x series only saw one model, the [[:Category:T30|T30]]. Powered by a [[Intel Mobile Pentium 4-M]] and a Radeon 7500 graphics chip with 16&nbsp;MB of discrete video memory, the T30 was available with 14.1 inch XGA or SXGA screens. The T30 introduced the [[UltraNav]] touchpad and integrated Bluetooth among ThinkPads. Other features include the [[Embedded Security Subsystem]], [[UltraBay|Ultrabay Plus]] drive, integrated Wireless LAN. The shell is titanium reinforced composite. The whole package was a bit heavier and thicker than both the T2x and the T4x series.<br />
<br />
==ThinkPad T4x series==<br />
Includes the T40, T41, T42, T43, and associated "p" series (for "performance"; e.g., T43p). A typical T4x weighs 2.2 kg (4.9 lb), slightly less than the 600 series, and features an [[Intel Pentium M (Dothan)]] Processor, a 14.1 or 15 inch LCD (XGA or SXGA+), an integrated GPU (Intel Graphics Media Adapter 900) or a discrete GPU (Radeon 7500, 9000, Fire GL 9000, 9600, Fire GL T2, X300, and Fire GL V3200), and a hard drive ranging in size from 30 to 100 GB with the Active Protection System to protect the hard drive (T41 and later models). The "p" (mobile workstation) models are also available with a 14" SXGA+ or a 15 inch UXGA FlexView display with wide viewing angle and high density IPS technology with resolutions up to 1600x1200. These 15 inch display models weigh slightly more than their lesser brethren, with optical drive and battery, at 2.7 kg (5.9 lb). Some T42 and T43 models feature a biometric security system with built-in fingerprint reader.<br />
<br />
==ThinkPad T6x series==<br />
ThinkPad [[:Category:T60|T60]] contained the dual core Yonah processor. It was paired <br />
with either a ATI Mobility Radeon x1300 or x1400 or with an ATI FireGL V5200 for the <br />
performance model. The T60 was also the first of it's kind to support Wireless WAN (WWAN) out of the box if the option was selected.<br />
<br />
The ThinkPad [[:Category:T60|T60]] refresh contained the dual core Merom processor. It <br />
gave a processing speed of twenty five percent faster than the Yonah and introduced EM64T <br />
into the mobile realm. It was paired with either a ATI Mobility Radeon x1300 or x1400 or <br />
with an ATI FireGL V5250 for the performance model.<br />
<br />
ThinkPad [[:Category:T61|T61]] features the Santa Rosa chipset, in addition to the <br />
existing Merom processor. The designers found it prudent to move from an ATI based Mobility Radeon to NVIDIA's Quadro NVS series discrete video processors. The move also marked a more <br />
aggressive shift to the wide screen format, all current T61 models only ship with wide screen. In addition, the designers added a Roll Cage for the screen partition to decrease the likelihood of damage in the event of a fall. Finally fan blades were overhauled to decrease fan noise and temperature.<br />
[[Category:Models]]</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=Problems_with_ACPI_suspend-to-ram&diff=31292Problems with ACPI suspend-to-ram2007-07-15T05:42:09Z<p>Ddouthitt: style fix; spellfix</p>
<hr />
<div>The following glitches may or may not occur in relation to suspending to RAM:<br />
<br />
==Troubles on suspend==<br />
;Permissions:If your suspend is failing, and a {{cmdroot|tail /var/log/acpid}} shows "Permission denied" errors, be sure that your new ACPI event and action scripts have the appropriate permissions.<br />
<br />
;Write error:If {{cmdroot|echo mem > /sys/power/state}} shows "write error: Operation not permitted", verify that CONFIG_HOTPLUG_CPU option is enabled in the kernel. [[Software_Suspend_2|Suspend2]] automatically selects this option. <br />
<br />
;Broken sysfs interface:You may experience problems when using {{cmdroot|echo standby > /sys/power/state}} or {{cmdroot|echo mem > /sys/power/state}} (machine goes to sleep and wakes up immediately). This can be avoided by using {{cmdroot|echo -n 3 >/proc/acpi/sleep}} to get it to sleep. This can be also happen if hotplug daemon is still running.<br />
<br />
;Hangs on "switching to UP code":You may be using a [[How to make use of Dynamic Frequency Scaling|frequency scaling governor]] such as "conservative" or "ondemand", which sometimes have problems with suspending. Switching to a governor such as "powersave" or "performance" before suspending may solve this problem.<br />
<br />
;MySQL daemon running:If you're running MySQL, sleep may also not work, so stop MySQL first, then sleep. Remember to restart MySQL when you wakeup.<br />
<br />
;LCD backlight remains on during sleep:When your system is equiped with a Radeon Mobility graphic controller your [[Problem with LCD backlight remaining on during ACPI sleep|LCD backlight may not turn off automatically]]. Use [[radeontool]] to switch off your backlight prior suspend in your sleep action script.<br />
<br />
;High power drain during sleep:Also, you might want to take note of the [[Problem with high power drain in ACPI sleep]].<br />
<br />
;Built-in MMC reader:If you have an MMC reader, and the computer hangs when attempting suspend then remove sdhci, mmc_block, and mmc_core modules before suspending.<br />
<br />
;Could not power down device <NULL>: error -22:If you have the acpi_cpufreq kernel module loaded, this prevents suspension.<br />
<br />
==Troubles on resume==<br />
;Blank display on resume:<br />
:When resuming from a suspend-to-ram the display might remain black (on {{X60}}) or might only show the pre-suspend output (the system is still rebootable via {{key|ctrl}}{{key|alt}}{{key|del}}). See [[Problem with display remaining black after resume]] for solutions. See also '''System hang on resume''' on this page - which may be potentially mismatched with this one.<br />
<br />
;No mouse cursor on resume:<br />
:When resuming from a suspend-to-ram your X cursor might be invisible(on {{X40}}) when using {{path|/sys/power/state}} directly to suspend, they way to fix this is to rerun the post bios code after returning for suspending.<br />
:{{cmdroot|FGCONSOLE<nowiki>=</nowiki>`fgconsole\`}}<br />
:{{cmdroot|chvt 1 && echo -n mem >/sys/power/state}}<br />
:{{cmdroot|vbetool post && chvt 7 && chvt $FGCONSOLE}}<br />
<br />
;Garbage on text consoles on resume:When resuming from suspend-to-ram the text console displays may show garbage instead of actual text. The machine is otherwise still responsive and X displays fine. If all of this is true, then adding the kernel option {{bootparm|acpi_sleep|s3_bios,s3_mode}} in your menu.lst or lilo.conf may solve the problem.<br />
<br />
;Broken hardware support after resume:<br />
:*The '''serial port''' of the port replicator might not work after resume.<br />
:*The '''parallel port''' might not work after resume. A possible fix is to unload and reload the parallel port drivers: {{cmdroot|rmmod lp parport_pc parport; modprobe lp}}.<br />
:*Problems with the '''CD-RW/DVD drive''' after wake up from ram have been experienced.<br />
:*There is a known Problem regarding '''battery info''' after suspend to RAM. A [http://www.ussg.iu.edu/hypermail/linux/kernel/0511.0/2429.html small patch] exists for kernels 2.6.14/2.6.15.<br />
:*On {{X20}} and {{X21}} (and possibly other) models, the '''sleep LED''' is not reset properly on resume and will keep blinking. If you have the [[ibm-acpi]] kernel module loaded with the {{bootparm|ibm-acpi.experimental|1}} option, you can switch it off on resume by appending the following line to your suspend script: {{cmdroot|echo 7 off > /proc/acpi/ibm/led}}<br />
<br />
;Crash on resume:<br />
:*When using '''older ATI proprietary drivers''' a crash on resume can be solved by using [http://freshmeat.net/projects/vbetool/ vbetool]. See the example suspend script [[Problem with display remaining black after resume#Solution for ThinkPads with Intel I830 Chipset]]. This is no longer necessary with recent revisions of the ATI proprietary driver.<br />
:*A crash could also be caused by having '''apic support''' enabled in the kernel config. Try disabling it (in the "Processor type and features" section).<br />
:*On machines with Savage chipsets, the '''savagefb framebuffer driver''' might crash the machine on resume. Make sure it is disabled in your kernel config and use the standard vesafb driver instead.<br />
:*SATA-based laptops utilize the '''libata layer for disk access''' which does not have fully-working power-management support before Linux kernel 2.6.16 (ata_piix) and 2.6.19 (ahci). Suspend to RAM crashes these machines on resume. See the [[Problems with SATA and Linux#Hang on resume from suspend to RAM|relevant section]] on the [[Problems with SATA and Linux]] page.<br />
:*Using [[HDAPS]] as a module causes a crash on resume with the Linux kernel 2.6.19 (possibly even earlier versions). This was observed on a {{X41}}. Try unloading the module before suspending.<br />
:*Gnome-power-manager might be using the wrong backend. If you are able to suspend from the commandline with a certain method, make sure the others are not available so that g-p-m doesn't choose the wrong one. For example, if you suspend with {{cmdroot|echo mem > /sys/power/state}}, make sure '''uswsusp''' and '''hibernate''' are uninstalled.<br />
<br />
;System hang on resume:<br />
:When system resumes it hangs right after restarting tasks. Strange thing is, that you may be even able to restart your ThinkPad using {{key|ctrl}}{{key|alt}}{{key|del}}, but if you try to blindly exec a command, it will not work, (eg. touch FILE) so it's not only the problem of videocard. This may be fixed by passing {{bootparm|ec_intr|0}} on kernel cmdline. Affected models: {{T20,T21}} (at least [[2648-46U]] (T20),[[2647-8AG]] (T21)).<br />
:'''Note:''' ''this is resolved in kernel 2.6.20, there is no need to pass the {{bootparm|ec_intr|0}} bootparam anymore (moreover, you are discouraged to use it) See [http://bugzilla.kernel.org/show_bug.cgi?id=6749 revelant kernel bug report]''<br />
<br />
;Shutdown on resume:<br />
:If your system immediately begins to shut down right after resume, make sure you don't have acpid running with the power button tied to shutdown. The system is simply sensing the power button event and shutting down. This issue has been reported as a bug against the kernel ACPI subsystem, refer to [http://bugzilla.kernel.org/show_bug.cgi?id=6612 kernel.org bugzilla bug #6612].<br />
<br />
;Immediate suspend on resume:<br />
:When running GNOME, sometimes gnome-power-manager will put the system back into suspend immediately after resuming. This is caused by a known bug in HAL that causes some ACPI events to be reported incorrectly after a suspend-to-ram. A simple workaround can be found [http://live.gnome.org/GnomePowerManager/Faq?action=recall&rev=28#head-b8b1280115b0a51c2cc27b13a57121130ebf36cb here].<br />
:Note that suspend being triggered by unrelated ACPI events such as disconnecting the AC adapter may also be fixed by the above method.<br />
<br />
;Power Off when suspended laptop is docked<br />
:When T60p is suspended, docking laptop into Advanced Dock immediately turns off laptop and crescent moon sleep indicator LED. Pressing power button initiates cold boot. Also reported by multiple people on thinkpads.com.<br />
<br />
;SectorIdNotFound disk errors when laptop is resumed<br />
:The errors look like this:<br />
Oct 14 17:35:02 cacharro kernel: hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }<br />
Oct 14 17:35:02 cacharro kernel: hda: dma_intr: error=0x10 { SectorIdNotFound }, LBAsect=115896900, sector=115896900<br />
Oct 14 17:35:02 cacharro kernel: ide: failed opcode was: unknown<br />
<br />
:This happens when you have [[Hidden Protected Area]] (HPA) enabled on the hard drive. There is a [http://bugzilla.kernel.org/show_bug.cgi?id=6840 kernel bug report with an unfinished patch] to fix this. This is not fixed as of kernel 2.16.18.</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=Installation_instructions_for_the_ThinkPad_T61&diff=31291Installation instructions for the ThinkPad T612007-07-15T05:37:33Z<p>Ddouthitt: Wikified link</p>
<hr />
<div>See also: General Thinkpad {{T61}} information and installation notes for the previous {{T60}}.<br />
<br />
==Distribution-specific instructions==<br />
<br />
=== Debian ===<br />
<br />
* {{Install|Debian| Lenny|T61}}<br />
* [http://www.klabs.be/~fpiat/linux/debian/Etch_on_Thinkpad_T61.html Installing Debian/Linux Etch on a Thinkpad T61], 2007-05-22<br />
<br />
=== Ubuntu ===<br />
<br />
* {{Install|Ubuntu| 7.04 (Feisty Fawn)| T61}}<br />
* {{Install|Ubuntu| 7.10 (Gutsy Gibbon) Tribe 2| T61}}<br />
<br />
=== Fedora ===<br />
<br />
* [http://carrot.hep.upenn.edu/wiki/doku.php?id=thinkpad:start Installing Fedora 7 x86_64] on a Thinkpad {{T61}} 15.4" widescreen.<br />
* {{Install|Fedora| 7|T61}}, including Xen.<br />
* Useful forum post on [http://www.fedoraforum.org/forum/showthread.php?t=159516 Fedora 7 x86_64] installation. - Updated 7.8.2007 to include suspend<br />
<br />
=== openSUSE / SUSE LINUX ===<br />
* [[Installing Novell SLED 10sp1 on a Thinkpad T61]]<br />
* [[Installing openSUSE 10.2 on an IBM ThinkPad T61]] - max X resolution in default install is 1024x768<br />
<br />
=== Gentoo ===<br />
* Useful forum post on [http://forums.gentoo.org/viewtopic-t-567773-highlight-.html installation of Gentoo].</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=Maintenance&diff=31290Maintenance2007-07-15T05:21:13Z<p>Ddouthitt: /* External sources */</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 />
Here you can find general hints about keeping your ThinkPad in good shape. Look at your [[:Category:Models|models category page]] for IBMs official maintenance guide for that model.<br />
|}<br />
==Battery treatment==<br />
{| border=1 cellspacing=0 cellpadding=2 style="vertical-align:top;"<br />
|+Battery life expanding guide<br />
|- style="background:#efefef;white-space:nowrap;"<br />
! style="background:#ffdead;" | Battery Type !! NiCd !! NiMH !! Lithium ion<br />
|- style="vertical-align:top;"<br />
! style="background:#ffdead;" | General<br />
|<br />
*always do complete discharge/charge cycles<br />
*avoid exposing the battery (or notebook) to excessive heat<br />
|<br />
*always do complete discharge/charge cycles<br />
*avoid exposing the battery (or notebook) to excessive heat<br />
|<br />
*avoid deep discharges except when resetting fuel gague or reconditioning a battery; partial dis-/recharges are better for the battery lifetime (note: fuel gauge will slowly get inaccurate over time)<br />
*remove battery when on AC (due to heat)<br />
*avoid exposing the battery (or notebook) to excessive heat<br />
|- style="vertical-align:top;"<br />
! style="background:#ffdead;" | Charging<br />
|<br />
*discharge before charging<br />
|<br />
*discharge before charging<br />
|<br />
*avoid charging if battery is nearly full, unless you will need its full capacity soon; keep it on the 30%-85% charged range<br />
*keep notebook off while charging due to heat<br />
*fully discharge, then fully charge battery when needed to recalibrate fuel gauge; newer battery pack models require this less often, old ones might need it as often as every 30 cycles<br />
|- style="vertical-align:top;"<br />
! style="background:#ffdead;" | Storage<br />
| <br />
*almost discharged<br />
*cool and dry<br />
|<br />
*almost discharged<br />
*cool and dry<br />
|<br />
*never fully charged or discharged, ideally at about 40%<br />
*cool and dry, but '''do not freeze''' them. 10-15C is recommended<br />
|}<br />
<br />
===Battery health===<br />
Batteries, especially of the modern Li-Ion type, wear out quicker when they hold a large charge or are subject to higher temperatures (see above).<br />
<br />
If you use your laptop at a desk, reduce battery wear by maintaining an appropriate charge level. When possible, remove Li-ion batteries while operating from AC as the notebook gets hot enough inside for that to damage the battery in the long run, even if charging is stopped.<br />
<br />
On recent ThinkPads, charging thresholds can be configured in the bundled software. Under Linux, this is supported on recent models by the [[tp_smapi]] driver (and even without <tt>tp_smapi</tt>, if you have a dual-boot setup, you can set the thresholds under Windows and they will be remembered as long as you don't power off your machine with AC disconnected; suspend to RAM is OK). Have a look at [[How to use UltraBay batteries]].<br />
<br />
If you have spare Li-ion battery packs, store them at 40% charge in a cool place (15C being a recommended temperature, do not let the batteries freeze). If storing inside a refrigerator, beware of humidity, and be careful with cold spots that can easily freeze the battery if anything goes wrong.<br />
<br />
===The problem with 600 series batteries===<br />
ThinkPad 600 power management causes batteries to die before they should. Read more about this on the [[Problem with ThinkPad 600 batteries|associated problem page]].<br />
<br />
===Reviving batteries===<br />
Some people experience sudden drops in their batteries capacity. A way to get these batteries back to full capacity is to run the "Battery Rundown" function of IBMs "PC Doctor for DOS". The program is downloadable from IBMs support site as three floppy disk images. Make sure you get the specific version of program made for your ThinkPad model. For those who do not have a floppy, David Smith prepared a [http://www.mypchelp.com/~dsmith/ibmutil/ibm_t22_pcdiag.iso bootable CD image] (dead link, a copy is also available [http://server6.org/~marker/software/ibm_t22_pcdiag.iso here]) from the T22 floppy images. For newer ThinkPads there is an official [http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&lndocid=MIGR-56222 bootable CD image].<br />
<br />
===See also===<br />
* [[Battery safety]]<br />
<br />
===External sources===<br />
* [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=PFAN-3QNQJN IBM Support - Extending battery life]<br />
* [http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=ibm&lndocid=MIGR-51038 IBM Support - Battery troubleshooting]<br />
* [http://www.pc.ibm.com/ww/thinkpad/batterylife/ IBM Benchmark]<br />
* [http://batteryuniversity.com Battery University]<br />
* [http://www.batteryuniversity.com/parttwo-34.htm Battery University's info about prolonging lithium ion batteries]<br />
* [http://www.buchmann.ca/Chap10-page6.asp prolonging lithium ion batteries in Buchmanns Battery FAQ]<br />
<br />
==Cleaning the Display==<br />
If you discover markings that look like they originate from the TrackPoint or keyboard, or for information on how to avoid these, look at [[Problem with key and trackpoint markings on the display|this page]].<br />
<br />
===External Sources===<br />
* [http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&lndocid=MIGR-4A2P54 Lenovo Support - LCD care and cleaning instructions]<br />
* [http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=ibm&lndocid=MIGR-52190 IBM Support - System cleaning instructions]<br />
<br />
==Cleaning the Interior==<br />
{{WARN|The following instructions are not appropriate for all ThinkPad models. Please consult the hardware maintenance guide or on-line disassembly instructions for your model.}}<br />
Most ThinkPad models (particularly the A-series and the T-series) tend to accumulate a lot of interior dust which they draw from their ventilation fan. A good dusting every few months is advised. The procedure is as follows.<br />
<br />
===ThinkPad T4x series===<br />
See IBM's keyboard removal [http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&lndocid=MIGR-46515 instructions] and [http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&lndocid=MIGR-50227 movie].<br />
<br />
===ThinkPad T6x series===<br />
See IBM's keyboard removal<br />
[http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&lndocid=MIGR-62800 instructions] and<br />
[http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&lndocid=MIGR-63912 movie].<br />
<br />
===Other models (which?)===<br />
#Unplug the computer.<br />
#Remove the battery.<br />
#Turn the ThinkPad over and find two to three screws with upraised double-arrows pointing to them.<br />
#Unscrew these screws and set them aside.<br />
#Press the silver area underneath where the battery used to be. The front of the keyboard will pop up.<br />
#Turn the ThinkPad right side up and gently remove the keyboard, pulling it toward you.<br />
#There is one connector between the ThinkPad and the keyboard. Disconnect it, and set the keyboard aside.<br />
#If there is a small black plastic separator under the keyboard, remove it and set it aside.<br />
#The fan should be visible in the upper left. That entire area will likely be dusty. With a can of compressed air (and ''only'' with a can of compressed air), dust that area and the surrounding area.<br />
#Replace the small black plastic separator, then reconnect the keyboard.<br />
#Slide the keyboard back into place, then press down on the Fn and right-arrow keys until it pops into place.<br />
#Replace the keyboard screws and battery.<br />
<br />
==Dealing with spilling accidents==<br />
#Don't panic.<br />
#Don't flip or tilt the computer to prevent the liquid from spreading all over the inside of the case.<br />
#Shut down the OS and turn off the power:<br />
##Unplug the computer.<br />
##Remove the battery.<br />
#Tilt the computer so that everything that leaked into the case can flow out the same way.<br />
#Allow the computer to dry before switching it on again.<br />
#For minor accidents this might already be sufficient. For major flooding you should either bring the computer to a dealer who knows how to open and clean it from inside. Or you can read the Hardware Maintenance Manual, open, clean, and dry the computer yourself. <br />
<br />
See also [http://www.moneysense.ca/spending/technology/columnist.jsp?content=986628 Act quickly, carefully if you spill on laptops] on MoneySense.ca (link broken as of 2006-09-18, the article is still available via [http://web.archive.org/web/20050221034011/http://www.moneysense.ca/spending/technology/columnist.jsp?content=986628 web.archive.org]).<br />
<br />
==Harddisk Backup / Upgrade==<br />
*[[How to copy a Linux installation]]<br />
*[[Harddrive Upgrade|How to upgrade your Thinkpad hard drive]]<br />
*[[How to copy a Windows installation]]<br />
===External Sources===<br />
*[http://gamma.nic.fi/~point/win2copy.htm Guide on copying Windows 2000/XP to another partition]<br />
<br />
==Recovering BIOS passwords==<br />
Password recovery procedure for IBM ThinkPads<br />
using R24RF08 and IBMpass<br />
<br />
'''1. Introduction.'''<br />
<br />
The IBM ThinkPad uses a small eeprom ([[AT24RF08|ATMEL 24RF08]]) to store different OEM<br />
issues like serial number, UUID, etc. The supervisor password (SVP) is also stored in this eeprom.<br />
The 24RF08 is not an ordinary eeprom: it features read protection, which the BIOS uses to lock down<br />
access to the eeprom contents. Also, the password is written in a special scan code, which needs to<br />
be translated to ASCII to be of any use.<br />
<br />
To recover the password, one can use two different programs: R24RF08 (eeprom reader) and IBMpass<br />
(password revealer) available at [http://www.allservice.ro http://www.allservice.ro]. Diagrams are included in the reader kit.<br />
<br />
Models for which R24RF08 and IBMpass are enough to recover the password: 240, 240X, 390E, 390X, 570, 570E,<br />
600e, 600X, 770Z, A20m, A21e, A21m, a22m, A30, A30p, A31, A31p, G40, G41, R30, R31, R32, R40, R50, R51, <br />
Transnote, T20, T21, T22, T23, T30, T40, T40p, T41, T41p, T42, T42p, X20, X21, X22, X23, X24, X30, X31, X40, X41.<br />
<br />
ThinkPads featuring TPCA technology (i.e. a [[Tpm|TPM trusted platform module chip]]), especially T4x, X3x, X4x need the W24RF08 eeprom writer program to complete the password recovery procedure, if the passphrase function is enabled in BIOS setup.<br />
<br />
Other models such as the 380XD or 600 use 24C01 or 93C46 eeproms, which can be read without special tools.<br />
The method is the same like for the models based on 24RF08, only the software to dump the eeprom is different. <br />
<br />
Newer T43/T43p, R52, R60, T60/p, X60 and Z60 ThinkPads can be unlocked using PC8394 programming tools that consist in RPC8394 and WPC8394 (reader and writer for TPM chips). The software is available as well on [http://www.allservice.ro http://www.allservice.ro]. IBMpass 2.0 works for any TP model without exceptions.<br />
<br />
<br />
'''2. Locating the ATMEL 24RF08 eeprom. Soldering.'''<br />
<br />
No need to unsolder the 24RF08 eeprom, just solder 3 wires to SDA, SCL and GND pins of the<br />
eeprom. There are two eeprom layouts (see interface schematics described bellow), corresponding to 8 pin or 14 pin eeproms. Locate the eeprom first according to your model (E.g. T20-23 and T30 have the eeprom underneath TP, and can be accessed by removing the RAM modules cover, no need to dismantle the laptop.) and solder the wires using a soldering iron with a fine tip. Also, you can use 0.15 -0.20 mm enamel coated wires or similar small diameter insulated wires. These wires will be connected later to the interface.<br />
Tip: You can use clips to connect the wires or you can solder on the PCB traces leading to the<br />
eeprom pins. Once again, be careful and double, triple check the soldering if necessary till you are positively sure you have done the right job. In case of applying too much solder, use flux-impregnated copper-braid "desoldering wick" - this works exceptionally well.<br />
<br />
<br />
'''3. Choose and build the interface.'''<br />
<br />
Since version 2.0, R24RF08 and W24RF08 (eeprom writer) are compatible with a wide range of eeprom programmers. By default, both programs set the COM port signals to use direct logic level to access I2C bus. We provide here 2 schematics that are relevant for direct logic signals and for inverse logic signals (simple-i2cprog.pdf and driven-i2cprog.pdf). Also, depending of the interface you build, you can invert the logics for SDA-In, SDA-Out, and SCL COM port signals by some command line parameters described later in this document.<br />
a) The file simple-i2cprog.pdf contains the schematic diagram of a simple interface (known as SIPROG)based on 2 zeners and 2 resistors. This is a classic, easy to build circuit and works with soldered or unsoldered eeproms. The purpose of the 2 zeners is to convert RS232 levels (+/- 5V) to TTL levels, needed by the eeprom. It uses direct logic signals to I2C eeprom and is powered by the COM port. However, this interface works with in-system eeproms but is dependant on COM port current and eeprom bus impedance. R24RF08 works natively with this circuit, no need to change the lines signals with command line parameters. This circuit works pretty well with almost all ThinkPads series.<br />
b) The second interface is described in driven-i2cprog.pdf. The circuit uses MAX 232 as a RS232 to TTL driver and its main purpose is to work with soldered eeproms. The advantage of MAX232 is the TTL outputs that are more reliable and more powerful when work with soldered, in-system eeproms (dependency free from the COM port current). Due of the internal inverters of MAX232 the interface responds to an inverse signal logic level. R24RF08 needs /x, /d, /i switches to be specified in the command line.<br />
<br />
What these switches mean:<br />
/x - invert serial clock, also known as SCL;<br />
/d - invert serial data output, also known as SDA-Out;<br />
/i - invert serial data input, also known as SDA-In.<br />
All those can be used in any combination to meet any interface specification.<br />
<br />
Note that the "standard" serial port programmer probably won't work with a USB-Serial adapter, but requires the full nominal voltage of a hardware serial port. [Example: the A22p's serial port works fine here.]<br />
<br />
<br />
'''4. Dump the EEPROM:'''<br />
<br />
Prepare your technician PC by connecting the interface to the COM1 port (don’t connect the wires to eeprom yet). Turn on the ThinkPad and press F1 to enter BIOS Setup. When you are prompted for the password and there’s no other activity like HDD access or so, connect the wires (GND first!, SDA, SCL) to the corresponding wires from the interface (attached before to COM1) and execute R24RF08:<br />
<br />
-for SI-PROG interface (as described in 3.a above):<br />
r24rf08.exe <filename.ext>. where filename.ext is the file where eeprom content will be stored.<br />
Example: r24rf08 mytp.bin<br />
<br />
-for MAX232 driven I2C interface (as described in 3.b above):<br />
r24rf08.exe <filename.ext> /x /d /i. where /x /d /i are command line parameters (switches) for this kind of interface.<br />
Example: r24rf08 mytp2.bin /x /d /i<br />
<br />
Use exactly the instructed switches to avoid possible damages to your eeprom data!<br />
The file should be created in the same folder. Finally, disconnect the wires (GND last!) and turn off the ThinkPad by pressing on/off switch.<br />
<br />
Dump the EEPROM data at least twice, and do a bytewise compare with `cmp`. Both files should be identical, and 1024 bytes long. Otherwise, you probably have a serial port problem.<br />
<br />
Note: the r24rf08.exe program automatically sets the serial port parameters. It also works fine with Wine under Linux - provided that a symlink (com1) exists in the .wine/dos_devices directory, and points to the /dev/ttySX for the actual serial port.<br />
<br />
<br />
'''5. Reveal the password.'''<br />
<br />
Now, you have the .bin file but you need to dump in scan code to retrieve the password. IBMpass 2.0 Lite is a free tool that will do the job. Just open the eeprom dump you’ve created before and search for 0x330, 0x340 lines. The password is located on 0x338 (and 0x340 depending on model) in scan code. For 24C01 eeproms the password is located at 0x38, 0x40. If the password won't work for the very first time then your eeprom may use newer IBM scancodes. In this case switch to alternate scan codes to find it. For those who want quick answers the recommended version is IBMpass 1.1. Usage for IBMpass 1.1 (command line only):<br />
<br />
ibmpass mytp.bin – use “/a†switch to see in alternate scan code if needed:<br />
ibmpass mytp.bin /a<br />
<br />
For some old models like 570 or 770Z you need to execute the eeprom patcher first. This will reset the read protection on the password offset. To do that just execute patcher.exe before the reading operation, without rebooting the laptop:<br />
<br />
-for SI-PROG:<br />
patcher.exe , then immediately<br />
r24rf08.exe <filename.ext><br />
<br />
-for Driven-I2C (Max232) you must insert the switches:<br />
patcher.exe /x /d /i, then immediately<br />
r24rf08.exe <filename.ext> /x /d /i<br />
<br />
W24RF08, the writer version, has included the complete APP reset operation you don’t need to use patcher.<br />
<br />
Moreover, there are a new encrypting algos used with some new security chips (AT97SC3201, AT97SC3203) that are very secured. The password is not in scancode and in some cases not even in the eeprom. To unlock the machine, the dump should suffer some changes and the eeprom must be reprogrammed using W24RF08. This operation works for all IBM TCG/TCPA secured laptops w/o exceptions. <br />
<br />
<br />
Remember, use 3 wires from the interface and 3 wires from eeprom! Connect them after your<br />
ThinkPad is powered and disconnect them right after you read the content, before you switch off the laptop.<br />
<br />
'''6. Password format'''<br />
<br />
The thinkpad power-on/supervisor passwords are a maximum of 7 characters, and are NOT case-sensitive. The allowed characters are restricted to A-Z, 0-9, semicolon, _, - (and perhaps a few others).<br />
<br />
<br />
===External Sources===<br />
* [http://www.allservice.ro R24RF08/W24RF08, PC8394 programming tools & IBMpass author's webpage.]<br />
* [http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=ibm&lndocid=MIGR-59377 IBM Support - Lost or forgotten password]<br />
* [http://www.allservice.ro/forum/viewforum.php?f=12 Full Service of all ThinkPad models including free password recovery]<br />
* [http://sodoityourself.com/hacking-ibm-thinkpad-bios-password/ A tutorial on how to do this]</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=Maintenance&diff=31289Maintenance2007-07-15T05:19:36Z<p>Ddouthitt: /* Reviving batteries */</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 />
Here you can find general hints about keeping your ThinkPad in good shape. Look at your [[:Category:Models|models category page]] for IBMs official maintenance guide for that model.<br />
|}<br />
==Battery treatment==<br />
{| border=1 cellspacing=0 cellpadding=2 style="vertical-align:top;"<br />
|+Battery life expanding guide<br />
|- style="background:#efefef;white-space:nowrap;"<br />
! style="background:#ffdead;" | Battery Type !! NiCd !! NiMH !! Lithium ion<br />
|- style="vertical-align:top;"<br />
! style="background:#ffdead;" | General<br />
|<br />
*always do complete discharge/charge cycles<br />
*avoid exposing the battery (or notebook) to excessive heat<br />
|<br />
*always do complete discharge/charge cycles<br />
*avoid exposing the battery (or notebook) to excessive heat<br />
|<br />
*avoid deep discharges except when resetting fuel gague or reconditioning a battery; partial dis-/recharges are better for the battery lifetime (note: fuel gauge will slowly get inaccurate over time)<br />
*remove battery when on AC (due to heat)<br />
*avoid exposing the battery (or notebook) to excessive heat<br />
|- style="vertical-align:top;"<br />
! style="background:#ffdead;" | Charging<br />
|<br />
*discharge before charging<br />
|<br />
*discharge before charging<br />
|<br />
*avoid charging if battery is nearly full, unless you will need its full capacity soon; keep it on the 30%-85% charged range<br />
*keep notebook off while charging due to heat<br />
*fully discharge, then fully charge battery when needed to recalibrate fuel gauge; newer battery pack models require this less often, old ones might need it as often as every 30 cycles<br />
|- style="vertical-align:top;"<br />
! style="background:#ffdead;" | Storage<br />
| <br />
*almost discharged<br />
*cool and dry<br />
|<br />
*almost discharged<br />
*cool and dry<br />
|<br />
*never fully charged or discharged, ideally at about 40%<br />
*cool and dry, but '''do not freeze''' them. 10-15C is recommended<br />
|}<br />
<br />
===Battery health===<br />
Batteries, especially of the modern Li-Ion type, wear out quicker when they hold a large charge or are subject to higher temperatures (see above).<br />
<br />
If you use your laptop at a desk, reduce battery wear by maintaining an appropriate charge level. When possible, remove Li-ion batteries while operating from AC as the notebook gets hot enough inside for that to damage the battery in the long run, even if charging is stopped.<br />
<br />
On recent ThinkPads, charging thresholds can be configured in the bundled software. Under Linux, this is supported on recent models by the [[tp_smapi]] driver (and even without <tt>tp_smapi</tt>, if you have a dual-boot setup, you can set the thresholds under Windows and they will be remembered as long as you don't power off your machine with AC disconnected; suspend to RAM is OK). Have a look at [[How to use UltraBay batteries]].<br />
<br />
If you have spare Li-ion battery packs, store them at 40% charge in a cool place (15C being a recommended temperature, do not let the batteries freeze). If storing inside a refrigerator, beware of humidity, and be careful with cold spots that can easily freeze the battery if anything goes wrong.<br />
<br />
===The problem with 600 series batteries===<br />
ThinkPad 600 power management causes batteries to die before they should. Read more about this on the [[Problem with ThinkPad 600 batteries|associated problem page]].<br />
<br />
===Reviving batteries===<br />
Some people experience sudden drops in their batteries capacity. A way to get these batteries back to full capacity is to run the "Battery Rundown" function of IBMs "PC Doctor for DOS". The program is downloadable from IBMs support site as three floppy disk images. Make sure you get the specific version of program made for your ThinkPad model. For those who do not have a floppy, David Smith prepared a [http://www.mypchelp.com/~dsmith/ibmutil/ibm_t22_pcdiag.iso bootable CD image] (dead link, a copy is also available [http://server6.org/~marker/software/ibm_t22_pcdiag.iso here]) from the T22 floppy images. For newer ThinkPads there is an official [http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&lndocid=MIGR-56222 bootable CD image].<br />
<br />
===See also===<br />
* [[Battery safety]]<br />
<br />
===External sources===<br />
* [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=PFAN-3QNQJN IBM Support - Extending battery life]<br />
* [http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=ibm&lndocid=MIGR-51038 IBM Support - Battery troubleshooting]<br />
* [http://www.pc.ibm.com/ww/thinkpad/batterylife/ IBM Benchmark]<br />
* [http://batteryuniversity.com Battery University]<br />
* [http://www.batteryuniversity.com/parttwo-34.htm BatteryUniversitys info about prolonging lithium ion batteries]<br />
* [http://www.buchmann.ca/Chap10-page6.asp prolonging lithium ion batteries in Buchmanns Battery FAQ]<br />
<br />
==Cleaning the Display==<br />
If you discover markings that look like they originate from the TrackPoint or keyboard, or for information on how to avoid these, look at [[Problem with key and trackpoint markings on the display|this page]].<br />
<br />
===External Sources===<br />
* [http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&lndocid=MIGR-4A2P54 Lenovo Support - LCD care and cleaning instructions]<br />
* [http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=ibm&lndocid=MIGR-52190 IBM Support - System cleaning instructions]<br />
<br />
==Cleaning the Interior==<br />
{{WARN|The following instructions are not appropriate for all ThinkPad models. Please consult the hardware maintenance guide or on-line disassembly instructions for your model.}}<br />
Most ThinkPad models (particularly the A-series and the T-series) tend to accumulate a lot of interior dust which they draw from their ventilation fan. A good dusting every few months is advised. The procedure is as follows.<br />
<br />
===ThinkPad T4x series===<br />
See IBM's keyboard removal [http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&lndocid=MIGR-46515 instructions] and [http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&lndocid=MIGR-50227 movie].<br />
<br />
===ThinkPad T6x series===<br />
See IBM's keyboard removal<br />
[http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&lndocid=MIGR-62800 instructions] and<br />
[http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&lndocid=MIGR-63912 movie].<br />
<br />
===Other models (which?)===<br />
#Unplug the computer.<br />
#Remove the battery.<br />
#Turn the ThinkPad over and find two to three screws with upraised double-arrows pointing to them.<br />
#Unscrew these screws and set them aside.<br />
#Press the silver area underneath where the battery used to be. The front of the keyboard will pop up.<br />
#Turn the ThinkPad right side up and gently remove the keyboard, pulling it toward you.<br />
#There is one connector between the ThinkPad and the keyboard. Disconnect it, and set the keyboard aside.<br />
#If there is a small black plastic separator under the keyboard, remove it and set it aside.<br />
#The fan should be visible in the upper left. That entire area will likely be dusty. With a can of compressed air (and ''only'' with a can of compressed air), dust that area and the surrounding area.<br />
#Replace the small black plastic separator, then reconnect the keyboard.<br />
#Slide the keyboard back into place, then press down on the Fn and right-arrow keys until it pops into place.<br />
#Replace the keyboard screws and battery.<br />
<br />
==Dealing with spilling accidents==<br />
#Don't panic.<br />
#Don't flip or tilt the computer to prevent the liquid from spreading all over the inside of the case.<br />
#Shut down the OS and turn off the power:<br />
##Unplug the computer.<br />
##Remove the battery.<br />
#Tilt the computer so that everything that leaked into the case can flow out the same way.<br />
#Allow the computer to dry before switching it on again.<br />
#For minor accidents this might already be sufficient. For major flooding you should either bring the computer to a dealer who knows how to open and clean it from inside. Or you can read the Hardware Maintenance Manual, open, clean, and dry the computer yourself. <br />
<br />
See also [http://www.moneysense.ca/spending/technology/columnist.jsp?content=986628 Act quickly, carefully if you spill on laptops] on MoneySense.ca (link broken as of 2006-09-18, the article is still available via [http://web.archive.org/web/20050221034011/http://www.moneysense.ca/spending/technology/columnist.jsp?content=986628 web.archive.org]).<br />
<br />
==Harddisk Backup / Upgrade==<br />
*[[How to copy a Linux installation]]<br />
*[[Harddrive Upgrade|How to upgrade your Thinkpad hard drive]]<br />
*[[How to copy a Windows installation]]<br />
===External Sources===<br />
*[http://gamma.nic.fi/~point/win2copy.htm Guide on copying Windows 2000/XP to another partition]<br />
<br />
==Recovering BIOS passwords==<br />
Password recovery procedure for IBM ThinkPads<br />
using R24RF08 and IBMpass<br />
<br />
'''1. Introduction.'''<br />
<br />
The IBM ThinkPad uses a small eeprom ([[AT24RF08|ATMEL 24RF08]]) to store different OEM<br />
issues like serial number, UUID, etc. The supervisor password (SVP) is also stored in this eeprom.<br />
The 24RF08 is not an ordinary eeprom: it features read protection, which the BIOS uses to lock down<br />
access to the eeprom contents. Also, the password is written in a special scan code, which needs to<br />
be translated to ASCII to be of any use.<br />
<br />
To recover the password, one can use two different programs: R24RF08 (eeprom reader) and IBMpass<br />
(password revealer) available at [http://www.allservice.ro http://www.allservice.ro]. Diagrams are included in the reader kit.<br />
<br />
Models for which R24RF08 and IBMpass are enough to recover the password: 240, 240X, 390E, 390X, 570, 570E,<br />
600e, 600X, 770Z, A20m, A21e, A21m, a22m, A30, A30p, A31, A31p, G40, G41, R30, R31, R32, R40, R50, R51, <br />
Transnote, T20, T21, T22, T23, T30, T40, T40p, T41, T41p, T42, T42p, X20, X21, X22, X23, X24, X30, X31, X40, X41.<br />
<br />
ThinkPads featuring TPCA technology (i.e. a [[Tpm|TPM trusted platform module chip]]), especially T4x, X3x, X4x need the W24RF08 eeprom writer program to complete the password recovery procedure, if the passphrase function is enabled in BIOS setup.<br />
<br />
Other models such as the 380XD or 600 use 24C01 or 93C46 eeproms, which can be read without special tools.<br />
The method is the same like for the models based on 24RF08, only the software to dump the eeprom is different. <br />
<br />
Newer T43/T43p, R52, R60, T60/p, X60 and Z60 ThinkPads can be unlocked using PC8394 programming tools that consist in RPC8394 and WPC8394 (reader and writer for TPM chips). The software is available as well on [http://www.allservice.ro http://www.allservice.ro]. IBMpass 2.0 works for any TP model without exceptions.<br />
<br />
<br />
'''2. Locating the ATMEL 24RF08 eeprom. Soldering.'''<br />
<br />
No need to unsolder the 24RF08 eeprom, just solder 3 wires to SDA, SCL and GND pins of the<br />
eeprom. There are two eeprom layouts (see interface schematics described bellow), corresponding to 8 pin or 14 pin eeproms. Locate the eeprom first according to your model (E.g. T20-23 and T30 have the eeprom underneath TP, and can be accessed by removing the RAM modules cover, no need to dismantle the laptop.) and solder the wires using a soldering iron with a fine tip. Also, you can use 0.15 -0.20 mm enamel coated wires or similar small diameter insulated wires. These wires will be connected later to the interface.<br />
Tip: You can use clips to connect the wires or you can solder on the PCB traces leading to the<br />
eeprom pins. Once again, be careful and double, triple check the soldering if necessary till you are positively sure you have done the right job. In case of applying too much solder, use flux-impregnated copper-braid "desoldering wick" - this works exceptionally well.<br />
<br />
<br />
'''3. Choose and build the interface.'''<br />
<br />
Since version 2.0, R24RF08 and W24RF08 (eeprom writer) are compatible with a wide range of eeprom programmers. By default, both programs set the COM port signals to use direct logic level to access I2C bus. We provide here 2 schematics that are relevant for direct logic signals and for inverse logic signals (simple-i2cprog.pdf and driven-i2cprog.pdf). Also, depending of the interface you build, you can invert the logics for SDA-In, SDA-Out, and SCL COM port signals by some command line parameters described later in this document.<br />
a) The file simple-i2cprog.pdf contains the schematic diagram of a simple interface (known as SIPROG)based on 2 zeners and 2 resistors. This is a classic, easy to build circuit and works with soldered or unsoldered eeproms. The purpose of the 2 zeners is to convert RS232 levels (+/- 5V) to TTL levels, needed by the eeprom. It uses direct logic signals to I2C eeprom and is powered by the COM port. However, this interface works with in-system eeproms but is dependant on COM port current and eeprom bus impedance. R24RF08 works natively with this circuit, no need to change the lines signals with command line parameters. This circuit works pretty well with almost all ThinkPads series.<br />
b) The second interface is described in driven-i2cprog.pdf. The circuit uses MAX 232 as a RS232 to TTL driver and its main purpose is to work with soldered eeproms. The advantage of MAX232 is the TTL outputs that are more reliable and more powerful when work with soldered, in-system eeproms (dependency free from the COM port current). Due of the internal inverters of MAX232 the interface responds to an inverse signal logic level. R24RF08 needs /x, /d, /i switches to be specified in the command line.<br />
<br />
What these switches mean:<br />
/x - invert serial clock, also known as SCL;<br />
/d - invert serial data output, also known as SDA-Out;<br />
/i - invert serial data input, also known as SDA-In.<br />
All those can be used in any combination to meet any interface specification.<br />
<br />
Note that the "standard" serial port programmer probably won't work with a USB-Serial adapter, but requires the full nominal voltage of a hardware serial port. [Example: the A22p's serial port works fine here.]<br />
<br />
<br />
'''4. Dump the EEPROM:'''<br />
<br />
Prepare your technician PC by connecting the interface to the COM1 port (don’t connect the wires to eeprom yet). Turn on the ThinkPad and press F1 to enter BIOS Setup. When you are prompted for the password and there’s no other activity like HDD access or so, connect the wires (GND first!, SDA, SCL) to the corresponding wires from the interface (attached before to COM1) and execute R24RF08:<br />
<br />
-for SI-PROG interface (as described in 3.a above):<br />
r24rf08.exe <filename.ext>. where filename.ext is the file where eeprom content will be stored.<br />
Example: r24rf08 mytp.bin<br />
<br />
-for MAX232 driven I2C interface (as described in 3.b above):<br />
r24rf08.exe <filename.ext> /x /d /i. where /x /d /i are command line parameters (switches) for this kind of interface.<br />
Example: r24rf08 mytp2.bin /x /d /i<br />
<br />
Use exactly the instructed switches to avoid possible damages to your eeprom data!<br />
The file should be created in the same folder. Finally, disconnect the wires (GND last!) and turn off the ThinkPad by pressing on/off switch.<br />
<br />
Dump the EEPROM data at least twice, and do a bytewise compare with `cmp`. Both files should be identical, and 1024 bytes long. Otherwise, you probably have a serial port problem.<br />
<br />
Note: the r24rf08.exe program automatically sets the serial port parameters. It also works fine with Wine under Linux - provided that a symlink (com1) exists in the .wine/dos_devices directory, and points to the /dev/ttySX for the actual serial port.<br />
<br />
<br />
'''5. Reveal the password.'''<br />
<br />
Now, you have the .bin file but you need to dump in scan code to retrieve the password. IBMpass 2.0 Lite is a free tool that will do the job. Just open the eeprom dump you’ve created before and search for 0x330, 0x340 lines. The password is located on 0x338 (and 0x340 depending on model) in scan code. For 24C01 eeproms the password is located at 0x38, 0x40. If the password won't work for the very first time then your eeprom may use newer IBM scancodes. In this case switch to alternate scan codes to find it. For those who want quick answers the recommended version is IBMpass 1.1. Usage for IBMpass 1.1 (command line only):<br />
<br />
ibmpass mytp.bin – use “/a†switch to see in alternate scan code if needed:<br />
ibmpass mytp.bin /a<br />
<br />
For some old models like 570 or 770Z you need to execute the eeprom patcher first. This will reset the read protection on the password offset. To do that just execute patcher.exe before the reading operation, without rebooting the laptop:<br />
<br />
-for SI-PROG:<br />
patcher.exe , then immediately<br />
r24rf08.exe <filename.ext><br />
<br />
-for Driven-I2C (Max232) you must insert the switches:<br />
patcher.exe /x /d /i, then immediately<br />
r24rf08.exe <filename.ext> /x /d /i<br />
<br />
W24RF08, the writer version, has included the complete APP reset operation you don’t need to use patcher.<br />
<br />
Moreover, there are a new encrypting algos used with some new security chips (AT97SC3201, AT97SC3203) that are very secured. The password is not in scancode and in some cases not even in the eeprom. To unlock the machine, the dump should suffer some changes and the eeprom must be reprogrammed using W24RF08. This operation works for all IBM TCG/TCPA secured laptops w/o exceptions. <br />
<br />
<br />
Remember, use 3 wires from the interface and 3 wires from eeprom! Connect them after your<br />
ThinkPad is powered and disconnect them right after you read the content, before you switch off the laptop.<br />
<br />
'''6. Password format'''<br />
<br />
The thinkpad power-on/supervisor passwords are a maximum of 7 characters, and are NOT case-sensitive. The allowed characters are restricted to A-Z, 0-9, semicolon, _, - (and perhaps a few others).<br />
<br />
<br />
===External Sources===<br />
* [http://www.allservice.ro R24RF08/W24RF08, PC8394 programming tools & IBMpass author's webpage.]<br />
* [http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=ibm&lndocid=MIGR-59377 IBM Support - Lost or forgotten password]<br />
* [http://www.allservice.ro/forum/viewforum.php?f=12 Full Service of all ThinkPad models including free password recovery]<br />
* [http://sodoityourself.com/hacking-ibm-thinkpad-bios-password/ A tutorial on how to do this]</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=Ultrabay&diff=31287Ultrabay2007-07-15T04:13:59Z<p>Ddouthitt: /* Characteristics */</p>
<hr />
<div>{| width="100%"<br />
|style="vertical-align:top;padding-right:20px;width:10px;" | [[Image:UltraBay.jpg|UltraBay drives]] __NOTOC__<br />
|style="vertical-align:top" |<br />
<div style="margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;"><br />
=== IBM UltraBay ===<br />
UltraBay{{footnote|1}} is IBM's name for the swapable drive slot. With IBMs words: <blockquote>"The ThinkPad UltraBay, also standard with the system, is an intelligent bay that switches its pinout signals to allow the installation of standard and optional features in what would normally be just the FDD bay."</blockquote> Introduced back in the times of the 750 ThinkPads, this technology has gone through redesigns with almost every new generation of ThinkPad models, possibly leading to some confusion that is hopefully cleared up here. The following table gives an overview of the different UltraBay types, in which models they occurred and what drives are available for them.<br />
Note that the optical drive bay in G series ThinkPads is not an UltraBay in that the drives are fixed and not removable.<br />
<br />
On the media side different UltraBays relate to the form factor of the drives they accept, e.g early A, T and X series models can accept UltraBay devices up to 12.5mm in thickness, whereas current T and X series machines are limited to devices no more than 9.5mm thick.<br />
</div><br />
|}<br />
{| border="1" cellspacing="0" cellpadding="2"<br />
|+Overview over UltraBay types and available devices<br />
! width=140px|UltraBay Type !! featured in !! available drives (see [[UltraBay Devices]] for details)<br />
<br />
|-<br />
| [[Image:Icon20_ultrabay.png]] UltraBay || {{355}}, {{355C}}, {{355Cs}}, {{360}}, {{360C}}, {{360Cs}}, {{360P}}, {{360CE}}, {{360CSE}}, {{360PE}}, {{370C}}, {{750}}, {{750C}}, {{750Cs}}, {{750P}}, {{755C}}, {{755CE}}, {{755Cs}}, {{755CSE}}, {{755CV}}, {{755CX}}, {{760C}}, {{760L}}, {{760E}} || [[Image:Icon20_floppy.png|Floppy Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]], 2.88 MB diskette, PCMCIA Cartridge, IBM Wireless Modem ARDIS, IBM Wireless Modem<br />
|-<br />
| [[Image:Icon20_ultrabay.png]] UltraBay Thick|| {{755CD}}, {{755CDV}}, {{760CD}}, {{760E}}, {{760ED}}, {{760EL}}, {{760ELD}}, {{760LD}}, {{760XD}}, {{760XL}}, {{765D}}, {{765L}}, [[SelectaDock I]], [[SelectaDock II]] || [[Image:Icon20_floppy.png|Floppy Drive]] [[Image:Icon20_cdrom.png|CD-ROM Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]], 2.88 MB diskette, PCMCIA Cartridge, IBM Wireless Modem ARDIS, IBM Wireless Modem<br />
|-<br />
| [[Image:Icon20_ultrabayii.png]] UltraBay II || {{770}}, {{770E}}, {{770ED}}, {{770X}}, {{770Z}}, [[SelectaDock III]] || [[Image:Icon20_floppy.png|Floppy Drive]] [[Image:Icon20_zip100.png|100MB Zip Drive]] [[Image:Icon20_zip250.png|250MB Zip Drive]] [[Image:Icon20_cdrom.png|CD-ROM Drive]] [[Image:Icon20_dvd.png|DVD-ROM Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]]<br />
|-<br />
| [[Image:Icon20_ultrabayfx.png]] UltraBay FX|| {{390}}, {{390E}}, {{390X}}, {{i1720}}, {{i1721}} || [[Image:Icon20_floppy.png|Floppy Drive]] [[Image:Icon20_cdrom.png|CD-ROM Drive]] [[Image:Icon20_dvd.png|DVD-ROM Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]]<br />
|-<br />
| [[Image:Icon20_ultraslimbay.png]] UltraslimBay || {{600}}, {{600E}}, {{600X}}, [[UltraBase]], [[Portable Drive Bay]]|| [[Image:Icon20_floppy.png|Floppy Drive]] [[Image:Icon20_ls120.png|SuperDisk LS-120 Drive]] [[Image:Icon20_zip100.png|100MB Zip Drive]] [[Image:Icon20_cdrom.png|CD-ROM Drive]] [[Image:Icon20_dvd.png|DVD-ROM Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]]<br />
|-<br />
| [[Image:Icon20_ultrabay2000.png]] UltraBay 2000 || {{A20m}}, {{A20p}}, {{A21e}}, {{A21m}}, {{A21p}}, {{A22e}}, {{A22m}}, {{A22p}}, {{A30}}, {{T20}}, {{T21}}, {{T22}}, {{T23}}, [[ThinkPad Dock|Dock]], [[ThinkPad Dock II|Dock II]], [[UltraBase X2]], [[Portable Drive Bay 2000]]|| [[Image:Icon20_floppy.png|Floppy Drive]] [[Image:Icon20_ls120.png|SuperDisk LS-120 Drive]] [[Image:Icon20_ls240.png|SuperDisk LS-240 Drive]] [[Image:Icon20_zip100.png|100MB Zip Drive]] [[Image:Icon20_zip250.png|250MB Zip Drive]] [[Image:Icon20_cdrom.png|CD-ROM Drive]] [[Image:Icon20_dvd.png|DVD-ROM Drive]] [[Image:Icon20_cdrw.png|CD-RW Drive]] [[Image:Icon20_combo.png|CD-RW/DVD-ROM Combo Drive]] [[Image:Icon20_multiburner.png|DVD Multi-Burner Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]]<br />
|-<br />
| [[Image:Icon20_ultrabayplus.png]] UltraBay Plus || {{A30}}, {{A30p}}, {{A31}}, {{A31p}}, {{R30}}, {{R31}}, {{R32}}, {{R40}}, {{T23}}, {{T30}}, [[UltraBase X3]] || [[Image:Icon20_floppy.png|Floppy Drive]] [[Image:Icon20_ls120.png|SuperDisk LS-120 Drive]] [[Image:Icon20_ls240.png|SuperDisk LS-240 Drive]] [[Image:Icon20_zip100.png|100MB Zip Drive]] [[Image:Icon20_zip250.png|250MB Zip Drive]] [[Image:Icon20_cdrom.png|CD-ROM Drive]] [[Image:Icon20_dvd.png|DVD-ROM Drive]] [[Image:Icon20_cdrw.png|CD-RW Drive]] [[Image:Icon20_combo.png|CD-RW/DVD-ROM Combo Drive]] [[Image:Icon20_multiburner.png|DVD Multi-Burner Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]], WorkPad Cradle, Numpad<br />
|-<br />
| [[Image:Icon20_ultrabayslim.png]] UltraBay Slim || {{T40}}, {{T40p}}, {{T41}}, {{T41p}}, {{T42}}, {{T42p}}, {{T43}}, {{T43p}}, {{T60}}, {{T60p}}, {{T61}}, {{Z60t}}, [[UltraBase X4]], [[UltraBase X6]], [[ThinkPad X4 Dock]] || [[Image:Icon20_dvd.png|DVD-ROM Drive]] [[Image:Icon20_combo.png|CD-RW/DVD-ROM Combo Drive]] [[Image:Icon20_multiburner.png|DVD Multi-Burner Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]], Serial/Parallel Port Adapter (T60/T60p)<br />
|-<br />
| [[Image:Icon20_ultrabayenh.png]] UltraBay Enhanced || {{R50}}, {{R50p}}, {{R51}}, {{R52}}, {{R60}}, {{Z60m}}, {{Z61m}}, [[ ThinkPad Advanced Dock]]|| [[Image:Icon20_dvd.png|DVD-ROM Drive]] [[Image:Icon20_combo.png|CD-RW/DVD-ROM Combo Drive]] [[Image:Icon20_multiburner.png|DVD Multi-Burner Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]]<br />
|-<br />
|}<br />
<br />
{| border="1" cellspacing="0" cellpadding="2" style="text-align:center;"<br />
|+Compatibility Matrix (read columns as slots with rows as devices that are compatible)<br />
! Slots<hr />Devices!! [[Image:Icon20_ultrabay.png]]<br />UltraBay<br />&nbsp; !! [[Image:Icon20_ultrabay.png]]<br />UltraBay<br />Thick !! [[Image:Icon20_ultrabayii.png]]<br />UltraBay<br />II !! [[Image:Icon20_ultrabayfx.png]]<br />UltraBay<br />FX !! [[Image:Icon20_ultraslimbay.png]]<br />UltraslimBay<br />&nbsp; !! [[Image:Icon20_ultrabay2000.png]]<br />UltraBay<br />2000 !! [[Image:Icon20_ultrabayplus.png]]<br />UltraBay<br />Plus !! [[Image:Icon20_ultrabayslim.png]]<br />UltraBay<br />Slim !! [[Image:Icon20_ultrabayenh.png]]<br />UltraBay<br />Enhanced<br />
|-<br />
|'''UltraBay''' || yes || yes || [[Ultrabay Drive Adapter for Ultrabay II|Adapter]] || - || - || - || - || - || -<br />
|-<br />
|'''UltraBay Thick''' || - || yes || [[Ultrabay Drive Adapter for Ultrabay II|Adapter]] || - || - || - || - || - || -<br />
|-<br />
|'''UltraBay II''' || - || - || yes || - || - || - || - || - || -<br />
|-<br />
|'''UltraBay FX''' || - || - || - || yes || - || - || - || - || -<br />
|-<br />
|'''UltraslimBay''' || - || - || - || - || yes || - || - || - || -<br />
|-<br />
|'''UltraBay 2000''' || - || - || - || - || - || yes || yes || - || -<br />
|-<br />
|'''UltraBay Plus''' || - || - || - || - || - || - || yes || - || -<br />
|-<br />
|'''UltraBay Slim''' || - || - || - || - || - || [[Ultrabay Slim Drive Adapter for Ultrabay 2000|Adapter]] || [[Ultrabay Slim Drive Adapter for Ultrabay 2000|Adapter]] || yes || yes<br />
|-<br />
|'''UltraBay Enhanced''' || - || - || - || - || - || [[Ultrabay Enhanced Drive Adapter for Ultrabay 2000|Adapter]] || [[Ultrabay Enhanced Drive Adapter for Ultrabay 2000|Adapter]] || - || yes<br />
|}<br />
<br />
===Characteristics===<br />
*UltraBay: no hot swapping<br />
*UltraBay Thick: thicker version of UltraBay to support CD-ROM drive<br />
*UltraBay II: supports hot swapping, blending has cut out edge on the right<br />
*UltraBay FX: the combined [[floppy]] drive and CD-ROM, DVD or CDRW mechanism found in the {{390}}/{{390E}}/{{390X}}<br />
*UltraSlimBay: supports hot swapping; frame, rectangle like blending<br />
*UltraBay 2000: supports hot swapping; frame, blending has cut-out edge on the right<br />
*UltraBay Plus: same as UltraBay 2000, but can take the [[UltraBay Plus Device Carrier]] which in turn can hold the [[UltraBay Plus c500 Cradle]] or the [[UltraBay Plus Numeric Keypad]]<br />
*UltraBay Slim: supports hot swapping; notably thinner than the UltraBay 2000, cut-out right edge in blending<br />
*UltraBay Enhanced: supports hot swapping; slightly thicker than UltraBay Slim, but accepts UltraBay Slim devices<br />
<br />
==Linux Support==<br />
The pinout switching is done by the BIOS and hardware, so that it is completely transparent to the operating system.<br />
*Floppy drives are supported by the standard floppy driver.<br />
*ZIP drive support is possible through the ide-disk driver.<br />
*IDE hard disks and optical drives are supported by the <tt>ide-disk</tt> or <tt>ata_piix</tt> driver in the linux kernel. SCSI emulation via <tt>ide-scsi</tt> is possible. <br />
*Batteries are automatically handled by the hardware, but can be controlled further by using [[tp_smapi]].<br />
*UltraBay Plus devices should be handled by the USB subsystem, but if the actual devices are is not known.<br />
<br />
===Unofficially compatible===<br />
A CDRW/DVD-ROM Superdrive (scavenged from a Mac iBook) will fit in an Ultrabay 2000. The original face won't fit in the bay, leaving a bare metal front. When the drive spins up, it blows a lot of air out. Maybe that's an anti-dust measure?<br />
===Hotswapping===<br />
See also [[How to hotswap UltraBay devices]].<br />
<br />
==External Sources==<br />
*[http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-50366 IBMs page on using a second hard drive adapter in the Ultrabay 2000 slot under Linux]<br />
<br />
{{footnotes|<br />
#IBM originally used the spelling UltraBay with a capital B and later switched to Ultrabay with a lower b. We are sticking with the capital B here.<br />
}}<br />
<br />
[[Category:Glossary]]</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_on_a_ThinkPad_T20&diff=31286Installing Ubuntu on a ThinkPad T202007-07-15T04:05:17Z<p>Ddouthitt: /* See Also */ reworked sentence</p>
<hr />
<div>== Ubuntu 7.04, Feisty Fawn ==<br />
<br />
Feisty reportedly [http://ubuntuforums.org/showthread.php?t=411498 works well on the T20].<br />
<br />
Whether you install or upgrade, you will need to [[#Suspend_and_Hibernate_with_ACPI|force ACPI to be turned on]].<br />
<br />
See Video section below to fix video problems. Desktop effects don't work. TORCS, ppracer and Actioncube work well. <br />
<br />
The Belkin wireless adapter listed below does not seem to work "out of the box" with Feisty. It gets stuck on authenticating (at least with WEP). <br />
<br />
Some of the other notes from below may apply.<br />
<br />
<br />
<br />
===My experience with T20 and Ubuntu===<br />
<br />
My Install of Feisty required the alternate CD, as the liveCD was unable to start X (blank screen, even using 'safe graphics mode'<br />
After alternate installation finished, it still wouldn't load (a bug with S3 Savage drivers), so I needed to use grub to go into 'recovery mode'. From the prompt it eventually gives you, I used `nano -w /etc/X11/xorg.conf`, Found the section for 'Device'. (shown below, it may have more items) It said "savage", changed it to "vesa". This is one of several workarounds, but seems the most successful. N.B. This will disable Direct Rendering / OpenGL acceleration.<br />
<br />
Section "Device"<br />
Identifier "S3 Inc. 86C270-294 Savage/IX-MV"<br />
Driver "savage"<br />
BusID "PCI:1:0:0"<br />
EndSection<br />
<br />
See Video section below for a fix that is known to work (at least on one T20 model).<br />
<br />
For more info, and other workarounds/fixes, check out:<br />
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-savage/+bug/33617<br />
<br />
== Ubuntu 6.10, Edgy Eft ==<br />
<br />
=== Blank Screen when booting Live CD ===<br />
There is an issue with the Savage driver which makes the initial boot into X hang. <br />
<br />
1. Hit F6 on the boot menu, delete "quiet splash" from the boot parameter line, and add "break=bottom".<br />
<br />
2. After a while you will get a prompt (initramfs), type "chroot /root nano -w /etc/X11/xorg.conf".<br />
<br />
3. Find your video card, and change driver "savage" to "vesa".<br />
<br />
4. Save (ctrl+w), exit nano (ctrl+x), then press ctrl+d.<br />
<br />
5. After that the live cd will work<br />
<br />
This is most likely the same issue as gdm hanging on start. See Video section below for a fix that is known to work (at least on one T20 model).<br />
<br />
Howto with screenshots [https://wiki.ubuntu.com/EdgyKnownIssues/59618 Ubuntu Wiki]<br />
<br />
=== Using APM to Suspend ===<br />
<br />
To enable APM when booting the Live/Install CD, add these boot options:<br />
<br />
`noacpi acpi=off apm=on`<br />
<br />
After booting, `Fn-F4` will still only put the command in a standby state, but<br />
using `apm --suspend` on the command line will successfully suspend machine, and it resumes as well.<br />
<br />
Another user reports that APM leads to a unsuccessful shutdown, hanging on the last splash screen.<br />
<br />
=== Suspend and Hibernate with ACPI ===<br />
<br />
ACPI is a newer and preferred alternative to APM. On the T20 it necessary to force the use of ACPI, using <br />
the following instructions.<br />
<br />
gksudo gedit /boot/grub/menu.lst<br />
<br />
Look for an uncommented line starting with "kernel" and add "acpi=force" to the end of the line. There should be<br />
a "title" line above describing the default kernel that usually boots. Making the change for just the default kernel should be sufficient. <br />
<br />
Once the file has been re-saved, you can re-install the bootloader. The command for that is:<br />
<br />
sudo grub-install /dev/hda<br />
<br />
'''NOTE''': This assumes your hard drive is at /dev/hda. Use "df" to see your hard drive names if you are not sure. <br />
This operation can potentially make your computer unbootable if there are mistakes, so be careful! (Of course, even if the hard drive became unbootable, you could most likely boot off a CD and fix it. )<br />
<br />
==== Fixing Sound-After-Suspend ====<br />
<br />
Sound doesn't work after a suspend/resume cycle without some help. This is due to [https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/11149 a bug in the sound card driver]. Until that's fixed, a workaround is available.<br />
<br />
Install the files available here:<br />
*https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/11149/comments/6<br />
*https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/11149/comments/7<br />
<br />
They automatically kill all sound applications when resuming, and then restart them. Be sure to save<br />
your playlists, etc., before you suspend!<br />
<br />
In `/etc/default/acpi-support` adjust the following values:<br />
<br />
MODULES="sb uart401 sound soundcore maestro cs4281 snd-cs46xx"<br />
RESTART_IRDA=true<br />
RESTORE_SOUND=true<br />
<br />
==== Suspend while using the LiveCD ====<br />
<br />
''ACPI Suspend does not work on the LiveCD. `gnome-power-manager` logs to `/var/log/messages` that is beginning to suspend, but nothing happens. This looks like it might be a [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/50031 known bug] in Ubuntu.''<br />
<br />
==== Getting rid of the password upon resuming ====<br />
<br />
If you don't want the password prompt when resuming, Use "Alt-F2" to open the run box<br />
and type `gconf-editor`. Navigate to "apps / gnome-power-manager ". Browse the options that start with "lock". Each has a description to read. While it's possible to directly disable the password prompt here, consider setting `lock_use_screensaver_settings`. Then, you can control the option through "System : Preferences : Screensaver", and you won't have to use gconf-editor in the future.<br />
<br />
=== Special Key Support ===<br />
<br />
The light and brightness keys work as expected. The volume and brightness keys have some on-screen visuals that automatically<br />
appear to illustrate them, using graphics that match the current theme. Rather nice!<br />
<br />
=== Video ===<br />
<br />
Edgy: Direct rendering / GL acceleration works with the following xorg.conf changes. Use "PCI" in BIOS rather than AGP. I removed all modes apart from 1024x768. ppracer plays well at c. 10fps with all the eye candy on.<br />
<br />
Feisty: On the 2647-21G model, with default BIOS settings, the following changes to xorg.conf work with Direct Rendering enabled and fix the gdm blank screen issue (see above). I have confirmed this over a few months of trouble free operation with and without the dock.<br />
<br />
Driver "savage"<br />
BusID "PCI:1:0:0"<br />
Option "SWCursor" "on"<br />
Option "ShadowStatus" "on"<br />
Option "DMAMode" "Vertex"<br />
Option "DmaType" "PCI"<br />
Option "BusType" "PCI"<br />
<br />
HorizSync 28-51<br />
VertRefresh 43-60<br />
<br />
Have to set DefaultColorDepth to 16 in section Screen, otherwise, the memory card won't have enough memory to do acceleration.<br />
<br />
Make sure the package libgl1-mesa-dri is installed. Deborphan may decide it is just a futile library, but that is false.<br />
<br />
=== Wireless ===<br />
<br />
Ubuntu has a great wireless networking tool that is not installed by default in Breezy or Edgy but is installed by default in Feisty. <br />
<br />
sudo apt-get install network-manager network-manager-gnome<br />
<br />
To launch the applet: {{key|Alt}}-{{key|F2}} and then <tt>nm-applet</tt>.<br />
<br />
A networking applet should appear that you can click on to browse wireless networks and connect to them.<br />
<br />
You may also want install <tt>network-manager-pptp</tt> which is a plugin for the system which makes it easy<br />
to connect to PPTP-based VPN networks. <br />
<br />
==== Confirmed compatible wireless cards ====<br />
<br />
The Orinico Gold card works great with no configuration at all. They may be sold branded as<br />
Lucent or 2wire. These cards can be found for around US $30. Be aware that they may support WEP<br />
but not WPA, which is considered more secure and required in some cases. <br />
<br />
The Belkin f5d7050 Wireless 802.11g USB adaptor (version 3) works under Edgy. The procedure is essentially to install the <tt>ndiswrapper-1.8</tt> and work through [https://help.ubuntu.com/community/WifiDocs/WirelessTroubleShootingGuide WirelessTroubleShootingGuide] at the Ubuntu Community pages.<br />
<br />
=== DVDs ===<br />
<br />
DVDs play great once you've installed all the missing multimedia plugins. Use the [https://help.ubuntu.com/community/MultimediaApplications MultimediaApplications] page at the Ubuntu Community pages and follow the links to the ''freeformats'' and ''restrictedformats'' pages.<br />
<br />
=== Sound ===<br />
<br />
Processor frequency scaling causes interruptions in sound output. To avoid this, disable scaling by removing the service powernowd (System > Administration > Service ...). This may reduce your run time on battery as a trade-off.<br />
<br />
If sound appears disorted after resuming, check your mixer settings. From the volume icon in the dock, you can right click and select "Open Volume Control". Check if "PCM" is all the way up. Turn it down some to reduce the distortion.<br />
<br />
=== Software memory requirements ===<br />
<br />
Here are some test results from trying software with Ubuntu on this model. <br />
<br />
*OpenOffice - OK with 128Mb<br />
*Eclipse - 128Mb is not enough, 384Mb is OK<br />
<br />
== Ubuntu 6.06 LTS, Dapper Drake ==<br />
<br />
When booting the Live/Install CD, adjust the boot options to add the following parameters:<br />
<br />
noacpi acpi=off apm=on<br />
<br />
Sometimes the CD may stall on boot with a blank black screen. Trying again with "Safe Graphics" <br />
mode may help, but is no guarantee that it will work. Best way is to follow the same procedure as for Ubuntu 6.10, i.e., use the alternate install CD.<br />
<br />
Once booted, suspend and resume using {{key|Fn}}-{{key|F4}} was successfully tested running from the LiveCD. <br />
However, in at least a couple of cases, the Live CD froze at seemingly random points shortly<br />
after resuming. <br />
<br />
'''Results from a complete install still need to be documented.'''<br />
<br />
== See Also ==<br />
<br />
Because the T20 and T21 models are so similar, the instructions describing [[Installing Ubuntu on a ThinkPad T21|installation of Ubunto onto a ThinkPad T21]] may also be helpful.<br />
<br />
== External Resources ==<br />
<br />
*[http://del.icio.us/tags/ubuntu+t20 Bookmarks tagged with Ubuntu and T20] on del.icio.us<br />
*[http://ubuntuforums.org/tags/index.php/t20/ Forum posts tagged with T20] on ubuntuforums.org<br />
{{T20}} {{Ubuntu}}</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_on_a_ThinkPad_T20&diff=31285Installing Ubuntu on a ThinkPad T202007-07-15T04:03:16Z<p>Ddouthitt: /* External Resources */</p>
<hr />
<div>== Ubuntu 7.04, Feisty Fawn ==<br />
<br />
Feisty reportedly [http://ubuntuforums.org/showthread.php?t=411498 works well on the T20].<br />
<br />
Whether you install or upgrade, you will need to [[#Suspend_and_Hibernate_with_ACPI|force ACPI to be turned on]].<br />
<br />
See Video section below to fix video problems. Desktop effects don't work. TORCS, ppracer and Actioncube work well. <br />
<br />
The Belkin wireless adapter listed below does not seem to work "out of the box" with Feisty. It gets stuck on authenticating (at least with WEP). <br />
<br />
Some of the other notes from below may apply.<br />
<br />
<br />
<br />
===My experience with T20 and Ubuntu===<br />
<br />
My Install of Feisty required the alternate CD, as the liveCD was unable to start X (blank screen, even using 'safe graphics mode'<br />
After alternate installation finished, it still wouldn't load (a bug with S3 Savage drivers), so I needed to use grub to go into 'recovery mode'. From the prompt it eventually gives you, I used `nano -w /etc/X11/xorg.conf`, Found the section for 'Device'. (shown below, it may have more items) It said "savage", changed it to "vesa". This is one of several workarounds, but seems the most successful. N.B. This will disable Direct Rendering / OpenGL acceleration.<br />
<br />
Section "Device"<br />
Identifier "S3 Inc. 86C270-294 Savage/IX-MV"<br />
Driver "savage"<br />
BusID "PCI:1:0:0"<br />
EndSection<br />
<br />
See Video section below for a fix that is known to work (at least on one T20 model).<br />
<br />
For more info, and other workarounds/fixes, check out:<br />
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-savage/+bug/33617<br />
<br />
== Ubuntu 6.10, Edgy Eft ==<br />
<br />
=== Blank Screen when booting Live CD ===<br />
There is an issue with the Savage driver which makes the initial boot into X hang. <br />
<br />
1. Hit F6 on the boot menu, delete "quiet splash" from the boot parameter line, and add "break=bottom".<br />
<br />
2. After a while you will get a prompt (initramfs), type "chroot /root nano -w /etc/X11/xorg.conf".<br />
<br />
3. Find your video card, and change driver "savage" to "vesa".<br />
<br />
4. Save (ctrl+w), exit nano (ctrl+x), then press ctrl+d.<br />
<br />
5. After that the live cd will work<br />
<br />
This is most likely the same issue as gdm hanging on start. See Video section below for a fix that is known to work (at least on one T20 model).<br />
<br />
Howto with screenshots [https://wiki.ubuntu.com/EdgyKnownIssues/59618 Ubuntu Wiki]<br />
<br />
=== Using APM to Suspend ===<br />
<br />
To enable APM when booting the Live/Install CD, add these boot options:<br />
<br />
`noacpi acpi=off apm=on`<br />
<br />
After booting, `Fn-F4` will still only put the command in a standby state, but<br />
using `apm --suspend` on the command line will successfully suspend machine, and it resumes as well.<br />
<br />
Another user reports that APM leads to a unsuccessful shutdown, hanging on the last splash screen.<br />
<br />
=== Suspend and Hibernate with ACPI ===<br />
<br />
ACPI is a newer and preferred alternative to APM. On the T20 it necessary to force the use of ACPI, using <br />
the following instructions.<br />
<br />
gksudo gedit /boot/grub/menu.lst<br />
<br />
Look for an uncommented line starting with "kernel" and add "acpi=force" to the end of the line. There should be<br />
a "title" line above describing the default kernel that usually boots. Making the change for just the default kernel should be sufficient. <br />
<br />
Once the file has been re-saved, you can re-install the bootloader. The command for that is:<br />
<br />
sudo grub-install /dev/hda<br />
<br />
'''NOTE''': This assumes your hard drive is at /dev/hda. Use "df" to see your hard drive names if you are not sure. <br />
This operation can potentially make your computer unbootable if there are mistakes, so be careful! (Of course, even if the hard drive became unbootable, you could most likely boot off a CD and fix it. )<br />
<br />
==== Fixing Sound-After-Suspend ====<br />
<br />
Sound doesn't work after a suspend/resume cycle without some help. This is due to [https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/11149 a bug in the sound card driver]. Until that's fixed, a workaround is available.<br />
<br />
Install the files available here:<br />
*https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/11149/comments/6<br />
*https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/11149/comments/7<br />
<br />
They automatically kill all sound applications when resuming, and then restart them. Be sure to save<br />
your playlists, etc., before you suspend!<br />
<br />
In `/etc/default/acpi-support` adjust the following values:<br />
<br />
MODULES="sb uart401 sound soundcore maestro cs4281 snd-cs46xx"<br />
RESTART_IRDA=true<br />
RESTORE_SOUND=true<br />
<br />
==== Suspend while using the LiveCD ====<br />
<br />
''ACPI Suspend does not work on the LiveCD. `gnome-power-manager` logs to `/var/log/messages` that is beginning to suspend, but nothing happens. This looks like it might be a [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/50031 known bug] in Ubuntu.''<br />
<br />
==== Getting rid of the password upon resuming ====<br />
<br />
If you don't want the password prompt when resuming, Use "Alt-F2" to open the run box<br />
and type `gconf-editor`. Navigate to "apps / gnome-power-manager ". Browse the options that start with "lock". Each has a description to read. While it's possible to directly disable the password prompt here, consider setting `lock_use_screensaver_settings`. Then, you can control the option through "System : Preferences : Screensaver", and you won't have to use gconf-editor in the future.<br />
<br />
=== Special Key Support ===<br />
<br />
The light and brightness keys work as expected. The volume and brightness keys have some on-screen visuals that automatically<br />
appear to illustrate them, using graphics that match the current theme. Rather nice!<br />
<br />
=== Video ===<br />
<br />
Edgy: Direct rendering / GL acceleration works with the following xorg.conf changes. Use "PCI" in BIOS rather than AGP. I removed all modes apart from 1024x768. ppracer plays well at c. 10fps with all the eye candy on.<br />
<br />
Feisty: On the 2647-21G model, with default BIOS settings, the following changes to xorg.conf work with Direct Rendering enabled and fix the gdm blank screen issue (see above). I have confirmed this over a few months of trouble free operation with and without the dock.<br />
<br />
Driver "savage"<br />
BusID "PCI:1:0:0"<br />
Option "SWCursor" "on"<br />
Option "ShadowStatus" "on"<br />
Option "DMAMode" "Vertex"<br />
Option "DmaType" "PCI"<br />
Option "BusType" "PCI"<br />
<br />
HorizSync 28-51<br />
VertRefresh 43-60<br />
<br />
Have to set DefaultColorDepth to 16 in section Screen, otherwise, the memory card won't have enough memory to do acceleration.<br />
<br />
Make sure the package libgl1-mesa-dri is installed. Deborphan may decide it is just a futile library, but that is false.<br />
<br />
=== Wireless ===<br />
<br />
Ubuntu has a great wireless networking tool that is not installed by default in Breezy or Edgy but is installed by default in Feisty. <br />
<br />
sudo apt-get install network-manager network-manager-gnome<br />
<br />
To launch the applet: {{key|Alt}}-{{key|F2}} and then <tt>nm-applet</tt>.<br />
<br />
A networking applet should appear that you can click on to browse wireless networks and connect to them.<br />
<br />
You may also want install <tt>network-manager-pptp</tt> which is a plugin for the system which makes it easy<br />
to connect to PPTP-based VPN networks. <br />
<br />
==== Confirmed compatible wireless cards ====<br />
<br />
The Orinico Gold card works great with no configuration at all. They may be sold branded as<br />
Lucent or 2wire. These cards can be found for around US $30. Be aware that they may support WEP<br />
but not WPA, which is considered more secure and required in some cases. <br />
<br />
The Belkin f5d7050 Wireless 802.11g USB adaptor (version 3) works under Edgy. The procedure is essentially to install the <tt>ndiswrapper-1.8</tt> and work through [https://help.ubuntu.com/community/WifiDocs/WirelessTroubleShootingGuide WirelessTroubleShootingGuide] at the Ubuntu Community pages.<br />
<br />
=== DVDs ===<br />
<br />
DVDs play great once you've installed all the missing multimedia plugins. Use the [https://help.ubuntu.com/community/MultimediaApplications MultimediaApplications] page at the Ubuntu Community pages and follow the links to the ''freeformats'' and ''restrictedformats'' pages.<br />
<br />
=== Sound ===<br />
<br />
Processor frequency scaling causes interruptions in sound output. To avoid this, disable scaling by removing the service powernowd (System > Administration > Service ...). This may reduce your run time on battery as a trade-off.<br />
<br />
If sound appears disorted after resuming, check your mixer settings. From the volume icon in the dock, you can right click and select "Open Volume Control". Check if "PCM" is all the way up. Turn it down some to reduce the distortion.<br />
<br />
=== Software memory requirements ===<br />
<br />
Here are some test results from trying software with Ubuntu on this model. <br />
<br />
*OpenOffice - OK with 128Mb<br />
*Eclipse - 128Mb is not enough, 384Mb is OK<br />
<br />
== Ubuntu 6.06 LTS, Dapper Drake ==<br />
<br />
When booting the Live/Install CD, adjust the boot options to add the following parameters:<br />
<br />
noacpi acpi=off apm=on<br />
<br />
Sometimes the CD may stall on boot with a blank black screen. Trying again with "Safe Graphics" <br />
mode may help, but is no guarantee that it will work. Best way is to follow the same procedure as for Ubuntu 6.10, i.e., use the alternate install CD.<br />
<br />
Once booted, suspend and resume using {{key|Fn}}-{{key|F4}} was successfully tested running from the LiveCD. <br />
However, in at least a couple of cases, the Live CD froze at seemingly random points shortly<br />
after resuming. <br />
<br />
'''Results from a complete install still need to be documented.'''<br />
<br />
== See Also ==<br />
<br />
Because the models are very similar, [[Installing Ubuntu on a ThinkPad T21]] may also be helpful.<br />
<br />
== External Resources ==<br />
<br />
*[http://del.icio.us/tags/ubuntu+t20 Bookmarks tagged with Ubuntu and T20] on del.icio.us<br />
*[http://ubuntuforums.org/tags/index.php/t20/ Forum posts tagged with T20] on ubuntuforums.org<br />
{{T20}} {{Ubuntu}}</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_on_a_ThinkPad_T20&diff=31284Installing Ubuntu on a ThinkPad T202007-07-15T04:00:11Z<p>Ddouthitt: /* External Resources */</p>
<hr />
<div>== Ubuntu 7.04, Feisty Fawn ==<br />
<br />
Feisty reportedly [http://ubuntuforums.org/showthread.php?t=411498 works well on the T20].<br />
<br />
Whether you install or upgrade, you will need to [[#Suspend_and_Hibernate_with_ACPI|force ACPI to be turned on]].<br />
<br />
See Video section below to fix video problems. Desktop effects don't work. TORCS, ppracer and Actioncube work well. <br />
<br />
The Belkin wireless adapter listed below does not seem to work "out of the box" with Feisty. It gets stuck on authenticating (at least with WEP). <br />
<br />
Some of the other notes from below may apply.<br />
<br />
<br />
<br />
===My experience with T20 and Ubuntu===<br />
<br />
My Install of Feisty required the alternate CD, as the liveCD was unable to start X (blank screen, even using 'safe graphics mode'<br />
After alternate installation finished, it still wouldn't load (a bug with S3 Savage drivers), so I needed to use grub to go into 'recovery mode'. From the prompt it eventually gives you, I used `nano -w /etc/X11/xorg.conf`, Found the section for 'Device'. (shown below, it may have more items) It said "savage", changed it to "vesa". This is one of several workarounds, but seems the most successful. N.B. This will disable Direct Rendering / OpenGL acceleration.<br />
<br />
Section "Device"<br />
Identifier "S3 Inc. 86C270-294 Savage/IX-MV"<br />
Driver "savage"<br />
BusID "PCI:1:0:0"<br />
EndSection<br />
<br />
See Video section below for a fix that is known to work (at least on one T20 model).<br />
<br />
For more info, and other workarounds/fixes, check out:<br />
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-savage/+bug/33617<br />
<br />
== Ubuntu 6.10, Edgy Eft ==<br />
<br />
=== Blank Screen when booting Live CD ===<br />
There is an issue with the Savage driver which makes the initial boot into X hang. <br />
<br />
1. Hit F6 on the boot menu, delete "quiet splash" from the boot parameter line, and add "break=bottom".<br />
<br />
2. After a while you will get a prompt (initramfs), type "chroot /root nano -w /etc/X11/xorg.conf".<br />
<br />
3. Find your video card, and change driver "savage" to "vesa".<br />
<br />
4. Save (ctrl+w), exit nano (ctrl+x), then press ctrl+d.<br />
<br />
5. After that the live cd will work<br />
<br />
This is most likely the same issue as gdm hanging on start. See Video section below for a fix that is known to work (at least on one T20 model).<br />
<br />
Howto with screenshots [https://wiki.ubuntu.com/EdgyKnownIssues/59618 Ubuntu Wiki]<br />
<br />
=== Using APM to Suspend ===<br />
<br />
To enable APM when booting the Live/Install CD, add these boot options:<br />
<br />
`noacpi acpi=off apm=on`<br />
<br />
After booting, `Fn-F4` will still only put the command in a standby state, but<br />
using `apm --suspend` on the command line will successfully suspend machine, and it resumes as well.<br />
<br />
Another user reports that APM leads to a unsuccessful shutdown, hanging on the last splash screen.<br />
<br />
=== Suspend and Hibernate with ACPI ===<br />
<br />
ACPI is a newer and preferred alternative to APM. On the T20 it necessary to force the use of ACPI, using <br />
the following instructions.<br />
<br />
gksudo gedit /boot/grub/menu.lst<br />
<br />
Look for an uncommented line starting with "kernel" and add "acpi=force" to the end of the line. There should be<br />
a "title" line above describing the default kernel that usually boots. Making the change for just the default kernel should be sufficient. <br />
<br />
Once the file has been re-saved, you can re-install the bootloader. The command for that is:<br />
<br />
sudo grub-install /dev/hda<br />
<br />
'''NOTE''': This assumes your hard drive is at /dev/hda. Use "df" to see your hard drive names if you are not sure. <br />
This operation can potentially make your computer unbootable if there are mistakes, so be careful! (Of course, even if the hard drive became unbootable, you could most likely boot off a CD and fix it. )<br />
<br />
==== Fixing Sound-After-Suspend ====<br />
<br />
Sound doesn't work after a suspend/resume cycle without some help. This is due to [https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/11149 a bug in the sound card driver]. Until that's fixed, a workaround is available.<br />
<br />
Install the files available here:<br />
*https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/11149/comments/6<br />
*https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/11149/comments/7<br />
<br />
They automatically kill all sound applications when resuming, and then restart them. Be sure to save<br />
your playlists, etc., before you suspend!<br />
<br />
In `/etc/default/acpi-support` adjust the following values:<br />
<br />
MODULES="sb uart401 sound soundcore maestro cs4281 snd-cs46xx"<br />
RESTART_IRDA=true<br />
RESTORE_SOUND=true<br />
<br />
==== Suspend while using the LiveCD ====<br />
<br />
''ACPI Suspend does not work on the LiveCD. `gnome-power-manager` logs to `/var/log/messages` that is beginning to suspend, but nothing happens. This looks like it might be a [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/50031 known bug] in Ubuntu.''<br />
<br />
==== Getting rid of the password upon resuming ====<br />
<br />
If you don't want the password prompt when resuming, Use "Alt-F2" to open the run box<br />
and type `gconf-editor`. Navigate to "apps / gnome-power-manager ". Browse the options that start with "lock". Each has a description to read. While it's possible to directly disable the password prompt here, consider setting `lock_use_screensaver_settings`. Then, you can control the option through "System : Preferences : Screensaver", and you won't have to use gconf-editor in the future.<br />
<br />
=== Special Key Support ===<br />
<br />
The light and brightness keys work as expected. The volume and brightness keys have some on-screen visuals that automatically<br />
appear to illustrate them, using graphics that match the current theme. Rather nice!<br />
<br />
=== Video ===<br />
<br />
Edgy: Direct rendering / GL acceleration works with the following xorg.conf changes. Use "PCI" in BIOS rather than AGP. I removed all modes apart from 1024x768. ppracer plays well at c. 10fps with all the eye candy on.<br />
<br />
Feisty: On the 2647-21G model, with default BIOS settings, the following changes to xorg.conf work with Direct Rendering enabled and fix the gdm blank screen issue (see above). I have confirmed this over a few months of trouble free operation with and without the dock.<br />
<br />
Driver "savage"<br />
BusID "PCI:1:0:0"<br />
Option "SWCursor" "on"<br />
Option "ShadowStatus" "on"<br />
Option "DMAMode" "Vertex"<br />
Option "DmaType" "PCI"<br />
Option "BusType" "PCI"<br />
<br />
HorizSync 28-51<br />
VertRefresh 43-60<br />
<br />
Have to set DefaultColorDepth to 16 in section Screen, otherwise, the memory card won't have enough memory to do acceleration.<br />
<br />
Make sure the package libgl1-mesa-dri is installed. Deborphan may decide it is just a futile library, but that is false.<br />
<br />
=== Wireless ===<br />
<br />
Ubuntu has a great wireless networking tool that is not installed by default in Breezy or Edgy but is installed by default in Feisty. <br />
<br />
sudo apt-get install network-manager network-manager-gnome<br />
<br />
To launch the applet: {{key|Alt}}-{{key|F2}} and then <tt>nm-applet</tt>.<br />
<br />
A networking applet should appear that you can click on to browse wireless networks and connect to them.<br />
<br />
You may also want install <tt>network-manager-pptp</tt> which is a plugin for the system which makes it easy<br />
to connect to PPTP-based VPN networks. <br />
<br />
==== Confirmed compatible wireless cards ====<br />
<br />
The Orinico Gold card works great with no configuration at all. They may be sold branded as<br />
Lucent or 2wire. These cards can be found for around US $30. Be aware that they may support WEP<br />
but not WPA, which is considered more secure and required in some cases. <br />
<br />
The Belkin f5d7050 Wireless 802.11g USB adaptor (version 3) works under Edgy. The procedure is essentially to install the <tt>ndiswrapper-1.8</tt> and work through [https://help.ubuntu.com/community/WifiDocs/WirelessTroubleShootingGuide WirelessTroubleShootingGuide] at the Ubuntu Community pages.<br />
<br />
=== DVDs ===<br />
<br />
DVDs play great once you've installed all the missing multimedia plugins. Use the [https://help.ubuntu.com/community/MultimediaApplications MultimediaApplications] page at the Ubuntu Community pages and follow the links to the ''freeformats'' and ''restrictedformats'' pages.<br />
<br />
=== Sound ===<br />
<br />
Processor frequency scaling causes interruptions in sound output. To avoid this, disable scaling by removing the service powernowd (System > Administration > Service ...). This may reduce your run time on battery as a trade-off.<br />
<br />
If sound appears disorted after resuming, check your mixer settings. From the volume icon in the dock, you can right click and select "Open Volume Control". Check if "PCM" is all the way up. Turn it down some to reduce the distortion.<br />
<br />
=== Software memory requirements ===<br />
<br />
Here are some test results from trying software with Ubuntu on this model. <br />
<br />
*OpenOffice - OK with 128Mb<br />
*Eclipse - 128Mb is not enough, 384Mb is OK<br />
<br />
== Ubuntu 6.06 LTS, Dapper Drake ==<br />
<br />
When booting the Live/Install CD, adjust the boot options to add the following parameters:<br />
<br />
noacpi acpi=off apm=on<br />
<br />
Sometimes the CD may stall on boot with a blank black screen. Trying again with "Safe Graphics" <br />
mode may help, but is no guarantee that it will work. Best way is to follow the same procedure as for Ubuntu 6.10, i.e., use the alternate install CD.<br />
<br />
Once booted, suspend and resume using {{key|Fn}}-{{key|F4}} was successfully tested running from the LiveCD. <br />
However, in at least a couple of cases, the Live CD froze at seemingly random points shortly<br />
after resuming. <br />
<br />
'''Results from a complete install still need to be documented.'''<br />
<br />
== See Also ==<br />
<br />
Because the models are very similar, [[Installing Ubuntu on a ThinkPad T21]] may also be helpful.<br />
<br />
== External Resources ==<br />
<br />
*[http://del.icio.us/tags/ubuntu+t20 Bookmarks tagged with Ubuntu and T20] on del.icio.us<br />
*[http://ubuntuforums.org/tags/index.php/t20/ Forum posts tagged with T20] on ubuntuforums.org</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_on_a_ThinkPad_T20&diff=31283Installing Ubuntu on a ThinkPad T202007-07-15T03:50:47Z<p>Ddouthitt: /* Wireless */</p>
<hr />
<div>== Ubuntu 7.04, Feisty Fawn ==<br />
<br />
Feisty reportedly [http://ubuntuforums.org/showthread.php?t=411498 works well on the T20].<br />
<br />
Whether you install or upgrade, you will need to [[#Suspend_and_Hibernate_with_ACPI|force ACPI to be turned on]].<br />
<br />
See Video section below to fix video problems. Desktop effects don't work. TORCS, ppracer and Actioncube work well. <br />
<br />
The Belkin wireless adapter listed below does not seem to work "out of the box" with Feisty. It gets stuck on authenticating (at least with WEP). <br />
<br />
Some of the other notes from below may apply.<br />
<br />
<br />
<br />
===My experience with T20 and Ubuntu===<br />
<br />
My Install of Feisty required the alternate CD, as the liveCD was unable to start X (blank screen, even using 'safe graphics mode'<br />
After alternate installation finished, it still wouldn't load (a bug with S3 Savage drivers), so I needed to use grub to go into 'recovery mode'. From the prompt it eventually gives you, I used `nano -w /etc/X11/xorg.conf`, Found the section for 'Device'. (shown below, it may have more items) It said "savage", changed it to "vesa". This is one of several workarounds, but seems the most successful. N.B. This will disable Direct Rendering / OpenGL acceleration.<br />
<br />
Section "Device"<br />
Identifier "S3 Inc. 86C270-294 Savage/IX-MV"<br />
Driver "savage"<br />
BusID "PCI:1:0:0"<br />
EndSection<br />
<br />
See Video section below for a fix that is known to work (at least on one T20 model).<br />
<br />
For more info, and other workarounds/fixes, check out:<br />
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-savage/+bug/33617<br />
<br />
== Ubuntu 6.10, Edgy Eft ==<br />
<br />
=== Blank Screen when booting Live CD ===<br />
There is an issue with the Savage driver which makes the initial boot into X hang. <br />
<br />
1. Hit F6 on the boot menu, delete "quiet splash" from the boot parameter line, and add "break=bottom".<br />
<br />
2. After a while you will get a prompt (initramfs), type "chroot /root nano -w /etc/X11/xorg.conf".<br />
<br />
3. Find your video card, and change driver "savage" to "vesa".<br />
<br />
4. Save (ctrl+w), exit nano (ctrl+x), then press ctrl+d.<br />
<br />
5. After that the live cd will work<br />
<br />
This is most likely the same issue as gdm hanging on start. See Video section below for a fix that is known to work (at least on one T20 model).<br />
<br />
Howto with screenshots [https://wiki.ubuntu.com/EdgyKnownIssues/59618 Ubuntu Wiki]<br />
<br />
=== Using APM to Suspend ===<br />
<br />
To enable APM when booting the Live/Install CD, add these boot options:<br />
<br />
`noacpi acpi=off apm=on`<br />
<br />
After booting, `Fn-F4` will still only put the command in a standby state, but<br />
using `apm --suspend` on the command line will successfully suspend machine, and it resumes as well.<br />
<br />
Another user reports that APM leads to a unsuccessful shutdown, hanging on the last splash screen.<br />
<br />
=== Suspend and Hibernate with ACPI ===<br />
<br />
ACPI is a newer and preferred alternative to APM. On the T20 it necessary to force the use of ACPI, using <br />
the following instructions.<br />
<br />
gksudo gedit /boot/grub/menu.lst<br />
<br />
Look for an uncommented line starting with "kernel" and add "acpi=force" to the end of the line. There should be<br />
a "title" line above describing the default kernel that usually boots. Making the change for just the default kernel should be sufficient. <br />
<br />
Once the file has been re-saved, you can re-install the bootloader. The command for that is:<br />
<br />
sudo grub-install /dev/hda<br />
<br />
'''NOTE''': This assumes your hard drive is at /dev/hda. Use "df" to see your hard drive names if you are not sure. <br />
This operation can potentially make your computer unbootable if there are mistakes, so be careful! (Of course, even if the hard drive became unbootable, you could most likely boot off a CD and fix it. )<br />
<br />
==== Fixing Sound-After-Suspend ====<br />
<br />
Sound doesn't work after a suspend/resume cycle without some help. This is due to [https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/11149 a bug in the sound card driver]. Until that's fixed, a workaround is available.<br />
<br />
Install the files available here:<br />
*https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/11149/comments/6<br />
*https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/11149/comments/7<br />
<br />
They automatically kill all sound applications when resuming, and then restart them. Be sure to save<br />
your playlists, etc., before you suspend!<br />
<br />
In `/etc/default/acpi-support` adjust the following values:<br />
<br />
MODULES="sb uart401 sound soundcore maestro cs4281 snd-cs46xx"<br />
RESTART_IRDA=true<br />
RESTORE_SOUND=true<br />
<br />
==== Suspend while using the LiveCD ====<br />
<br />
''ACPI Suspend does not work on the LiveCD. `gnome-power-manager` logs to `/var/log/messages` that is beginning to suspend, but nothing happens. This looks like it might be a [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/50031 known bug] in Ubuntu.''<br />
<br />
==== Getting rid of the password upon resuming ====<br />
<br />
If you don't want the password prompt when resuming, Use "Alt-F2" to open the run box<br />
and type `gconf-editor`. Navigate to "apps / gnome-power-manager ". Browse the options that start with "lock". Each has a description to read. While it's possible to directly disable the password prompt here, consider setting `lock_use_screensaver_settings`. Then, you can control the option through "System : Preferences : Screensaver", and you won't have to use gconf-editor in the future.<br />
<br />
=== Special Key Support ===<br />
<br />
The light and brightness keys work as expected. The volume and brightness keys have some on-screen visuals that automatically<br />
appear to illustrate them, using graphics that match the current theme. Rather nice!<br />
<br />
=== Video ===<br />
<br />
Edgy: Direct rendering / GL acceleration works with the following xorg.conf changes. Use "PCI" in BIOS rather than AGP. I removed all modes apart from 1024x768. ppracer plays well at c. 10fps with all the eye candy on.<br />
<br />
Feisty: On the 2647-21G model, with default BIOS settings, the following changes to xorg.conf work with Direct Rendering enabled and fix the gdm blank screen issue (see above). I have confirmed this over a few months of trouble free operation with and without the dock.<br />
<br />
Driver "savage"<br />
BusID "PCI:1:0:0"<br />
Option "SWCursor" "on"<br />
Option "ShadowStatus" "on"<br />
Option "DMAMode" "Vertex"<br />
Option "DmaType" "PCI"<br />
Option "BusType" "PCI"<br />
<br />
HorizSync 28-51<br />
VertRefresh 43-60<br />
<br />
Have to set DefaultColorDepth to 16 in section Screen, otherwise, the memory card won't have enough memory to do acceleration.<br />
<br />
Make sure the package libgl1-mesa-dri is installed. Deborphan may decide it is just a futile library, but that is false.<br />
<br />
=== Wireless ===<br />
<br />
Ubuntu has a great wireless networking tool that is not installed by default in Breezy or Edgy but is installed by default in Feisty. <br />
<br />
sudo apt-get install network-manager network-manager-gnome<br />
<br />
To launch the applet: {{key|Alt}}-{{key|F2}} and then <tt>nm-applet</tt>.<br />
<br />
A networking applet should appear that you can click on to browse wireless networks and connect to them.<br />
<br />
You may also want install <tt>network-manager-pptp</tt> which is a plugin for the system which makes it easy<br />
to connect to PPTP-based VPN networks. <br />
<br />
==== Confirmed compatible wireless cards ====<br />
<br />
The Orinico Gold card works great with no configuration at all. They may be sold branded as<br />
Lucent or 2wire. These cards can be found for around US $30. Be aware that they may support WEP<br />
but not WPA, which is considered more secure and required in some cases. <br />
<br />
The Belkin f5d7050 Wireless 802.11g USB adaptor (version 3) works under Edgy. The procedure is essentially to install the <tt>ndiswrapper-1.8</tt> and work through [https://help.ubuntu.com/community/WifiDocs/WirelessTroubleShootingGuide WirelessTroubleShootingGuide] at the Ubuntu Community pages.<br />
<br />
=== DVDs ===<br />
<br />
DVDs play great once you've installed all the missing multimedia plugins. Use the [https://help.ubuntu.com/community/MultimediaApplications MultimediaApplications] page at the Ubuntu Community pages and follow the links to the ''freeformats'' and ''restrictedformats'' pages.<br />
<br />
=== Sound ===<br />
<br />
Processor frequency scaling causes interruptions in sound output. To avoid this, disable scaling by removing the service powernowd (System > Administration > Service ...). This may reduce your run time on battery as a trade-off.<br />
<br />
If sound appears disorted after resuming, check your mixer settings. From the volume icon in the dock, you can right click and select "Open Volume Control". Check if "PCM" is all the way up. Turn it down some to reduce the distortion.<br />
<br />
=== Software memory requirements ===<br />
<br />
Here are some test results from trying software with Ubuntu on this model. <br />
<br />
*OpenOffice - OK with 128Mb<br />
*Eclipse - 128Mb is not enough, 384Mb is OK<br />
<br />
== Ubuntu 6.06 LTS, Dapper Drake ==<br />
<br />
When booting the Live/Install CD, adjust the boot options to add the following parameters:<br />
<br />
noacpi acpi=off apm=on<br />
<br />
Sometimes the CD may stall on boot with a blank black screen. Trying again with "Safe Graphics" <br />
mode may help, but is no guarantee that it will work. Best way is to follow the same procedure as for Ubuntu 6.10, i.e., use the alternate install CD.<br />
<br />
Once booted, suspend and resume using {{key|Fn}}-{{key|F4}} was successfully tested running from the LiveCD. <br />
However, in at least a couple of cases, the Live CD froze at seemingly random points shortly<br />
after resuming. <br />
<br />
'''Results from a complete install still need to be documented.'''<br />
<br />
== See Also ==<br />
<br />
Because the models are very similar, [[Installing Ubuntu on a ThinkPad T21]] may also be helpful.<br />
<br />
== External Resources ==<br />
<br />
*[http://del.icio.us/tags/ubuntu+t20 Bookmarks tagged with Ubuntu and T20] on del.icio.us<br />
*[http://ubuntuforums.org/tags/index.php/t20/ Forum posts tagged with T20] on ubuntuforums.org<br />
<br />
{{Ubuntu}} {{T20}}</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_on_a_ThinkPad_T20&diff=31282Installing Ubuntu on a ThinkPad T202007-07-15T03:49:21Z<p>Ddouthitt: /* Confirmed compatible wireless cards */</p>
<hr />
<div>== Ubuntu 7.04, Feisty Fawn ==<br />
<br />
Feisty reportedly [http://ubuntuforums.org/showthread.php?t=411498 works well on the T20].<br />
<br />
Whether you install or upgrade, you will need to [[#Suspend_and_Hibernate_with_ACPI|force ACPI to be turned on]].<br />
<br />
See Video section below to fix video problems. Desktop effects don't work. TORCS, ppracer and Actioncube work well. <br />
<br />
The Belkin wireless adapter listed below does not seem to work "out of the box" with Feisty. It gets stuck on authenticating (at least with WEP). <br />
<br />
Some of the other notes from below may apply.<br />
<br />
<br />
<br />
===My experience with T20 and Ubuntu===<br />
<br />
My Install of Feisty required the alternate CD, as the liveCD was unable to start X (blank screen, even using 'safe graphics mode'<br />
After alternate installation finished, it still wouldn't load (a bug with S3 Savage drivers), so I needed to use grub to go into 'recovery mode'. From the prompt it eventually gives you, I used `nano -w /etc/X11/xorg.conf`, Found the section for 'Device'. (shown below, it may have more items) It said "savage", changed it to "vesa". This is one of several workarounds, but seems the most successful. N.B. This will disable Direct Rendering / OpenGL acceleration.<br />
<br />
Section "Device"<br />
Identifier "S3 Inc. 86C270-294 Savage/IX-MV"<br />
Driver "savage"<br />
BusID "PCI:1:0:0"<br />
EndSection<br />
<br />
See Video section below for a fix that is known to work (at least on one T20 model).<br />
<br />
For more info, and other workarounds/fixes, check out:<br />
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-savage/+bug/33617<br />
<br />
== Ubuntu 6.10, Edgy Eft ==<br />
<br />
=== Blank Screen when booting Live CD ===<br />
There is an issue with the Savage driver which makes the initial boot into X hang. <br />
<br />
1. Hit F6 on the boot menu, delete "quiet splash" from the boot parameter line, and add "break=bottom".<br />
<br />
2. After a while you will get a prompt (initramfs), type "chroot /root nano -w /etc/X11/xorg.conf".<br />
<br />
3. Find your video card, and change driver "savage" to "vesa".<br />
<br />
4. Save (ctrl+w), exit nano (ctrl+x), then press ctrl+d.<br />
<br />
5. After that the live cd will work<br />
<br />
This is most likely the same issue as gdm hanging on start. See Video section below for a fix that is known to work (at least on one T20 model).<br />
<br />
Howto with screenshots [https://wiki.ubuntu.com/EdgyKnownIssues/59618 Ubuntu Wiki]<br />
<br />
=== Using APM to Suspend ===<br />
<br />
To enable APM when booting the Live/Install CD, add these boot options:<br />
<br />
`noacpi acpi=off apm=on`<br />
<br />
After booting, `Fn-F4` will still only put the command in a standby state, but<br />
using `apm --suspend` on the command line will successfully suspend machine, and it resumes as well.<br />
<br />
Another user reports that APM leads to a unsuccessful shutdown, hanging on the last splash screen.<br />
<br />
=== Suspend and Hibernate with ACPI ===<br />
<br />
ACPI is a newer and preferred alternative to APM. On the T20 it necessary to force the use of ACPI, using <br />
the following instructions.<br />
<br />
gksudo gedit /boot/grub/menu.lst<br />
<br />
Look for an uncommented line starting with "kernel" and add "acpi=force" to the end of the line. There should be<br />
a "title" line above describing the default kernel that usually boots. Making the change for just the default kernel should be sufficient. <br />
<br />
Once the file has been re-saved, you can re-install the bootloader. The command for that is:<br />
<br />
sudo grub-install /dev/hda<br />
<br />
'''NOTE''': This assumes your hard drive is at /dev/hda. Use "df" to see your hard drive names if you are not sure. <br />
This operation can potentially make your computer unbootable if there are mistakes, so be careful! (Of course, even if the hard drive became unbootable, you could most likely boot off a CD and fix it. )<br />
<br />
==== Fixing Sound-After-Suspend ====<br />
<br />
Sound doesn't work after a suspend/resume cycle without some help. This is due to [https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/11149 a bug in the sound card driver]. Until that's fixed, a workaround is available.<br />
<br />
Install the files available here:<br />
*https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/11149/comments/6<br />
*https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/11149/comments/7<br />
<br />
They automatically kill all sound applications when resuming, and then restart them. Be sure to save<br />
your playlists, etc., before you suspend!<br />
<br />
In `/etc/default/acpi-support` adjust the following values:<br />
<br />
MODULES="sb uart401 sound soundcore maestro cs4281 snd-cs46xx"<br />
RESTART_IRDA=true<br />
RESTORE_SOUND=true<br />
<br />
==== Suspend while using the LiveCD ====<br />
<br />
''ACPI Suspend does not work on the LiveCD. `gnome-power-manager` logs to `/var/log/messages` that is beginning to suspend, but nothing happens. This looks like it might be a [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/50031 known bug] in Ubuntu.''<br />
<br />
==== Getting rid of the password upon resuming ====<br />
<br />
If you don't want the password prompt when resuming, Use "Alt-F2" to open the run box<br />
and type `gconf-editor`. Navigate to "apps / gnome-power-manager ". Browse the options that start with "lock". Each has a description to read. While it's possible to directly disable the password prompt here, consider setting `lock_use_screensaver_settings`. Then, you can control the option through "System : Preferences : Screensaver", and you won't have to use gconf-editor in the future.<br />
<br />
=== Special Key Support ===<br />
<br />
The light and brightness keys work as expected. The volume and brightness keys have some on-screen visuals that automatically<br />
appear to illustrate them, using graphics that match the current theme. Rather nice!<br />
<br />
=== Video ===<br />
<br />
Edgy: Direct rendering / GL acceleration works with the following xorg.conf changes. Use "PCI" in BIOS rather than AGP. I removed all modes apart from 1024x768. ppracer plays well at c. 10fps with all the eye candy on.<br />
<br />
Feisty: On the 2647-21G model, with default BIOS settings, the following changes to xorg.conf work with Direct Rendering enabled and fix the gdm blank screen issue (see above). I have confirmed this over a few months of trouble free operation with and without the dock.<br />
<br />
Driver "savage"<br />
BusID "PCI:1:0:0"<br />
Option "SWCursor" "on"<br />
Option "ShadowStatus" "on"<br />
Option "DMAMode" "Vertex"<br />
Option "DmaType" "PCI"<br />
Option "BusType" "PCI"<br />
<br />
HorizSync 28-51<br />
VertRefresh 43-60<br />
<br />
Have to set DefaultColorDepth to 16 in section Screen, otherwise, the memory card won't have enough memory to do acceleration.<br />
<br />
Make sure the package libgl1-mesa-dri is installed. Deborphan may decide it is just a futile library, but that is false.<br />
<br />
=== Wireless ===<br />
<br />
Ubuntu has a great wireless networking tool that is not installed by default in Breezy or Edgy but is in Feisty. <br />
<br />
sudo apt-get install network-manager network-manager-gnome<br />
<br />
To launch the applet: Alt-F2 and then 'nm-applet'.<br />
<br />
A networking applet should appear that you can click on to browse wireless networks and connect to them.<br />
<br />
You may also want install "network-manager-pptp" which is a plugin for the system which makes it easy<br />
to connect to PPTP-based VPN networks. <br />
<br />
==== Confirmed compatible wireless cards ====<br />
<br />
The Orinico Gold card works great with no configuration at all. They may be sold branded as<br />
Lucent or 2wire. These cards can be found for around US $30. Be aware that they may support WEP<br />
but not WPA, which is considered more secure and required in some cases. <br />
<br />
The Belkin f5d7050 Wireless 802.11g USB adaptor (version 3) works under Edgy. The procedure is essentially to install the <tt>ndiswrapper-1.8</tt> and work through [https://help.ubuntu.com/community/WifiDocs/WirelessTroubleShootingGuide WirelessTroubleShootingGuide] at the Ubuntu Community pages.<br />
<br />
=== DVDs ===<br />
<br />
DVDs play great once you've installed all the missing multimedia plugins. Use the [https://help.ubuntu.com/community/MultimediaApplications MultimediaApplications] page at the Ubuntu Community pages and follow the links to the ''freeformats'' and ''restrictedformats'' pages.<br />
<br />
=== Sound ===<br />
<br />
Processor frequency scaling causes interruptions in sound output. To avoid this, disable scaling by removing the service powernowd (System > Administration > Service ...). This may reduce your run time on battery as a trade-off.<br />
<br />
If sound appears disorted after resuming, check your mixer settings. From the volume icon in the dock, you can right click and select "Open Volume Control". Check if "PCM" is all the way up. Turn it down some to reduce the distortion.<br />
<br />
=== Software memory requirements ===<br />
<br />
Here are some test results from trying software with Ubuntu on this model. <br />
<br />
*OpenOffice - OK with 128Mb<br />
*Eclipse - 128Mb is not enough, 384Mb is OK<br />
<br />
== Ubuntu 6.06 LTS, Dapper Drake ==<br />
<br />
When booting the Live/Install CD, adjust the boot options to add the following parameters:<br />
<br />
noacpi acpi=off apm=on<br />
<br />
Sometimes the CD may stall on boot with a blank black screen. Trying again with "Safe Graphics" <br />
mode may help, but is no guarantee that it will work. Best way is to follow the same procedure as for Ubuntu 6.10, i.e., use the alternate install CD.<br />
<br />
Once booted, suspend and resume using {{key|Fn}}-{{key|F4}} was successfully tested running from the LiveCD. <br />
However, in at least a couple of cases, the Live CD froze at seemingly random points shortly<br />
after resuming. <br />
<br />
'''Results from a complete install still need to be documented.'''<br />
<br />
== See Also ==<br />
<br />
Because the models are very similar, [[Installing Ubuntu on a ThinkPad T21]] may also be helpful.<br />
<br />
== External Resources ==<br />
<br />
*[http://del.icio.us/tags/ubuntu+t20 Bookmarks tagged with Ubuntu and T20] on del.icio.us<br />
*[http://ubuntuforums.org/tags/index.php/t20/ Forum posts tagged with T20] on ubuntuforums.org<br />
<br />
{{Ubuntu}} {{T20}}</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_on_a_ThinkPad_T20&diff=31281Installing Ubuntu on a ThinkPad T202007-07-15T03:46:41Z<p>Ddouthitt: /* DVDs */ reworked sentence</p>
<hr />
<div>== Ubuntu 7.04, Feisty Fawn ==<br />
<br />
Feisty reportedly [http://ubuntuforums.org/showthread.php?t=411498 works well on the T20].<br />
<br />
Whether you install or upgrade, you will need to [[#Suspend_and_Hibernate_with_ACPI|force ACPI to be turned on]].<br />
<br />
See Video section below to fix video problems. Desktop effects don't work. TORCS, ppracer and Actioncube work well. <br />
<br />
The Belkin wireless adapter listed below does not seem to work "out of the box" with Feisty. It gets stuck on authenticating (at least with WEP). <br />
<br />
Some of the other notes from below may apply.<br />
<br />
<br />
<br />
===My experience with T20 and Ubuntu===<br />
<br />
My Install of Feisty required the alternate CD, as the liveCD was unable to start X (blank screen, even using 'safe graphics mode'<br />
After alternate installation finished, it still wouldn't load (a bug with S3 Savage drivers), so I needed to use grub to go into 'recovery mode'. From the prompt it eventually gives you, I used `nano -w /etc/X11/xorg.conf`, Found the section for 'Device'. (shown below, it may have more items) It said "savage", changed it to "vesa". This is one of several workarounds, but seems the most successful. N.B. This will disable Direct Rendering / OpenGL acceleration.<br />
<br />
Section "Device"<br />
Identifier "S3 Inc. 86C270-294 Savage/IX-MV"<br />
Driver "savage"<br />
BusID "PCI:1:0:0"<br />
EndSection<br />
<br />
See Video section below for a fix that is known to work (at least on one T20 model).<br />
<br />
For more info, and other workarounds/fixes, check out:<br />
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-savage/+bug/33617<br />
<br />
== Ubuntu 6.10, Edgy Eft ==<br />
<br />
=== Blank Screen when booting Live CD ===<br />
There is an issue with the Savage driver which makes the initial boot into X hang. <br />
<br />
1. Hit F6 on the boot menu, delete "quiet splash" from the boot parameter line, and add "break=bottom".<br />
<br />
2. After a while you will get a prompt (initramfs), type "chroot /root nano -w /etc/X11/xorg.conf".<br />
<br />
3. Find your video card, and change driver "savage" to "vesa".<br />
<br />
4. Save (ctrl+w), exit nano (ctrl+x), then press ctrl+d.<br />
<br />
5. After that the live cd will work<br />
<br />
This is most likely the same issue as gdm hanging on start. See Video section below for a fix that is known to work (at least on one T20 model).<br />
<br />
Howto with screenshots [https://wiki.ubuntu.com/EdgyKnownIssues/59618 Ubuntu Wiki]<br />
<br />
=== Using APM to Suspend ===<br />
<br />
To enable APM when booting the Live/Install CD, add these boot options:<br />
<br />
`noacpi acpi=off apm=on`<br />
<br />
After booting, `Fn-F4` will still only put the command in a standby state, but<br />
using `apm --suspend` on the command line will successfully suspend machine, and it resumes as well.<br />
<br />
Another user reports that APM leads to a unsuccessful shutdown, hanging on the last splash screen.<br />
<br />
=== Suspend and Hibernate with ACPI ===<br />
<br />
ACPI is a newer and preferred alternative to APM. On the T20 it necessary to force the use of ACPI, using <br />
the following instructions.<br />
<br />
gksudo gedit /boot/grub/menu.lst<br />
<br />
Look for an uncommented line starting with "kernel" and add "acpi=force" to the end of the line. There should be<br />
a "title" line above describing the default kernel that usually boots. Making the change for just the default kernel should be sufficient. <br />
<br />
Once the file has been re-saved, you can re-install the bootloader. The command for that is:<br />
<br />
sudo grub-install /dev/hda<br />
<br />
'''NOTE''': This assumes your hard drive is at /dev/hda. Use "df" to see your hard drive names if you are not sure. <br />
This operation can potentially make your computer unbootable if there are mistakes, so be careful! (Of course, even if the hard drive became unbootable, you could most likely boot off a CD and fix it. )<br />
<br />
==== Fixing Sound-After-Suspend ====<br />
<br />
Sound doesn't work after a suspend/resume cycle without some help. This is due to [https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/11149 a bug in the sound card driver]. Until that's fixed, a workaround is available.<br />
<br />
Install the files available here:<br />
*https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/11149/comments/6<br />
*https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/11149/comments/7<br />
<br />
They automatically kill all sound applications when resuming, and then restart them. Be sure to save<br />
your playlists, etc., before you suspend!<br />
<br />
In `/etc/default/acpi-support` adjust the following values:<br />
<br />
MODULES="sb uart401 sound soundcore maestro cs4281 snd-cs46xx"<br />
RESTART_IRDA=true<br />
RESTORE_SOUND=true<br />
<br />
==== Suspend while using the LiveCD ====<br />
<br />
''ACPI Suspend does not work on the LiveCD. `gnome-power-manager` logs to `/var/log/messages` that is beginning to suspend, but nothing happens. This looks like it might be a [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/50031 known bug] in Ubuntu.''<br />
<br />
==== Getting rid of the password upon resuming ====<br />
<br />
If you don't want the password prompt when resuming, Use "Alt-F2" to open the run box<br />
and type `gconf-editor`. Navigate to "apps / gnome-power-manager ". Browse the options that start with "lock". Each has a description to read. While it's possible to directly disable the password prompt here, consider setting `lock_use_screensaver_settings`. Then, you can control the option through "System : Preferences : Screensaver", and you won't have to use gconf-editor in the future.<br />
<br />
=== Special Key Support ===<br />
<br />
The light and brightness keys work as expected. The volume and brightness keys have some on-screen visuals that automatically<br />
appear to illustrate them, using graphics that match the current theme. Rather nice!<br />
<br />
=== Video ===<br />
<br />
Edgy: Direct rendering / GL acceleration works with the following xorg.conf changes. Use "PCI" in BIOS rather than AGP. I removed all modes apart from 1024x768. ppracer plays well at c. 10fps with all the eye candy on.<br />
<br />
Feisty: On the 2647-21G model, with default BIOS settings, the following changes to xorg.conf work with Direct Rendering enabled and fix the gdm blank screen issue (see above). I have confirmed this over a few months of trouble free operation with and without the dock.<br />
<br />
Driver "savage"<br />
BusID "PCI:1:0:0"<br />
Option "SWCursor" "on"<br />
Option "ShadowStatus" "on"<br />
Option "DMAMode" "Vertex"<br />
Option "DmaType" "PCI"<br />
Option "BusType" "PCI"<br />
<br />
HorizSync 28-51<br />
VertRefresh 43-60<br />
<br />
Have to set DefaultColorDepth to 16 in section Screen, otherwise, the memory card won't have enough memory to do acceleration.<br />
<br />
Make sure the package libgl1-mesa-dri is installed. Deborphan may decide it is just a futile library, but that is false.<br />
<br />
=== Wireless ===<br />
<br />
Ubuntu has a great wireless networking tool that is not installed by default in Breezy or Edgy but is in Feisty. <br />
<br />
sudo apt-get install network-manager network-manager-gnome<br />
<br />
To launch the applet: Alt-F2 and then 'nm-applet'.<br />
<br />
A networking applet should appear that you can click on to browse wireless networks and connect to them.<br />
<br />
You may also want install "network-manager-pptp" which is a plugin for the system which makes it easy<br />
to connect to PPTP-based VPN networks. <br />
<br />
==== Confirmed compatible wireless cards ====<br />
<br />
The Orinico Gold card works great with no configuration at all. They may be sold branded as<br />
Lucent or 2wire. These cards can be found for around US $30. Be aware that they may support WEP<br />
but not WPA, which is considered more secure and required in some cases. <br />
<br />
Belkin f5d7050 Wireless 802.11g USB adaptor (version 3) works under Edgy. The procedure is essentially install the ndiswrapper-1.8 and work through https://help.ubuntu.com/community/WifiDocs/WirelessTroubleShootingGuide.=<br />
<br />
=== DVDs ===<br />
<br />
DVDs play great once you've installed all the missing multimedia plugins. Use the [https://help.ubuntu.com/community/MultimediaApplications MultimediaApplications] page at the Ubuntu Community pages and follow the links to the ''freeformats'' and ''restrictedformats'' pages.<br />
<br />
=== Sound ===<br />
<br />
Processor frequency scaling causes interruptions in sound output. To avoid this, disable scaling by removing the service powernowd (System > Administration > Service ...). This may reduce your run time on battery as a trade-off.<br />
<br />
If sound appears disorted after resuming, check your mixer settings. From the volume icon in the dock, you can right click and select "Open Volume Control". Check if "PCM" is all the way up. Turn it down some to reduce the distortion.<br />
<br />
=== Software memory requirements ===<br />
<br />
Here are some test results from trying software with Ubuntu on this model. <br />
<br />
*OpenOffice - OK with 128Mb<br />
*Eclipse - 128Mb is not enough, 384Mb is OK<br />
<br />
== Ubuntu 6.06 LTS, Dapper Drake ==<br />
<br />
When booting the Live/Install CD, adjust the boot options to add the following parameters:<br />
<br />
noacpi acpi=off apm=on<br />
<br />
Sometimes the CD may stall on boot with a blank black screen. Trying again with "Safe Graphics" <br />
mode may help, but is no guarantee that it will work. Best way is to follow the same procedure as for Ubuntu 6.10, i.e., use the alternate install CD.<br />
<br />
Once booted, suspend and resume using {{key|Fn}}-{{key|F4}} was successfully tested running from the LiveCD. <br />
However, in at least a couple of cases, the Live CD froze at seemingly random points shortly<br />
after resuming. <br />
<br />
'''Results from a complete install still need to be documented.'''<br />
<br />
== See Also ==<br />
<br />
Because the models are very similar, [[Installing Ubuntu on a ThinkPad T21]] may also be helpful.<br />
<br />
== External Resources ==<br />
<br />
*[http://del.icio.us/tags/ubuntu+t20 Bookmarks tagged with Ubuntu and T20] on del.icio.us<br />
*[http://ubuntuforums.org/tags/index.php/t20/ Forum posts tagged with T20] on ubuntuforums.org<br />
<br />
{{Ubuntu}} {{T20}}</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_on_a_ThinkPad_T20&diff=31280Installing Ubuntu on a ThinkPad T202007-07-15T03:43:36Z<p>Ddouthitt: /* Ubuntu 6.06 LTS, Dapper Drake */</p>
<hr />
<div>== Ubuntu 7.04, Feisty Fawn ==<br />
<br />
Feisty reportedly [http://ubuntuforums.org/showthread.php?t=411498 works well on the T20].<br />
<br />
Whether you install or upgrade, you will need to [[#Suspend_and_Hibernate_with_ACPI|force ACPI to be turned on]].<br />
<br />
See Video section below to fix video problems. Desktop effects don't work. TORCS, ppracer and Actioncube work well. <br />
<br />
The Belkin wireless adapter listed below does not seem to work "out of the box" with Feisty. It gets stuck on authenticating (at least with WEP). <br />
<br />
Some of the other notes from below may apply.<br />
<br />
<br />
<br />
===My experience with T20 and Ubuntu===<br />
<br />
My Install of Feisty required the alternate CD, as the liveCD was unable to start X (blank screen, even using 'safe graphics mode'<br />
After alternate installation finished, it still wouldn't load (a bug with S3 Savage drivers), so I needed to use grub to go into 'recovery mode'. From the prompt it eventually gives you, I used `nano -w /etc/X11/xorg.conf`, Found the section for 'Device'. (shown below, it may have more items) It said "savage", changed it to "vesa". This is one of several workarounds, but seems the most successful. N.B. This will disable Direct Rendering / OpenGL acceleration.<br />
<br />
Section "Device"<br />
Identifier "S3 Inc. 86C270-294 Savage/IX-MV"<br />
Driver "savage"<br />
BusID "PCI:1:0:0"<br />
EndSection<br />
<br />
See Video section below for a fix that is known to work (at least on one T20 model).<br />
<br />
For more info, and other workarounds/fixes, check out:<br />
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-savage/+bug/33617<br />
<br />
== Ubuntu 6.10, Edgy Eft ==<br />
<br />
=== Blank Screen when booting Live CD ===<br />
There is an issue with the Savage driver which makes the initial boot into X hang. <br />
<br />
1. Hit F6 on the boot menu, delete "quiet splash" from the boot parameter line, and add "break=bottom".<br />
<br />
2. After a while you will get a prompt (initramfs), type "chroot /root nano -w /etc/X11/xorg.conf".<br />
<br />
3. Find your video card, and change driver "savage" to "vesa".<br />
<br />
4. Save (ctrl+w), exit nano (ctrl+x), then press ctrl+d.<br />
<br />
5. After that the live cd will work<br />
<br />
This is most likely the same issue as gdm hanging on start. See Video section below for a fix that is known to work (at least on one T20 model).<br />
<br />
Howto with screenshots [https://wiki.ubuntu.com/EdgyKnownIssues/59618 Ubuntu Wiki]<br />
<br />
=== Using APM to Suspend ===<br />
<br />
To enable APM when booting the Live/Install CD, add these boot options:<br />
<br />
`noacpi acpi=off apm=on`<br />
<br />
After booting, `Fn-F4` will still only put the command in a standby state, but<br />
using `apm --suspend` on the command line will successfully suspend machine, and it resumes as well.<br />
<br />
Another user reports that APM leads to a unsuccessful shutdown, hanging on the last splash screen.<br />
<br />
=== Suspend and Hibernate with ACPI ===<br />
<br />
ACPI is a newer and preferred alternative to APM. On the T20 it necessary to force the use of ACPI, using <br />
the following instructions.<br />
<br />
gksudo gedit /boot/grub/menu.lst<br />
<br />
Look for an uncommented line starting with "kernel" and add "acpi=force" to the end of the line. There should be<br />
a "title" line above describing the default kernel that usually boots. Making the change for just the default kernel should be sufficient. <br />
<br />
Once the file has been re-saved, you can re-install the bootloader. The command for that is:<br />
<br />
sudo grub-install /dev/hda<br />
<br />
'''NOTE''': This assumes your hard drive is at /dev/hda. Use "df" to see your hard drive names if you are not sure. <br />
This operation can potentially make your computer unbootable if there are mistakes, so be careful! (Of course, even if the hard drive became unbootable, you could most likely boot off a CD and fix it. )<br />
<br />
==== Fixing Sound-After-Suspend ====<br />
<br />
Sound doesn't work after a suspend/resume cycle without some help. This is due to [https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/11149 a bug in the sound card driver]. Until that's fixed, a workaround is available.<br />
<br />
Install the files available here:<br />
*https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/11149/comments/6<br />
*https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/11149/comments/7<br />
<br />
They automatically kill all sound applications when resuming, and then restart them. Be sure to save<br />
your playlists, etc., before you suspend!<br />
<br />
In `/etc/default/acpi-support` adjust the following values:<br />
<br />
MODULES="sb uart401 sound soundcore maestro cs4281 snd-cs46xx"<br />
RESTART_IRDA=true<br />
RESTORE_SOUND=true<br />
<br />
==== Suspend while using the LiveCD ====<br />
<br />
''ACPI Suspend does not work on the LiveCD. `gnome-power-manager` logs to `/var/log/messages` that is beginning to suspend, but nothing happens. This looks like it might be a [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/50031 known bug] in Ubuntu.''<br />
<br />
==== Getting rid of the password upon resuming ====<br />
<br />
If you don't want the password prompt when resuming, Use "Alt-F2" to open the run box<br />
and type `gconf-editor`. Navigate to "apps / gnome-power-manager ". Browse the options that start with "lock". Each has a description to read. While it's possible to directly disable the password prompt here, consider setting `lock_use_screensaver_settings`. Then, you can control the option through "System : Preferences : Screensaver", and you won't have to use gconf-editor in the future.<br />
<br />
=== Special Key Support ===<br />
<br />
The light and brightness keys work as expected. The volume and brightness keys have some on-screen visuals that automatically<br />
appear to illustrate them, using graphics that match the current theme. Rather nice!<br />
<br />
=== Video ===<br />
<br />
Edgy: Direct rendering / GL acceleration works with the following xorg.conf changes. Use "PCI" in BIOS rather than AGP. I removed all modes apart from 1024x768. ppracer plays well at c. 10fps with all the eye candy on.<br />
<br />
Feisty: On the 2647-21G model, with default BIOS settings, the following changes to xorg.conf work with Direct Rendering enabled and fix the gdm blank screen issue (see above). I have confirmed this over a few months of trouble free operation with and without the dock.<br />
<br />
Driver "savage"<br />
BusID "PCI:1:0:0"<br />
Option "SWCursor" "on"<br />
Option "ShadowStatus" "on"<br />
Option "DMAMode" "Vertex"<br />
Option "DmaType" "PCI"<br />
Option "BusType" "PCI"<br />
<br />
HorizSync 28-51<br />
VertRefresh 43-60<br />
<br />
Have to set DefaultColorDepth to 16 in section Screen, otherwise, the memory card won't have enough memory to do acceleration.<br />
<br />
Make sure the package libgl1-mesa-dri is installed. Deborphan may decide it is just a futile library, but that is false.<br />
<br />
=== Wireless ===<br />
<br />
Ubuntu has a great wireless networking tool that is not installed by default in Breezy or Edgy but is in Feisty. <br />
<br />
sudo apt-get install network-manager network-manager-gnome<br />
<br />
To launch the applet: Alt-F2 and then 'nm-applet'.<br />
<br />
A networking applet should appear that you can click on to browse wireless networks and connect to them.<br />
<br />
You may also want install "network-manager-pptp" which is a plugin for the system which makes it easy<br />
to connect to PPTP-based VPN networks. <br />
<br />
==== Confirmed compatible wireless cards ====<br />
<br />
The Orinico Gold card works great with no configuration at all. They may be sold branded as<br />
Lucent or 2wire. These cards can be found for around US $30. Be aware that they may support WEP<br />
but not WPA, which is considered more secure and required in some cases. <br />
<br />
Belkin f5d7050 Wireless 802.11g USB adaptor (version 3) works under Edgy. The procedure is essentially install the ndiswrapper-1.8 and work through https://help.ubuntu.com/community/WifiDocs/WirelessTroubleShootingGuide.=<br />
<br />
=== DVDs ===<br />
<br />
DVDs play great once you've installed all the missing multimedia plugins. (work through https://help.ubuntu.com/community/MultimediaApplications and the links to freeformats and restrictedformats pages).<br />
<br />
=== Sound ===<br />
<br />
Processor frequency scaling causes interruptions in sound output. To avoid this, disable scaling by removing the service powernowd (System > Administration > Service ...). This may reduce your run time on battery as a trade-off.<br />
<br />
If sound appears disorted after resuming, check your mixer settings. From the volume icon in the dock, you can right click and select "Open Volume Control". Check if "PCM" is all the way up. Turn it down some to reduce the distortion.<br />
<br />
=== Software memory requirements ===<br />
<br />
Here are some test results from trying software with Ubuntu on this model. <br />
<br />
*OpenOffice - OK with 128Mb<br />
*Eclipse - 128Mb is not enough, 384Mb is OK<br />
<br />
== Ubuntu 6.06 LTS, Dapper Drake ==<br />
<br />
When booting the Live/Install CD, adjust the boot options to add the following parameters:<br />
<br />
noacpi acpi=off apm=on<br />
<br />
Sometimes the CD may stall on boot with a blank black screen. Trying again with "Safe Graphics" <br />
mode may help, but is no guarantee that it will work. Best way is to follow the same procedure as for Ubuntu 6.10, i.e., use the alternate install CD.<br />
<br />
Once booted, suspend and resume using {{key|Fn}}-{{key|F4}} was successfully tested running from the LiveCD. <br />
However, in at least a couple of cases, the Live CD froze at seemingly random points shortly<br />
after resuming. <br />
<br />
'''Results from a complete install still need to be documented.'''<br />
<br />
== See Also ==<br />
<br />
Because the models are very similar, [[Installing Ubuntu on a ThinkPad T21]] may also be helpful.<br />
<br />
== External Resources ==<br />
<br />
*[http://del.icio.us/tags/ubuntu+t20 Bookmarks tagged with Ubuntu and T20] on del.icio.us<br />
*[http://ubuntuforums.org/tags/index.php/t20/ Forum posts tagged with T20] on ubuntuforums.org<br />
<br />
{{Ubuntu}} {{T20}}</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_on_a_ThinkPad_T20&diff=31279Installing Ubuntu on a ThinkPad T202007-07-15T03:33:11Z<p>Ddouthitt: /* Video */</p>
<hr />
<div>== Ubuntu 7.04, Feisty Fawn ==<br />
<br />
Feisty reportedly [http://ubuntuforums.org/showthread.php?t=411498 works well on the T20].<br />
<br />
Whether you install or upgrade, you will need to [[#Suspend_and_Hibernate_with_ACPI|force ACPI to be turned on]].<br />
<br />
See Video section below to fix video problems. Desktop effects don't work. TORCS, ppracer and Actioncube work well. <br />
<br />
The Belkin wireless adapter listed below does not seem to work "out of the box" with Feisty. It gets stuck on authenticating (at least with WEP). <br />
<br />
Some of the other notes from below may apply.<br />
<br />
<br />
<br />
===My experience with T20 and Ubuntu===<br />
<br />
My Install of Feisty required the alternate CD, as the liveCD was unable to start X (blank screen, even using 'safe graphics mode'<br />
After alternate installation finished, it still wouldn't load (a bug with S3 Savage drivers), so I needed to use grub to go into 'recovery mode'. From the prompt it eventually gives you, I used `nano -w /etc/X11/xorg.conf`, Found the section for 'Device'. (shown below, it may have more items) It said "savage", changed it to "vesa". This is one of several workarounds, but seems the most successful. N.B. This will disable Direct Rendering / OpenGL acceleration.<br />
<br />
Section "Device"<br />
Identifier "S3 Inc. 86C270-294 Savage/IX-MV"<br />
Driver "savage"<br />
BusID "PCI:1:0:0"<br />
EndSection<br />
<br />
See Video section below for a fix that is known to work (at least on one T20 model).<br />
<br />
For more info, and other workarounds/fixes, check out:<br />
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-savage/+bug/33617<br />
<br />
== Ubuntu 6.10, Edgy Eft ==<br />
<br />
=== Blank Screen when booting Live CD ===<br />
There is an issue with the Savage driver which makes the initial boot into X hang. <br />
<br />
1. Hit F6 on the boot menu, delete "quiet splash" from the boot parameter line, and add "break=bottom".<br />
<br />
2. After a while you will get a prompt (initramfs), type "chroot /root nano -w /etc/X11/xorg.conf".<br />
<br />
3. Find your video card, and change driver "savage" to "vesa".<br />
<br />
4. Save (ctrl+w), exit nano (ctrl+x), then press ctrl+d.<br />
<br />
5. After that the live cd will work<br />
<br />
This is most likely the same issue as gdm hanging on start. See Video section below for a fix that is known to work (at least on one T20 model).<br />
<br />
Howto with screenshots [https://wiki.ubuntu.com/EdgyKnownIssues/59618 Ubuntu Wiki]<br />
<br />
=== Using APM to Suspend ===<br />
<br />
To enable APM when booting the Live/Install CD, add these boot options:<br />
<br />
`noacpi acpi=off apm=on`<br />
<br />
After booting, `Fn-F4` will still only put the command in a standby state, but<br />
using `apm --suspend` on the command line will successfully suspend machine, and it resumes as well.<br />
<br />
Another user reports that APM leads to a unsuccessful shutdown, hanging on the last splash screen.<br />
<br />
=== Suspend and Hibernate with ACPI ===<br />
<br />
ACPI is a newer and preferred alternative to APM. On the T20 it necessary to force the use of ACPI, using <br />
the following instructions.<br />
<br />
gksudo gedit /boot/grub/menu.lst<br />
<br />
Look for an uncommented line starting with "kernel" and add "acpi=force" to the end of the line. There should be<br />
a "title" line above describing the default kernel that usually boots. Making the change for just the default kernel should be sufficient. <br />
<br />
Once the file has been re-saved, you can re-install the bootloader. The command for that is:<br />
<br />
sudo grub-install /dev/hda<br />
<br />
'''NOTE''': This assumes your hard drive is at /dev/hda. Use "df" to see your hard drive names if you are not sure. <br />
This operation can potentially make your computer unbootable if there are mistakes, so be careful! (Of course, even if the hard drive became unbootable, you could most likely boot off a CD and fix it. )<br />
<br />
==== Fixing Sound-After-Suspend ====<br />
<br />
Sound doesn't work after a suspend/resume cycle without some help. This is due to [https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/11149 a bug in the sound card driver]. Until that's fixed, a workaround is available.<br />
<br />
Install the files available here:<br />
*https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/11149/comments/6<br />
*https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/11149/comments/7<br />
<br />
They automatically kill all sound applications when resuming, and then restart them. Be sure to save<br />
your playlists, etc., before you suspend!<br />
<br />
In `/etc/default/acpi-support` adjust the following values:<br />
<br />
MODULES="sb uart401 sound soundcore maestro cs4281 snd-cs46xx"<br />
RESTART_IRDA=true<br />
RESTORE_SOUND=true<br />
<br />
==== Suspend while using the LiveCD ====<br />
<br />
''ACPI Suspend does not work on the LiveCD. `gnome-power-manager` logs to `/var/log/messages` that is beginning to suspend, but nothing happens. This looks like it might be a [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/50031 known bug] in Ubuntu.''<br />
<br />
==== Getting rid of the password upon resuming ====<br />
<br />
If you don't want the password prompt when resuming, Use "Alt-F2" to open the run box<br />
and type `gconf-editor`. Navigate to "apps / gnome-power-manager ". Browse the options that start with "lock". Each has a description to read. While it's possible to directly disable the password prompt here, consider setting `lock_use_screensaver_settings`. Then, you can control the option through "System : Preferences : Screensaver", and you won't have to use gconf-editor in the future.<br />
<br />
=== Special Key Support ===<br />
<br />
The light and brightness keys work as expected. The volume and brightness keys have some on-screen visuals that automatically<br />
appear to illustrate them, using graphics that match the current theme. Rather nice!<br />
<br />
=== Video ===<br />
<br />
Edgy: Direct rendering / GL acceleration works with the following xorg.conf changes. Use "PCI" in BIOS rather than AGP. I removed all modes apart from 1024x768. ppracer plays well at c. 10fps with all the eye candy on.<br />
<br />
Feisty: On the 2647-21G model, with default BIOS settings, the following changes to xorg.conf work with Direct Rendering enabled and fix the gdm blank screen issue (see above). I have confirmed this over a few months of trouble free operation with and without the dock.<br />
<br />
Driver "savage"<br />
BusID "PCI:1:0:0"<br />
Option "SWCursor" "on"<br />
Option "ShadowStatus" "on"<br />
Option "DMAMode" "Vertex"<br />
Option "DmaType" "PCI"<br />
Option "BusType" "PCI"<br />
<br />
HorizSync 28-51<br />
VertRefresh 43-60<br />
<br />
Have to set DefaultColorDepth to 16 in section Screen, otherwise, the memory card won't have enough memory to do acceleration.<br />
<br />
Make sure the package libgl1-mesa-dri is installed. Deborphan may decide it is just a futile library, but that is false.<br />
<br />
=== Wireless ===<br />
<br />
Ubuntu has a great wireless networking tool that is not installed by default in Breezy or Edgy but is in Feisty. <br />
<br />
sudo apt-get install network-manager network-manager-gnome<br />
<br />
To launch the applet: Alt-F2 and then 'nm-applet'.<br />
<br />
A networking applet should appear that you can click on to browse wireless networks and connect to them.<br />
<br />
You may also want install "network-manager-pptp" which is a plugin for the system which makes it easy<br />
to connect to PPTP-based VPN networks. <br />
<br />
==== Confirmed compatible wireless cards ====<br />
<br />
The Orinico Gold card works great with no configuration at all. They may be sold branded as<br />
Lucent or 2wire. These cards can be found for around US $30. Be aware that they may support WEP<br />
but not WPA, which is considered more secure and required in some cases. <br />
<br />
Belkin f5d7050 Wireless 802.11g USB adaptor (version 3) works under Edgy. The procedure is essentially install the ndiswrapper-1.8 and work through https://help.ubuntu.com/community/WifiDocs/WirelessTroubleShootingGuide.=<br />
<br />
=== DVDs ===<br />
<br />
DVDs play great once you've installed all the missing multimedia plugins. (work through https://help.ubuntu.com/community/MultimediaApplications and the links to freeformats and restrictedformats pages).<br />
<br />
=== Sound ===<br />
<br />
Processor frequency scaling causes interruptions in sound output. To avoid this, disable scaling by removing the service powernowd (System > Administration > Service ...). This may reduce your run time on battery as a trade-off.<br />
<br />
If sound appears disorted after resuming, check your mixer settings. From the volume icon in the dock, you can right click and select "Open Volume Control". Check if "PCM" is all the way up. Turn it down some to reduce the distortion.<br />
<br />
=== Software memory requirements ===<br />
<br />
Here are some test results from trying software with Ubuntu on this model. <br />
<br />
*OpenOffice - OK with 128Mb<br />
*Eclipse - 128Mb is not enough, 384Mb is OK<br />
<br />
== Ubuntu 6.06 LTS, Dapper Drake ==<br />
<br />
When booting the Live/Install CD, adjust the boot options to add the following:<br />
<br />
`noacpi acpi=off apm=on`<br />
<br />
Sometimes the CD may stall on boot with a blank black screen. Trying again with "Safe Graphics" <br />
mode may help, but is no guarantee to work. Best way it to follow the same procedure as for 6.10, ie<br />
use the alternate install CD.<br />
<br />
Once booted, suspend and resume using Fn-F4 was successfully tested running from the LiveCD. <br />
However, in at least a couple of cases, the Live CD froze at seemingly random points shortly<br />
after resuming. <br />
<br />
''Results from a complete install still need to be documented.''<br />
<br />
== See Also ==<br />
<br />
Because the models are very similar, [[Installing Ubuntu on a ThinkPad T21]] may also be helpful.<br />
<br />
== External Resources ==<br />
<br />
*[http://del.icio.us/tags/ubuntu+t20 Bookmarks tagged with Ubuntu and T20] on del.icio.us<br />
*[http://ubuntuforums.org/tags/index.php/t20/ Forum posts tagged with T20] on ubuntuforums.org<br />
<br />
{{Ubuntu}} {{T20}}</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_on_a_ThinkPad_T20&diff=31278Installing Ubuntu on a ThinkPad T202007-07-15T03:30:51Z<p>Ddouthitt: /* Fixing Sound-After-Suspend */</p>
<hr />
<div>== Ubuntu 7.04, Feisty Fawn ==<br />
<br />
Feisty reportedly [http://ubuntuforums.org/showthread.php?t=411498 works well on the T20].<br />
<br />
Whether you install or upgrade, you will need to [[#Suspend_and_Hibernate_with_ACPI|force ACPI to be turned on]].<br />
<br />
See Video section below to fix video problems. Desktop effects don't work. TORCS, ppracer and Actioncube work well. <br />
<br />
The Belkin wireless adapter listed below does not seem to work "out of the box" with Feisty. It gets stuck on authenticating (at least with WEP). <br />
<br />
Some of the other notes from below may apply.<br />
<br />
<br />
<br />
===My experience with T20 and Ubuntu===<br />
<br />
My Install of Feisty required the alternate CD, as the liveCD was unable to start X (blank screen, even using 'safe graphics mode'<br />
After alternate installation finished, it still wouldn't load (a bug with S3 Savage drivers), so I needed to use grub to go into 'recovery mode'. From the prompt it eventually gives you, I used `nano -w /etc/X11/xorg.conf`, Found the section for 'Device'. (shown below, it may have more items) It said "savage", changed it to "vesa". This is one of several workarounds, but seems the most successful. N.B. This will disable Direct Rendering / OpenGL acceleration.<br />
<br />
Section "Device"<br />
Identifier "S3 Inc. 86C270-294 Savage/IX-MV"<br />
Driver "savage"<br />
BusID "PCI:1:0:0"<br />
EndSection<br />
<br />
See Video section below for a fix that is known to work (at least on one T20 model).<br />
<br />
For more info, and other workarounds/fixes, check out:<br />
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-savage/+bug/33617<br />
<br />
== Ubuntu 6.10, Edgy Eft ==<br />
<br />
=== Blank Screen when booting Live CD ===<br />
There is an issue with the Savage driver which makes the initial boot into X hang. <br />
<br />
1. Hit F6 on the boot menu, delete "quiet splash" from the boot parameter line, and add "break=bottom".<br />
<br />
2. After a while you will get a prompt (initramfs), type "chroot /root nano -w /etc/X11/xorg.conf".<br />
<br />
3. Find your video card, and change driver "savage" to "vesa".<br />
<br />
4. Save (ctrl+w), exit nano (ctrl+x), then press ctrl+d.<br />
<br />
5. After that the live cd will work<br />
<br />
This is most likely the same issue as gdm hanging on start. See Video section below for a fix that is known to work (at least on one T20 model).<br />
<br />
Howto with screenshots [https://wiki.ubuntu.com/EdgyKnownIssues/59618 Ubuntu Wiki]<br />
<br />
=== Using APM to Suspend ===<br />
<br />
To enable APM when booting the Live/Install CD, add these boot options:<br />
<br />
`noacpi acpi=off apm=on`<br />
<br />
After booting, `Fn-F4` will still only put the command in a standby state, but<br />
using `apm --suspend` on the command line will successfully suspend machine, and it resumes as well.<br />
<br />
Another user reports that APM leads to a unsuccessful shutdown, hanging on the last splash screen.<br />
<br />
=== Suspend and Hibernate with ACPI ===<br />
<br />
ACPI is a newer and preferred alternative to APM. On the T20 it necessary to force the use of ACPI, using <br />
the following instructions.<br />
<br />
gksudo gedit /boot/grub/menu.lst<br />
<br />
Look for an uncommented line starting with "kernel" and add "acpi=force" to the end of the line. There should be<br />
a "title" line above describing the default kernel that usually boots. Making the change for just the default kernel should be sufficient. <br />
<br />
Once the file has been re-saved, you can re-install the bootloader. The command for that is:<br />
<br />
sudo grub-install /dev/hda<br />
<br />
'''NOTE''': This assumes your hard drive is at /dev/hda. Use "df" to see your hard drive names if you are not sure. <br />
This operation can potentially make your computer unbootable if there are mistakes, so be careful! (Of course, even if the hard drive became unbootable, you could most likely boot off a CD and fix it. )<br />
<br />
==== Fixing Sound-After-Suspend ====<br />
<br />
Sound doesn't work after a suspend/resume cycle without some help. This is due to [https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/11149 a bug in the sound card driver]. Until that's fixed, a workaround is available.<br />
<br />
Install the files available here:<br />
*https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/11149/comments/6<br />
*https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/11149/comments/7<br />
<br />
They automatically kill all sound applications when resuming, and then restart them. Be sure to save<br />
your playlists, etc., before you suspend!<br />
<br />
In `/etc/default/acpi-support` adjust the following values:<br />
<br />
MODULES="sb uart401 sound soundcore maestro cs4281 snd-cs46xx"<br />
RESTART_IRDA=true<br />
RESTORE_SOUND=true<br />
<br />
==== Suspend while using the LiveCD ====<br />
<br />
''ACPI Suspend does not work on the LiveCD. `gnome-power-manager` logs to `/var/log/messages` that is beginning to suspend, but nothing happens. This looks like it might be a [https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/50031 known bug] in Ubuntu.''<br />
<br />
==== Getting rid of the password upon resuming ====<br />
<br />
If you don't want the password prompt when resuming, Use "Alt-F2" to open the run box<br />
and type `gconf-editor`. Navigate to "apps / gnome-power-manager ". Browse the options that start with "lock". Each has a description to read. While it's possible to directly disable the password prompt here, consider setting `lock_use_screensaver_settings`. Then, you can control the option through "System : Preferences : Screensaver", and you won't have to use gconf-editor in the future.<br />
<br />
=== Special Key Support ===<br />
<br />
The light and brightness keys work as expected. The volume and brightness keys have some on-screen visuals that automatically<br />
appear to illustrate them, using graphics that match the current theme. Rather nice!<br />
<br />
=== Video ===<br />
<br />
Edgy: Direct rendering / GL acceleration works with the following xorg.conf changes. Use "PCI" in BIOS rather than AGP. I removed all modes apart from 1024x768. ppracer plays well at c. 10fps with all the eye candy on.<br />
<br />
Feisty: On the 2647-21G model, with default BIOS settings, the following changes to xorg.conf work with Direct Rendering enabled and fix the gdm blank screen issue (see above). I have confirmed this over a few months of trouble free operation with and without the dock.<br />
<br />
Driver "savage"<br><br />
BusID "PCI:1:0:0"<br><br />
Option "SWCursor" "on"<br><br />
Option "ShadowStatus" "on"<br><br />
Option "DMAMode" "Vertex"<br><br />
Option "DmaType" "PCI"<br><br />
Option "BusType" "PCI"<br><br />
<br> <br />
HorizSync 28-51<br><br />
VertRefresh 43-60<br><br />
<br />
Have to set DefaultColorDepth to 16 in section Screen, otherwise, the memory card won't have enough memory to do acceleration.<br />
<br />
Make sure the package libgl1-mesa-dri is installed. Deborphan may decide it is just a futile library, but that is false.<br />
<br />
=== Wireless ===<br />
<br />
Ubuntu has a great wireless networking tool that is not installed by default in Breezy or Edgy but is in Feisty. <br />
<br />
sudo apt-get install network-manager network-manager-gnome<br />
<br />
To launch the applet: Alt-F2 and then 'nm-applet'.<br />
<br />
A networking applet should appear that you can click on to browse wireless networks and connect to them.<br />
<br />
You may also want install "network-manager-pptp" which is a plugin for the system which makes it easy<br />
to connect to PPTP-based VPN networks. <br />
<br />
==== Confirmed compatible wireless cards ====<br />
<br />
The Orinico Gold card works great with no configuration at all. They may be sold branded as<br />
Lucent or 2wire. These cards can be found for around US $30. Be aware that they may support WEP<br />
but not WPA, which is considered more secure and required in some cases. <br />
<br />
Belkin f5d7050 Wireless 802.11g USB adaptor (version 3) works under Edgy. The procedure is essentially install the ndiswrapper-1.8 and work through https://help.ubuntu.com/community/WifiDocs/WirelessTroubleShootingGuide.=<br />
<br />
=== DVDs ===<br />
<br />
DVDs play great once you've installed all the missing multimedia plugins. (work through https://help.ubuntu.com/community/MultimediaApplications and the links to freeformats and restrictedformats pages).<br />
<br />
=== Sound ===<br />
<br />
Processor frequency scaling causes interruptions in sound output. To avoid this, disable scaling by removing the service powernowd (System > Administration > Service ...). This may reduce your run time on battery as a trade-off.<br />
<br />
If sound appears disorted after resuming, check your mixer settings. From the volume icon in the dock, you can right click and select "Open Volume Control". Check if "PCM" is all the way up. Turn it down some to reduce the distortion.<br />
<br />
=== Software memory requirements ===<br />
<br />
Here are some test results from trying software with Ubuntu on this model. <br />
<br />
*OpenOffice - OK with 128Mb<br />
*Eclipse - 128Mb is not enough, 384Mb is OK<br />
<br />
== Ubuntu 6.06 LTS, Dapper Drake ==<br />
<br />
When booting the Live/Install CD, adjust the boot options to add the following:<br />
<br />
`noacpi acpi=off apm=on`<br />
<br />
Sometimes the CD may stall on boot with a blank black screen. Trying again with "Safe Graphics" <br />
mode may help, but is no guarantee to work. Best way it to follow the same procedure as for 6.10, ie<br />
use the alternate install CD.<br />
<br />
Once booted, suspend and resume using Fn-F4 was successfully tested running from the LiveCD. <br />
However, in at least a couple of cases, the Live CD froze at seemingly random points shortly<br />
after resuming. <br />
<br />
''Results from a complete install still need to be documented.''<br />
<br />
== See Also ==<br />
<br />
Because the models are very similar, [[Installing Ubuntu on a ThinkPad T21]] may also be helpful.<br />
<br />
== External Resources ==<br />
<br />
*[http://del.icio.us/tags/ubuntu+t20 Bookmarks tagged with Ubuntu and T20] on del.icio.us<br />
*[http://ubuntuforums.org/tags/index.php/t20/ Forum posts tagged with T20] on ubuntuforums.org<br />
<br />
{{Ubuntu}} {{T20}}</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=Installation_on_ThinkPads_without_CD-ROM_drive&diff=31277Installation on ThinkPads without CD-ROM drive2007-07-15T02:55:59Z<p>Ddouthitt: /* using Windows as a server */ reformatted</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 />
Some ThinkPads (e.g. the whole X series) come without a CD-ROM drive by default. Even though there are options to buy a solution like the UltraBase, a full dock or simply an external CD-ROM drive{{footnote|1}}, this is not the cheapest option and might not always be neccessary. Also, with some external CD-ROMs the problem might arise that the ThinkPad is not able to boot from them. See our [[Supported Boot Devices|List of supported boot devices]] for various ThinkPads.<br />
<br />
So the question arises how to get your system of choice onto that precious piece of hardware. This page should tell you about the possible solutions.<br />
<br />
Since in most cases the installation base packages come on CD, you'll need a second computer, equipped with a CD-ROM drive, for all of those solutions.<br />
<br />
Many older ThinkPads came with only a floppy drive and cannot boot from any CD drive at all. For those machines, booting from floppy is the only option. Then one can install from CD, over a network, or from the hard drive.<br />
|}<br />
<br />
==Installation from USB drive==<br />
{{NOTE|Not all ThinkPads have a BIOS that [[Supported_Boot_Devices|supports USB booting]].}}<br />
<br />
This is probably the easiest approach:<br />
#Connect the USB drive{{footnote|2}} to the host and format it.<br />
#Get a bootable system and all needed installation files onto the USB drive, i.e. by copying the complete filesystem from your installation CD-ROM to the USB drive. Of course if your USB drive is not big enough for that you'll have to make more sophisticated choices about what to copy and what to leave behind. Here are [http://wiki.debian.org/BootUsb some instructions] for converting a LiveCD ISO image onto a pen drive, and making it bootable.{{footnote|3}}<br />
<br />
#Insert the USB drive into the USB port of your ThinkPad.<br />
#Power on the ThinkPad and press F12 to get to the boot menu. For some models (X24 comes to mind) you need to go into the BIOS and change the boot sequence before USB devices are shown in the boot menu.<br />
#Select the USB drive as boot media and boot.<br />
#Follow the normal installation process.<br />
<br />
It seems some ThinkPad BIOSes don't use the code on the master boot record (MBR), or at least skip it when it is blank. These systems will need an [http://www.tsden.org/ryutaroh/extipl/ Extended-IPL boot loader]. Putting this Extended-IPL boot loader onto the disk (such as <tt>sda</tt>) goes something like this:<br />
<br />
dd if=/dev/zero of=/dev/sda bs=1 count=446<br />
dd if=/usr/lib/extipl/aldebaran.bin of=/dev/sda<br />
<br />
==Installation via network boot==<br />
Thinkpads support PXE to boot off another system that is connected via [[Ethernet]]. In this case the ThinkPad acts as a network boot client, the other system as server. The idea is to boot a system on the server that the ThinkPad can boot into then by loading all required data directly from that server.<br />
<br />
For this to work you will have to either have both the server and the ThinkPad connected in the same subnet of your LAN, or have them connected directly via a crossed Ethernet cable.<br />
<br />
===Using Windows as a server===<br />
To get your Thinkpad to boot over a network, you must set up a DHCP and a TFTP server. For Windows, the freeware program [http://tftpd32.jounin.net TFTPD32] does both. To set up TFTPD32, do the following:<br />
#Create a directory that will contain the PXE boot code.<br />
#Copy the boot code into that directory. (For a Debian Sarge install, for example, you can find code to initiate a network install under <code>debian/dists/sarge/main/installer-i386/current/images/netboot/</code> from a Debian mirror -- copy files to simulate symlinks for <code>pxelinux.0</code> and <code>pxelinux.cfg/</code>)<br />
#Launch the TFTPD32 program.<br />
#"Browse" to set the current directory to the directory containing the PXE boot code (i.e. the directory you created in the first step, above).<br />
#On the DHCP server tab, set:<br />
##<code>IP pool starting address</code> to something appropriate for your network<br />
##<code>Size of pool</code> to a non-zero value (all you really need is 1)<br />
##<code>Boot file</code> to the PXE boot image (for Debian, the filename is <code>pxelinux.0</code>)<br />
##<code>WINS/DNS Server</code> to the DNS server used by your network<br />
##<code>Default router</code> to the IP of your default gateway<br />
##<code>Mask</code> to your network's netmask<br />
##<code>Domain Name</code> to your network's domain<br />
{{NOTE|Do <em>not</em> under any circumstances run the DHCP server if there are other DHCP servers on your network. There must be only one DHCP server on each network segment. You must either disable the other server or move to another network.}}<br />
<br />
On your ThinkPad, do the following:<br />
#Boot your Thinkpad, and press {{key|F12}} to select an alternate boot device<br />
#Use "<code>Intel(R) Boot Agent Version 4.0.17</code>" (or similar -- on the Transnote used to make this guide, "<code>Network Boot</code>" did not work while the "<code>Boot Agent</code>" option did)<br />
<br />
The TFTPD32 server window should show activity as the ThinkPad downloads files. Once the first stage has installed and the ThinkPad is ready to boot from its own hard drive, shut down TFTPD32 and re-enable your permanent DHCP server.<br />
<br />
===Using [[:Category:Knoppix|Knoppix]] as a Terminal Server===<br />
If a server system is available on the network, it can be used to set up a temporary Terminal Server. Follow these steps to set up the Terminal Server using Knoppix:<br />
#Insert the Knoppix CD into the server and boot it up. Make sure to boot with the 2.6 kernel by giving the <code>kernel26</code> boot option.<br />
#Once your KDE desktop is loaded, look in the K-Menu hierarchy for the link to the terminal server setup. Select this menu option.<br />
#Launch the Terminal Server and make it use the appropriate network device.<br />
Back at your ThinkPad, do the following:<br />
#Power on your ThinkPad and press F12 to get to the boot menu.<br />
#Select the ThinkPad's network adapter as the boot media.<br />
#Reboot. The ThinkPad should now boot from the Knoppix Terminal Server directly.<br />
<br />
===Using any Linux on the server side===<br />
{{Todo|needs better formating, maybe a list where to find the kernel/initrd images on other distros and a hint to speed up booting}}<br />
<br />
# TFTP Server<br />
#* Download and install an tftp Server<br />
#* Configure it to serve {{path|/tftpboot}}<br />
# Get the kernel and initrd image from your distribution<br />
#* For fedora-core they are in {{path|os/images/pxeboot}}<br />
#* Copy both to {{path|/tftpboot/vmlinuz}} resp. {{path|/tftpboot/initrd.img}}<br />
# [http://www.kernel.org/pub/linux/boot/syslinux/ Bootloader]<br />
#* Download the current syslinux-X.YZ.tar.bz2 tarball<br />
#* Copy the included pxelinux.0 to {{path|/tftpboot/pxelinux.0}}<br />
#* Create a directory for the configuration with {{cmdroot|mkdir /tftpboot/pxelinux.cfg}}<br />
#* Create the file {{path|/tftpboot/pxelinux.cfg/default}} with the following contents:<br />
DEFAULT install<br />
PROMPT 1<br />
TIMEOUT 0<br />
LABEL install<br />
kernel vmlinuz<br />
append initrd=initrd.img --<br />
# DHCP Server<br />
#* Download and install an DHCP Server<br />
#* Configure it to for your Thinkpad, the following configuration assumes that the MAC-address of your Thinkpad is DE:AD:BE:EF:00:00 and should use the IP 192.168.0.2 with namesever/router/tftpserver 192.168.0.1<br />
allow booting;<br />
allow bootp;<br />
host thinkpad {<br />
hardware ethernet DE:AD:BE:EF:00:00;<br />
fixed-address 192.168.0.2;<br />
option domain-name-servers 192.168.0.1;<br />
option routers 192.168.0.1;<br />
default-lease-time 28800;<br />
filename "pxelinux.0";<br />
next-server 192.168.0.1;<br />
}<br />
#* Now you can boot your thinkpad via lan<br />
<br />
==Installation from the internal harddrive==<br />
The idea here is to have all required files allready on the internal harddrive when you power up your ThinkPad for installation, including of course a minimal system to boot up and start the installation process.<br />
<br />
Convenient, but how do you get the files there?<br />
*One option is to copy them via network boot (see above).<br />
*Some Linux distributions offer ways to download the installation files from a FTP server and to choose this directory as installation source instead of a CD-ROM.<br />
*A second way, if you already have a 'working' copy of DOS or MS Windows installed, is to start the installer from loadlin or GRUB. This is detailed [http://marc.herbert.free.fr/linux/win2linstall.html here].<br />
*Another one is to remove the harddrive from the ThinkPad and connect it to the other machine. Again, this can be achieved in several ways:<br />
**putting the harddrive into an UltraBay secondary HDD adapter of a second ThinkPad<br />
**putting the harddrive into an external casing and connect it to the second machine via USB, PCMCIA or whatever<br />
**connecting the harddrive via a 2.5" (laptop) to 3.5" (desktop) harddrive adapter<br />
<br />
Follow one of the following instructions.<br />
<br />
===Installing [[:Category:Windows|Windows]] 2000 or XP===<br />
*Attach the harddrive to the host computer and install a minimal bootable DOS system i.e. by booting a Win98 Emergency Boot Disk and performing the command "SYS X:" (where X = the laptop's harddrive).<br />
*Copy FDISK.EXE to the laptop harddrive.<br />
*Return the harddrive to the laptop and boot to DOS. (If you have Win98 installed by default, you can skip the first two steps and simply reboot in Windows to DOS.)<br />
*Run FDISK and set up your new Windows system partition on this laptop. (If you do not do this on the laptop, after reboot you will receive the infamous "NTLDR IS MISSING" error. This error may still occur if the partition is greater than 7.8gb in size)<br />
*Then return the drive to the host and format the drive as FAT32. (DO NOT format as NTFS.)<br />
*Repeat the "SYS X:" step to make the new partition bootable.<br />
*Copy Himem.sys and Config.sys, too. Otherwise SMARTDRIVE.EXE won't run<br />
*Get SMARTDRV.EXE from the internet and copy it to your Thinkpads harddrive.<br />
*Also, from the Win2K or WinXP CD, copy the I386 folder to the harddrive.<br />
*Return the laptop's harddrive to the Thinkpad one final time and boot to DOS.<br />
*Run SMARTDRV.EXE first, then change directories to I386 and run WINNT.EXE, this will allow the installation to begin.<br />
*During installation, choose NOT to format the destination partition, since it contains the installation files. If you want that filesystem to be NTFS you can convert it after installation from within Windows.<br />
<br />
==Installation from Diskette==<br />
===Installing from CD===<br />
Many distributions have software on CD that will make a boot floppy that will allow you to install from an unbootable CD drive.<br />
<br />
===Installing over a network===<br />
Some distributions have a set of diskettes that will allow you to boot a machine, enable a network device and start installation over a network. For example, {{Slackware}} supports installing via an NFS mount. An unofficial add-on adds an option to install over FTP.<br />
<br />
===Installing from floppy===<br />
Some distributions did allow for a complete installation from diskette. As the size of distributions and the number of required diskettes has grown, and the ubiquity of optical storage increased, support for floppy installation has diminished.<br />
<br />
However, there are still some Linux distributions that fit on as few as one diskette - with very limited functionality, of course.<br />
<br />
==Installation from an ISO image==<br />
Some distributions offer a way of installing directly from the downloadable ISO image, residing on your harddisk. Examples are VectorLinux 5.1 and {{SUSE}} 10. The individual distributions installation manuals will guide you through the process.<br />
<br />
==External Sources==<br />
*[http://www.gentoo.org/doc/en/altinstall.xml Gentoo alternative installation method HOWTO]<br />
<br />
{{footnotes|<br />
#External CD-ROM drives typically are connected through USB or [[PCMCIA]]. Be aware that not all of these drives are [[Supported Boot Devices|capable of booting]]. USB connected drives are more likely to be bootable on a ThinkPad than PCMCIA connected ones.<br />
#USB drive here means any kind of USB connected bootable data storage device, including external harddisk drives, memory card readers or pendrives.<br />
#Most USB keys are already bootable. If it won't work, use lilo to write to the USB key's MBR: See the section "Master Boot Record" [http://wiki.debian.org/BootUsb here].<br />
}}<br />
<br />
<br />
[[Category:TransNote]] [[Category:560]] [[Category:560E]] [[Category:560X]] [[Category:560Z]] [[Category:570]] [[Category:570E]] [[Category:X20]] [[Category:X21]] [[Category:X22]] [[Category:X23]] [[Category:X24]] [[Category:X30]] [[Category:X31]] [[Category:X32]] [[Category:X40]] [[Category:X41]] [[Category:X41 Tablet]] [[Category:Knoppix]]</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=Installation_on_ThinkPads_without_CD-ROM_drive&diff=31276Installation on ThinkPads without CD-ROM drive2007-07-15T02:37:12Z<p>Ddouthitt: /* Installation from USB drive */</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 />
Some ThinkPads (e.g. the whole X series) come without a CD-ROM drive by default. Even though there are options to buy a solution like the UltraBase, a full dock or simply an external CD-ROM drive{{footnote|1}}, this is not the cheapest option and might not always be neccessary. Also, with some external CD-ROMs the problem might arise that the ThinkPad is not able to boot from them. See our [[Supported Boot Devices|List of supported boot devices]] for various ThinkPads.<br />
<br />
So the question arises how to get your system of choice onto that precious piece of hardware. This page should tell you about the possible solutions.<br />
<br />
Since in most cases the installation base packages come on CD, you'll need a second computer, equipped with a CD-ROM drive, for all of those solutions.<br />
<br />
Many older ThinkPads came with only a floppy drive and cannot boot from any CD drive at all. For those machines, booting from floppy is the only option. Then one can install from CD, over a network, or from the hard drive.<br />
|}<br />
<br />
==Installation from USB drive==<br />
{{NOTE|Not all ThinkPads have a BIOS that [[Supported_Boot_Devices|supports USB booting]].}}<br />
<br />
This is probably the easiest approach:<br />
#Connect the USB drive{{footnote|2}} to the host and format it.<br />
#Get a bootable system and all needed installation files onto the USB drive, i.e. by copying the complete filesystem from your installation CD-ROM to the USB drive. Of course if your USB drive is not big enough for that you'll have to make more sophisticated choices about what to copy and what to leave behind. Here are [http://wiki.debian.org/BootUsb some instructions] for converting a LiveCD ISO image onto a pen drive, and making it bootable.{{footnote|3}}<br />
<br />
#Insert the USB drive into the USB port of your ThinkPad.<br />
#Power on the ThinkPad and press F12 to get to the boot menu. For some models (X24 comes to mind) you need to go into the BIOS and change the boot sequence before USB devices are shown in the boot menu.<br />
#Select the USB drive as boot media and boot.<br />
#Follow the normal installation process.<br />
<br />
It seems some ThinkPad BIOSes don't use the code on the master boot record (MBR), or at least skip it when it is blank. These systems will need an [http://www.tsden.org/ryutaroh/extipl/ Extended-IPL boot loader]. Putting this Extended-IPL boot loader onto the disk (such as <tt>sda</tt>) goes something like this:<br />
<br />
dd if=/dev/zero of=/dev/sda bs=1 count=446<br />
dd if=/usr/lib/extipl/aldebaran.bin of=/dev/sda<br />
<br />
==Installation via network boot==<br />
Thinkpads support PXE to boot off another system that is connected via [[Ethernet]]. In this case the ThinkPad acts as a network boot client, the other system as server. The idea is to boot a system on the server that the ThinkPad can boot into then by loading all required data directly from that server.<br />
<br />
For this to work you will have to either have both the server and the ThinkPad connected in the same subnet of your LAN, or have them connected directly via a crossed Ethernet cable.<br />
<br />
===using Windows as a server===<br />
To get your Thinkpad to boot over a network, you must set up a DHCP and a TFTP server. For Windows, the freeware program [http://tftpd32.jounin.net TFTPD32] does both.<br />
*Create a directory that will contain the PXE boot code.<br />
*Copy the boot code into that directory. (For a Debian Sarge install, for example, you can find code to initiate a network install under <code>debian/dists/sarge/main/installer-i386/current/images/netboot/</code> from a Debian mirror -- copy files to simulate symlinks for <code>pxelinux.0</code> and <code>pxelinux.cfg/</code>)<br />
*Launch the TFTPD32 program.<br />
*"Browse" to set the current directory to the directory containing the PXE boot code (i.e. the directory you created in the first step, above).<br />
*On the DHCP server tab, set:<br />
**<code>IP pool starting address</code> to something appropriate for your network<br />
**<code>Size of pool</code> to a non-zero value (all you really need is 1)<br />
**<code>Boot file</code> to the PXE boot image (from Debian, the filename is <code>pxelinux.0</code>)<br />
**<code>WINS/DNS Server</code> to the DNS server used by your network<br />
**<code>Default router</code> to the IP of your default gateway<br />
**<code>Mask</code> to your network's netmask<br />
**<code>Domain Name</code> to your network's domain<br />
*Disable any other DHCP servers on your network<br />
*Boot your Thinkpad, and press {{key|F12}} to select an alternate boot device<br />
*Use "<code>Intel(R) Boot Agent Version 4.0.17</code>" (or similar -- on the Transnote used to make this guide, "<code>Network Boot</code>" did not work while the Boot Agent option did)<br />
The TFTPD32 server window should show activity as the Thinkpad downloads files.<br />
Once the first stage has installed and the Thinkpad is ready to boot from its own hard drive, shut down TFTPD32 and re-enable your permanent DHCP server.<br />
<br />
===Using [[:Category:Knoppix|Knoppix]] as a Terminal Server===<br />
If a server system is available on the network, it can be used to set up a temporary Terminal Server. Follow these steps to set up the Terminal Server using Knoppix:<br />
#Insert the Knoppix CD into the server and boot it up. Make sure to boot with the 2.6 kernel by giving the <code>kernel26</code> boot option.<br />
#Once your KDE desktop is loaded, look in the K-Menu hierarchy for the link to the terminal server setup. Select this menu option.<br />
#Launch the Terminal Server and make it use the appropriate network device.<br />
Back at your ThinkPad, do the following:<br />
#Power on your ThinkPad and press F12 to get to the boot menu.<br />
#Select the ThinkPad's network adapter as the boot media.<br />
#Reboot. The ThinkPad should now boot from the Knoppix Terminal Server directly.<br />
<br />
===Using any Linux on the server side===<br />
{{Todo|needs better formating, maybe a list where to find the kernel/initrd images on other distros and a hint to speed up booting}}<br />
<br />
# TFTP Server<br />
#* Download and install an tftp Server<br />
#* Configure it to serve {{path|/tftpboot}}<br />
# Get the kernel and initrd image from your distribution<br />
#* For fedora-core they are in {{path|os/images/pxeboot}}<br />
#* Copy both to {{path|/tftpboot/vmlinuz}} resp. {{path|/tftpboot/initrd.img}}<br />
# [http://www.kernel.org/pub/linux/boot/syslinux/ Bootloader]<br />
#* Download the current syslinux-X.YZ.tar.bz2 tarball<br />
#* Copy the included pxelinux.0 to {{path|/tftpboot/pxelinux.0}}<br />
#* Create a directory for the configuration with {{cmdroot|mkdir /tftpboot/pxelinux.cfg}}<br />
#* Create the file {{path|/tftpboot/pxelinux.cfg/default}} with the following contents:<br />
DEFAULT install<br />
PROMPT 1<br />
TIMEOUT 0<br />
LABEL install<br />
kernel vmlinuz<br />
append initrd=initrd.img --<br />
# DHCP Server<br />
#* Download and install an DHCP Server<br />
#* Configure it to for your Thinkpad, the following configuration assumes that the MAC-address of your Thinkpad is DE:AD:BE:EF:00:00 and should use the IP 192.168.0.2 with namesever/router/tftpserver 192.168.0.1<br />
allow booting;<br />
allow bootp;<br />
host thinkpad {<br />
hardware ethernet DE:AD:BE:EF:00:00;<br />
fixed-address 192.168.0.2;<br />
option domain-name-servers 192.168.0.1;<br />
option routers 192.168.0.1;<br />
default-lease-time 28800;<br />
filename "pxelinux.0";<br />
next-server 192.168.0.1;<br />
}<br />
#* Now you can boot your thinkpad via lan<br />
<br />
==Installation from the internal harddrive==<br />
The idea here is to have all required files allready on the internal harddrive when you power up your ThinkPad for installation, including of course a minimal system to boot up and start the installation process.<br />
<br />
Convenient, but how do you get the files there?<br />
*One option is to copy them via network boot (see above).<br />
*Some Linux distributions offer ways to download the installation files from a FTP server and to choose this directory as installation source instead of a CD-ROM.<br />
*A second way, if you already have a 'working' copy of DOS or MS Windows installed, is to start the installer from loadlin or GRUB. This is detailed [http://marc.herbert.free.fr/linux/win2linstall.html here].<br />
*Another one is to remove the harddrive from the ThinkPad and connect it to the other machine. Again, this can be achieved in several ways:<br />
**putting the harddrive into an UltraBay secondary HDD adapter of a second ThinkPad<br />
**putting the harddrive into an external casing and connect it to the second machine via USB, PCMCIA or whatever<br />
**connecting the harddrive via a 2.5" (laptop) to 3.5" (desktop) harddrive adapter<br />
<br />
Follow one of the following instructions.<br />
<br />
===Installing [[:Category:Windows|Windows]] 2000 or XP===<br />
*Attach the harddrive to the host computer and install a minimal bootable DOS system i.e. by booting a Win98 Emergency Boot Disk and performing the command "SYS X:" (where X = the laptop's harddrive).<br />
*Copy FDISK.EXE to the laptop harddrive.<br />
*Return the harddrive to the laptop and boot to DOS. (If you have Win98 installed by default, you can skip the first two steps and simply reboot in Windows to DOS.)<br />
*Run FDISK and set up your new Windows system partition on this laptop. (If you do not do this on the laptop, after reboot you will receive the infamous "NTLDR IS MISSING" error. This error may still occur if the partition is greater than 7.8gb in size)<br />
*Then return the drive to the host and format the drive as FAT32. (DO NOT format as NTFS.)<br />
*Repeat the "SYS X:" step to make the new partition bootable.<br />
*Copy Himem.sys and Config.sys, too. Otherwise SMARTDRIVE.EXE won't run<br />
*Get SMARTDRV.EXE from the internet and copy it to your Thinkpads harddrive.<br />
*Also, from the Win2K or WinXP CD, copy the I386 folder to the harddrive.<br />
*Return the laptop's harddrive to the Thinkpad one final time and boot to DOS.<br />
*Run SMARTDRV.EXE first, then change directories to I386 and run WINNT.EXE, this will allow the installation to begin.<br />
*During installation, choose NOT to format the destination partition, since it contains the installation files. If you want that filesystem to be NTFS you can convert it after installation from within Windows.<br />
<br />
==Installation from Diskette==<br />
===Installing from CD===<br />
Many distributions have software on CD that will make a boot floppy that will allow you to install from an unbootable CD drive.<br />
<br />
===Installing over a network===<br />
Some distributions have a set of diskettes that will allow you to boot a machine, enable a network device and start installation over a network. For example, {{Slackware}} supports installing via an NFS mount. An unofficial add-on adds an option to install over FTP.<br />
<br />
===Installing from floppy===<br />
Some distributions did allow for a complete installation from diskette. As the size of distributions and the number of required diskettes has grown, and the ubiquity of optical storage increased, support for floppy installation has diminished.<br />
<br />
However, there are still some Linux distributions that fit on as few as one diskette - with very limited functionality, of course.<br />
<br />
==Installation from an ISO image==<br />
Some distributions offer a way of installing directly from the downloadable ISO image, residing on your harddisk. Examples are VectorLinux 5.1 and {{SUSE}} 10. The individual distributions installation manuals will guide you through the process.<br />
<br />
==External Sources==<br />
*[http://www.gentoo.org/doc/en/altinstall.xml Gentoo alternative installation method HOWTO]<br />
<br />
{{footnotes|<br />
#External CD-ROM drives typically are connected through USB or [[PCMCIA]]. Be aware that not all of these drives are [[Supported Boot Devices|capable of booting]]. USB connected drives are more likely to be bootable on a ThinkPad than PCMCIA connected ones.<br />
#USB drive here means any kind of USB connected bootable data storage device, including external harddisk drives, memory card readers or pendrives.<br />
#Most USB keys are already bootable. If it won't work, use lilo to write to the USB key's MBR: See the section "Master Boot Record" [http://wiki.debian.org/BootUsb here].<br />
}}<br />
<br />
<br />
[[Category:TransNote]] [[Category:560]] [[Category:560E]] [[Category:560X]] [[Category:560Z]] [[Category:570]] [[Category:570E]] [[Category:X20]] [[Category:X21]] [[Category:X22]] [[Category:X23]] [[Category:X24]] [[Category:X30]] [[Category:X31]] [[Category:X32]] [[Category:X40]] [[Category:X41]] [[Category:X41 Tablet]] [[Category:Knoppix]]</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=Installation_on_ThinkPads_without_CD-ROM_drive&diff=31274Installation on ThinkPads without CD-ROM drive2007-07-15T01:36:15Z<p>Ddouthitt: /* using Knoppix on the server side */ Reformatted</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 />
Some ThinkPads (e.g. the whole X series) come without a CD-ROM drive by default. Even though there are options to buy a solution like the UltraBase, a full dock or simply an external CD-ROM drive{{footnote|1}}, this is not the cheapest option and might not always be neccessary. Also, with some external CD-ROMs the problem might arise that the ThinkPad is not able to boot from them. See our [[Supported Boot Devices|List of supported boot devices]] for various ThinkPads.<br />
<br />
So the question arises how to get your system of choice onto that precious piece of hardware. This page should tell you about the possible solutions.<br />
<br />
Since in most cases the installation base packages come on CD, you'll need a second computer, equipped with a CD-ROM drive, for all of those solutions.<br />
<br />
Many older ThinkPads came with only a floppy drive and cannot boot from any CD drive at all. For those machines, booting from floppy is the only option. Then one can install from CD, over a network, or from the hard drive.<br />
|}<br />
<br />
==Installation from USB drive==<br />
Note: Not all thinkpads have a BIOS that [[Supported_Boot_Devices|supports USB booting]].<br />
<br />
This is probably the easiest approach.<br />
*Connect the USB drive{{footnote|2}} to the host and format it.<br />
*Get a bootable system and all needed installation files onto the USB drive, i.e. by copying the complete filesystem from your installation CD-ROM to the USB drive. Of course if your USB drive is not big enough for that you'll have to make more sophisticated choices about what to copy and what to leave behind. Here are [http://wiki.debian.org/BootUsb some instructions] for converting a LiveCD .iso image onto a pendrive, and making it bootable.{{footnote|3}} <br />
<br />
*Insert the USB drive into the USB port of your ThinkPad.<br />
*Power on the ThinkPad an press F12 to get to the boot menu. Sometimes (X24 comes to mind) you need to go into the BIOS and change the boot sequence before USB devices are shown after F12.<br />
*Select the USB drive as boot media and boot.<br />
*Follow the installation process.<br />
<br />
It seems some bioses don't use the code on MBR (sda), or at least skip it when it's blanked and needs a Extended-IPL boot loaderm, can be found here: http://www.tsden.org/ryutaroh/extipl/<br />
* ''dd if=/dev/zero of=/dev/sda bs=1 count=446"''<br />
* ''dd if=/usr/lib/extipl/aldebaran.bin of=/dev/sda''<br />
<br />
==Installation via network boot==<br />
Thinkpads support PXE to boot off another system that is connected via [[Ethernet]]. In this case the ThinkPad acts as a network boot client, the other system as server. The idea is to boot a system on the server that the ThinkPad can boot into then by loading all required data directly from that server.<br />
<br />
For this to work you will have to either have both the server and the ThinkPad connected in the same subnet of your LAN, or have them connected directly via a crossed Ethernet cable.<br />
<br />
===using Windows as a server===<br />
To get your Thinkpad to boot over a network, you must set up a DHCP and a TFTP server. For Windows, the freeware program [http://tftpd32.jounin.net TFTPD32] does both.<br />
*Create a directory that will contain the PXE boot code.<br />
*Copy the boot code into that directory. (For a Debian Sarge install, for example, you can find code to initiate a network install under <code>debian/dists/sarge/main/installer-i386/current/images/netboot/</code> from a Debian mirror -- copy files to simulate symlinks for <code>pxelinux.0</code> and <code>pxelinux.cfg/</code>)<br />
*Launch the TFTPD32 program.<br />
*"Browse" to set the current directory to the directory containing the PXE boot code (i.e. the directory you created in the first step, above).<br />
*On the DHCP server tab, set:<br />
**<code>IP pool starting address</code> to something appropriate for your network<br />
**<code>Size of pool</code> to a non-zero value (all you really need is 1)<br />
**<code>Boot file</code> to the PXE boot image (from Debian, the filename is <code>pxelinux.0</code>)<br />
**<code>WINS/DNS Server</code> to the DNS server used by your network<br />
**<code>Default router</code> to the IP of your default gateway<br />
**<code>Mask</code> to your network's netmask<br />
**<code>Domain Name</code> to your network's domain<br />
*Disable any other DHCP servers on your network<br />
*Boot your Thinkpad, and press {{key|F12}} to select an alternate boot device<br />
*Use "<code>Intel(R) Boot Agent Version 4.0.17</code>" (or similar -- on the Transnote used to make this guide, "<code>Network Boot</code>" did not work while the Boot Agent option did)<br />
The TFTPD32 server window should show activity as the Thinkpad downloads files.<br />
Once the first stage has installed and the Thinkpad is ready to boot from its own hard drive, shut down TFTPD32 and re-enable your permanent DHCP server.<br />
<br />
===Using [[:Category:Knoppix|Knoppix]] as a Terminal Server===<br />
If a server system is available on the network, it can be used to set up a temporary Terminal Server. Follow these steps to set up the Terminal Server using Knoppix:<br />
#Insert the Knoppix CD into the server and boot it up. Make sure to boot with the 2.6 kernel by giving the <code>kernel26</code> boot option.<br />
#Once your KDE desktop is loaded, look in the K-Menu hierarchy for the link to the terminal server setup. Select this menu option.<br />
#Launch the Terminal Server and make it use the appropriate network device.<br />
Back at your ThinkPad, do the following:<br />
#Power on your ThinkPad and press F12 to get to the boot menu.<br />
#Select the ThinkPad's network adapter as the boot media.<br />
#Reboot. The ThinkPad should now boot from the Knoppix Terminal Server directly.<br />
<br />
===Using any Linux on the server side===<br />
{{Todo|needs better formating, maybe a list where to find the kernel/initrd images on other distros and a hint to speed up booting}}<br />
<br />
# TFTP Server<br />
#* Download and install an tftp Server<br />
#* Configure it to serve {{path|/tftpboot}}<br />
# Get the kernel and initrd image from your distribution<br />
#* For fedora-core they are in {{path|os/images/pxeboot}}<br />
#* Copy both to {{path|/tftpboot/vmlinuz}} resp. {{path|/tftpboot/initrd.img}}<br />
# [http://www.kernel.org/pub/linux/boot/syslinux/ Bootloader]<br />
#* Download the current syslinux-X.YZ.tar.bz2 tarball<br />
#* Copy the included pxelinux.0 to {{path|/tftpboot/pxelinux.0}}<br />
#* Create a directory for the configuration with {{cmdroot|mkdir /tftpboot/pxelinux.cfg}}<br />
#* Create the file {{path|/tftpboot/pxelinux.cfg/default}} with the following contents:<br />
DEFAULT install<br />
PROMPT 1<br />
TIMEOUT 0<br />
LABEL install<br />
kernel vmlinuz<br />
append initrd=initrd.img --<br />
# DHCP Server<br />
#* Download and install an DHCP Server<br />
#* Configure it to for your Thinkpad, the following configuration assumes that the MAC-address of your Thinkpad is DE:AD:BE:EF:00:00 and should use the IP 192.168.0.2 with namesever/router/tftpserver 192.168.0.1<br />
allow booting;<br />
allow bootp;<br />
host thinkpad {<br />
hardware ethernet DE:AD:BE:EF:00:00;<br />
fixed-address 192.168.0.2;<br />
option domain-name-servers 192.168.0.1;<br />
option routers 192.168.0.1;<br />
default-lease-time 28800;<br />
filename "pxelinux.0";<br />
next-server 192.168.0.1;<br />
}<br />
#* Now you can boot your thinkpad via lan<br />
<br />
==Installation from the internal harddrive==<br />
The idea here is to have all required files allready on the internal harddrive when you power up your ThinkPad for installation, including of course a minimal system to boot up and start the installation process.<br />
<br />
Convenient, but how do you get the files there?<br />
*One option is to copy them via network boot (see above).<br />
*Some Linux distributions offer ways to download the installation files from a FTP server and to choose this directory as installation source instead of a CD-ROM.<br />
*A second way, if you already have a 'working' copy of DOS or MS Windows installed, is to start the installer from loadlin or GRUB. This is detailed [http://marc.herbert.free.fr/linux/win2linstall.html here].<br />
*Another one is to remove the harddrive from the ThinkPad and connect it to the other machine. Again, this can be achieved in several ways:<br />
**putting the harddrive into an UltraBay secondary HDD adapter of a second ThinkPad<br />
**putting the harddrive into an external casing and connect it to the second machine via USB, PCMCIA or whatever<br />
**connecting the harddrive via a 2.5" (laptop) to 3.5" (desktop) harddrive adapter<br />
<br />
Follow one of the following instructions.<br />
<br />
===Installing [[:Category:Windows|Windows]] 2000 or XP===<br />
*Attach the harddrive to the host computer and install a minimal bootable DOS system i.e. by booting a Win98 Emergency Boot Disk and performing the command "SYS X:" (where X = the laptop's harddrive).<br />
*Copy FDISK.EXE to the laptop harddrive.<br />
*Return the harddrive to the laptop and boot to DOS. (If you have Win98 installed by default, you can skip the first two steps and simply reboot in Windows to DOS.)<br />
*Run FDISK and set up your new Windows system partition on this laptop. (If you do not do this on the laptop, after reboot you will receive the infamous "NTLDR IS MISSING" error. This error may still occur if the partition is greater than 7.8gb in size)<br />
*Then return the drive to the host and format the drive as FAT32. (DO NOT format as NTFS.)<br />
*Repeat the "SYS X:" step to make the new partition bootable.<br />
*Copy Himem.sys and Config.sys, too. Otherwise SMARTDRIVE.EXE won't run<br />
*Get SMARTDRV.EXE from the internet and copy it to your Thinkpads harddrive.<br />
*Also, from the Win2K or WinXP CD, copy the I386 folder to the harddrive.<br />
*Return the laptop's harddrive to the Thinkpad one final time and boot to DOS.<br />
*Run SMARTDRV.EXE first, then change directories to I386 and run WINNT.EXE, this will allow the installation to begin.<br />
*During installation, choose NOT to format the destination partition, since it contains the installation files. If you want that filesystem to be NTFS you can convert it after installation from within Windows.<br />
<br />
==Installation from Diskette==<br />
===Installing from CD===<br />
Many distributions have software on CD that will make a boot floppy that will allow you to install from an unbootable CD drive.<br />
<br />
===Installing over a network===<br />
Some distributions have a set of diskettes that will allow you to boot a machine, enable a network device and start installation over a network. For example, {{Slackware}} supports installing via an NFS mount. An unofficial add-on adds an option to install over FTP.<br />
<br />
===Installing from floppy===<br />
Some distributions did allow for a complete installation from diskette. As the size of distributions and the number of required diskettes has grown, and the ubiquity of optical storage increased, support for floppy installation has diminished.<br />
<br />
However, there are still some Linux distributions that fit on as few as one diskette - with very limited functionality, of course.<br />
<br />
==Installation from an ISO image==<br />
Some distributions offer a way of installing directly from the downloadable ISO image, residing on your harddisk. Examples are VectorLinux 5.1 and {{SUSE}} 10. The individual distributions installation manuals will guide you through the process.<br />
<br />
==External Sources==<br />
*[http://www.gentoo.org/doc/en/altinstall.xml Gentoo alternative installation method HOWTO]<br />
<br />
{{footnotes|<br />
#External CD-ROM drives typically are connected through USB or [[PCMCIA]]. Be aware that not all of these drives are [[Supported Boot Devices|capable of booting]]. USB connected drives are more likely to be bootable on a ThinkPad than PCMCIA connected ones.<br />
#USB drive here means any kind of USB connected bootable data storage device, including external harddisk drives, memory card readers or pendrives.<br />
#Most USB keys are already bootable. If it won't work, use lilo to write to the USB key's MBR: See the section "Master Boot Record" [http://wiki.debian.org/BootUsb here].<br />
}}<br />
<br />
<br />
[[Category:TransNote]] [[Category:560]] [[Category:560E]] [[Category:560X]] [[Category:560Z]] [[Category:570]] [[Category:570E]] [[Category:X20]] [[Category:X21]] [[Category:X22]] [[Category:X23]] [[Category:X24]] [[Category:X30]] [[Category:X31]] [[Category:X32]] [[Category:X40]] [[Category:X41]] [[Category:X41 Tablet]] [[Category:Knoppix]]</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=Installing_SUSE_Linux_Enterprise_Desktop_10_on_a_ThinkPad_T42&diff=31273Installing SUSE Linux Enterprise Desktop 10 on a ThinkPad T422007-07-15T01:13:10Z<p>Ddouthitt: /* Special Keys */</p>
<hr />
<div>==General installation==<br />
Here are the installation instructions for {{SUSE}} Linux Enterprise Edition on <br />
{{T42}} 2378-R4U.<br />
<br />
SUSE Linux Enterprise Desktop (SLED) 10 is a commercial product which costs about $50 per year, but there is a trial version available from http://www.novell.com/suse/<br />
<br />
Using normal installation procedures, my installation of SLED 10 was nearly flawless out of the box. Video, sound, wireless, and almost all other hardware works perfectly.<br />
<br />
{{HINT|It is highly recommended to set the predesktop area in the BIOS configuration to secure. Also, you should burn recovery CDs from Windows before you continue. This can be done through Start > Programs > Access IBM or ThinkVantage Technologies. It takes about 7 CDs. If you want the Access IBM key functionality to continue working, install Grub to the boot partition instead of the MBR.}}<br />
<br />
<br />
====ACPI====<br />
{{Todo|hdaps}}<br />
<br />
Power Management needs some work in order to be usable. Hibernate functionality works, but standby/suspend causes causes the system to hang on resume. I was able to resolve this issue by passing the {{bootparm|acpi_sleep|s3_bios}} parameter at boot and setting the following in {{path|/etc/powersave/sleep}} file: {{bootparm|SUSPEND2RAM_FORCE|yes}} and {{bootparm|SUSPEND2RAM_ACPI_SLEEP|3}}.<br />
<br />
If you want to change how the system responds to events such as opening or closing the lid, edit the {{path|/etc/powersave/events}} file. It is well commented and explains itself very well.<br />
<br />
==== Special Keys ====<br />
<br />
As usual with most ThinkPads, the display brightness, ThinkLight, and volume keys all worked out of the box. Some minor work is required to make these keys display the status on screen.<br />
<br />
TPB is included with SLED 10, but is not fully configured by default. Edit the {{path|/etc/tpbrc}} file to fit your needs. The file is documented, so there should not be any issues with configuring it. <br />
<br />
You will need to enable the nvram device for all TPB functionality to work properly. Do this by running th following commands:<br />
<br />
Make sure that the device ''/dev/nvram'' exists, else create it with<br />
<br />
mknod /dev/nvram c 10 144<br />
<br />
Ensure the following line is in {{path|/etc/sysconfig/kernel}}<br />
<br />
{{bootparm|MODULES_LOADED_ON_BOOT|nvram}}<br />
<br />
Ensure the following line is in {{path|/etc/udev/rules.d/50-udev-default.rules}}<br />
<br />
KERNEL=="nvram", NAME="%k", GROUP="kmem", MODE="666"<br />
<br />
Enable TPB on startup by clicking on Computer, Control Center, Sessions, Startup Programs, then Add. Type tpb into the command box and click on OK. Close the session manager program. To start tpb now, press Alt-F2 and type tpb and hit Enter.<br />
<br />
====Xorg====<br />
{{Todo|PowerPlay functionality, XGL}}<br />
<br />
SaX2 provides a working configuration file by default, which should not need modifications to use the normal set of features. To enable 3D acceleration, open YaST from the Computer, Control Center menu and click on Display. There should be an option to enable it.<br />
<br />
{{HINT|If the 3D option is not selectable, open the /etc/X11/xorg.conf file and be sure you are using the "radeon" driver.}}<br />
<br />
If you want to use the center blue button for scrolling with the trackpoint (the edges of the touchpad scroll by default), open the Mouse configuration from YaST and use the Emulate Wheel with Button 2 option.<br />
<br />
{{NOTE|If you use the center button for scrolling, you need to enable the "Emulate 3 Buttons" option, which will regain the original middle button functionality by pressing the left and right buttons at once.}}<br />
<br />
{{WARN|Do not use attempt to install the ATI proprietary graphics drivers with the Radeon 7500! Doing so will cause your X session to fail. Should you do this, open /etc/X11/xorg.conf from the console and change the video driver back to "radeon".}}<br />
<br />
====Not Tested====<br />
*Modem (YaST can see it and try to configure it, but I have no traditional analog phone line to test it on)<br />
*IrDA<br />
<br />
====Known problems====<br />
The update service does not like being set up from a wireless connection (will not connect to the Novell customer center). Please set it up from a wired connection.<br />
<br />
==Links==<br />
[http://www.novell.com/products/desktop/ SLED Home Page]<br />
<br />
[http://support.novell.com/forums/ Novell Support Forums]</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=Installing_SUSE_Linux_Enterprise_Desktop_10_on_a_ThinkPad_T42&diff=31272Installing SUSE Linux Enterprise Desktop 10 on a ThinkPad T422007-07-15T01:08:35Z<p>Ddouthitt: /* Not Tested */</p>
<hr />
<div>==General installation==<br />
Here are the installation instructions for {{SUSE}} Linux Enterprise Edition on <br />
{{T42}} 2378-R4U.<br />
<br />
SUSE Linux Enterprise Desktop (SLED) 10 is a commercial product which costs about $50 per year, but there is a trial version available from http://www.novell.com/suse/<br />
<br />
Using normal installation procedures, my installation of SLED 10 was nearly flawless out of the box. Video, sound, wireless, and almost all other hardware works perfectly.<br />
<br />
{{HINT|It is highly recommended to set the predesktop area in the BIOS configuration to secure. Also, you should burn recovery CDs from Windows before you continue. This can be done through Start > Programs > Access IBM or ThinkVantage Technologies. It takes about 7 CDs. If you want the Access IBM key functionality to continue working, install Grub to the boot partition instead of the MBR.}}<br />
<br />
<br />
====ACPI====<br />
{{Todo|hdaps}}<br />
<br />
Power Management needs some work in order to be usable. Hibernate functionality works, but standby/suspend causes causes the system to hang on resume. I was able to resolve this issue by passing the {{bootparm|acpi_sleep|s3_bios}} parameter at boot and setting the following in {{path|/etc/powersave/sleep}} file: {{bootparm|SUSPEND2RAM_FORCE|yes}} and {{bootparm|SUSPEND2RAM_ACPI_SLEEP|3}}.<br />
<br />
If you want to change how the system responds to events such as opening or closing the lid, edit the {{path|/etc/powersave/events}} file. It is well commented and explains itself very well.<br />
<br />
==== Special Keys ====<br />
<br />
As usual with most ThinkPads, the display brightness, ThinkLight, and volume keys all worked out of the box. Some minor work is required to make these keys display the status on screen.<br />
<br />
TPB is included with SLED 10, but is not fully configured by default. Edit the {{path|/etc/tpbrc}} file to fit your needs. The file is documented, so there should not be any issues with configuring it. <br />
<br />
You will need to enable the nvram device for all TPB functionality to work properly. Do this by running th following commands:<br />
<br />
Make sure that the device ''/dev/nvram'' exists, else create it with<br />
<br />
'''mknod /dev/nvram c 10 144'''<br />
<br />
Ensure the following line is in {{path|/etc/sysconfig/kernel}}<br />
<br />
{{bootparm|MODULES_LOADED_ON_BOOT|nvram}}<br />
<br />
Ensure the following line is in {{path|/etc/udev/rules.d/50-udev-default.rules}}<br />
<br />
KERNEL=="nvram", NAME="%k", GROUP="kmem", MODE="666"<br />
<br />
<br />
<br />
<br />
Enable TPB on startup by clicking on Computer, Control Center, Sessions, Startup Programs, then Add. Type tpb into the command box and click on OK. Close the session manager program. To start tpb now, press Alt-F2 and type tpb and hit Enter.<br />
<br />
====Xorg====<br />
{{Todo|PowerPlay functionality, XGL}}<br />
<br />
SaX2 provides a working configuration file by default, which should not need modifications to use the normal set of features. To enable 3D acceleration, open YaST from the Computer, Control Center menu and click on Display. There should be an option to enable it.<br />
<br />
{{HINT|If the 3D option is not selectable, open the /etc/X11/xorg.conf file and be sure you are using the "radeon" driver.}}<br />
<br />
If you want to use the center blue button for scrolling with the trackpoint (the edges of the touchpad scroll by default), open the Mouse configuration from YaST and use the Emulate Wheel with Button 2 option.<br />
<br />
{{NOTE|If you use the center button for scrolling, you need to enable the "Emulate 3 Buttons" option, which will regain the original middle button functionality by pressing the left and right buttons at once.}}<br />
<br />
{{WARN|Do not use attempt to install the ATI proprietary graphics drivers with the Radeon 7500! Doing so will cause your X session to fail. Should you do this, open /etc/X11/xorg.conf from the console and change the video driver back to "radeon".}}<br />
<br />
====Not Tested====<br />
*Modem (YaST can see it and try to configure it, but I have no traditional analog phone line to test it on)<br />
*IrDA<br />
<br />
====Known problems====<br />
The update service does not like being set up from a wireless connection (will not connect to the Novell customer center). Please set it up from a wired connection.<br />
<br />
==Links==<br />
[http://www.novell.com/products/desktop/ SLED Home Page]<br />
<br />
[http://support.novell.com/forums/ Novell Support Forums]</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=How_to_set_optical_drive_speed&diff=31271How to set optical drive speed2007-07-15T01:04:21Z<p>Ddouthitt: </p>
<hr />
<div>{{Stub}}<br />
<br />
The speed of the optical drive is set separately for CD-ROM and DVD, and is reset at reboot and resume from suspend.<br />
<br />
* CD-ROM: use<br />
hdparm -E num<br />
or<br />
eject -x num<br />
* DVD: use<br />
speedcontrol -x num<br />
The <tt>speedcontrol</tt> utility has source code [http://safari.iki.fi/speedcontrol.c available].<br />
<br />
For recent ThinkPad models running Linux kernels older than 2.6.15, this may require the [[Problems_with_SATA_and_Linux#No_SMART_support libata pass-through|libata pass-through patch]].</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=How_to_set_optical_drive_speed&diff=31270How to set optical drive speed2007-07-15T01:02:41Z<p>Ddouthitt: </p>
<hr />
<div>{{Stub}}<br />
<br />
The speed of the optical drive is set separately for CD-ROM and DVD, and is reset at reboot and resume from suspend.<br />
<br />
* CD-ROM: use<br />
hdparm -E num<br />
or<br />
eject -x num<br />
* DVD: use<br />
speedcontrol -x num<br />
(sourcecode [http://safari.iki.fi/speedcontrol.c here]).<br />
<br />
For recent ThinkPad models running Linux kernels older than 2.6.15, this may require the [[Problems_with_SATA_and_Linux#No_SMART_support libata pass-through|libata pass-through patch]].</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=How_to_save_memory&diff=31269How to save memory2007-07-15T00:55:07Z<p>Ddouthitt: /* Streamlining the desktop environment */ font change</p>
<hr />
<div>{| width="100%"<br />
|style="vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;" | __TOC__<br />
|style="vertical-align:top" |This page is meant as a collection of information on how to save memory to make Linux work reasonable on older system with limited amount of RAM.<br />
<br />
Most distributions nowadays don't take much care about it anymore, so there are a lot of things you can do to save memory. To get a smoothly working Linux environment on a low memory machine you will need to consciously choose a lot of aspects of your system, most importantly the graphical environment, desktop environment and applications. This page provides detailed information about these various optimization possibilities.<br />
|}<br />
<br />
==Alternative graphical environments==<br />
{{Todo|...}}<br />
<br />
==Streamlining the desktop environment==<br />
The common desktop environments GNOME and KDE are focused more on features, integration, and beauty rather than on saving resources. Understandable, but running Linux on an older ThinkPad with limited RAM requires a focus on limiting resource usage. The good thing about Linux is that a lot of things stay adjustable and customizable. So lets see what we can do about desktops.<br />
<br />
One of the most important things is to decide for one graphical widget library and stick with that when you are choosing your desktop environment and applications. Having several toolkits in use means more libraries being loaded and hence more memory being used by those. Possibilities are:<br />
* [http://www.fltk.org/ FLTK]<br />
* [http://www.fox-toolkit.org/ FOX toolkit]<br />
* [http://www.gnustep.org GNUstep toolkit]<br />
* [http://www.gtk.org/ GTK] (not recommended, use GTK 2 if possible)<br />
* [http://www.gtk.org/ GTK 2]<br />
* [http://www.lesstif.org/ Lesstif] / [http://www.openmotif.org/ OpenMotif]<br />
* [http://www.trolltech.com/products/qt/index.html QT]<br />
* [http://www.windowmaker.org/development-wings.html WINGs] (kind of a lightweight GNUstep toolkit, provided by the WindowMaker developers)<br />
* [http://www.x.org/ X Toolkit]<br />
<br />
Of those, at current state, there are enough applications for the X Toolkit, GTK, GTK 2 and QT to provide you with a solution for every task you should want.<br />
<br />
===GNOME===<br />
It's like with humans, the worst feature is in most cases also the best one. For GNOME it is probably the many little parts it consists of. Makes it hard to install, but enables one to customize the installation. So, the first thing you should do to streamline GNOME is not to launch it. Sound stupid? Well, lets have a look.<br />
<br />
GNOME is basically a set of libraries built around the GTK+ libs and extending its functionality. Add some nice little applications, a session manager, a panel, beautiful icons, and some other stuff and you have GNOME as you know it. Reversing those additions is what you can do to use GNOME applications on a machine that this desktop environment would normally take your nerves on.<br />
<br />
The GNOME panel, the session manager, the desktop manager and the window manager are all parts of GNOME that eat a lot of memory for something that others can do in a maybe little less beautiful but much more resource saving way.<br />
So first off configure your login manager not to launch gnome-session at login. If you are using GDM this is quite straight forward, you just need to add a different session script, launching your favorite window manager. See the list below and pick one, lets say i.e. WindowMaker. WindowMaker uses a desktop menu, a dock and a notification area to provide you with an organized way of launching applications and iconfying running ones. So we don't need a panel anymore. Also, think if you really need icons on your desktop. If you do, think about using something like ROX filer instead of nautilus for that. In any case, tell nautilus not to manage the desktop by default by unchecking the according setting within gconf-editor. To keep GNOME applications happy we would need to have gconf and gnome-settings-manager running at every session start. One way to do this is to either include them in your new session script. They both need to be running to make GNOME applications realize their settings properly.<br />
<br />
===KDE===<br />
{{Todo|...}}<br />
<br />
===Alternative Desktop Environments===<br />
First of all, it is important to notice that GNOME and KDE are not the only Desktop Environments around.<br />
Other complete (featuring most of: window management, session management, desktop management, file management and panel) desktop environments are:<br />
* [http://xfce.org/ XFCE] <tt>uses GTK 2</tt><br />
* [http://rox.sourceforge.net ROX Desktop]<br />
* [http://ede.sourceforge.net Equinox Desktop Environment] <tt>uses eFLTK, a modified version of FLTK</tt><br />
* [http://www.nongnu.org/antiright/ AntiRight Desktop Environment] <tt>uses LessTif / OpenMotif</tt><br />
* [http://foxdesktop.sourceforge.net/ FOX Desktop Environment] <tt>uses FOX Toolkit</tt><br />
* [http://www.gnustep.org/ GNUstep] <tt>provides it's own toolkit</tt><br />
<br />
But also, some Window Managers exceed the task of managing windows towards providing a functional workbench. See below for a list.<br />
<br />
===Building your own Desktop===<br />
<br />
====Window Manager====<br />
If you want to build your own customized desktop, a good start is choosing the window manager of your liking. A list of window managers is at [http://xwinman.org].<br />
<br />
Here's a list of some of them:<br />
*including basic Desktop Environment functionality<br />
**the [[Wikipedia:NextStep|NextStep]] alike ones<br />
***[http://www.windowmaker.org/ WindowMaker] <tt>(probably the most widespread NextStep like WM)</tt><br />
***[http://www.afterstep.org/ AfterStep] <tt>(another one of those)</tt><br />
**the Blackbox-like ones<br />
***[http://blackboxwm.sourceforge.net/ BlackBox]<br />
***[http://fluxbox.sourceforge.net/ FluxBox] <tt>(tabbed windows, lighweight)</tt><br />
***[http://www.icculus.org/openbox/ OpenBox] <tt>(written from scratch to be fully ICCCM and EWMH compliant, fast and light-weight)</tt><br />
**others<br />
***[http://www.icewm.org/ IceWM] <tt>(lightweight, widespread)</tt><br />
***[http://enlightenment.sourceforge.net/ Enlightenment] <tt>(lots of features and eye candy)</tt><br />
***[http://www.pekwm.org PekWM] <tt>(kind of a one man show, but feature rich and extremely customizable)</tt><br />
*pure WindowManagers <br />
**[http://golem.sourceforge.net/ Golem]<br />
**[http://home.earthlink.net/~lab1701/larswm/ LarsWM] <tt>(unique tiling Window Manager)</tt><br />
**[http://www.nongnu.org/ratpoison/ ratpoison] <tt>(modeled after gnu screen)</tt><br />
**[http://fvwm.org/ fvwm] <tt>(small but powerful)</tt><br />
**[http://www.jfc.org.uk/software/lwm.html lwm] <tt>(very small, and fast)</tt><br />
**[http://www.all-day-breakfast.com/wm2/ wm2] <tt>really small Window Manager</tt><br />
**[http://www.all-day-breakfast.com/wmx/ wmx] <tt>slightly more featureful version of wm2</tt><br />
**[http://wmii.suckless.org wmii] <tt>keyboard driven approach, very small, dynamic window managing</tt><br />
<br />
====Taskbar/Panel====<br />
Another thing that especially users coming to Linux from the Windows world would probably like is a Panel or Taskbar.<br />
<br />
Here's a collection of independant low resource panels:<br />
*[http://www.chatjunkies.org/fspanel/ F***ing Small Panel] <tt>(doesn't use any toolkit)</tt><br />
*[http://freshmeat.net/projects/hpanel/ HPanel] <tt>(doesn't use any toolkit)</tt><br />
*[http://fbpanel.sourceforge.net/ fbpanel] <tt>(depends on GTK 2)</tt><br />
*[http://jodrell.net/projects/perlpanel Perl Panel] <tt>(depends on GTK 2, gnomevfs, perl)</tt><br />
*[http://www.gkrellm.net/ GKrellM] <tt>(depends on GTK 2, flexible plugin based skinable vertical panel)</tt><br />
<br />
====Desktop Pinboard====<br />
Then, the next thing you might be looking for is how to get icons onto your desktop. Usually this is done by the file manager who displays the content of a special directory as icons on the desktop. See the File Manager section to follow this approach.<br />
<br />
However, you might decide for a really lightwight file manager which doesn't offer this feature. In that case all hope is not lost, for there are also special programs specialized in desktop icon management. Such are:<br />
* [http://idesk.sourceforge.net/ iDesk] <tt>(recent versions need imlib2 only)</tt><br />
<br />
====File Manager====<br />
File Managers are the fourth really important compontent of a desktop environment. There are plenty out their ranging from resource hugs to really lightweight and slim ones.<br />
<br />
File Managers come with three distinct general user interface approaches: the two pane gui, the spacial and the browser gui. The browser gui is the one the Windows Explorer starting from Windows 2000 uses as well as earlier versions of Nautilus. The spacial view is the one known from Windows 95 and more recent versions of Nautilus. The two pane view is know to many from Norten Commander, Directory Opus or your favorite FTP client.<br />
<br />
The following list provides an overview.<br />
*FLTK<br />
** [http://www.oksid.ch/flfm/ Fast Light File Manager] <tt>(spacial gui)</tt><br />
* FOX toolkit<br />
** [http://roland65.free.fr/xfe/ X File Explorer] <tt>(browser and two pane gui)</tt><br />
*GTK<br />
** [http://www.kaisersite.de/dfm/ Desktop File Manager] <tt>(spacial gui, incl. desktop icon management)</tt><br />
** [http://www.uwyn.com/projects/fm/ FM] <tt>(spacial, MAC OS 9 like gui)</tt><br />
** [http://radekc.regnet.cz/ Seksi Commander] <tt>(two pane gui)</tt><br />
*GTK 2<br />
** [http://rox.sourceforge.net/ ROX Filer] <tt>(highly productive spacial gui, incl. panel and desktop icon management)</tt><br />
** [http://blog.perldude.de/projects/filer/ Filer] <tt>(browser and two pane gui, requires Perl)</tt><br />
** [http://xffm.sourceforge.net/ XFFM] <tt>(browser and spacial gui, requires some XFCE libs)</tt><br />
** [http://logicaldesktop.sourceforge.net/ Logical Desktop] <tt>(browser gui, actually a very special approach)</tt><br />
** [http://tuxcmd.sourceforge.net/ Tux Commander] <tt>(two pane gui)</tt><br />
** [http://www.nongnu.org/gcmd/index.html Gnome Commander] <tt>(two pane gui)</tt><br />
** [http://emelfm2.net/emelFM2/ emelFM2] <tt>(two pane gui with full customizable menu and toolbar, the best for power users)</tt><br />
** [http://thunar.xfce.org/index.xhtml Thunar] <tt>(requires some XFCE libs)</tt><br />
** [http://pcmanfm.sourceforge.net/ PCMan File Manager] <tt>(An extremly fast and lightweight file manager which features tabbed browsing and user-friendly interface. Requires GTK+ version 2.8.x)</tt><br />
* OpenMotif<br />
** [http://www.musikwissenschaft.uni-mainz.de/~ag/xplore/xplore.php Xplore] <tt>(browser gui with productive 4 pane concept)</tt><br />
* QT 2<br />
** [http://www.hi-net.cz/blaza/bfcommander/en/index.html BF-Commander] <tt>(two pane gui)</tt><br />
*Qt3<br />
** [http://www.beesoft.org/download_bsc.html Beesoft Commander] <tt> (fast & easy two panel file manager, like Norton Commander)</tt><br />
* Tcl/Tk<br />
** [http://users.tkk.fi/~mkivinie/X-Files/ X-Files] <tt>(two pane gui)</tt><br />
*X Toolkit<br />
** [http://www.musikwissenschaft.uni-mainz.de/~ag/xfm/ X File Manager] <tt>(spacial gui)</tt><br />
** [http://www.boomerangsworld.de/worker/ Worker] <tt>(two pane gui, highly productive and configurable)</tt><br />
** [http://xnc.dubna.su/ X Northern Captain] <tt>(interesting flexible two pane gui)</tt><br />
*3D Filemanagers<br />
** [http://www.determinate.net/webdata/seg/tdfsb.html TDFSB] <tt>(3D gui, the most impressing 3D file browser so far)</tt><br />
** [http://www.forchheimer.se/bfm/ Brutal File Manager] <tt>(3D gui more for fun than productivity)</tt><br />
** [http://turma.sourceforge.net/software/3dfile/ 3DFile] <tt>(3D gui)</tt><br />
** [http://orbis.sourceforge.net/ Orbis] <tt>(3D gui)</tt><br />
<br />
==Choosing applications==<br />
===Web Browser===<br />
This is highly dependent on the way you use your browser, it's often worth it to try out all and just track general<br />
memory usage. Remember that <tt>top</tt> and <tt>ps</tt> don't report correct memory usage, track totals only.<br />
<br />
====Firefox====<br />
Firefox is graphical web browser. One can install features like AdBlock and FlashClicktoplay which will decrease memory and<br />
processor usage by hiding Flash and Java -adverts.<br />
<br />
====Opera====<br />
Opera is graphical web browser. You can easily enable/disable plug-ins and java (press F12) and decrease memory usage.<br />
Opera uses QT as toolkit, so you may shave off some Mbytes off memory usage by using dynamically linked version if you use KDE.<br />
<br />
====Konqueror====<br />
Konqueror is graphical web browser. It's integrated with KDE and has several advanced features (esp. ca. KDE 3.5).<br />
You may save some megabytes by using it instead of other browsers when using KDE.<br />
It's not necessarily heavy even when used without running KDE.<br />
<br />
====Dillo====<br />
Dillo is minimalistic and very small graphical web browser. <br />
<br />
====Elinks/Lynx====<br />
elinks/lynx are both text mode web browsers. <tt>elinks</tt> handles tables and formatting much nicer than <tt>lynx</tt>.<br />
Both go very easy on memory footprint.<br />
<br />
{{Todo|...}}<br />
<br />
==Disabling unneeded system deamons==<br />
Another thing you can do to improve performance is to get rid of unneaded system daemons launched from your init scripts. Disable them by using the according configuration interface of your distro or by deleting links in the according runlevel directories (usually in <code>/etc/rc.d/</code>).<br />
<br />
Daemons you usually don't need:<br />
* httpd <tt>(Apache web server)</tt><br />
* mysqld <tt>(MySQL database server)</tt><br />
* smbd <tt>(SMB windows filesharing server)</tt><br />
* pppd <tt>(PPP server for connections through modems and serial lines)</tt><br />
<br />
==Adjusting filesystems==<br />
You can also try to optimize memory usage by making sure that you have as little as possible of your filesystem residing in RAM. To do this make sure that the following mount points are set to reside on your harddisk in {{path|/etc/fstab}}.<br />
* /dev (not possible if you use udev)<br />
* /tmp<br />
<br />
Also make sure that you mount filesystems with extensive usage with noatime parameter (mount -o remount,ro /...), which disabled access time writes every time you access some file. Note that many incremental backups needs atime to work, such backups will then behave like full backup everytime. This depends on backup systems.<br />
<br />
==Other tips==<br />
===Disk space===<br />
When using Debian/Ubuntu/other derivative, use <tt>aptitude</tt> as package manager, and use it as soon as possible. Use it and only it to install and remove packages.<br />
<br />
One of its most useful features is that it tracks packages you install and marks packages installed via dependency as such, so when you remove a package that is no longer used, or package updates and doesn't use a library anymore, that dependency will get uninstalled.<br />
<br />
You can mark packages installed as automatically installed by hitting 'M' (uppercase m), it will be marked for deinstallation if it's not longer required.<br />
<br />
You could also install <tt>localepurge</tt> wich will remove all unneeded locales and localized manpages for packages you install.<br />
<br />
===System clock===<br />
<tt>ntpd</tt> can occupy around 4MB of memory, which is a substantial proportion of many older systems' total. [http://chrony.sunsite.dk/ <tt>chrony</tt>] is a pair of programs that replace the standard <tt>ntp</tt> and require much less memory.</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=How_to_save_memory&diff=31268How to save memory2007-07-15T00:54:08Z<p>Ddouthitt: /* Streamlining the desktop environment */ spellfix and syntax fix</p>
<hr />
<div>{| width="100%"<br />
|style="vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;" | __TOC__<br />
|style="vertical-align:top" |This page is meant as a collection of information on how to save memory to make Linux work reasonable on older system with limited amount of RAM.<br />
<br />
Most distributions nowadays don't take much care about it anymore, so there are a lot of things you can do to save memory. To get a smoothly working Linux environment on a low memory machine you will need to consciously choose a lot of aspects of your system, most importantly the graphical environment, desktop environment and applications. This page provides detailed information about these various optimization possibilities.<br />
|}<br />
<br />
==Alternative graphical environments==<br />
{{Todo|...}}<br />
<br />
==Streamlining the desktop environment==<br />
The common desktop environments GNOME and KDE are focused more on features, integration, and beauty rather than on saving resources. Understandable, but running Linux on an older ThinkPad with limited RAM requires a focus on limiting resource usage. The good thing about Linux is that a lot of things stay adjustable and customizable. So lets see what we can do about desktops.<br />
<br />
One of the most important things is to decide for one graphical widget library and stick with that when you are choosing your desktop environment and applications. Having several toolkits in use means more libraries being loaded and hence more memory being used by those. Possibilities are:<br />
* [http://www.fltk.org/ FLTK]<br />
* [http://www.fox-toolkit.org/ FOX toolkit]<br />
* [http://www.gnustep.org GNUstep toolkit]<br />
* [http://www.gtk.org/ GTK] (not recommended, use GTK 2 if possible)<br />
* [http://www.gtk.org/ GTK 2]<br />
* [http://www.lesstif.org/ Lesstif] / [http://www.openmotif.org/ OpenMotif]<br />
* [http://www.trolltech.com/products/qt/index.html QT]<br />
* [http://www.windowmaker.org/development-wings.html WINGs] <tt>(kind of a lightweight GNUstep toolkit, provided by the WindowMaker developers)</tt><br />
* [http://www.x.org/ X Toolkit]<br />
<br />
Of those, at current state, there are enough applications for the X Toolkit, GTK, GTK 2 and QT to provide you with a solution for every task you should want.<br />
<br />
===GNOME===<br />
It's like with humans, the worst feature is in most cases also the best one. For GNOME it is probably the many little parts it consists of. Makes it hard to install, but enables one to customize the installation. So, the first thing you should do to streamline GNOME is not to launch it. Sound stupid? Well, lets have a look.<br />
<br />
GNOME is basically a set of libraries built around the GTK+ libs and extending its functionality. Add some nice little applications, a session manager, a panel, beautiful icons, and some other stuff and you have GNOME as you know it. Reversing those additions is what you can do to use GNOME applications on a machine that this desktop environment would normally take your nerves on.<br />
<br />
The GNOME panel, the session manager, the desktop manager and the window manager are all parts of GNOME that eat a lot of memory for something that others can do in a maybe little less beautiful but much more resource saving way.<br />
So first off configure your login manager not to launch gnome-session at login. If you are using GDM this is quite straight forward, you just need to add a different session script, launching your favorite window manager. See the list below and pick one, lets say i.e. WindowMaker. WindowMaker uses a desktop menu, a dock and a notification area to provide you with an organized way of launching applications and iconfying running ones. So we don't need a panel anymore. Also, think if you really need icons on your desktop. If you do, think about using something like ROX filer instead of nautilus for that. In any case, tell nautilus not to manage the desktop by default by unchecking the according setting within gconf-editor. To keep GNOME applications happy we would need to have gconf and gnome-settings-manager running at every session start. One way to do this is to either include them in your new session script. They both need to be running to make GNOME applications realize their settings properly.<br />
<br />
===KDE===<br />
{{Todo|...}}<br />
<br />
===Alternative Desktop Environments===<br />
First of all, it is important to notice that GNOME and KDE are not the only Desktop Environments around.<br />
Other complete (featuring most of: window management, session management, desktop management, file management and panel) desktop environments are:<br />
* [http://xfce.org/ XFCE] <tt>uses GTK 2</tt><br />
* [http://rox.sourceforge.net ROX Desktop]<br />
* [http://ede.sourceforge.net Equinox Desktop Environment] <tt>uses eFLTK, a modified version of FLTK</tt><br />
* [http://www.nongnu.org/antiright/ AntiRight Desktop Environment] <tt>uses LessTif / OpenMotif</tt><br />
* [http://foxdesktop.sourceforge.net/ FOX Desktop Environment] <tt>uses FOX Toolkit</tt><br />
* [http://www.gnustep.org/ GNUstep] <tt>provides it's own toolkit</tt><br />
<br />
But also, some Window Managers exceed the task of managing windows towards providing a functional workbench. See below for a list.<br />
<br />
===Building your own Desktop===<br />
<br />
====Window Manager====<br />
If you want to build your own customized desktop, a good start is choosing the window manager of your liking. A list of window managers is at [http://xwinman.org].<br />
<br />
Here's a list of some of them:<br />
*including basic Desktop Environment functionality<br />
**the [[Wikipedia:NextStep|NextStep]] alike ones<br />
***[http://www.windowmaker.org/ WindowMaker] <tt>(probably the most widespread NextStep like WM)</tt><br />
***[http://www.afterstep.org/ AfterStep] <tt>(another one of those)</tt><br />
**the Blackbox-like ones<br />
***[http://blackboxwm.sourceforge.net/ BlackBox]<br />
***[http://fluxbox.sourceforge.net/ FluxBox] <tt>(tabbed windows, lighweight)</tt><br />
***[http://www.icculus.org/openbox/ OpenBox] <tt>(written from scratch to be fully ICCCM and EWMH compliant, fast and light-weight)</tt><br />
**others<br />
***[http://www.icewm.org/ IceWM] <tt>(lightweight, widespread)</tt><br />
***[http://enlightenment.sourceforge.net/ Enlightenment] <tt>(lots of features and eye candy)</tt><br />
***[http://www.pekwm.org PekWM] <tt>(kind of a one man show, but feature rich and extremely customizable)</tt><br />
*pure WindowManagers <br />
**[http://golem.sourceforge.net/ Golem]<br />
**[http://home.earthlink.net/~lab1701/larswm/ LarsWM] <tt>(unique tiling Window Manager)</tt><br />
**[http://www.nongnu.org/ratpoison/ ratpoison] <tt>(modeled after gnu screen)</tt><br />
**[http://fvwm.org/ fvwm] <tt>(small but powerful)</tt><br />
**[http://www.jfc.org.uk/software/lwm.html lwm] <tt>(very small, and fast)</tt><br />
**[http://www.all-day-breakfast.com/wm2/ wm2] <tt>really small Window Manager</tt><br />
**[http://www.all-day-breakfast.com/wmx/ wmx] <tt>slightly more featureful version of wm2</tt><br />
**[http://wmii.suckless.org wmii] <tt>keyboard driven approach, very small, dynamic window managing</tt><br />
<br />
====Taskbar/Panel====<br />
Another thing that especially users coming to Linux from the Windows world would probably like is a Panel or Taskbar.<br />
<br />
Here's a collection of independant low resource panels:<br />
*[http://www.chatjunkies.org/fspanel/ F***ing Small Panel] <tt>(doesn't use any toolkit)</tt><br />
*[http://freshmeat.net/projects/hpanel/ HPanel] <tt>(doesn't use any toolkit)</tt><br />
*[http://fbpanel.sourceforge.net/ fbpanel] <tt>(depends on GTK 2)</tt><br />
*[http://jodrell.net/projects/perlpanel Perl Panel] <tt>(depends on GTK 2, gnomevfs, perl)</tt><br />
*[http://www.gkrellm.net/ GKrellM] <tt>(depends on GTK 2, flexible plugin based skinable vertical panel)</tt><br />
<br />
====Desktop Pinboard====<br />
Then, the next thing you might be looking for is how to get icons onto your desktop. Usually this is done by the file manager who displays the content of a special directory as icons on the desktop. See the File Manager section to follow this approach.<br />
<br />
However, you might decide for a really lightwight file manager which doesn't offer this feature. In that case all hope is not lost, for there are also special programs specialized in desktop icon management. Such are:<br />
* [http://idesk.sourceforge.net/ iDesk] <tt>(recent versions need imlib2 only)</tt><br />
<br />
====File Manager====<br />
File Managers are the fourth really important compontent of a desktop environment. There are plenty out their ranging from resource hugs to really lightweight and slim ones.<br />
<br />
File Managers come with three distinct general user interface approaches: the two pane gui, the spacial and the browser gui. The browser gui is the one the Windows Explorer starting from Windows 2000 uses as well as earlier versions of Nautilus. The spacial view is the one known from Windows 95 and more recent versions of Nautilus. The two pane view is know to many from Norten Commander, Directory Opus or your favorite FTP client.<br />
<br />
The following list provides an overview.<br />
*FLTK<br />
** [http://www.oksid.ch/flfm/ Fast Light File Manager] <tt>(spacial gui)</tt><br />
* FOX toolkit<br />
** [http://roland65.free.fr/xfe/ X File Explorer] <tt>(browser and two pane gui)</tt><br />
*GTK<br />
** [http://www.kaisersite.de/dfm/ Desktop File Manager] <tt>(spacial gui, incl. desktop icon management)</tt><br />
** [http://www.uwyn.com/projects/fm/ FM] <tt>(spacial, MAC OS 9 like gui)</tt><br />
** [http://radekc.regnet.cz/ Seksi Commander] <tt>(two pane gui)</tt><br />
*GTK 2<br />
** [http://rox.sourceforge.net/ ROX Filer] <tt>(highly productive spacial gui, incl. panel and desktop icon management)</tt><br />
** [http://blog.perldude.de/projects/filer/ Filer] <tt>(browser and two pane gui, requires Perl)</tt><br />
** [http://xffm.sourceforge.net/ XFFM] <tt>(browser and spacial gui, requires some XFCE libs)</tt><br />
** [http://logicaldesktop.sourceforge.net/ Logical Desktop] <tt>(browser gui, actually a very special approach)</tt><br />
** [http://tuxcmd.sourceforge.net/ Tux Commander] <tt>(two pane gui)</tt><br />
** [http://www.nongnu.org/gcmd/index.html Gnome Commander] <tt>(two pane gui)</tt><br />
** [http://emelfm2.net/emelFM2/ emelFM2] <tt>(two pane gui with full customizable menu and toolbar, the best for power users)</tt><br />
** [http://thunar.xfce.org/index.xhtml Thunar] <tt>(requires some XFCE libs)</tt><br />
** [http://pcmanfm.sourceforge.net/ PCMan File Manager] <tt>(An extremly fast and lightweight file manager which features tabbed browsing and user-friendly interface. Requires GTK+ version 2.8.x)</tt><br />
* OpenMotif<br />
** [http://www.musikwissenschaft.uni-mainz.de/~ag/xplore/xplore.php Xplore] <tt>(browser gui with productive 4 pane concept)</tt><br />
* QT 2<br />
** [http://www.hi-net.cz/blaza/bfcommander/en/index.html BF-Commander] <tt>(two pane gui)</tt><br />
*Qt3<br />
** [http://www.beesoft.org/download_bsc.html Beesoft Commander] <tt> (fast & easy two panel file manager, like Norton Commander)</tt><br />
* Tcl/Tk<br />
** [http://users.tkk.fi/~mkivinie/X-Files/ X-Files] <tt>(two pane gui)</tt><br />
*X Toolkit<br />
** [http://www.musikwissenschaft.uni-mainz.de/~ag/xfm/ X File Manager] <tt>(spacial gui)</tt><br />
** [http://www.boomerangsworld.de/worker/ Worker] <tt>(two pane gui, highly productive and configurable)</tt><br />
** [http://xnc.dubna.su/ X Northern Captain] <tt>(interesting flexible two pane gui)</tt><br />
*3D Filemanagers<br />
** [http://www.determinate.net/webdata/seg/tdfsb.html TDFSB] <tt>(3D gui, the most impressing 3D file browser so far)</tt><br />
** [http://www.forchheimer.se/bfm/ Brutal File Manager] <tt>(3D gui more for fun than productivity)</tt><br />
** [http://turma.sourceforge.net/software/3dfile/ 3DFile] <tt>(3D gui)</tt><br />
** [http://orbis.sourceforge.net/ Orbis] <tt>(3D gui)</tt><br />
<br />
==Choosing applications==<br />
===Web Browser===<br />
This is highly dependent on the way you use your browser, it's often worth it to try out all and just track general<br />
memory usage. Remember that <tt>top</tt> and <tt>ps</tt> don't report correct memory usage, track totals only.<br />
<br />
====Firefox====<br />
Firefox is graphical web browser. One can install features like AdBlock and FlashClicktoplay which will decrease memory and<br />
processor usage by hiding Flash and Java -adverts.<br />
<br />
====Opera====<br />
Opera is graphical web browser. You can easily enable/disable plug-ins and java (press F12) and decrease memory usage.<br />
Opera uses QT as toolkit, so you may shave off some Mbytes off memory usage by using dynamically linked version if you use KDE.<br />
<br />
====Konqueror====<br />
Konqueror is graphical web browser. It's integrated with KDE and has several advanced features (esp. ca. KDE 3.5).<br />
You may save some megabytes by using it instead of other browsers when using KDE.<br />
It's not necessarily heavy even when used without running KDE.<br />
<br />
====Dillo====<br />
Dillo is minimalistic and very small graphical web browser. <br />
<br />
====Elinks/Lynx====<br />
elinks/lynx are both text mode web browsers. <tt>elinks</tt> handles tables and formatting much nicer than <tt>lynx</tt>.<br />
Both go very easy on memory footprint.<br />
<br />
{{Todo|...}}<br />
<br />
==Disabling unneeded system deamons==<br />
Another thing you can do to improve performance is to get rid of unneaded system daemons launched from your init scripts. Disable them by using the according configuration interface of your distro or by deleting links in the according runlevel directories (usually in <code>/etc/rc.d/</code>).<br />
<br />
Daemons you usually don't need:<br />
* httpd <tt>(Apache web server)</tt><br />
* mysqld <tt>(MySQL database server)</tt><br />
* smbd <tt>(SMB windows filesharing server)</tt><br />
* pppd <tt>(PPP server for connections through modems and serial lines)</tt><br />
<br />
==Adjusting filesystems==<br />
You can also try to optimize memory usage by making sure that you have as little as possible of your filesystem residing in RAM. To do this make sure that the following mount points are set to reside on your harddisk in {{path|/etc/fstab}}.<br />
* /dev (not possible if you use udev)<br />
* /tmp<br />
<br />
Also make sure that you mount filesystems with extensive usage with noatime parameter (mount -o remount,ro /...), which disabled access time writes every time you access some file. Note that many incremental backups needs atime to work, such backups will then behave like full backup everytime. This depends on backup systems.<br />
<br />
==Other tips==<br />
===Disk space===<br />
When using Debian/Ubuntu/other derivative, use <tt>aptitude</tt> as package manager, and use it as soon as possible. Use it and only it to install and remove packages.<br />
<br />
One of its most useful features is that it tracks packages you install and marks packages installed via dependency as such, so when you remove a package that is no longer used, or package updates and doesn't use a library anymore, that dependency will get uninstalled.<br />
<br />
You can mark packages installed as automatically installed by hitting 'M' (uppercase m), it will be marked for deinstallation if it's not longer required.<br />
<br />
You could also install <tt>localepurge</tt> wich will remove all unneeded locales and localized manpages for packages you install.<br />
<br />
===System clock===<br />
<tt>ntpd</tt> can occupy around 4MB of memory, which is a substantial proportion of many older systems' total. [http://chrony.sunsite.dk/ <tt>chrony</tt>] is a pair of programs that replace the standard <tt>ntp</tt> and require much less memory.</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=How_to_save_memory&diff=31267How to save memory2007-07-15T00:50:30Z<p>Ddouthitt: spellfix</p>
<hr />
<div>{| width="100%"<br />
|style="vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;" | __TOC__<br />
|style="vertical-align:top" |This page is meant as a collection of information on how to save memory to make Linux work reasonable on older system with limited amount of RAM.<br />
<br />
Most distributions nowadays don't take much care about it anymore, so there are a lot of things you can do to save memory. To get a smoothly working Linux environment on a low memory machine you will need to consciously choose a lot of aspects of your system, most importantly the graphical environment, desktop environment and applications. This page provides detailed information about these various optimization possibilities.<br />
|}<br />
<br />
==Alternative graphical environments==<br />
{{Todo|...}}<br />
<br />
==Streamlining the desktop environment==<br />
The common Desktop environments GNOME and KDE are, in their modern state, focused more on features, integration, and beauty rather than on resource saving. Understandable, but running Linux on an older ThinkPad with limited RAM requires conscious and sensitive resource usage more than anything else. The good thing about Linux is that a lot of things stay adjustable and customizable. So lets see what we can do about desktops.<br />
<br />
One of the most important things is to decide for one graphical widget library and stick with that when you are choosing your desktop environment and applications. Having several toolkits in use means more libraries being loaded and hence more memory being used by those. Possibilities are:<br />
* [http://www.fltk.org/ FLTK]<br />
* [http://www.fox-toolkit.org/ FOX toolkit]<br />
* [http://www.gnustep.org GNUstep toolkit]<br />
* [http://www.gtk.org/ GTK] <tt>(not recommended, use GTK 2 if possible)</tt><br />
* [http://www.gtk.org/ GTK 2]<br />
* [http://www.lesstif.org/ Lesstif] / [http://www.openmotif.org/ OpenMotif]<br />
* [http://www.trolltech.com/products/qt/index.html QT]<br />
* [http://www.windowmaker.org/development-wings.html WINGs] <tt>(kind of a lightweight GNUstep toolkit, provided by the WindowMaker developers)</tt><br />
* [http://www.x.org/ X Toolkit]<br />
<br />
Of those, at current state, there are enough applications for the X Toolkit, GTK, GTK 2 and QT to provide you with a solution for every task you should want.<br />
<br />
===GNOME===<br />
It's like with humans, the worst feature is in most cases also the best one. For GNOME it is probably the many little parts it consists of. Makes it hard to install, but enables one to customize the installation. So, the first thing you should do to streamline GNOME is not to launch it. Sound stupid? Well, lets have a look.<br />
<br />
GNOME is basically a set of libraries built around the GTK+ libs and extending its functionality. Add some nice little applications, a session manager, a panel, beautiful icons, and some other stuff and you have GNOME as you know it. Reversing those additions is what you can do to use GNOME applications on a machine that this desktop environment would normally take your nerves on.<br />
<br />
The GNOME panel, the session manager, the desktop manager and the window manager are all parts of GNOME that eat a lot of memory for something that others can do in a maybe little less beautiful but much more resource saving way.<br />
So first off configure your login manager not to launch gnome-session at login. If you are using GDM this is quite straight forward, you just need to add a different session script, launching your favorite window manager. See the list below and pick one, lets say i.e. WindowMaker. WindowMaker uses a desktop menu, a dock and a notification area to provide you with an organized way of launching applications and iconfying running ones. So we don't need a panel anymore. Also, think if you really need icons on your desktop. If you do, think about using something like ROX filer instead of nautilus for that. In any case, tell nautilus not to manage the desktop by default by unchecking the according setting within gconf-editor. To keep GNOME applications happy we would need to have gconf and gnome-settings-manager running at every session start. One way to do this is to either include them in your new session script. They both need to be running to make GNOME applications realize their settings properly.<br />
<br />
===KDE===<br />
{{Todo|...}}<br />
<br />
===Alternative Desktop Environments===<br />
First of all, it is important to notice that GNOME and KDE are not the only Desktop Environments around.<br />
Other complete (featuring most of: window management, session management, desktop management, file management and panel) desktop environments are:<br />
* [http://xfce.org/ XFCE] <tt>uses GTK 2</tt><br />
* [http://rox.sourceforge.net ROX Desktop]<br />
* [http://ede.sourceforge.net Equinox Desktop Environment] <tt>uses eFLTK, a modified version of FLTK</tt><br />
* [http://www.nongnu.org/antiright/ AntiRight Desktop Environment] <tt>uses LessTif / OpenMotif</tt><br />
* [http://foxdesktop.sourceforge.net/ FOX Desktop Environment] <tt>uses FOX Toolkit</tt><br />
* [http://www.gnustep.org/ GNUstep] <tt>provides it's own toolkit</tt><br />
<br />
But also, some Window Managers exceed the task of managing windows towards providing a functional workbench. See below for a list.<br />
<br />
===Building your own Desktop===<br />
<br />
====Window Manager====<br />
If you want to build your own customized desktop, a good start is choosing the window manager of your liking. A list of window managers is at [http://xwinman.org].<br />
<br />
Here's a list of some of them:<br />
*including basic Desktop Environment functionality<br />
**the [[Wikipedia:NextStep|NextStep]] alike ones<br />
***[http://www.windowmaker.org/ WindowMaker] <tt>(probably the most widespread NextStep like WM)</tt><br />
***[http://www.afterstep.org/ AfterStep] <tt>(another one of those)</tt><br />
**the Blackbox-like ones<br />
***[http://blackboxwm.sourceforge.net/ BlackBox]<br />
***[http://fluxbox.sourceforge.net/ FluxBox] <tt>(tabbed windows, lighweight)</tt><br />
***[http://www.icculus.org/openbox/ OpenBox] <tt>(written from scratch to be fully ICCCM and EWMH compliant, fast and light-weight)</tt><br />
**others<br />
***[http://www.icewm.org/ IceWM] <tt>(lightweight, widespread)</tt><br />
***[http://enlightenment.sourceforge.net/ Enlightenment] <tt>(lots of features and eye candy)</tt><br />
***[http://www.pekwm.org PekWM] <tt>(kind of a one man show, but feature rich and extremely customizable)</tt><br />
*pure WindowManagers <br />
**[http://golem.sourceforge.net/ Golem]<br />
**[http://home.earthlink.net/~lab1701/larswm/ LarsWM] <tt>(unique tiling Window Manager)</tt><br />
**[http://www.nongnu.org/ratpoison/ ratpoison] <tt>(modeled after gnu screen)</tt><br />
**[http://fvwm.org/ fvwm] <tt>(small but powerful)</tt><br />
**[http://www.jfc.org.uk/software/lwm.html lwm] <tt>(very small, and fast)</tt><br />
**[http://www.all-day-breakfast.com/wm2/ wm2] <tt>really small Window Manager</tt><br />
**[http://www.all-day-breakfast.com/wmx/ wmx] <tt>slightly more featureful version of wm2</tt><br />
**[http://wmii.suckless.org wmii] <tt>keyboard driven approach, very small, dynamic window managing</tt><br />
<br />
====Taskbar/Panel====<br />
Another thing that especially users coming to Linux from the Windows world would probably like is a Panel or Taskbar.<br />
<br />
Here's a collection of independant low resource panels:<br />
*[http://www.chatjunkies.org/fspanel/ F***ing Small Panel] <tt>(doesn't use any toolkit)</tt><br />
*[http://freshmeat.net/projects/hpanel/ HPanel] <tt>(doesn't use any toolkit)</tt><br />
*[http://fbpanel.sourceforge.net/ fbpanel] <tt>(depends on GTK 2)</tt><br />
*[http://jodrell.net/projects/perlpanel Perl Panel] <tt>(depends on GTK 2, gnomevfs, perl)</tt><br />
*[http://www.gkrellm.net/ GKrellM] <tt>(depends on GTK 2, flexible plugin based skinable vertical panel)</tt><br />
<br />
====Desktop Pinboard====<br />
Then, the next thing you might be looking for is how to get icons onto your desktop. Usually this is done by the file manager who displays the content of a special directory as icons on the desktop. See the File Manager section to follow this approach.<br />
<br />
However, you might decide for a really lightwight file manager which doesn't offer this feature. In that case all hope is not lost, for there are also special programs specialized in desktop icon management. Such are:<br />
* [http://idesk.sourceforge.net/ iDesk] <tt>(recent versions need imlib2 only)</tt><br />
<br />
====File Manager====<br />
File Managers are the fourth really important compontent of a desktop environment. There are plenty out their ranging from resource hugs to really lightweight and slim ones.<br />
<br />
File Managers come with three distinct general user interface approaches: the two pane gui, the spacial and the browser gui. The browser gui is the one the Windows Explorer starting from Windows 2000 uses as well as earlier versions of Nautilus. The spacial view is the one known from Windows 95 and more recent versions of Nautilus. The two pane view is know to many from Norten Commander, Directory Opus or your favorite FTP client.<br />
<br />
The following list provides an overview.<br />
*FLTK<br />
** [http://www.oksid.ch/flfm/ Fast Light File Manager] <tt>(spacial gui)</tt><br />
* FOX toolkit<br />
** [http://roland65.free.fr/xfe/ X File Explorer] <tt>(browser and two pane gui)</tt><br />
*GTK<br />
** [http://www.kaisersite.de/dfm/ Desktop File Manager] <tt>(spacial gui, incl. desktop icon management)</tt><br />
** [http://www.uwyn.com/projects/fm/ FM] <tt>(spacial, MAC OS 9 like gui)</tt><br />
** [http://radekc.regnet.cz/ Seksi Commander] <tt>(two pane gui)</tt><br />
*GTK 2<br />
** [http://rox.sourceforge.net/ ROX Filer] <tt>(highly productive spacial gui, incl. panel and desktop icon management)</tt><br />
** [http://blog.perldude.de/projects/filer/ Filer] <tt>(browser and two pane gui, requires Perl)</tt><br />
** [http://xffm.sourceforge.net/ XFFM] <tt>(browser and spacial gui, requires some XFCE libs)</tt><br />
** [http://logicaldesktop.sourceforge.net/ Logical Desktop] <tt>(browser gui, actually a very special approach)</tt><br />
** [http://tuxcmd.sourceforge.net/ Tux Commander] <tt>(two pane gui)</tt><br />
** [http://www.nongnu.org/gcmd/index.html Gnome Commander] <tt>(two pane gui)</tt><br />
** [http://emelfm2.net/emelFM2/ emelFM2] <tt>(two pane gui with full customizable menu and toolbar, the best for power users)</tt><br />
** [http://thunar.xfce.org/index.xhtml Thunar] <tt>(requires some XFCE libs)</tt><br />
** [http://pcmanfm.sourceforge.net/ PCMan File Manager] <tt>(An extremly fast and lightweight file manager which features tabbed browsing and user-friendly interface. Requires GTK+ version 2.8.x)</tt><br />
* OpenMotif<br />
** [http://www.musikwissenschaft.uni-mainz.de/~ag/xplore/xplore.php Xplore] <tt>(browser gui with productive 4 pane concept)</tt><br />
* QT 2<br />
** [http://www.hi-net.cz/blaza/bfcommander/en/index.html BF-Commander] <tt>(two pane gui)</tt><br />
*Qt3<br />
** [http://www.beesoft.org/download_bsc.html Beesoft Commander] <tt> (fast & easy two panel file manager, like Norton Commander)</tt><br />
* Tcl/Tk<br />
** [http://users.tkk.fi/~mkivinie/X-Files/ X-Files] <tt>(two pane gui)</tt><br />
*X Toolkit<br />
** [http://www.musikwissenschaft.uni-mainz.de/~ag/xfm/ X File Manager] <tt>(spacial gui)</tt><br />
** [http://www.boomerangsworld.de/worker/ Worker] <tt>(two pane gui, highly productive and configurable)</tt><br />
** [http://xnc.dubna.su/ X Northern Captain] <tt>(interesting flexible two pane gui)</tt><br />
*3D Filemanagers<br />
** [http://www.determinate.net/webdata/seg/tdfsb.html TDFSB] <tt>(3D gui, the most impressing 3D file browser so far)</tt><br />
** [http://www.forchheimer.se/bfm/ Brutal File Manager] <tt>(3D gui more for fun than productivity)</tt><br />
** [http://turma.sourceforge.net/software/3dfile/ 3DFile] <tt>(3D gui)</tt><br />
** [http://orbis.sourceforge.net/ Orbis] <tt>(3D gui)</tt><br />
<br />
==Choosing applications==<br />
===Web Browser===<br />
This is highly dependent on the way you use your browser, it's often worth it to try out all and just track general<br />
memory usage. Remember that <tt>top</tt> and <tt>ps</tt> don't report correct memory usage, track totals only.<br />
<br />
====Firefox====<br />
Firefox is graphical web browser. One can install features like AdBlock and FlashClicktoplay which will decrease memory and<br />
processor usage by hiding Flash and Java -adverts.<br />
<br />
====Opera====<br />
Opera is graphical web browser. You can easily enable/disable plug-ins and java (press F12) and decrease memory usage.<br />
Opera uses QT as toolkit, so you may shave off some Mbytes off memory usage by using dynamically linked version if you use KDE.<br />
<br />
====Konqueror====<br />
Konqueror is graphical web browser. It's integrated with KDE and has several advanced features (esp. ca. KDE 3.5).<br />
You may save some megabytes by using it instead of other browsers when using KDE.<br />
It's not necessarily heavy even when used without running KDE.<br />
<br />
====Dillo====<br />
Dillo is minimalistic and very small graphical web browser. <br />
<br />
====Elinks/Lynx====<br />
elinks/lynx are both text mode web browsers. <tt>elinks</tt> handles tables and formatting much nicer than <tt>lynx</tt>.<br />
Both go very easy on memory footprint.<br />
<br />
{{Todo|...}}<br />
<br />
==Disabling unneeded system deamons==<br />
Another thing you can do to improve performance is to get rid of unneaded system daemons launched from your init scripts. Disable them by using the according configuration interface of your distro or by deleting links in the according runlevel directories (usually in <code>/etc/rc.d/</code>).<br />
<br />
Daemons you usually don't need:<br />
* httpd <tt>(Apache web server)</tt><br />
* mysqld <tt>(MySQL database server)</tt><br />
* smbd <tt>(SMB windows filesharing server)</tt><br />
* pppd <tt>(PPP server for connections through modems and serial lines)</tt><br />
<br />
==Adjusting filesystems==<br />
You can also try to optimize memory usage by making sure that you have as little as possible of your filesystem residing in RAM. To do this make sure that the following mount points are set to reside on your harddisk in {{path|/etc/fstab}}.<br />
* /dev (not possible if you use udev)<br />
* /tmp<br />
<br />
Also make sure that you mount filesystems with extensive usage with noatime parameter (mount -o remount,ro /...), which disabled access time writes every time you access some file. Note that many incremental backups needs atime to work, such backups will then behave like full backup everytime. This depends on backup systems.<br />
<br />
==Other tips==<br />
===Disk space===<br />
When using Debian/Ubuntu/other derivative, use <tt>aptitude</tt> as package manager, and use it as soon as possible. Use it and only it to install and remove packages.<br />
<br />
One of its most useful features is that it tracks packages you install and marks packages installed via dependency as such, so when you remove a package that is no longer used, or package updates and doesn't use a library anymore, that dependency will get uninstalled.<br />
<br />
You can mark packages installed as automatically installed by hitting 'M' (uppercase m), it will be marked for deinstallation if it's not longer required.<br />
<br />
You could also install <tt>localepurge</tt> wich will remove all unneeded locales and localized manpages for packages you install.<br />
<br />
===System clock===<br />
<tt>ntpd</tt> can occupy around 4MB of memory, which is a substantial proportion of many older systems' total. [http://chrony.sunsite.dk/ <tt>chrony</tt>] is a pair of programs that replace the standard <tt>ntp</tt> and require much less memory.</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_T60&diff=31266Installing Fedora 7 on a ThinkPad T602007-07-15T00:36:45Z<p>Ddouthitt: Changed category</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 />
===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 />
[[Category:T60]]<br />
[[Category:Fedora]]</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=Installing_SUSE_10_on_a_ThinkPad_TransNote&diff=31265Installing SUSE 10 on a ThinkPad TransNote2007-07-15T00:27:33Z<p>Ddouthitt: /* Power Management */ first text fix</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"</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=Installing_SUSE_10_on_a_ThinkPad_TransNote&diff=31264Installing SUSE 10 on a ThinkPad TransNote2007-07-15T00:21:47Z<p>Ddouthitt: /* TPB */ Reworked text</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 powersaved 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 PM functionalities 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 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, 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"</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=ATI_Mobility_Radeon_Xpress_200M&diff=31263ATI Mobility Radeon Xpress 200M2007-07-15T00:16:18Z<p>Ddouthitt: /* Linux driver - Proprietary */ Cleaned up text</p>
<hr />
<div>__NOTOC__<br />
{| width="100%"<br />
|style="vertical-align:top" |<br />
<div style="margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;"><br />
=== ATI Mobility Radeon Xpress 200M ===<br />
This is a ATI North Bridge with integrated video adapter<br />
<br />
=== Features ===<br />
* Video Chipset: ATI ?<br />
* Video PCI ID: 1002:5a62<br />
* Video Memory: uses main memory (32MB up to 511MB main memory; 64MB over 511MB)<br />
</div><br />
|style="vertical-align:top" |<br />
|}<br />
<br />
=== Linux driver - OpenSource ===<br />
The VESA driver in Xorg 6.8.2 works. When configured in Fedora Core 4, the hardware discovery did not work, therefore the screen was configured for 800x600 only. <!-- (No description given, non-encyclopedic) I edited xorg.conf manually to insert the 1024x768 mode and increase HorizSync to allow the mode to work. --><br />
<br />
The "ati" driver in Xorg 7.0 worked fine under Gentoo Linux.<br />
<br />
The "radeon" module works fine in X.Org 7.2 under openSUSE Linux 10.2.<br />
<br />
Direct rendering (i.e., 3D acceleration) does not work, and is disabled explicitly in the driver. Look for this line in Xorg.0.log:<br />
<br />
(II) RADEON(0): Direct rendering broken on XPRESS 200 and 200M<br />
<br />
=== Linux driver - Proprietary ===<br />
{{Todo|?}}<br />
<br />
The following combination of software is almost working for me:<br />
* gentoo-sources-2.6.14-r2<br />
* ati-drivers-8.19.10<br />
* xorg-x11-6.8.2-r6<br />
<br />
Xorg hangs up sometimes unless I disable glx and dri modules in xorg.conf .<br />
<br />
Linux kernel 2.6.15 and ati drivers 8.20.8 work flawlessly. DRI is enabled and graphics is fast (for this videocard). fglrxconfig puts "GammaCorrection" options in xorg.conf and it sometimes messes up colors so it is better to comment them out. If colors are messed up for some reason anyway run fireglcontrol and click on TvOut tab, it should cure the problem. <!-- (ATI has a peculiar sense of humor) --><br />
<br />
====For Fedora Core 5====<br />
With GUI install<br />
boot: linux vesa<br />
<br />
Install kmod-fglrx from livna<br />
#yum update kmod-fglrx<br />
<br />
Install offical driver[Fake 690]<br />
#X_VERSION=x690 ./ati-driver-installer-8.24.8-i386.run<br />
<br />
Initial fglrx<br />
#aticonfig --initial<br />
<br />
Reboot<br />
#reboot<br />
<br />
=== ThinkPads this chip may be found in ===<br />
* {{R51e}}<br />
<br />
[[Category:Components]]</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=ATI_Mobility_Radeon_Xpress_200M&diff=31262ATI Mobility Radeon Xpress 200M2007-07-15T00:12:18Z<p>Ddouthitt: /* Linux driver - OpenSource */ Cleaned up</p>
<hr />
<div>__NOTOC__<br />
{| width="100%"<br />
|style="vertical-align:top" |<br />
<div style="margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;"><br />
=== ATI Mobility Radeon Xpress 200M ===<br />
This is a ATI North Bridge with integrated video adapter<br />
<br />
=== Features ===<br />
* Video Chipset: ATI ?<br />
* Video PCI ID: 1002:5a62<br />
* Video Memory: uses main memory (32MB up to 511MB main memory; 64MB over 511MB)<br />
</div><br />
|style="vertical-align:top" |<br />
|}<br />
<br />
=== Linux driver - OpenSource ===<br />
The VESA driver in Xorg 6.8.2 works. When configured in Fedora Core 4, the hardware discovery did not work, therefore the screen was configured for 800x600 only. <!-- (No description given, non-encyclopedic) I edited xorg.conf manually to insert the 1024x768 mode and increase HorizSync to allow the mode to work. --><br />
<br />
The "ati" driver in Xorg 7.0 worked fine under Gentoo Linux.<br />
<br />
The "radeon" module works fine in X.Org 7.2 under openSUSE Linux 10.2.<br />
<br />
Direct rendering (i.e., 3D acceleration) does not work, and is disabled explicitly in the driver. Look for this line in Xorg.0.log:<br />
<br />
(II) RADEON(0): Direct rendering broken on XPRESS 200 and 200M<br />
<br />
=== Linux driver - Proprietary ===<br />
{{Todo|?}}<br />
<br />
The following combination of software is almost working for me: gentoo-sources-2.6.14-r2, ati-drivers-8.19.10, xorg-x11-6.8.2-r6. Xorg hangs up sometimes unless I disable glx and dri modules in xorg.conf .<br />
<br />
New kernel 2.6.15 and ati drivers 8.20.8 work flawlessly. DRI is enabled and graphics is fast (for this videocard). fglrxconfig puts "GammaCorrection" options in xorg.conf and it sometimes messes up colors so it is better to comment them out. If colors are messed up for some reason anyway run fireglcontrol and click on TvOut tab, it should cure the problem (ATI has a peculiar sence of humor).<br />
<br />
For Fedora Core 5<br />
With GUI install<br />
boot: linux vesa<br />
<br />
Install kmod-fglrx from livna<br />
#yum update kmod-fglrx<br />
<br />
Install offical driver[Fake 690]<br />
#X_VERSION=x690 ./ati-driver-installer-8.24.8-i386.run<br />
<br />
Initial fglrx<br />
#aticonfig --initial<br />
<br />
Reboot<br />
#reboot<br />
<br />
=== ThinkPads this chip may be found in ===<br />
* {{R51e}}<br />
<br />
[[Category:Components]]</div>Ddouthitthttps://www.thinkwiki.org/w/index.php?title=Linux&diff=31261Linux2007-07-14T23:59:20Z<p>Ddouthitt: Embedded Wikipedia pointer into text</p>
<hr />
<div>[[Wikipedia:Linux|Linux]] is a free Unix-like operating system originally created by Linus Torvalds with the assistance of developers around the world. Developed under the [[wikipedia:GNU General Public License|GNU General Public License]] , the source code for Linux is freely available to everyone.<br />
<br />
General information about Linux can also be found at [http://www.linux.org www.linux.org].<br />
<br />
[[Category:Glossary]]<br />
[[Category:Operating System]]</div>Ddouthitt