LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-12-2008, 11:06 AM   #1
garrymhl
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
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]

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

Rep: Reputation: 45
Thanks for this.
 
Old 01-18-2008, 04:50 AM   #3
nsp
Member
 
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
Archer36
Member
 
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
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 641

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
Archer36
Member
 
Registered: Aug 2004
Posts: 56

Rep: Reputation: 15
Quote:
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
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 641

Rep: Reputation: 36
Excellent.
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..

-y1
 
Old 04-23-2008, 10:51 AM   #8
Su-Shee
Member
 
Registered: Sep 2007
Location: Berlin
Distribution: Slackware
Posts: 510

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

* After regular installation, get a recent kernel - I got 2.6.24.4 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...)

Example:

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 Slacky.eu, for example). Create a .xbindkeysrc and add a line as follows:

Code:
"aumix -w -10"
XF86AudioLowerVolume
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.
 
  


Reply

Tags
kvm, slackware, t61



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:58 AM.

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