Difference between revisions of "IBM ThinkPad T61"

From ArchWiki
Jump to: navigation, search
(just added more content, minor edits)
(HDAPS)
(45 intermediate revisions by 24 users not shown)
Line 1: Line 1:
[[Category:Laptops (English)]]
+
[[Category:IBM]]
 
+
{{merge|Lenovo Thinkpad T61}}
==SATA and Linux==
+
If there are boot problems, try going from AHCI to compatibility in the BIOS.  I don't really know what is going on here, but my computer works in compatibility, I haven't tried AHCI.
+
 
==Wireless==
 
==Wireless==
 
===Intel 4965 WiFi===
 
===Intel 4965 WiFi===
 
If you have the Intel 4965 NIC, simply install iwlwifi-4965-ucode, run depmod, and run "modprobe iwl4965" to activate. For wpa_supplicant, use the WEXT driver, not the deprecated ipw200.
 
If you have the Intel 4965 NIC, simply install iwlwifi-4965-ucode, run depmod, and run "modprobe iwl4965" to activate. For wpa_supplicant, use the WEXT driver, not the deprecated ipw200.
  
The latest Kismet runs without issue on the iwl4965.
+
The latest Kismet runs well on the iwl4965, but occasionally has problems changing the mode back to Managed from Monitor.
  
==Xorg==
+
If you have the AR5212 802.11abg NIC all you need is madwifiInstall it, and the kernel module is ath_pci.
===Widescreen===
+
Hwd did not do the monitor widescreen (1280x800) properly, and it was instead doing 1024x768. In xorg.conf, here is the relevant section:
+
Section "Screen"
+
        Identifier "Screen0"
+
        Device    "Card0"
+
        Monitor    "Monitor0"
+
        DefaultColorDepth 24
+
        SubSection "Display"
+
                Depth    24
+
                Modes "1280x800"
+
        EndSubSection
+
EndSection
+
 
+
For the framebuffer in /boot/grub/menu.lst, I just used vga=773 and it doesn't look too badIt freaks out with the vga=871 or whatever number you need for widescreen.
+
 
+
The Nvidia driver has it's own way of doing resolution, but I didn't find any conflict between the xorg setting and nvidia setting, so it really doesn't matter.  I think the nvidia trumps the xorg.conf, though.
+
  
 +
==Xorg==
 
===Synaptic===
 
===Synaptic===
 
Works great with the settings provided in the Pacman output
 
Works great with the settings provided in the Pacman output
Line 33: Line 16:
 
===Nvidia===
 
===Nvidia===
 
Driver works great, even with composite enabled.
 
Driver works great, even with composite enabled.
====Tweaks====
 
When I have time
 
 
 
===Intel===
 
===Intel===
 
Don't have it, so cannot say.
 
Don't have it, so cannot say.
  
::xf86-video-intel from testing should support the Intel video.  I haven't tried it yet, but I'll report back when I do.
+
::{{pkg|xf86-video-intel}} from testing should support the Intel video.  I haven't tried it yet, but I'll report back when I do.
  
 
==Power Management==
 
==Power Management==
 
===ACPI===
 
===ACPI===
Install acpi, acpid.  Add acpi to the daemons list.   
+
Install acpi, acpid.  Add acpid to the daemons list.   
 
Load module thinkpad_acpi.
 
Load module thinkpad_acpi.
 
You might have to blacklist asus_acpi/toshiba_acpi, it doesn't hurt anyway.
 
You might have to blacklist asus_acpi/toshiba_acpi, it doesn't hurt anyway.
It should work, and is able to provide accurate information to such programs as [http://conky.sourceforge.net/ Conky] and [http://members.dslextreme.com/users/billw/gkrellm/gkrellm.html GKrellm], as well as the [[Gnome]] battery monitor.
+
It should work, and is able to provide accurate information to such programs as [http://conky.sourceforge.net/ Conky] and [http://members.dslextreme.com/users/billw/gkrellm/gkrellm.html GKrellm], as well as the [[GNOME]] battery monitor.
  
 
===SpeedStep===
 
===SpeedStep===
 
The regular way works fine.
 
The regular way works fine.
 +
===Suspend/Resume===
 +
Suspend/Resume technically worked out of the box for me, however resuming took about 2+ minutes, while my screen stayed off and my speaker beeped 2-3 times. Sometimes it hung up too. These changes seemed to have worked for me and where found [https://bugs.launchpad.net/ubuntu/+source/hal-info/+bug/235284 here].
 +
Remember to remove the boot parameters acpi_sleep=s3_bios or acpi_sleep=s3_mode if you have them, they do not seem to be needed anymore and may cause the system to crash on resume.
 +
==Thinkvantage Rescue and Recovery==
 +
The Rescue and Recovery partition can be /dev/sda1 or /dev/sda2, not sure which this depends on
  
==Thinkvantage Rescue and Recovery(not tested)==
+
The following [[GRUB]] entry did work on my T61
http://www.klabs.be/~fpiat/linux/boot/ThinkVantage_Rescue-and-recovery/
+
  
To save time, I believe all the T61 hidden partitions are /dev/sda1.
+
      title ThinkPad Rescue and Recovery
I haven't really tried any of this.
+
      rootnoverify    (hd0,0)
::It is /dev/sda2 on my T61
+
      chainloader    +1
 +
 
 +
==Fingerprint Reader==
 +
Install [[Thinkfinger]]
 +
pacman -S thinkfinger
 +
Update PAM configuration to accept thinkfinger as auth input. See [[Thinkfinger#Configuration|Thinkfinger Configuration]]
  
 
==Sound==
 
==Sound==
  
 
The module is snd-hda-intel.  It works, albeit with several unresolved quirks.  The mute button works partially out of the box (it can mute but not unmute.) To unmute, press either the volume up or volume down buttons. However, one workaround is enabling the volume up/down buttons as Keyboard shortcuts in your Desktop environment.
 
The module is snd-hda-intel.  It works, albeit with several unresolved quirks.  The mute button works partially out of the box (it can mute but not unmute.) To unmute, press either the volume up or volume down buttons. However, one workaround is enabling the volume up/down buttons as Keyboard shortcuts in your Desktop environment.
 +
 +
--Edit: Since Kernel 2.6.25 the mute/unmute function works out of the box. Now it unmutes also!
 +
 +
--Edit: To enable sound you must unmute the internal speaker channel, and turn down or mute the microphone channels, otherwise you will get nothing but a squeaking sound from the speaker.
 +
 +
--Edit: On my t61 sounds did not work till I added "snd-hda-codec-analog" to the modules, recompiled the modules (sudo mkinitcpio -p linux) and restarted.
 +
 +
==HDAPS==
 +
 +
See [[HDAPS]].
 +
 +
==Built-in Camera==
 +
Install the linux-uvc-svn on community, version 211-1 is workable
 +
 +
 +
==Multimedia Keys==
 +
Use pacman to install xmodmap (xmodmap is included in the xorg-server-utils package), then create a text file ~/.Xmodmap and put this in it:
 +
 +
these are for the pager buttons
 +
 +
  keycode 234 = XF86Back
 +
  keycode 233 = XF86Forward
 +
 +
 +
these are the music changing buttons:
 +
 +
  keycode 144 = XF86AudioPrev
 +
  keycode 164 = XF86AudioStop
 +
  keycode 162 = XF86AudioPlay
 +
  keycode 153 = XF86AudioNext
 +
 +
this is for the silver volume buttons:
 +
 +
  keycode 160 = XF86AudioMute
 +
  keycode 174 = XF86AudioLowerVolume
 +
  keycode 176 = XF86AudioRaiseVolume
 +
 +
based on which Desktop environment you are in you will have to edit your hotkeys to get it working, if you are in a WM that doesn't provide this functionality, try installing xbindkeys
 +
 +
===XFCE===
 +
Assuming you are using alsa, open the XFCE keyboard configuragtion GUI (XFCE Menu > Settings > Keyboard) and add the following to the 'Application Shortcuts' tab. When prompted press the appropriate multimedia key.
 +
 +
'''Mute'''
 +
  amixer -q set Master toggle
 +
 +
'''Volume Down'''
 +
  amixer -q set PCM 2- unmute
 +
 +
'''Volume Up'''
 +
  amixer -q set PCM 2+ unmute
 +
 +
The previous two will adjust the PCM value by 2, if you desire you can change this number.

Revision as of 11:59, 31 August 2013

Merge-arrows-2.pngThis article or section is a candidate for merging with Lenovo Thinkpad T61.Merge-arrows-2.png

Notes: please use the second argument of the template to provide more detailed indications. (Discuss in Talk:IBM ThinkPad T61#)

Wireless

Intel 4965 WiFi

If you have the Intel 4965 NIC, simply install iwlwifi-4965-ucode, run depmod, and run "modprobe iwl4965" to activate. For wpa_supplicant, use the WEXT driver, not the deprecated ipw200.

The latest Kismet runs well on the iwl4965, but occasionally has problems changing the mode back to Managed from Monitor.

If you have the AR5212 802.11abg NIC all you need is madwifi. Install it, and the kernel module is ath_pci.

Xorg

Synaptic

Works great with the settings provided in the Pacman output

Graphics

Nvidia

Driver works great, even with composite enabled.

Intel

Don't have it, so cannot say.

xf86-video-intel from testing should support the Intel video. I haven't tried it yet, but I'll report back when I do.

Power Management

ACPI

Install acpi, acpid. Add acpid to the daemons list. Load module thinkpad_acpi. You might have to blacklist asus_acpi/toshiba_acpi, it doesn't hurt anyway. It should work, and is able to provide accurate information to such programs as Conky and GKrellm, as well as the GNOME battery monitor.

SpeedStep

The regular way works fine.

Suspend/Resume

Suspend/Resume technically worked out of the box for me, however resuming took about 2+ minutes, while my screen stayed off and my speaker beeped 2-3 times. Sometimes it hung up too. These changes seemed to have worked for me and where found here. Remember to remove the boot parameters acpi_sleep=s3_bios or acpi_sleep=s3_mode if you have them, they do not seem to be needed anymore and may cause the system to crash on resume.

Thinkvantage Rescue and Recovery

The Rescue and Recovery partition can be /dev/sda1 or /dev/sda2, not sure which this depends on

The following GRUB entry did work on my T61

     title ThinkPad Rescue and Recovery
     rootnoverify    (hd0,0)
     chainloader     +1

Fingerprint Reader

Install Thinkfinger

pacman -S thinkfinger

Update PAM configuration to accept thinkfinger as auth input. See Thinkfinger Configuration

Sound

The module is snd-hda-intel. It works, albeit with several unresolved quirks. The mute button works partially out of the box (it can mute but not unmute.) To unmute, press either the volume up or volume down buttons. However, one workaround is enabling the volume up/down buttons as Keyboard shortcuts in your Desktop environment.

--Edit: Since Kernel 2.6.25 the mute/unmute function works out of the box. Now it unmutes also!

--Edit: To enable sound you must unmute the internal speaker channel, and turn down or mute the microphone channels, otherwise you will get nothing but a squeaking sound from the speaker.

--Edit: On my t61 sounds did not work till I added "snd-hda-codec-analog" to the modules, recompiled the modules (sudo mkinitcpio -p linux) and restarted.

HDAPS

See HDAPS.

Built-in Camera

Install the linux-uvc-svn on community, version 211-1 is workable


Multimedia Keys

Use pacman to install xmodmap (xmodmap is included in the xorg-server-utils package), then create a text file ~/.Xmodmap and put this in it:

these are for the pager buttons

 keycode 234 = XF86Back
 keycode 233 = XF86Forward


these are the music changing buttons:

 keycode 144 = XF86AudioPrev
 keycode 164 = XF86AudioStop
 keycode 162 = XF86AudioPlay
 keycode 153 = XF86AudioNext

this is for the silver volume buttons:

 keycode 160 = XF86AudioMute
 keycode 174 = XF86AudioLowerVolume
 keycode 176 = XF86AudioRaiseVolume

based on which Desktop environment you are in you will have to edit your hotkeys to get it working, if you are in a WM that doesn't provide this functionality, try installing xbindkeys

XFCE

Assuming you are using alsa, open the XFCE keyboard configuragtion GUI (XFCE Menu > Settings > Keyboard) and add the following to the 'Application Shortcuts' tab. When prompted press the appropriate multimedia key.

Mute

 amixer -q set Master toggle

Volume Down

 amixer -q set PCM 2- unmute

Volume Up

 amixer -q set PCM 2+ unmute

The previous two will adjust the PCM value by 2, if you desire you can change this number.