https://wiki.archlinux.org/api.php?action=feedcontributions&user=Sveitser&feedformat=atomArchWiki - User contributions [en]2024-03-28T18:36:04ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=Graphics_tablet&diff=219556Graphics tablet2012-08-24T11:08:23Z<p>Sveitser: /* Xrandr Setup */</p>
<hr />
<div>[[Category:Input devices]]<br />
== Introduction ==<br />
<br />
Before we begin, I would like to point out that this guide was started for ''USB'' based Wacom tablets, so much of the info in here focuses on that. For an ''internal'' tablet device (like the serial devices found in many Tablet PCs) a static Xorg is recommended in case autodetection does not work. For ''USB'' devices, you can setup both static ''Xorg'' configuration, meaning things may not work if later on you plug your Wacom tablet into a different ''USB'' port, or follow the dynamic instructions further down.<br />
<br />
It is also worth to mention that this wiki article is very much influenced by the very helpful [http://en.gentoo-wiki.com/wiki/HOWTO_Wacom_Tablet Gentoo Linux Wiki - HOWTO Wacom Tablet], which I recommend anyone visit if they would like to learn about things that are not covered here.<br />
<br />
=== Try Autodetection First ===<br />
<br />
Newer versions of X might be able to automatically detect and configure your device. Before going any further, try installing the xf86-input-wacom package, reboot your system, and (re-)start X. With the arrival of Xorg 1.8 that dropped support for [[HAL]] in favor of udev, auto-detection might be broken for some tablets as fitting udev rules might not exist yet, so you need to write your own.<br />
<br />
If you have linuxwacom or linuxwacom-dev and X fails to start, remove those packages first. They are known to cause problems with newer version of X. xf86-input-wacom is the only package you need to install the X11 drivers.<br />
<br />
Test if your device was recognized completely (i.e., that both pen and eraser work, if applicable), by issuing command<br />
<br />
xsetwacom --list devices<br />
<br />
which should detect all devices with type, for example<br />
<br />
Wacom Bamboo 2FG 4x5 Pen stylus id: 8 type: STYLUS <br />
Wacom Bamboo 2FG 4x5 Pen eraser id: 9 type: ERASER <br />
Wacom Bamboo 2FG 4x5 Finger touch id: 13 type: TOUCH <br />
Wacom Bamboo 2FG 4x5 Finger pad id: 14 type: PAD <br />
<br />
You can also test it by opening gimp or xournal and checking the extended input devices section, or whatever tablet-related configuration is supported by the software of your choice.<br />
<br />
== Installing ==<br />
<br />
=== Install Wacom drivers ===<br />
<br />
Thanks to [http://linuxwacom.sourceforge.net The Linux Wacom Project], you only need to install the ''xf86-input-wacom'' package, which contains everything needed to use a Wacom tablet on Linux. There is also {{AUR|xf86-input-wacom-git}} in AUR which provides git version of ''xf86-input-wacom''. In case of new devices not supported by current kernel, it is also possible to install git version of kernel driver from: stable branch ({{AUR|wacom-linux-git}}), next branch ({{AUR|wacom-next-linux-git}}) or mainline branch ({{AUR|wacom-mainline-linux-git}}).<br />
<br />
===Dynamic Xorg setup with udev===<br />
Again thanks to [http://gentoo-wiki.com/HOWTO_Wacom_Tablet Gentoo Linux Wiki - HOWTO Wacom Tablet] for the information! This was done with a ''Volito2'', and so reflects the experiences with that tablet, but it should work for any tablet supported by the linuxwacom project.<br />
<br />
{{Note|In AUR there is wacom-udev package, which includes udev-rules-file. You might skip this part and move on to the {{ic|xorg.conf}} configuration if you are using the wacom-udev package from AUR.}}<br />
<br />
Install ''udev'' from the repositories (when using Xorg > 1.8, this is a dependency and will already be installed).<br />
Run the ''lsusb'' command. It should return something like this<br />
<br />
Bus 002 Device 007: ID 056a:0062 Wacom Co., Ltd<br />
Bus 002 Device 006: ID 03eb:0902 Atmel Corp.<br />
Bus 002 Device 005: ID 0bc2:0503 Seagate RSS LLC<br />
Bus 002 Device 004: ID 05e3:0660 Genesys Logic, Inc. USB 2.0 Hub<br />
Bus 002 Device 001: ID 1d6b:0002<br />
Bus 003 Device 001: ID 1d6b:0001<br />
Bus 001 Device 003: ID 06a3:8000 Saitek PLC<br />
Bus 001 Device 002: ID 045e:00d1 Microsoft Corp.<br />
Bus 001 Device 001: ID 1d6b:0001<br />
You can see from here my tablet among other devices. We are interested in the tablet and mouse - unless there is no mouse attached to the said computer of course.<br />
Next make the file {{ic|10-local.rules}} in ''/etc/udev/rules.d''. You need to add these two lines<br />
<br />
KERNEL=="event*", ATTRS{idVendor}=="056a", NAME="input/%k", SYMLINK="input/wacom"<br />
KERNEL=="mouse*", ATTRS{idProduct}=="045e", NAME="input/%k", SYMLINK="input/mouse_udev"<br />
Of course you need to change '056a' and '045e' to what lsusb returns for you &ndash; I used the VendorID for my tablet and the ProductID for my mouse.<br />
Save the file and reload udev's configuration profile using the command ''udevadm control --reload-rules''<br />
Check to make sure that it has appeared in ''/dev/input''. Note that you may need to plug-in the tablet again for the device to appear.<br />
<br />
bash-3.2# cd /dev/input<br />
bash-3.2# ls<br />
by-id event0 event2 event4 event6 event8 mouse0 mouse2 wacom<br />
by-path event1 event3 event5 event7 mice mouse1 mouse_udev<br />
You can even check that the device works by<br />
<br />
# cat wacom<br />
It should make lots of odd characters appear onscreen.<br />
If it works, then all that is left to do is add the relevent information to {{ic|/etc/X11/xorg.conf}}.<br />
<br />
Section "InputDevice"<br />
Driver "wacom"<br />
Identifier "stylus"<br />
Option "Device" "/dev/input/wacom"<br />
Option "Type" "stylus"<br />
Option "USB" "on" # USB ONLY<br />
Option "Mode" "Relative" # other option: "Absolute"<br />
Option "Vendor" "WACOM"<br />
Option "tilt" "on" # add this if your tablet supports tilt<br />
Option "Threshold" "5" # the official linuxwacom howto advises this line<br />
EndSection<br />
Section "InputDevice"<br />
Driver "wacom"<br />
Identifier "eraser"<br />
Option "Device" "/dev/input/wacom"<br />
Option "Type" "eraser"<br />
Option "USB" "on" # USB ONLY<br />
Option "Mode" "Relative" # other option: "Absolute"<br />
Option "Vendor" "WACOM"<br />
Option "tilt" "on" # add this if your tablet supports tilt<br />
Option "Threshold" "5" # the official linuxwacom howto advises this line<br />
EndSection<br />
Section "InputDevice"<br />
Driver "wacom"<br />
Identifier "cursor"<br />
Option "Device" "/dev/input/wacom"<br />
Option "Type" "cursor"<br />
Option "USB" "on" # USB ONLY<br />
Option "Mode" "Relative" # other option: "Absolute"<br />
Option "Vendor" "WACOM"<br />
EndSection<br />
Make sure that you also change the path ({{Ic|"Device"}}) to your mouse, as it will be {{Ic|/dev/input/mouse_udev}} now.<br />
<br />
Section "InputDevice"<br />
Identifier "Mouse1"<br />
Driver "mouse"<br />
Option "CorePointer"<br />
Option "Device" "/dev/input/mouse_udev"<br />
Option "SendCoreEvents" "true"<br />
Option "Protocol" "IMPS/2"<br />
Option "ZAxisMapping" "4 5"<br />
Option "Buttons" "5"<br />
EndSection<br />
Add this to the ''ServerLayout'' section<br />
<br />
InputDevice "cursor" "SendCoreEvents" <br />
InputDevice "stylus" "SendCoreEvents"<br />
InputDevice "eraser" "SendCoreEvents"<br />
And finally make sure to update the indentifier of your mouse in the ''ServerLayout'' section &ndash; as mine went from<br />
<br />
InputDevice "Mouse0" "CorePointer"<br />
to<br />
<br />
InputDevice "Mouse1" "CorePointer"<br />
<br />
====Tablet PC with serial Wacom tablet device (Xorg > 1.8)====<br />
Create /etc/udev/rules.d/10-wacom.rules with these lines:<br />
<br />
ACTION!="add|change", GOTO="wacom_end"<br />
# Match all wacom tablets with a serial ID starting with WACf or FUJ*<br />
ATTRS{id}=="WACf*" ENV{NAME}="Serial Wacom Tablet", ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1"<br />
ATTRS{id}=="FUJ*" ENV{NAME}="Serial Wacom Tablet", ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1"<br />
LABEL="wacom_end"<br />
<br />
the lines are included in {{AUR|wacom-udev}} package. Users of serial tablets might be also interested in the inputattach tool from {{AUR|linuxconsole}} package. The inputattach command allows to bind serial device into /dev/input tree, for example with:<br />
<br />
inputattach --w8001 /dev/ttyS0<br />
<br />
See ''man inputattach'' for help about available options.<br />
<br />
===Dynamic Xorg setup with HAL===<br />
<br />
{{Note | In Xorg 1.8 and later, support for HAL is dropped. Input hotplugging will ''NOT'' work with these versions of X, you need to use udev (see above) instead. }}<br />
{{Note | The linuxwacom package from AUR already includes a fitting fdi file, so you might skip this part and just try out if it works after installing linuxwacom and restarting X.}}<br />
<br />
To use a Wacom/WALTOP/N-Trig tablet with HAL Xorg hotplugging create {{ic|/etc/hal/fdi/policy/10-tablet.fdi}} with this code:<br />
<br />
<?xml version="1.0" encoding="UTF-8"?> &lt;!-- -*- SGML -*- --><br />
<br />
<deviceinfo version="0.2"><br />
<device><br />
<match key="info.capabilities" contains="input"><br />
<match key="info.product" contains="Wacom"><br />
<merge key="input.x11_driver" type="string">wacom</merge><br />
<merge key="input.x11_options.Type" type="string">stylus</merge><br />
</match><br />
<match key="info.product" contains="WALTOP"><br />
<merge key="input.x11_driver" type="string">wacom</merge><br />
<merge key="input.x11_options.Type" type="string">stylus</merge><br />
</match><br />
</match><br />
<!-- N-Trig Duosense Electromagnetic Digitizer --><br />
<match key="info.product" contains="HID 1b96:0001"><br />
<match key="info.parent" contains="if0"><br />
<merge key="input.x11_driver" type="string">wacom</merge><br />
<merge key="input.x11_options.Type" type="string">stylus</merge><br />
</match><br />
</match><br />
</device><br />
</deviceinfo><br />
<br />
Then kill your X server, restart HAL and start the X server again.<br />
<br />
Following fdi file is known to work with the Bamboo Fun tablet (model CTE-650). Using this file corrects several problems with the stylus that appear when using the default fdi file above. Create the file {{ic|/etc/hal/fdi/policy/10-tablet.fdi}} with the following contents:<br />
<br />
<?xml version="1.0" encoding="UTF-8"?><br />
<!-- this is probably a bit imprecise --><br />
<deviceinfo version="0.2"><br />
<device><br />
<match key="info.category" contains="input"><br />
<match key="info.product" contains_outof="Wacom"><br />
<merge key="input.x11_driver" type="string">wacom</merge><br />
<merge key="input.x11_options.Type" type="string">pad</merge><br />
<append key="info.callouts.add" type="strlist">hal-setup-wacom</append><br />
<append key="wacom.types" type="strlist">eraser</append><br />
<append key="wacom.types" type="strlist">cursor</append><br />
<append key="wacom.types" type="strlist">stylus</append><br />
</match><br />
</match><br />
<match key="info.capabilities" contains="serial"><br />
<match key="@info.parent:pnp.id" contains_outof="WACf001;WACf002;WACf003;WACf004;WACf005;WACf006;WACf007;WACf008;WACf009;WACf00a;WACf00b;WACf00c;FUJ02e5"><br />
<append key="info.capabilities" type="strlist">input</append><br />
<merge key="input.x11_driver" type="string">wacom</merge><br />
<merge key="input.x11_options.Type" type="string">pad</merge><br />
<merge key="input.x11_options.ForceDevice" type="string">ISDV4</merge><br />
<merge key="input.device" type="copy_property">serial.device</merge><br />
<append key="info.callouts.add" type="strlist">hal-setup-wacom</append><br />
<append key="wacom.types" type="strlist">stylus</append><br />
<match key="@info.parent:pnp.id" contains_outof="WACf008;WACf009"><br />
<!-- Serial tablets with touch capabilities --><br />
<append key="wacom.types" type="strlist">touch</append><br />
</match><br />
</match><br />
</match><br />
</device><br />
<!-- Match the Wacom Bluetooth A5 pen tablet --><br />
<device><br />
<match key="info.capabilities" contains="input.mouse"><br />
<match key="info.product" contains="WACOM"><br />
<match key="info.product" contains="Tablet"><br />
<merge key="input.x11_driver" type="string">wacom</merge><br />
<merge key="input.x11_options.Type" type="string">pad</merge><br />
<append key="info.callouts.add" type="strlist">hal-setup-wacom</append><br />
<append key="wacom.types" type="strlist">eraser</append><br />
<append key="wacom.types" type="strlist">cursor</append><br />
<append key="wacom.types" type="strlist">stylus</append><br />
</match><br />
</match><br />
</match><br />
</device><br />
</deviceinfo><br />
<br />
==== Calibrating Tablet ====<br />
<br />
In order for calibration to work even when the screen is rotated (this applies for both serial and USB tablets), the wacom-names script is useful. It renames your X input devices so that they can be recognized by the linuxwacom driver. Download it from [http://ubuntuforums.org/attachment.php?attachmentid=109824&d=1239742307 here]. You need to be a Ubuntu forums member to download it. If you are not, here is the script. Remember, it was originally intended for Ubuntu so the instructions do not all apply to us Archers:<br />
<br />
# wacom-names script by Roger E. Critchlow, Jr. (4-12-09)<br />
# modified by gali98/Favux (4-14-09)<br />
#<br />
# Place the wacom-names script in /etc/init.d/wacom-names and link it as<br />
# /etc/rc{2,3,4,5}.d/S27wacom-names.<br />
# Use "sudo update-rc.d wacom start 27 2 3 4 5 ." or "sudo update-rc.d wacom defaults 27".<br />
# Using S27 starts the script after hal and before gdm. This allows us to modify the hal<br />
# properties before the xserver sees them for the first time.<br />
#<br />
# The script renames the input devices back to what wacomcpl and xsetwacom expect them to<br />
# be, so rotation and interactive calibration work. It also enables xorg.conf & .xinitrc<br />
# style configuration of Wacom features like the stylus button(s) and calibration.<br />
#<br />
# The script needs to be executable. chmod +x wacom-names<br />
<br />
#! /bin/sh<br />
## find any wacom devices<br />
for udi in `hal-find-by-property --key input.x11_driver --string wacom`<br />
do<br />
type=`hal-get-property --udi $udi --key input.x11_options.Type`<br />
## rewrite the names that the Xserver will use<br />
hal-set-property --udi $udi --key info.product --string $type<br />
#<br />
## To add a xorg.conf or xsetwacom (.xinitrc) style configuration, say mapping a stylus<br />
## button, you could add to the script:<br />
#case $type in<br />
#stylus|eraser)<br />
## eg: map stylus button 2 to mouse button 3 (right click)<br />
#hal-set-property --udi $udi --key input.x11_options.Button2 --string 3<br />
#<br />
#;;<br />
#esac<br />
done<br />
<br />
Copy and paste and (or directly) save it as wacom-names to '''/etc/rc.d''' and make it an executable.<br />
# chmod +x /etc/rc.d/wacom-names<br />
<br />
Add wacom-names to the DAEMONS line in your {{ic|[[rc.conf]]}}. Make sure to put it after HAL, and do not background HAL, because this script will not work if it runs before HAL has started. For example:<br />
DAEMONS=(syslog-ng @crond hal @acpid @alsa @gpm wacom-names)<br />
<br />
Reboot your computer. From here you can either keep wacom-names in your rc.conf if your rotation script calls on xsetwacom directly, or if you just need the calibration data, you can now use wacomcpl.<br />
<br />
If you are looking for more information, this [http://ubuntuforums.org/showthread.php?t=1038949 thread] at the Ubuntu forums is incredibly useful, and also provided the link to Rec's wacom-names script.<br />
<br />
=== Static Xorg config ===<br />
{{Note | Static configuration is deprecated by the X.org project. If you are using a version of Xorg 1.8 or newer, try configuring with udev (see above) first. If you are using a using Xorg older than 1.8, consider using HAL (see above) instead. These approaches will give you the ability for hotplugging and automatic configuration.}}<br />
<br />
This is a static ''Xorg'' configuration, meaning things may not work if later on you plug your Wacom tablet into a different USB port.<br />
<br />
InputDevice "cursor" "SendCoreEvents"<br />
InputDevice "stylus" "SendCoreEvents"<br />
InputDevice "eraser" "SendCoreEvents"<br />
Firstly, add these to the ''ServerLayout'' section of your ''Xorg'' config ({{ic|/etc/X11/xorg.conf}}).<br />
<br />
$ cat /proc/bus/input/devices<br />
Now we need to determine the location of your tablet ''device''. Run the command above, and take note of the ''event'' number of the ''Handlers'' row. We will use this to set the correct device in our ''Xorg'' config below. If you are using a serial tablet, chances are that there will not be any such device displayed here. Try <br />
$ cat /dev/ttyS0<br />
<br />
and move the pen on the tablet. If pen movement makes garbage characters show up on screen, this is your tablet device. In this case, use this as the "Device" option as seen below.<br />
<br />
I: Bus=0003 Vendor=056a Product=0016 Version=0403<br />
N: Name="Wacom Graphire4 6x8"<br />
P: Phys=<br />
S: Sysfs=/class/input/input7<br />
H: Handlers=mouse2 event7 ts2 <br />
B: EV=1f<br />
B: KEY=1c63 0 70011 0 0 0 0 0 0 0 0<br />
B: REL=100<br />
B: ABS=100 3000003<br />
B: MSC=1<br />
Here is an example of the output for my ''Graphire4'' tablet. From this, we can determine that my tablet device goes through {{ic|/dev/input/event7}}.<br />
<br />
Section "InputDevice"<br />
Identifier "stylus"<br />
Driver "wacom"<br />
Option "Type" "stylus"<br />
Option "Device" "/dev/input/event7" #for serial tablet, this might be e.g. "/dev/ttyS0" instead<br />
Option "USB" "on" #remove this line for serial tablets<br />
Option "Mode" "Absolute"<br />
Option "Vendor" "WACOM"<br />
Option "Threshold" "5"<br />
EndSection<br />
<br />
Section "InputDevice"<br />
Identifier "eraser"<br />
Driver "wacom"<br />
Option "Type" "eraser"<br />
Option "Device" "/dev/input/event7" #for serial tablet, this might be e.g. "/dev/ttyS0" instead<br />
Option "USB" "on" #remove this line for serial tablets<br />
Option "Mode" "Absolute"<br />
Option "Vendor" "WACOM"<br />
Option "Threshold" "5"<br />
EndSection<br />
<br />
Section "InputDevice"<br />
Identifier "cursor"<br />
Driver "wacom"<br />
Option "Type" "cursor"<br />
Option "Device" "/dev/input/event7" #for serial tablet, this might be e.g. "/dev/ttyS0" instead<br />
Option "USB" "on" #remove this line for serial tablets<br />
Option "Mode" "Absolute"<br />
Option "Vendor" "WACOM"<br />
EndSection<br />
Now update your ''Xorg'' config ({{ic|/etc/X11/xorg.conf}}) as above.<br />
<br />
To learn about each of the Wacom tablet ''Xorg'' options checkout the ''man pages'' found at [http://linuxwacom.sourceforge.net/index.php/howto/inputdev Linux Wacom Project HOWTO - 5.1 - Adding the InputDevices].<br />
<br />
I recommend you checkout [http://linuxwacom.sourceforge.net/index.php/howto/x11 Linux Wacom Project HOWTO - 5.0 - Configuring X11], I also recommend you checkout [http://gentoo-wiki.com/HOWTO_Wacom_Tablet#Xorg Gentoo Linux Wiki - HOWTO Wacom Tablet - Installing - Xorg].<br />
<br />
==== TwinView Setup ====<br />
<br />
If you are going to use two Monitors the aspect ratio while using the Tablet might feel unnatural. In order to fix this you need to add<br />
<br />
Option "TwinView" "horizontal"<br />
<br />
To all of your Wacom-InputDevice entries in the {{ic|xorg.conf}} file.<br />
You may read more about that [http://ubuntuforums.org/showthread.php?t=640898 HERE]<br />
<br />
==== Xrandr Setup ====<br />
xrandr sets two monitors as one big screen, mapping the tablet to the whole virtual screen and deforming aspect ratio.<br />
For a solution see this thread: [https://bbs.archlinux.org/viewtopic.php?pid=797617 archlinux forum].<br />
<br />
If you just want to map the tablet to one of your screens, first find out what the screens are called<br />
$ xrandr<br />
Screen 0: minimum 320 x 200, current 3840 x 1080, maximum 16384 x 16384<br />
'''HDMI-0''' disconnected (normal left inverted right x axis y axis)<br />
'''DVI-0''' connected 1920x1080+0+0 (normal left inverted right x axis y axis) 477mm x 268mm<br />
1920x1080 60.0*+<br />
1680x1050 60.0 <br />
...<br />
'''VGA-0''' connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 477mm x 268mm<br />
1920x1080 60.0*+<br />
1680x1050 60.0 <br />
...<br />
Then you need to know what is the ID of your tablet.<br />
$ xsetwacom --list devices<br />
WALTOP International Corp. Slim Tablet stylus id: '''12''' type: STYLUS<br />
<br />
In my case I want to map the tablet (ID: '''12''') to the screen on the right, which is '''"VGA-0"'''. I can do that with this command<br />
$ xsetwacom --set '''12''' MapToOutput '''"VGA-0"'''<br />
This should immediately work, no root necessary.<br />
<br />
If xsetwacom replies with "Unable to find an output ..." an X11 geometry string of the form '''WIDTHxHEIGHT+X+Y''' can be specified instead of the screen identifier. In this example<br />
$ xsetwacom --set '''12''' MapToOutput '''"1920x1080+1920+0"'''<br />
should also map the tablet to the screen on the right.<br />
<br />
==== Graphire4 buttons ====<br />
<br />
InputDevice "pad" "SendCoreEvents"<br />
Add this to the ''ServerLayout'' section of your ''Xorg'' config ({{ic|/etc/X11/xorg.conf}}).<br />
<br />
*Note, it was mentioned at [http://gentoo-wiki.com/HOWTO_Wacom_Tablet#Graphire4_buttons Gentoo Linux Wiki - HOWTO Wacom Tablet - Installing - Xorg - Graphire4 buttons] that there was information somewhere advising NOT to add "SendCoreEvents" to the line above, but it was also said that without this these buttons will not work.<br />
<br />
Section "InputDevice"<br />
Identifier "pad"<br />
Driver "wacom"<br />
Option "Type" "pad"<br />
Option "Device" "/dev/input/event7" #for serial tablet, this might be e.g. "/dev/ttyS0" instead<br />
Option "USB" "on"#remove this line for serial tablets<br />
Option "ButtonsOnly" "on"<br />
EndSection<br />
Now update your ''Xorg'' config ({{ic|/etc/X11/xorg.conf}}) as above.<br />
<br />
I recommend you checkout [http://gentoo-wiki.com/HOWTO_Wacom_Tablet#Graphire4_buttons Gentoo Linux Wiki - HOWTO Wacom Tablet - Installing - Xorg - Graphire4 buttons].<br />
<br />
==== Tablet devices still do not appear ====<br />
<br />
Start ''Xorg'' with tablet connected. Then look at logs ({{ic|/var/log/Xorg.0.log}}) and search for those errors:<br />
<br />
Error opening /dev/input/wacom : Success<br />
(EE) xf86OpenSerial: Cannot open device /dev/input/wacom<br />
No such file or directory.<br />
<br />
This error will show even when device exists.<br />
<br />
Second error is<br />
<br />
usbDetect: can not ioctl version<br />
Wacom xf86WcmWrite error : Invalid argument<br />
<br />
If there are those errors, check if your wacom device is {{ic|/dev/input/ts3}} or another ts device (or symlink to this device). If it is, then device is handled by Compaq touchscreen emulation. This is ''tsdev'' module.<br />
Just unload the module<br />
<br />
# modprobe -r tsdev<br />
<br />
and add this module to blacklist in {{ic|/etc/rc.conf}}.<br />
<br />
== WALTOP tablet support by the Wacom drivers ==<br />
<br />
{{Note | The 'linuxwacom' package is now unsupported, and the drivers are only recommended for use with Xorg 1.7 or older. For current drivers <nowiki>(Xorg >= 1.8)</nowiki>, use the 'xf86-input-wacom' package from extra (It should not require this patch).}}<br />
<br />
Since lately Wacom drivers cannot be started with WALTOP tablets, although the functionality is present. This is due to a vendor check in the ''wacom '' X.org driver. To bypass this check, download the ''linuxwacom'' sources (for example, the ''linuxwacom-cvs'' package from AUR) and apply a similar patch to {{ic|src/xdrv/wcmUSB.c}}:<br />
<br />
% cat wcmUSB.c.diff <br />
528,529c528,529<br />
< /* vendor is wacom */<br />
< if (sID[1] == 0x056A)<br />
---<br />
> /* vendor is wacom or waltop*/<br />
> if (sID[1] == 0x056A || sID[1] == 0x172f)<br />
<br />
== The GIMP ==<br />
<br />
To enabled proper usage, and pressure sensitive painting in [http://www.gimp.org The GIMP], just go to ''Preferences &rarr; Input Devices &rarr; Configure Extended Input Devices...''. Now for each of your ''eraser'', ''stylus'', and ''cursor'' '''devices''', set the '''mode''' to ''Screen'', and remember to save.<br />
<br />
*Please take note that if present, the ''pad'' '''device''' should be kept disabled as I do not think The GIMP supports such things. Alternatively, to use such features of your tablet you should map them to keyboard commands with a program such as [http://hem.bredband.net/devel/wacom/ Wacom ExpressKeys].<br />
<br />
*You should also take note that the tool selected for the ''stylus'' is independent to that of the ''eraser''. This can actually be quite handy, as you can have the ''eraser'' set to be used as any tool you like.<br />
<br />
I recommend you checkout [http://linuxwacom.sourceforge.net/index.php/howto/gimp Linux Wacom Project HOWTO - 10.0 - Working With Gimp], and the ''Setting up GIMP'' section of [http://www.gimptalk.com/forum/topic.php?t=17992&start=1 GIMP Talk - Community - Install Guide: Getting Wacom Drawing Tablets To Work In Gimp].<br />
<br />
== Inkscape ==<br />
<br />
As in The GIMP, to do the same simply got to ''File &rarr; Input Devices...''. Now for each of your ''eraser'', ''stylus'', and ''cursor'' '''devices''', set the '''mode''' to ''Screen'', and remember to save.<br />
<br />
== Krita ==<br />
<br />
Krita 2.0 and later only require that QT is able to use your tablet to function properly. If your tablet is not working in Krita, then make sure to check it is working in QT first. The effect of tablet pressure can then be tweaked in the painttop configuration, for example by selecting opacity, then selecting pressure from the drop down and adjusting the curve to your preference.<br />
<br />
For earlier versions of Krita, simply go to ''Settings &rarr; Configure Krita...'' Click on ''Tablet'' and then like in Inkscape and GIMP set ''stylus'' and any others' mode to screen.<br />
<br />
=== Bamboo ===<br />
<br />
{{Note | Some users reported problems with linuxwacom 0.8.1-1 and Bamboo. Their Cursor jumped around when trying to use the stylus-tilt to avoid that problem simply use linuxwacom 0.8.0 (You can simply edit the pkgver in the PKGBUILD).}}<br />
<br />
If you use an older version of linuxwacom it could happen that you will not be able to use your pen with GIMP or Inkscape when configured as above since the stylus is firing a button2 event instead of a button1 event, same with the eraser. To correct this add (do not just copy and paste the whole section, just add the part about the buttons) these lines to the appropriate section of your xorg.conf.<br />
<br />
Section "InputDevice"<br />
Driver "wacom"<br />
Identifier "stylus"<br />
Option "Button1" "1" #this line is important<br />
Option "Button2" "1" #this line is important<br />
EndSection<br />
<br />
Section "InputDevice"<br />
Driver "wacom"<br />
Identifier "eraser"<br />
Option "Button1" "1" #this line is important<br />
Option "Button2" "1" #this line is important<br />
EndSection<br />
<br />
Be adviced that this way pressure sensitive painting in GIMP and Inkscape will work but the lower button of the pen will also fire a button1 event same as the stylus and eraser. You can not configure any other button for Button2, it got to be the same as Button1! There is no need to add these lines to the cursor section since the bamboo does not ship a mouse, still i advice you not to remove the cursor device as an input device, not even from the serverlayout section. That lead to an unstable xserver in my case.<br />
<br />
If you are relying on hotplugging, the default fdi file contained in the packages xf86-input-wacom and linuxwacom will most likely not fully support your Bamboo tablet (e.g. stylus not working properly). Refer to the section on hotplugging above for a custom fdi file that supports the Bamboo (tested with model CTE-650).<br />
<br />
== Wacom and VirtualBox ==<br />
<br />
''My current setup is :<br />
Guest OS: Windows XP<br />
Tablet: Wacom Graphire4<br />
Linux Driver: xf86-input-wacom 0.8.4-1''<br />
<br />
First, make sure that your tablet works well under Arch. Then, download and install the last driver from [http://www.wacom.com/downloads/drivers.php Wacom website] on the guest OS. Shutdown the virtual machine, go to '''Settings > USB'''. Select '''Add Filter From Device''' and select your tablet (e.g. WACOM CTE-440-U V4.0-3 [0403]). Select '''Edit Filter''', and change the last item '''Remote''' to '''Any'''.<br />
<br />
== Linuxwacom 0.8.1 bug ==<br />
<br />
If you have trouble with the linuxwacom 0.8.1 beta/developer version driver as reported [http://bbs.archlinux.org/viewtopic.php?pid=421375 HERE], such as when you apply pressure the cursor freezes then you should try the linuxwacom 0.8.0 production version. Just download the existing PKGBUILD and other files from the [https://aur.archlinux.org/packages/linuxwacom/linuxwacom/ AUR]{{Linkrot|2011|12|31}} and change '''pkgver''' from 0.8.1 to '''0.8.0''', and the first '''md5sum''' from 4b78f1b66f6e9097a393cf1e3cdf87a3 to '''1d89b464392515492bb7b97c20e68d4e'''.<br />
<br />
== Pressure curves ==<br />
<br />
You can add two options to xorg.conf to change how the pressure is registered when putting pressure on the pen. Example:<br />
<br />
Option "PressCurve" "50,0,100,50" # Custom preference<br />
Option "Threshold" "60" # sensitivity to do a "click"<br />
<br />
==Newer tablets & Troubleshooting==<br />
<br />
Newer tablets's drivers might not be in the kernel yet, and additional manipulations might be needed.<br />
For example, for the Wacom Bamboo Connect CTL-470/k and Pen & Touch CTH670, follow the instructions in [https://bbs.archlinux.org/viewtopic.php?id=131831 this thread].<br />
'''There seems to be a problem with the CTH670 that is fixed in the attachment found in [http://www.mail-archive.com/linuxwacom-devel@lists.sourceforge.net/msg03922.html this post]'''<br />
To compile it use the same instructions as in [https://bbs.archlinux.org/viewtopic.php?id=131831 this thread]<br />
<br />
== References ==<br />
*[http://gentoo-wiki.com/HOWTO_Wacom_Tablet Gentoo Linux Wiki - HOWTO Wacom Tablet]<br />
*[http://linuxwacom.sourceforge.net/index.php/howto/main Linux Wacom Project HOWTO]<br />
*[http://www.gimptalk.com/forum/topic.php?t=17992&start=1 GIMP Talk - Community - Install Guide: Getting Wacom Drawing Tablets To Work In Gimp]<br />
*[https://help.ubuntu.com/community/Wacom Ubuntu Help: Wacom]<br />
*[http://ubuntuforums.org/showthread.php?t=1038949 Ubuntu Forums - Install a LinuxWacom Kernel Driver for Tablet PC's]</div>Sveitser