A very simple guide for t61
T61 64584UU
install slackware-current
installpkg grub, slackpkg
reboot
1 thinkpad_acpi
patch kernel for thinkpad_acpi
http://sourceforge.net/project/showf...roup_id=117042)
# make menuconfig
network card: Intel Pro/1000 Gigabit
sound card: Intel HD Audio
/etc/rc.d/rc.modules
/sbin/modprobe thinkpad_acpi brightness_enable=1,brightness_mode=3
/boot/grub/menu.lst
acpi_sleep=s3_mode resume=/dev/sda6
NO framebuffer(vga=xxx)
/etc/rc.d/rc.local
cat /sys/devices/platform/thinkpad_acpi/hotkey_recommended_mask >/sys/devices/platform/thinkpad_acpi/hotkey_mask
cat /sys/devices/platform/thinkpad_acpi/hotkey_recommended_mask > /proc/acpi/ibm/hotkey
install software
a) tpb, xosd (
http://www.slackware.com/~alien/slackbuilds)
# installpkg tpb*.tgz xosd*.tgz
b) radeontool (
http://fdd.com/software/radeon/)
# make; mv radeontool /usr/local/sbin/radeontool
c) tuxonice's hibernate script(
http://www.tuxonice.net/)
# ./install.sh
/etc/tpbrc
CALLBACK /etc/acpi/tpb/tpb.sh
MIXER ON
XEVENTS OFF
/etc/rc.d/rc.local
/usr/bin/tpb -d
#mkdir /etc/acpi/tpb; ln -s /etc/acpi/acpi_handler.sh /etc/acpi/tpb/tpb.sh
reference
http://www.thinkwiki.org/wiki/ACPI_a...imized_for_R51
suspend to ram works
2 Battery
http://www.thinkwiki.org/wiki/Tp_smapi
download, make, make install
/etc/rc.d/rc.modules
/sbin/modprobe tp_smapi
/etc/rc.d/rc.local
# echo 40 > /sys/devices/platform/smapi/BAT0/start_charge_thresh
# echo 70 > /sys/devices/platform/smapi/BAT0/stop_charge_thresh
3 4965 wireless
www.intellinuxwireless.org
download drivr & ucode, it works
I can only use wpa_supplicant, no iwpriv command works
4 graphic card
http://us.download.nvidia.com/XFree8...69.07-pkg1.run
# sh NVIDIA-Linux-x86-169.07-pkg1.run
/etc/X11/xorg.conf
Section "Monitor"
Identifier "Generic Monitor"
HorizSync 30.0 - 98.0
VertRefresh 50 - 160
DisplaySize 331 207
#tell X sever the real size of screen, unit mm
#96 dpi is not a standard
#use xdpyinfo to check
Option "DPMS" "true"
EndSection
5 SynPS/2 touchpad
http://web.telia.com/~u89404340/touchpad/
# git clone
http://web.telia.com/~u89404340/touchpad/synaptics/.git
"insmod path_to/pamouse.ko" it works
"modprobe psmouse", it doesn't work
check /proc/bus/input/devices
it should be SynPS/2 Synaptics Touchpad, NOT PS/2 Synaptics Touchpad
xorg.conf
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
Option "LeftEdge" "1700"
Option "RightEdge" "5300"
Option "TopEdge" "1700"
Option "BottomEdge" "4200"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "HorizScrollDelta" "100"
Option "MinSpeed" "0.09"
Option "MaxSpeed" "0.18"
Option "AccelFactor" "0.0015"
Option "SHMConfig" "on"
Option "TapButton1" "1"
Option "TapButton2" "2"
Option "TapButton3" "3"
EndSection
6 install software and change some settings
firefox flash plugin/adblock plus/CHM Reader
openoffice
alsaconf, alsamixer, alsactl store
comment ldconfig & fc-cache in rc.M
chmod -x rc.yp rc.nfsd
change settings for windowmaker
/usr/X11R6/bin/startx
defaultserverargs="-noliten tcp"
rc.local add
su - garry(it's unsafe, I'm lazy)
7 for chinese user only
/etc/profile.d/lang.sh
change locale to en_US.UTF-8
/etc/gtk-2.0/gtk.immodules
"xim" "X Input Method" "gtk20" "/usr/share/locale" "en:zh"
instal hwxh.ttf
cp hwxh.ttf /usr/share/fonts/TTF/
fc-cache
install fcitx
8 kvm setup
1)install gcc-3.4.6
2)
http://sourceforge.net/project/showf...roup_id=180599
download kvm
make, make install
3)
http://www.user-mode-linux.org/~blai...uml-utilities/
download uml_utilities_20060323
I only use tunctl
4)kvm & network bridge
modprobe kvm-intel
modprobe tun
tunctl -t tap0 -u username
ip addr flush eth0
ifconfig eth0 0.0.0.0 promisc
ifconfig tap0 0.0.0.0 promisc
brctl addbr br0
brctl addif br0 eth0
brctl addif br0 tap0
dhclient br0
qemu-system-x86_64 -hda winxp.vmd -m 512 -net nic -net tap,ifname=tap0,script=no
#winxp.vmd is my client os image
#NO IP_FORWARD is needed, NO IP address to eth0 and tap0.
#
http://kabru.eecs.umich.edu/bin/view/Main/KvmSetup is wrong
#client OS works with br0[eth0,tap0],not for br0[wlan0,tap0]