Installing Debian 3.1 (Sarge) on a ThinkPad T43p

From ThinkWiki
Revision as of 14:27, 18 October 2005 by KaidoKert (Talk | contribs) (Network)
Jump to: navigation, search

This is how I installad Debian / Sarge on my new T43p.

Installation

I also got a new 100 GB HDS disk, so I swapped out the 60 GB model an plug in my new 100 GB. When I booted the Sarge Installdisks with the 2.6 Kernel, Linux was not able to recognize the HD.

Then I booted with the old 2.4 Kernel, installed sarge, get a fresh kernel from kernel.org. After compilation and replacing hda through sda, the T43p boot into 2.6.


Hardware

CPU and frequency scaling

First you have to activate ACPI and Speedsteep in your Kernel:

CONFIG_ACPI=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_INTERPRETER=y
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_FAN=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
CONFIG_ACPI_IBM=y
CONFIG_ACPI_BLACKLIST_YEAR=0
CONFIG_ACPI_BUS=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y
CONFIG_X86_ACPI_CPUFREQ=y
CONFIG_X86_SPEEDSTEP_CENTRINO_ACPI=y
CONFIG_X86_ACPI_CPUFREQ_PROC_INTF=y


CONFIG_X86_SPEEDSTEP_CENTRINO=y
CONFIG_X86_SPEEDSTEP_CENTRINO_ACPI=y
CONFIG_X86_SPEEDSTEP_ICH=y
CONFIG_X86_SPEEDSTEP_LIB=y
CONFIG_X86_SPEEDSTEP_RELAXED_CAP_CHECK=y

apt-get install acpid powernowd

you can test your current cpu frequenc with the following comand: echo `cat /proc/cpuinfo | grep "^cpu MHz" | cut -d":" -f2` MHZ

Network

Broadcom Corporation NetXtreme BCM5751M Gigabit Ethernet PCI Express (rev 11) Works with the tg3 module

NOTE!
With newer versions of the Kernel there is no tg3 module anymore :(

I read something about licencing issues and stuff and that because of these the Debian project removed that module from their release.

But there is still the painfull way to go:

Install that package: http://packages.debian.org/unstable/net/bcm5700-source, the kernel header files and the module-assistant. Start the module-assistant and run through that program (satisfying every compiling need) until it asks if you want to install the newly compiled module.

If everything worked,

modprobe bcm5700

and

ifup eth0 (or whatever your network is called)

See http://jriddell.org/thinkpad-r40e.html -> Network, for details.


The onboard Intel WLAN adapter works with Ipw2200 module. The driver does not appear to support MII interface, so any roaming network configuration manager that uses it ( whereami in particular ) will prevent the card from working properly. I found that the combination of ifplugd, ifmetric and waproamd are a better solution, until NetworkManager comes around.

Bluetooth

Nothing special here. Working without any problem.

Sound

Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controlle
With ALSA snd_intel8x0 working without any problem.

Graphics Adapter

ATI Technologies Inc M24 1T [FireGL M24 GL] (rev 80)

It is a ATI Mobility FireGL V3200 with 128MB

I used the debian packages from [[1]] version 8.14.13-2 and followed the instructions on that page.

Nothing special here. (XFree 4.3.0.dfsg)

Mouse

I use one external USB Logitech Trackball and both internal, the Touchpad and the Trackpoint. In my XF86Config-4 are 3 mice.

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "PS/2"
EndSection


Section "InputDevice"
        Identifier      "Configured Mouse_II"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "PS/2"
EndSection

Section "InputDevice"
        Identifier      "Generic Mouse"
        Driver          "mouse"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ImPS/2"
        Option          "ZAxisMapping"          "4 5"
EndSection

Buttons

ThinkLight Fn + PgUp Just worked (can also be toggled through ibm-acpi's /proc/acpi/ibm/light)
Display brightness up Fn + Home Just worked (no software necessary)
Display brightness down Fn + End Just worked (no software necessary)

KDE Konfigurationtool for the Buttons: apt-get install kmilo

Various Information

lspci Output

To have all the hardware show up with its proper name, I had to get a new pci.ids file from the Linux PCI ID Repostiory and copy it to /usr/share/misc/pci.ids. I believe newer distributions and kernels won't need that file anymore. -- 2005-07-19 (kernel 2.6.12.2) still need it.

0000:00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)
0000:00:01.0 PCI bridge: Intel Corporation Mobile 915GM/PM Express PCI Express Root Port (rev 03)
0000:00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03)
0000:00:1c.2 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 3 (rev 03)
0000:00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)
0000:00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03)
0000:00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03)
0000:00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03)
0000:00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03)
0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d3)
0000:00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)
0000:00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 03)
0000:00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 03)
0000:00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 03)
0000:00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)
0000:01:00.0 VGA compatible controller: ATI Technologies Inc M24 1T [FireGL M24 GL] (rev 80)
0000:02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751M Gigabit Ethernet PCI Express (rev 11)
0000:04:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 8d)
0000:04:02.0 Network controller: Intel Corporation: Unknown device 4224 (rev 05)