Install Debian Wheezy on a Thinkpad T530

From ThinkWiki
Jump to: navigation, search


My t530 is running with MATE 1.6, so this is not a default install by any means, but a lot of these changes will probably still work

Out-of-the-box Stats

Component Status
NVIDIA Graphics Needs tweaks; See below
Intel Graphics Works out-of-box
Fingerprint Reader Needs tweaks
ACPI - Suspend to Disk (Hibernate) Untested
Mini Display port out Untested
VGA out Untested
Firewire Untested
Audio in Works out-of-box
Audio out Works out-of-box
Wired LAN Works out-of-box
Thinkvantage Button Untested
Wireless - 6300AGN Needs tweaks; See below
Front wireless killswitch Works out-of-box
Touchpoint Works out-of-box
Touchpoint Scrolling Needs Tweaks; See below
Trackpad Works out-of-box
Trackpad scrolling (side) Works out-of-box
Sound card Works out-of-box
Volume up/down buttons Works out-of-box
Volume mute button Works out-of-box
Mic mute button Needs Tweaks
Optical drive Works out-of-box
USB Works out-of-box
FN-F3 (Lock) Works out-of-box
FN-F4 (Sleep) Works out-of-box
FN-F5 (Wifi/Bluetooth) Works out-of-box
FN-F8 (Brightness down) Works out-of-box
FN-F9 (Brightness up) Works out-of-box
FN-Space (Thinklight/keyboard backlight) Works out-of-box
ACPI - Lid Open/Close Works out-of-box
ACPI - Suspend to RAM Works out-of-box
SD/MMC Memory card reader Works out-of-box

Hardware Tweaks

NVIDIA Graphics

To run the NVIDIA card alongside the built-in Intel Graphics chip, I used bumblebee from wheezy backports

add the file /etc/apt/sources.list.d/backports.list deb $(your debian mirror)/debian/ wheezy-backports main

Option 1 (graphical):

  1. Go to System -> Administration -> Synaptic Package Manager
  2. Click the "Reload" button to pull in the backports list
  3. install the bumblebee-nvidia package (this will pull in the nvidia driver as well as bumblebee)
  4. reboot your system

Option 2 (command line):

  1. run "sudo apt-get update"
  2. run "sudo apt-get install bumblebee-nvidia"
  3. reboot your system

For both, to run a program using the nvidia chip, you should prepend "prumusrun" to the command. EG, if you want to run glxgears you should run "primusrun glxgears" You can edit menu entries to include that as well so you don't have to run everything from a terminal emulator.

Wireless - 6300AGN

This should work for any of the Intel cards that came in the T530, but I just have the 6300 to test with. Note: this requites that you are connected to the internet, the on-board Ethernet Adapter works out of the box.

Option 1 (graphical):

  1. Go to System -> Administration -> Synaptic Package Manager
  2. search for "firmware-iwlwifi" in the package manager
  3. select that package and install it
  4. reboot your system

Option 2 (command line):

  1. run "sudo apt-get install firmware-iwlwifi"
  2. reboot your system

Touchpoint Scrolling

Create the file "/usr/share/X11/xorg.conf.d/20-thinkpad.conf" and make its contents the following:

 Section "InputClass"
   Identifier "Trackpoint Wheel Emulation"
   MatchProduct "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint"
   MatchDevicePath "/dev/input/event*"
   Option "EmulateWheel" "true"
   Option "EmulateWheelButton" "2"
   Option "Emulate3Buttons" "false"
   Option "XAxisMapping" "6 7"
   Option "YAxisMapping" "4 5"

There are more options than this, but this will at least do vertical scrolling. You will need to restart x (or just reboot) for this to work.