***** UPDATED November 3, 2008 *****
NOTES:
If you are on Intrepid Do only that :
~~~~TUTORIAL FOR USB WACOM TABLET PC~~~~
I now put the Code boxes around the all terminal input so you don't have to worry about copying the >
Code:
cd ./Desktop
wget http://prdownloads.sourceforge.net/linuxwacom/linuxwacom-0.8.1-6.tar.bz2
(all of the apt-get commands install the packages we need and updates the system to the latest packages)
Code:
sudo apt-get update
sudo apt-get install build-essential libx11-dev libxi-dev x11proto-input-dev xserver-xorg-dev tk8.4-dev tcl8.4-dev libncurses5-dev
sudo apt-get upgrade
sudo apt-get install wacom-tools xserver-xorg-input-wacom
sudo apt-get purge wacom-tools xserver-xorg-input-wacom
Okay now you need to add the kernel headers for your kernel. Most people will just do
Code:
sudo apt-get install linux-headers-generic
to check your kernel version do:
If during any time you got a notice to restart or if you have a little restart icon in the top right system try (looks kinda like a blue recycle icon) then by goodness restart. If you are not sure, then go ahead and restart just to be safe. The reason is if you update to a newer kernel, then the module won't work on restart as the module is compiled for a specific kernel.
Okay now we get to the good stuff....
Code:
tar xjvf linuxwacom-0.8.1-6.tar.bz2
cd linuxwacom-0.8.1-6
./configure --enable-wacom --prefix=/usr
make
sudo make install
If this returns an error saying "wacom" is not loaded, Do not worry. Just means you've never installed wacom before. Continue...
Now do :
Code:
sudo cp ./src/2.6.27/wacom.ko /lib/modules/`uname -r`/kernel/drivers/input/tablet/wacom.ko
You will now need to restart !!!. This is necessary on Intrepid!
Okay that installed it, but now we need to configure our xserver....
Okay I will try to make this as simple as possible. Unfortunately for some reason the stylus and touch events do not go by the same event number every time so we have to go another way...
first of all If you have made any changes to
/etc/X11/xorg.conf concerning wacom delete all those changes Unless you have followed this tutorial before and know what you are doing. (make sure to also remove wacom references in the server layout section!)
Also do:
and delete any line with "xsetwacom" at the beginning Unless you know why it is there. This will make it easier to calibrate. Save that then restart.
If when you do the command the file is blank, do not worry. Just close out of gedit and continue on.
After you restart the stylus and touch should work. If it does not, restart again. It took me like three times before it kicked in. Don't ask me why...
It should move it, though probably very uncalibrated. Make sure you cover the entire screen to see if it moves.
If it does not move then post the results of
Code:
./configure --enable-wacom --prefix=/usr
make
sudo make install
sudo rmmod wacom
sudo modprobe wacom
and also post the contents of xorg.conf (/etc/X11/xorg.conf)
If you have got this far good!
Open up a terminal
Code:
gksudo gedit /etc/X11/xorg.conf &
(leave the terminal open...)
In the text editor add the following lines under the Synaptic InputDevice Section (check the bottom of this post for my xorg.conf to see what I mean....)
Code:
Section "InputDevice"
Identifier "stylus"
Driver "wacom"
Option "Type" "stylus"
Option "USB" "on"
Option "Device" "/dev/input/by-path/pci-0000:00:0b.1-usb-0:2.3:1.0-event-mouse"
Option "Button2" "3" # make side-switch a right button
Option "TopX" "225"
Option "TopY" "225"
Option "BottomX" "26300"
Option "BottomY" "16375"
EndSection
Section "InputDevice"
Identifier "touch"
Driver "wacom"
Option "Type" "touch"
Option "USB" "on"
Option "Device" "/dev/input/by-path/pci-0000:00:0b.1-usb-0:2.3:1.1-event-"
Option "TopX" "200"
Option "TopY" "225"
Option "BottomX" "4000"
Option "BottomY" "3875"
EndSection
Section "InputDevice"
Identifier "eraser"
Driver "wacom"
Option "Type" "eraser"
Option "Device" "/dev/input/by-path/pci-0000:00:0b.1-usb-0:2.3:1.0-event-mouse"
Option "USB" "on"
EndSection
Now Find the part that says 'Section "ServerLayout"'
In there add:
Code:
Inputdevice "stylus" "SendCoreEvents"
Inputdevice "touch" "SendCoreEvents"
Inputdevice "eraser" "SendCoreEvents"
Now we need to fix the synaptic touch pad part. Since it has the word "touch" in it it is wrongly detected.
find the part that says:
Code:
Identifier "Synaptics Touchpad"
and change it to
Code:
Identifier "Synaptics Pad"
then in the server layout section also change it****
if this is all confusing, you can download my xorg.conf to look at. It is at the bottom of this post. Do not use any other xorg.conf of mine uploaded on any other thread or post as it is probably old.
note: if you are on another tablet (not a tx2000 series) it would not be wise to just paste my xorg into yours. It will probably not work. In fact it will probably break stuff
If you have the tx2000 if you just renamed it to xorg.conf and pasted it over yours, it would probably work, but I don't suggest doing it.
Now Maximize the termial....
now in the termial type :
Code:
reset
dmesg | grep Wacom
there should be two lines similar to this:
Code:
[ 45.460644] input: Wacom ISDv4 93 as /devices/pci0000:00/0000:00:0b.1/usb2/2-2/2-2.3/2-2.3:1.0/input/input9
[ 45.478030] input: Wacom ISDv4 93 as /devices/pci0000:00/0000:00:0b.1/usb2/2-2/2-2.3/2-2.3:1.1/input/input10
now do:
Code:
ls -l /dev/input/by-path
That should give you something similar to:
Code:
lrwxrwxrwx 1 root root 9 2008-07-27 12:07 pci-0000:00:0b.1-usb-0:2.3:1.0-event-mouse -> ../event9
lrwxrwxrwx 1 root root 9 2008-07-27 12:07 pci-0000:00:0b.1-usb-0:2.3:1.0-mouse -> ../mouse1
lrwxrwxrwx 1 root root 9 2008-07-27 12:07 pci-0000:00:0b.1-usb-0:2.3:1.1- -> ../mouse2
lrwxrwxrwx 1 root root 10 2008-07-27 12:07 pci-0000:00:0b.1-usb-0:2.3:1.1-event- -> ../event10
lrwxrwxrwx 1 root root 9 2008-07-27 12:07 platform-i8042-serio-0-event-kbd -> ../event1
lrwxrwxrwx 1 root root 10 2008-07-27 12:07 platform-i8042-serio-1-event-mouse -> ../event11
lrwxrwxrwx 1 root root 9 2008-07-27 12:07 platform-i8042-serio-1-mouse -> ../mouse3
lrwxrwxrwx 1 root root 9 2008-07-27 12:07 platform-pcspkr-event-spkr -> ../event2
Now find the file that matches the output of dmesg i.e:
input9 (from dmesg) matches with event9 (in the ls command) So The File
pci-0000:00:0b.1-usb-0:2.3:1.0-event-mouse
is one that we need.
next input10 (from dmesg) matches with event10 (in the ls command) So The File
pci-0000:00:0b.1-usb-0:2.3:1.1-event-
is the other we need.
Now just amend your xorg.conf with those two names that you just got. The one ending with "mouse" should be in the stylus and eraser sections
and the one ending in "event-" should be in the touch section.
In theory since we have the same basic laptops these files should be the same as mine but you need to check....
If you have anything other than a tx2000 it probably will be different.
And that should be it.
Press Ctrl + Alt + Backspace to restart the xserver.
Login and we will now calibrate.
Just open up a terminal and do:
A gui!!!! everything you will probably ever need to do with wacom is here. Just read the buttons
To make the wacomcpl settings stay after you reboot you need to:
Code:
chmod +x ~/.xinitrc
Then go to System->Preferences->Session
click on add and for the command write "~/.xinitrc" (without the quotes) title it whatever.....
This will only work for the user though. So before you log in it is still uncalibrated.
So to make it system wide (if that is what you want) here is a short how-to:
First do:
Now go into wacomcpl and make it how you want it. (calibrate included)
Now open up .xinitrc and xorg.conf:
Code:
gedit ~/.xinitrc & gksudo gedit /etc/X11/xorg.conf
now you just transfer the stuff over to the xorg.conf.
For example the line in my .xinitrc is:
xsetwacom set touch bottomy "3951"
if you open up a terminal you can use xsetwacom to figure out how to translate it to the xorg.conf.
so what you would do for the line above is:
Code:
xsetwacom -x get touch bottomy
the x stands for xconf.. get obviously gives you the value.
that command outputs
Option "BottomY" "3951"
which I would put in my xorg.conf under the touch section.
Here is another short example.
.xinitrc:
xsetwacom set stylus Button3 "Button 3"
command:
Code:
xsetwacom -x get stylus button3
part to put in xorg.conf
Option "Button3" "BUTTON 3"
Bookmarks