Difference between revisions of "Installing LFS on a ThinkPad T41p"

From ThinkWiki
Jump to: navigation, search
(Thinklight)
(Power Management: added external sources section)
 
(17 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
__TOC__
 
__TOC__
 
----
 
----
===Graphics===
+
==Graphics==
  
====internal, AGP: ATI Radeon FireGL T2====
+
===internal, AGP: ATI Radeon FireGL T2===
  
You have to choices: xorgs radeon driver or ATIs fglrx driver.
+
You have two choices: xorgs radeon driver or ATIs [[fglrx|fglrx driver]].
The xorg driver works fine, but doesn't support DRI. Also, support for a docks or port replicators DVI port is theoretically available, but practically not possible. This is being worked on.
+
The xorg driver works fine, but doesn't support DRI. A solution is underway with the [[R300|R300 driver]]. Also, support for a docks or port replicators DVI port is theoretically available, but practically not possible. This is being worked on as well.
  
====PCI of dock: ATI Radeon 9000====
+
===PCI of dock: ATI Radeon 9000===
  
You will have to enable ati drivers when you compile X.
+
I made several attempts to get this card working under x.org, with no success, or very limited one.
DRI support is present starting from XFree86 4.3.0. However, it segfaulted on my machine until i updated to 4.3.99.902, so 4.4.0 should work. OpenGL apps were still very slow until i set the R200_NO_TCL environment variable. It disables hardware TCL support, so i guess the driver is still buggy in this field.
+
With both x.org radeon driver and ATIs fglrs driver the system totally freezes when you try enabling the card in your config.
Now i'm getting framerates a bit below 600 fps with glxgears, which i think is quite ok for a PCI based card in a dock.
+
This seems to be a problem with PCI scanning/handling in x.org.
  
===Drives===
+
I managed once to get the PCI card alone working after switching the primary display device to PCI in the BIOS.
  
====Harddisk: Hitachi Travelstar HTS548080M9AT00====
+
==Drives==
 +
 
 +
===Harddisk: Hitachi Travelstar HTS548080M9AT00===
  
 
I replaced the original harddrive (60GB at 7260RPM) with the 80GB/5480RPM model from Hitachi (which are the ones that IBM labels for their purposes).
 
I replaced the original harddrive (60GB at 7260RPM) with the 80GB/5480RPM model from Hitachi (which are the ones that IBM labels for their purposes).
 
For some speed optimizations you might try the following (at your own risk):
 
For some speed optimizations you might try the following (at your own risk):
hdparm -c 3 -u 1 -X 99 -k 1 /dev/hda
+
:{{cmdroot|hdparm -c 3 -u 1 -X 99 -k 1 /dev/hda}}
  
====DVD/CDRW Combo: Toshiba SD-R9012====
+
===DVD/CDRW Combo: Toshiba SD-R9012===
  
 
The drive works pretty fine with the kernels standard IDE CD-ROM driver. You can burn CDs using cdrecord in ATAPI mode.
 
The drive works pretty fine with the kernels standard IDE CD-ROM driver. You can burn CDs using cdrecord in ATAPI mode.
 
Alternatively you may use ide-scsi and treat the device as a SCSI drive.
 
Alternatively you may use ide-scsi and treat the device as a SCSI drive.
  
I didn't have success trying to enable hotplugging. Using [[ibm-acpi]] you can get events for the UltraBay eject lever, but i didn't manage to make hdparm unregister the IDE device. On my system it executes the command giving no error but afterwards the IDE device still shows up in /proc.
+
===Ultrabay 2000 ZIP Drive (in docks Ultrabay 2000)===
 
 
====Ultrabay 2000 ZIP Drive (in docks Ultrabay 2000)====
 
  
 
Works great using the kernels ide-disk driver.
 
Works great using the kernels ide-disk driver.
  
===Sound: ...===
+
==Sound: ...==
 
+
{{Todo|needs to be filled}}
coming soon...
 
  
===Networking===
+
==Networking==
  
====LAN: Intel Pro/1000 (82540EP)====
+
===LAN: Intel Pro/1000 (82540EP)===
  
 
Compile the e1000 driver into the kernel or as module (CONFIG_E1000).
 
Compile the e1000 driver into the kernel or as module (CONFIG_E1000).
 
You might want to take a look at [[ifplugd]].
 
You might want to take a look at [[ifplugd]].
  
====Wireless LAN: Atheros AR5212 802.11abg (aka IBM a/b/g)====
+
===Wireless LAN: Atheros AR5212 802.11abg (aka IBM a/b/g)===
 
The [[madwifi]] project will be your friend.
 
The [[madwifi]] project will be your friend.
 
You might want to give [[waproamd]] a try.
 
You might want to give [[waproamd]] a try.
  
====Modem====
+
===Modem===
 
 
coming soon...
 
  
===PCMCIA===
+
never used
  
Just enable the PCMCIA support in the kernel configuration and with it the cardbus driver and the thing will work great.
+
==PCMCIA==
I tested a Xircom CardCaddy as well as some other CompactFlash adapter. Both worked.
 
  
===USB===
+
Just enable the PCMCIA support in the kernel configuration and with it the cardbus driver and the thing will work great. A Xircom CardCaddy as well as some other CompactFlash adapter both worked.
  
coming soon...
+
==USB==
  
===Specials===
+
Enable the EHCI and UHCI drivers in your kernel config. You might need to unload them before suspending and reload them on resume if you use ACPI. This is a kernel issue and should be solved in latest kernels.
  
====UltraBay====
+
==Specials==
  
coming soon...
+
===UltraBay===
 +
I didn't have success trying to enable hotplugging. Using [[ibm-acpi]] you can get events for the UltraBay eject lever, but i didn't manage to make hdparm unregister the IDE device. On my system it executes the command giving no error but afterwards the IDE device still shows up in {{path|/proc}}.
  
====Thinklight====
+
===ThinkLight===
 +
Works by pressing {{key|Fn}}{{key|PageUp}}, since it's controlled by the BIOS.<br>
 
See [[ThinkLight | this page]] for further information.
 
See [[ThinkLight | this page]] for further information.
  
====special keys====
+
===special keys===
 
By using [[ibm-acpi]], [[tpb]] and xmodmap you can make use of all the specific special keys.<br />
 
By using [[ibm-acpi]], [[tpb]] and xmodmap you can make use of all the specific special keys.<br />
 
Have a look [[How to get special keys to work | here]] on how to configure them.
 
Have a look [[How to get special keys to work | here]] on how to configure them.
  
====Trackpoint====
+
===Trackpoint===
coming soon...
+
The trackpoint is a PS/2 device. Look [[How to configure the TrackPoint|here]] for a advanced settings/finetuning.
  
====Touchpad====
+
===Touchpad===
coming soon...
+
{{Todo|needs to be filled}}
  
====Docking Station (IBM ThinkPad Full Dock II)====
+
===Docking Station (IBM ThinkPad Full Dock II)===
 
The thing works great.
 
The thing works great.
 
PCMCIA and all the ports were recognised by default.
 
PCMCIA and all the ports were recognised by default.
Line 86: Line 84:
 
Note that the interface will most likely be ide2 and ide3 then, so the docks UltraBay drive will be hde.
 
Note that the interface will most likely be ide2 and ide3 then, so the docks UltraBay drive will be hde.
  
===Power Management===
+
==Power Management==
  
 
The T41p is APM and ACPI capable.
 
The T41p is APM and ACPI capable.
more coming...
+
See [[How to make use of Power Management features]].
  
 +
=External Sources=
 +
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)].
  
 
[[Category:T41p]] [[Category:LFS]]
 
[[Category:T41p]] [[Category:LFS]]

Latest revision as of 08:41, 24 October 2006


Graphics

internal, AGP: ATI Radeon FireGL T2

You have two choices: xorgs radeon driver or ATIs fglrx driver. The xorg driver works fine, but doesn't support DRI. A solution is underway with the R300 driver. Also, support for a docks or port replicators DVI port is theoretically available, but practically not possible. This is being worked on as well.

PCI of dock: ATI Radeon 9000

I made several attempts to get this card working under x.org, with no success, or very limited one. With both x.org radeon driver and ATIs fglrs driver the system totally freezes when you try enabling the card in your config. This seems to be a problem with PCI scanning/handling in x.org.

I managed once to get the PCI card alone working after switching the primary display device to PCI in the BIOS.

Drives

Harddisk: Hitachi Travelstar HTS548080M9AT00

I replaced the original harddrive (60GB at 7260RPM) with the 80GB/5480RPM model from Hitachi (which are the ones that IBM labels for their purposes). For some speed optimizations you might try the following (at your own risk):

# hdparm -c 3 -u 1 -X 99 -k 1 /dev/hda

DVD/CDRW Combo: Toshiba SD-R9012

The drive works pretty fine with the kernels standard IDE CD-ROM driver. You can burn CDs using cdrecord in ATAPI mode. Alternatively you may use ide-scsi and treat the device as a SCSI drive.

Ultrabay 2000 ZIP Drive (in docks Ultrabay 2000)

Works great using the kernels ide-disk driver.

Sound: ...

TODO
needs to be filled

Networking

LAN: Intel Pro/1000 (82540EP)

Compile the e1000 driver into the kernel or as module (CONFIG_E1000). You might want to take a look at ifplugd.

Wireless LAN: Atheros AR5212 802.11abg (aka IBM a/b/g)

The madwifi project will be your friend. You might want to give waproamd a try.

Modem

never used

PCMCIA

Just enable the PCMCIA support in the kernel configuration and with it the cardbus driver and the thing will work great. A Xircom CardCaddy as well as some other CompactFlash adapter both worked.

USB

Enable the EHCI and UHCI drivers in your kernel config. You might need to unload them before suspending and reload them on resume if you use ACPI. This is a kernel issue and should be solved in latest kernels.

Specials

UltraBay

I didn't have success trying to enable hotplugging. Using ibm-acpi you can get events for the UltraBay eject lever, but i didn't manage to make hdparm unregister the IDE device. On my system it executes the command giving no error but afterwards the IDE device still shows up in /proc.

ThinkLight

Works by pressing FnPageUp, since it's controlled by the BIOS.
See this page for further information.

special keys

By using ibm-acpi, tpb and xmodmap you can make use of all the specific special keys.
Have a look here on how to configure them.

Trackpoint

The trackpoint is a PS/2 device. Look here for a advanced settings/finetuning.

Touchpad

TODO
needs to be filled

Docking Station (IBM ThinkPad Full Dock II)

The thing works great. PCMCIA and all the ports were recognised by default. The docks IDE interface is a CMD 648, so you should enable the according kernel option (building as module didn't work for me), if you want to use anything else than a floppy in the docks UltraBay. Note that the interface will most likely be ide2 and ide3 then, so the docks UltraBay drive will be hde.

Power Management

The T41p is APM and ACPI capable. See How to make use of Power Management features.

External Sources