Difference between revisions of "IBM ThinkPad T61"

From ArchWiki
Jump to: navigation, search
(Multimedia Keys)
(nothing useful here, redirecting (see Talk:IBM_ThinkPad_T61#Merge request))
(39 intermediate revisions by 18 users not shown)
Line 1: Line 1:
[[Category:Laptops (English)]]
#REDIRECT [[Lenovo ThinkPad T61]]
==Detect hardware by hwdetect==
  hwdetect --modules  # add these data into /etc/rc.conf
This step will save much work on following sections.
on my T61, here is the listing by hwdetect 0.9-1
  MODULES=(ac battery bay button dock processor thermal video wmi cdrom \
    agpgart intel-agp nvram firewire-core firewire-ohci i2c-i801 i2c-core \
    evdev joydev pcspkr psmouse serio_raw compat_ioctl32 uvcvideo v4l1-compat \
    videodev thinkpad_acpi pci_hotplug shpchp rtc-cmos rtc-core rtc-lib nvidia \   
    output crc-itu-t snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc \
    snd-pcm snd-timer snd snd-hda-intel soundcore pata_acpi ata_generic \
    scsi_mod ahci ata_piix e1000e mac80211 iwl4965 cfg80211 pcmcia_core \
    rsrc_nonstatic yenta_socket usbcore ehci-hcd uhci-hcd firewire-core \
    firewire-ohci ieee1394 ohci1394 sd_mod sr_mod)
==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.
** NOTE In other distro's after installation you can make the switch, but in arch it won't be able to detect your root partition in AHCI mode.  I am sure this can be solved by installing a package.
===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.
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"
For the framebuffer in /boot/grub/menu.lst, I just used vga=773 and it doesn't look too bad.  It 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.
Works great with the settings provided in the Pacman output
Driver works great, even with composite enabled.
When I have time
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==
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 [http://conky.sourceforge.net/ Conky] and [http://members.dslextreme.com/users/billw/gkrellm/gkrellm.html GKrellm], as well as the [[Gnome]] battery monitor.
The regular way works fine.
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 don't seem to be needed anymore and may cause the system to crash on resume.
====T61p nvidia graphics and the proprietary driver====
In /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-lenovo.fdi, change line 51 from:
<merge key="power_management.quirk.s3_bios" type="bool">true</merge>
<merge key="power_management.quirk.vbemode_restore" type="bool">true</merge>
<merge key="power_management.quirk.s3_bios" type="bool">false</merge></math>
<merge key="power_management.quirk.vbemode_restore" type="bool">true</merge>
====For the T61 with 140M and proprietary driver: ====
The above should probably work here too but is currently untested.  If there's still breakage, try making the same changes to line 46.
==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 -Sy thinkfinger
Update PAM configuration to accept thinkfinger as auth input. See [[Thinkfinger#Configuration|Thinkfinger Configuration]]
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!
Install the the Kernel(kernel26tp) from [http://aur.archlinux.org/packages.php?ID=14973 AUR] and add it into your bootloader menu.
Boot the new Kernel.
Install [http://aur.archlinux.org/packages.php?ID=5401 hdapsd] and [http://aur.archlinux.org/packages.php?ID=3985 tp_smapi] from AUR.
Load the Modules:
modprobe tp_smapi
modprobe hdaps
Start the hdaps daemon:
hdapsd -d sda -s 15
==Built-in Camera==
Install the linux-uvc-svn on community, version 211-1 is workable
==Multimedia Keys==
Use pacman to install xmodmap, 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

Latest revision as of 13:38, 21 February 2014