HOWTO: Wacom in 8.04 Hardy
Wacom on 8.04 Hardy
These are the steps I took to make my Wacom Bamboo Fun work in Ubuntu 8.04 Hardy. These instructions should work for most Wacom tablets.
0. Make sure you have a couple hours available. This will take a while. Also, print off a copy of this post because you will need to restart your computer a couple of times. If something goes wrong, see the troubleshooting section at the end of this post.
1. Plug in your tablet and open a terminal (Applications > Accessories > Terminal). Enter the commands in the following steps line by line into the terminal, pressing enter after each command. If you are prompted for a password, type your password then press enter.
2. Mine is a "056a:0017". Most models beginning with "056a" should work.
3. 4. 5. 6. 7. 8. 9. Place the following lines near the beginning of the file. If you have a touchpad, make sure you place these lines before the "Synaptics Touchpad" Section.
10. Find the section that looks somewhat like this. It will be near the end of the file.
11. Add these lines within the section you found in step 10.
12. Save (Ctrl-S) and quit (Ctrl-Q).
13. You may get an error on this step. If you do, please write down the error. If your tablet does not work when you finish this HOWTO, please post this error so I (or someone else) can work through it with you.
14. 15. 16. 17. 18. 19. Reboot your computer.
20. At this point, my tablet began working. If yours still is not, please post in this thread if you need help. Be sure to include any errors you received from the terminal. Also, include the ouput of the following two commands as an attachment (text file):
Troubleshooting
1.
Problem: X.org does not start after restarting your computer the first time.
Solution:
1. Restart your computer. You can do this either by pressing your power button or by pressing Ctrl-Alt-Delete.
2. When you see "GRUB Loading... Please Wait" on your screen, press the Escape key.
3. Scroll down to the "Recovery mode" entry with the arrow keys and press Enter. It is usually the second one.
4. Once the messages stop scrolling on the screen, enter the following commands. Press enter after each line. Remember to replace "USERNAME" with your actual username. If you do not remember your username, see the troubleshooting #2 entry.
2.
Problem: You do not remember your username.
Solution: Run the following command. It will output a list of users. You will probably be able to recognize your username from this list.
3.
Problem: It didn't work.
Solution: Read though the posts in this topic. If you do not find a solution that applies to you, post a new reply asking for help.
These are the steps I took to make my Wacom Bamboo Fun work in Ubuntu 8.04 Hardy. These instructions should work for most Wacom tablets.
0. Make sure you have a couple hours available. This will take a while. Also, print off a copy of this post because you will need to restart your computer a couple of times. If something goes wrong, see the troubleshooting section at the end of this post.
1. Plug in your tablet and open a terminal (Applications > Accessories > Terminal). Enter the commands in the following steps line by line into the terminal, pressing enter after each command. If you are prompted for a password, type your password then press enter.
2.
Code:
lsusb | grep -i wacom
3.
Code:
mkdir wacom
cd wacom
Code:
sudo apt-get update
sudo apt-get install linux-headers-`uname -r` build-essential x11proto-core-dev libxau-dev libxdmcp-dev x11proto-input-dev x11proto-kb-dev xtrans-dev libx11-dev x11proto-xext-dev libxext-dev libxi-dev linux-libc-dev libc6-dev libncurses5-dev xserver-xorg-dev tk-dev tcl-dev -y
Code:
wget http://prdownloads.sourceforge.net/linuxwacom/linuxwacom-0.8.0-3.tar.bz2
tar xjf linuxwacom-0.8.0-3.tar.bz2
cd linuxwacom-0.8.0-3
Code:
sudo ln -s /usr/include/pixman-1/pixman.h /usr/include/pixman.h
sudo ln -s /usr/include/pixman-1/pixman-version.h /usr/include/pixman-version.h
Code:
./configure --enable-wacom
make
sudo make install
Code:
cd ..
cp /etc/X11/xorg.conf .
gksudo gedit /etc/X11/xorg.conf
Code:
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
# Option "ForceDevice" "ISDV4" # Tablet PC ONLY
Option "USB" "on"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
# Option "ForceDevice" "ISDV4" # Tablet PC ONLY
Option "USB" "on"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
# Option "ForceDevice" "ISDV4" # Tablet PC ONLY
Option "USB" "on"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "pad"
Option "Device" "/dev/input/wacom"
Option "Type" "pad"
Option "USB" "on"
EndSection
Code:
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
Inputdevice "Synaptics Touchpad"
EndSection
Code:
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "pad"
13.
Code:
cp /lib/modules/`uname -r`/kernel/drivers/input/tablet/wacom.ko wacom.ko.`uname -r`
sudo cp linuxwacom-0.8.0-3/src/2.6.24/wacom.ko /lib/modules/`uname -r`/kernel/drivers/input/tablet/wacom.ko
14.
Code:
sudo depmod -e
Code:
cd linuxwacom-0.8.0-3/prebuilt
sudo ./uninstall
sudo ./install
Code:
wget 'http://git.debian.org/?p=users/ron/wacom-tools.git;a=blob_plain;f=debian/xserver-xorg-input-wacom.udev;hb=master' -O wacom.udev
cp /etc/udev/rules.d/50-xserver-xorg-input-wacom.rules wacom.udev.backup
sudo cp wacom.udev /etc/udev/rules.d/50-xserver-xorg-input-wacom.rules
Code:
sudo apt-get remove wacom-tools xserver-xorg-input-wacom -y
sudo apt-get install wacom-tools xserver-xorg-input-wacom -y
Code:
sudo ./uninstall
cd ..
sudo make install
20. At this point, my tablet began working. If yours still is not, please post in this thread if you need help. Be sure to include any errors you received from the terminal. Also, include the ouput of the following two commands as an attachment (text file):
Code:
cat /etc/X11/xorg.conf
ls -l /dev/input
Troubleshooting
1.
Problem: X.org does not start after restarting your computer the first time.
Solution:
1. Restart your computer. You can do this either by pressing your power button or by pressing Ctrl-Alt-Delete.
2. When you see "GRUB Loading... Please Wait" on your screen, press the Escape key.
3. Scroll down to the "Recovery mode" entry with the arrow keys and press Enter. It is usually the second one.
4. Once the messages stop scrolling on the screen, enter the following commands. Press enter after each line. Remember to replace "USERNAME" with your actual username. If you do not remember your username, see the troubleshooting #2 entry.
Code:
cp /etc/X11/xorg.conf /etc/X11/xorg.conf.wacom_modified
cp /home/USERNAME/wacom/xorg.conf /etc/X11/xorg.conf
reboot
Problem: You do not remember your username.
Solution: Run the following command. It will output a list of users. You will probably be able to recognize your username from this list.
Code:
cat /etc/passwd | grep "/home" | cut -d: -f1
Problem: It didn't work.
Solution: Read though the posts in this topic. If you do not find a solution that applies to you, post a new reply asking for help.
Last edited by neko18; July 24th, 2008 at 06:15 PM.. Reason: Updated guide for latest stable version (0.8.0-3)
Nenhum comentário:
Postar um comentário