Install Debian Wheezy on a Thinkpad T530

From ThinkWiki
Jump to navigation Jump to search

Disclaimer

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 GraphicsNeeds tweaks; See below
Intel GraphicsWorks out-of-box
Fingerprint ReaderNeeds tweaks
ACPI - Suspend to Disk (Hibernate)Untested
Mini Display port outUntested
VGA outUntested
FirewireUntested
Audio inWorks out-of-box
Audio outWorks out-of-box
Wired LANWorks out-of-box
Thinkvantage ButtonUntested
Wireless - 6300AGNNeeds tweaks; See below
Front wireless killswitchWorks out-of-box
TouchpointWorks out-of-box
Touchpoint ScrollingNeeds Tweaks; See below
TrackpadWorks out-of-box
Trackpad scrolling (side)Works out-of-box
Sound cardWorks out-of-box
Volume up/down buttonsWorks out-of-box
Volume mute buttonWorks out-of-box
Mic mute buttonNeeds Tweaks
Optical driveWorks out-of-box
USBWorks 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/CloseWorks out-of-box
ACPI - Suspend to RAMWorks out-of-box
SD/MMC Memory card readerWorks 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"
 EndSection

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.