Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 01-12-2008, 11:06 AM   #1
LQ Newbie
Registered: Dec 2005
Posts: 4

Rep: Reputation: 0
Slackware-current on T61

A very simple guide for t61
T61 64584UU
install slackware-current
installpkg grub, slackpkg

1 thinkpad_acpi
patch kernel for thinkpad_acpi
# make menuconfig
network card: Intel Pro/1000 Gigabit
sound card: Intel HD Audio

/sbin/modprobe thinkpad_acpi brightness_enable=1,brightness_mode=3

acpi_sleep=s3_mode resume=/dev/sda6
NO framebuffer(vga=xxx)

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 (
# installpkg tpb*.tgz xosd*.tgz
b) radeontool (
# make; mv radeontool /usr/local/sbin/radeontool
c) tuxonice's hibernate script(
# ./

CALLBACK /etc/acpi/tpb/

/usr/bin/tpb -d

#mkdir /etc/acpi/tpb; ln -s /etc/acpi/ /etc/acpi/tpb/


suspend to ram works

2 Battery
download, make, make install

/sbin/modprobe tp_smapi

# echo 40 > /sys/devices/platform/smapi/BAT0/start_charge_thresh
# echo 70 > /sys/devices/platform/smapi/BAT0/stop_charge_thresh

3 4965 wireless
download drivr & ucode, it works
I can only use wpa_supplicant, no iwpriv command works

4 graphic card
# sh
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"

5 SynPS/2 touchpad
# git clone
"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

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"

6 install software and change some settings
firefox flash plugin/adblock plus/CHM Reader
alsaconf, alsamixer, alsactl store
comment ldconfig & fc-cache in rc.M
chmod -x rc.yp rc.nfsd
change settings for windowmaker
defaultserverargs="-noliten tcp"

rc.local add
su - garry(it's unsafe, I'm lazy)

7 for chinese user only
change locale to en_US.UTF-8

"xim" "X Input Method" "gtk20" "/usr/share/locale" "en:zh"

instal hwxh.ttf
cp hwxh.ttf /usr/share/fonts/TTF/

install fcitx

8 kvm setup
1)install gcc-3.4.6
download kvm
make, make install
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 promisc
ifconfig tap0 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.
# is wrong
#client OS works with br0[eth0,tap0],not for br0[wlan0,tap0]

Last edited by garrymhl; 01-12-2008 at 11:08 AM.
Old 01-12-2008, 11:54 AM   #2
Registered: Jun 2003
Location: Topeka, KS
Distribution: Slackware
Posts: 193

Rep: Reputation: 45
Thanks for this.
Old 01-18-2008, 04:50 AM   #3
Registered: Jul 2006
Location: China
Distribution: Slackware
Posts: 68

Rep: Reputation: 15
Well done. It's very brief.
Old 03-29-2008, 04:41 PM   #4
Registered: Aug 2004
Posts: 56

Rep: Reputation: 15
Sorry to bump this from way back when, but do the three audio buttons work properly? I can't seem to get mine to work. the TPB doesn't recognize them being pressed.
Old 03-29-2008, 05:23 PM   #5
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 638

Rep: Reputation: 36
Have you tried running `xev` while pressing the buttons to see if anything is registered in X ?
Old 03-29-2008, 05:32 PM   #6
Registered: Aug 2004
Posts: 56

Rep: Reputation: 15
Originally Posted by Yalla-One View Post
Have you tried running `xev` while pressing the buttons to see if anything is registered in X ?
Yes, it spits out some stuff when I press either of them.
Old 03-29-2008, 05:44 PM   #7
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 638

Rep: Reputation: 36
Please start xev again, and paste here what happens when you press a key, and what happens when you release a key.

Make sure not to move your mouse or touch other keys while running, as that will just poison the output and make it harder to digest what's what..

xev lists all the events to X, and is a great way to find out which keycode to look for, so that you can put it in your .Xmodmap and map it to mute, volume, lock or whatever..

Old 04-23-2008, 10:51 AM   #8
Registered: Sep 2007
Location: Berlin
Distribution: Slackware
Posts: 509

Rep: Reputation: 41
Just as an addition more or less the same steps, but on a Slackware 12:

* After regular installation, get a recent kernel - I got a week or so ago.

In this kernel generation, you'll find

* thinkpad-acpi already included - enable everything
* the 802.11 stuff for wifi
* the intel 4965 device drivers

There's no need for patches anymore, but you'll still have to download and copy the firmware into Slackware's firmware directory.

* Nivida drivers work fine, just run the above mentioned install script of Nvidia's. I've wobbled some windows around with Compiz, seems to work either.

Despite of many reports about not working brightness controls and Thinklight (Fn+Key), it works right out of the box.

Volume buttons are an issue - after some googling the reason seems to be a confusion of pcm/microphone - instead of adjusting pcm, the buttons adjust the mic. No idea wether this is correct or not, but the volume buttons do send indeed X-events which can be captured and assigned. (Or they're simply adjusted by software instead of hardware... no idea...)


Volume down button sends the keycode (check with xev) 174. Assign it to "XF86AudioLowerVolume" in your .Xmodmap. Load it. Get the tool "xbindkeys" (Available as package on, for example). Create a .xbindkeysrc and add a line as follows:

"aumix -w -10"
And so on for the rest of the sound buttons. Start xbindkeys.

You can do the same stuff with KDE and Gnome shortcut bindings, but I personally hate desktop-specific solutions for such problems.

ACPI-stuff like suspend to RAM works nicely and so does on/off switching of Bluetooth.

The non-working wifi LED seems to be an intel driver bug.


kvm, slackware, t61

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I install a slackware-current kernel to slackware 11? bijit1709 Slackware 11 06-13-2007 03:24 PM
Using Slackware-Current kernels in Slackware-11 davimint Slackware 3 06-13-2007 03:23 PM
slackware current question on the current kernels davimint Slackware 3 06-03-2007 07:39 AM
DISCUSSION: Upgrade to Slackware -current without a -current CD truthfatal LinuxAnswers Discussion 0 09-19-2006 01:42 PM
slackware 8.1 iso vs slackware current illtbagu Slackware 9 02-26-2003 07:10 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:25 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration