Wacom support is very easy with the EeePC as the drivers are already pre-installed (as with the other Xandros varients). However, we need to add the Wacom settings into the configuration file: /etc/X11/xorg.conf
To edit the xorg.conf:
1. Open up a console: Ctrl + Alt + T
2. Move to the correct directory: cd /etc/X11
3. Make a backup of 'xorg.conf': cp xorg.conf xorg.conf.backup
4. Edit the file 'xorg.conf': sudo nano xorg.conf (Or 'vim' if you are, or want to become an expert user :)
See below for the changes to make.
5. Check what you've done.
6. Save xorg.conf (:w for vim).
7. Quit the editor (:q for vim).
8. Plug the Wacom tablet in, then restart with Ctrl+Alt+Backspace.
The tablet is not hot-pluggable with these settings, however, it does work after restarting the Xorg, which happens to be quite painless, as all the udev stuff is wonderfully done for us (Fedora, my OS of choice, on the other hand…).
Secondly, as for any configurations, neither xsetwacom, or wacomcpl, seem to be installed by default; however, I rather edit the xorg for settings anyways (mouse and keyboard settings included).
I've included the MAN page from the Wacom project at the bottom of this page, as it is not included in the EeePC as well.
If you have your own xorg.conf for a different tablet please include the link below, I know the above one took me a few months to get just right.
unfortunately, this requires a new driver. see the instructions at the bottom of this page for bamboo support.
For the Graphire 3, make the following changes to the Graphire 4 xorg.conf file:
1. Omit the “pad” entries in ServerConfig and InputDevice.
2. In each of the InputDevice sections, after 'Option “USB” “on”', put a line saying 'Option “KeepShape” “on”'.
Note, 'KeepShape' cuts off some of the tablet area, but that's necessary to make the 4×3 tablet look like a 5×3 screen, so drawing a circle on the tablet makes a circle on the screen. All tablets should probably have 'KeepShape' on, since it does nothing if the tablet already matches the screen.
For my tablet, Wacom Graphire4, here is the xorg.conf, with the needed changes/additions marked in bold - that is, the ServerLayout additions and the new InputDevice sections:
Section “ServerLayout”
Identifier "Xandros" Screen 0 "Screen1" InputDevice "keyboard" InputDevice "mouse" InputDevice "synaptics" InputDevice "cursor" "CorePointer" InputDevice "stylus" "SendCoreEvents" InputDevice "eraser" "SendCoreEvents" InputDevice "pad" "SendCoreEvents"
EndSection
Section “Files”
ModulePath "/usr/lib/xorg/modules" FontPath "/usr/share/fonts/X11/misc" FontPath "/usr/share/fonts/X11/Type1" FontPath "/usr/share/fonts/X11/75dpi" FontPath "/usr/X11R6/lib/X11/fonts/Type1"
EndSection
Section “Module”
Load "glx" Load "dri" Load "extmod" Load "synaptics"
EndSection
Section “ServerFlags”
Option "AllowMouseOpenFail" Option "BlankTime" "5" Option "DontVTSwitch" "true" Option "AIGLX" "false"
EndSection
Section “InputDevice”
Identifier "cursor" Driver "wacom" Option "Device" "/dev/input/wacom" Option "Type" "cursor" Option "USB" "on" Option "Vendor" "WACOM"
EndSection
Section “InputDevice”
Identifier "stylus" Driver "wacom" Option "Device" "/dev/input/wacom" Option "Type" "stylus" Option "USB" "on" Option "Vendor" "WACOM"
EndSection
Section “InputDevice”
Identifier "eraser" Driver "wacom" Option "Device" "/dev/input/wacom" Option "Type" "eraser" Option "USB" "on" Option "Vendor" "WACOM"
EndSection
Section “InputDevice”
Identifier "pad" Driver "wacom" Option "Device" "/dev/input/wacom" Option "Type" "pad" Option "ButtonsOnly" "on" Option "Button9" "2" Option "Button13" "3" Option "USB" "on" Option "Vendor" "WACOM"
EndSection
Section “InputDevice”
Identifier "keyboard" Driver "kbd" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbLayout" "us" Option "XkbVariant" ""
EndSection
Section “InputDevice”
Identifier "mouse" Driver "mouse" Option "Device" "/dev/input/mice" Option "Protocol" "IMPS/2" Option "Emulate3Buttons" "yes" Option "ZAxisMapping" "4 5" Option "CorePointer"
EndSection
Section “InputDevice”
Identifier "synaptics" Driver "synaptics" Option "Device" "/dev/psaux" Option "Protocol" "auto-dev" Option "LeftEdge" "1000" Option "RightEdge" "5400" Option "TopEdge" "1000" Option "BottomEdge" "4900" Option "PalmDetect" "0" Option "SHMConfig" "true" Option "SendCoreEvents" "yes" Option "HorizScrollDelta" "0" Option "RBCornerButton" "0" Option "RTCornerButtom" "0" Option "MaxSpeed" "0.1"
EndSection
Section “Monitor”
Identifier "Monitor1" VendorName "ASUS" ModelName "eeePC P701" Modeline "800x480" 29.58 800 816 896 992 480 481 484 497 -HSync +Vsync # 60 Hz
EndSection
Section “Device”
Identifier "Device1" Driver "intel" VendorName "Intel Corporation" BoardName "Mobile 915GM/GMS/910GML Express Graphics Controller" BusID "PCI:0:2:0"
EndSection
Section “Screen”
Identifier "Screen1" Device "Device1" Monitor "Monitor1" DefaultDepth 24 SubSection "Display" Depth 8 Virtual 1680 1680 EndSubSection SubSection "Display" Depth 15 Virtual 1680 1680 EndSubSection SubSection "Display" Depth 16 Virtual 1680 1680 EndSubSection SubSection "Display" Depth 24 Virtual 1680 1680 EndSubSection
EndSection
Section “DRI”
Mode 0666
EndSection
Section “Extensions”
Option "Composite" "Disable"
EndSection
Save the xorg.conf, plugin the Wacom tablet, then restart the Xorg, Ctrl+Alt+Backspace, just make sure you've saved everything before you do.
WACOM(4) WACOM(4)
NAME
wacom - Wacom input driver
SYNOPSIS
Section "InputDevice"
Identifier "idevname"
Driver "wacom"
Option "Device" "devpath"
...
EndSection
DESCRIPTION
wacom is an X input driver for Wacom devices.
The wacom driver functions as a pointer input device, and may be used
as the X server's core pointer.
SUPPORTED HARDWARE
This driver supports the Wacom IV and Wacom V protocols. Serial tablets
only need this driver. USB tablet support is available on some Linux
platforms. USB tablets needs wacom Linux kernel driver being loaded
before this driver starts. Please check linuxwacom.sf.net for latest
updates of Wacom X and kernel drivers.
CONFIGURATION DETAILS
Please refer to xorg.conf(5x) for general configuration details and for
options that can be used with all input drivers. This section only
covers configuration details specific to this driver.
Multiple instances of the Wacom devices can cohabit. It can be useful
to define multiple devices with different active zones. Each device
supports the following entries:
Option "Type" "stylus"|"eraser"|"cursor"|"pad"
sets the type of tool the device represents. This option is
mandatory. The core options, such as "SendCoreEvents" or "AlwaysCore",
are unnecessary in Gimp if you don't need to move system cursor
outside of Gimp drawing area. "pad" is for Intuos 3 and Cintiq
21UX ExpressKeys and menu strips, or Graphire 4 and Bamboo
tablet buttons and wheel/ring. It is required for Intuos3,
Cintiq 21UX, Graphire 4, or Bamboo if you want to use keystroke
features. "pad" is reported as a second tool in the driver.
Option "Device" "path"
sets the path to the special file which represents serial
line where the tablet is plugged. You have to specify it
for each subsection with the same value if you want to have
multiple devices with the same tablet. This option is
mandatory.
Option "USB" "on"
tells the driver to dialog with the tablet the USB way.
This option is mandatory for USB tablets.
Option "ForceDevice" "ISDV4"
tells the driver to dialog with the tablet the Tablet PC
way. Right now we only support serial Tablet PC. It is a
special Wacom IV protocol, called ISDV4 protocol. This
option is mandatory for Tablet PC.
Option "DeviceName" "name"
sets the name of the X device.
Option "Suppress" "number"
sets the position increment under which not to transmit
coordinates. This entry must be specified only in the
first Wacom subsection if you have multiple devices for one
tablet. The default value is 2. If you don't specify this
entry or your value is less than the default vaule or
greater than 100, the default value will be used. To disable
suppression, the entry should be specified as 0.
When suppress is defined, an event will be sent only when
at least one of the following conditions is met:
the change between the current X coordinate and the previous
one is greater than suppress;
the change between the current Y coordinate and the previous
one is greater than suppress;
the change between the current pressure and the previous one
is greater than suppress;
the change between the current degree of rotation and the
previous one of the transducer is greater than suppress;
the change between the current absolute wheel value and the
previous one is equal to or greater than suppress;
the change between the current tilt value and the previous one
is equal to or greater than suppress (if tilt is supported);
relative wheel value has changed;
button value has changed;
proximity has changed.
Option "Mode" "Relative"|"Absolute"
sets the mode of the device. The default value for stylus and
eraser is Absolute; cursor is Relative; pad mode is decided
according to its core option due to its nature of not moving
system cursor: Relative if it is a core device; Absolute, otherwise.
Option "TopX" "number"
X coordinate of the top corner of the active zone. Default to 0.
Option "TopY" "number"
Y coordinate of the top corner of the active zone. Default to 0.
Option "BottomX" "number"
X coordinate of the bottom corner of the active zone. Default
to width of the tablet.
Option "BottomY" "number"
Y coordinate of the bottom corner of the active zone. Default
to height of the tablet.
Option "ButtonsOnly" "on"
disables the device's motion events. Default to off.
Option "ButtonM" "AC"
reports an action AC when button M is pressed, where M
is one of the device supported button numbers, it can be 1
to 32. The default action reported to Xinput is mouse button M click.
To ignore the button click, i.e., to not report any button click event
to Xinput, use "0" or "button 0".
Option "TPCButton" "on"
enables the stylus buttons as Tablet PC buttons, i.e.,
reports stylus button event only when its tip is pressed.
Default to "on" for Tablet PC; "off" for all other models.
Option "Speed" "Rspeed"
sets the cursor's relative movement speed to Rspeed. The
default value is 1.0. A Rspeed greater than 1.0 will speed
up the cursor's relative movement. A Rspeed less than 1.0
but greater than 0 will slow down the cursor's relative
movement. A Rspeed too close to 0 is not recommanded.
Option "Twinview" "horizontal"|"vertical"|"none"
sets the orientation of TwinView to map the tablet to one
screen and to be able to move the screen cursor from one
screen to the other when tool reaches the edge of the
tablet. The cursor can be constrained in a specific screen
if "ScreenNo" option is added. If you want to map the
tablet to the whole desktop, you should NOT add this
option. The default is "none".
Option "TVResolution" "res1,res2"
specifies different resolutions for the two screens in
TwinView setup. For example, if the resolution of screen 1
(res1) is 1024x768 and screen 2 (res2) is 1280x1024, the
option will be set to:
Option "TVResolution" "1024x768,1280x1024"
This option is used only when TwinView option is not none.
It is unnecessary to add this option if your screens are
displaying in the same resolutions.
Option "ScreenNo" "n"
In a multi-monitor environment, specifies the screen number
in which the cursor can move.
Option "Rotate" "CW"|"CCW"|"HALF"|"NONE"
rotates the tablet orientation clockwise (CCW) or anti-
clockwise (CW) or 180 degrees (HALF). The default is "NONE".
Option "PressCurve" "x1,y1,x2,y2"
sets pressure curve by control points x1, y1, x2, and y2.
Their values are in range from 0..100. The input for
linear curve (default) is "0,0,100,100";
slightly depressed curve (firmer) might be "5,0,100,95";
slightly raised curve (softer) might be "0,5,95,100".
Option "KeepShape" "on"
When this option is enabled, the active zone begins
according to TopX and TopY. The bottom corner is adjusted
to keep the ratio width/height of the active zone the same
as the screen while maximizing the area described by TopX,
TopY, BottomX, BottomY.
Option "DebugLevel" "number"
sets the level of debugging info reported for the defined
device. There are 12 levels in use, specified by the integers
between 1 and 12. Once it is defined, all the debug messages
with a level less than or equal to the "number" will be logged
into /etc/X11/XFree86.0.log or /etc/X11/Xorg.0.log.
Option "CommonDBG" "number"
sets the level of debugging info for all devices defined for the
same tablet. There are 12 levels in use, specified by the
integers between 1 and 12. Once it is defined, all the debug
messages with a level less than or equal to the "number" will
be logged into /etc/X11/XFree86.0.log or /etc/X11/Xorg.0.log.
Option "CursorProx" "number"
sets the max distance from tablet to stop reporting movement
for cursor in relative mode. Default for Intuos series
is 10, Graphire series (including Volitos) is 42.
Option "Serial" "number"
sets the serial number associated with the physical device.
This allows to have multiple devices of the same type (i.e.
multiple pens). This option is only available on wacom V
devices (Intuos series and Cintiq 21UX). To see the serial
number associated with a device, run xsetwacom.
Option "Threshold" "number"
sets the pressure threshold used to generate a button 1
events of stylus. The default is MaxPressure*3/50.
SEE ALSO
Xorg(1x), xorg.conf(5x), xorgconfig(1x), Xserver(1x), X(7).
AUTHORS
Frederic Lepied <lepied@xfree86.org>, Ping Cheng <pingc@wacom.com>,
John E. Joganic <jej@j�arkadia.com>
X Version 11 linuxwacom 0.7.8 WACOM(4)
How to get the bamboo running under stock xandros.
It did require building a new kernel module (available here http://myweb.cableone.net/jweers/wacom.ko). After getting the kernel module, you need to do 3 things:
install the new wacom.ko module by saving it to /lib/modules/2.6.21.4-eeepc/kernel/drivers/usb/input/wacom.ko
1) create '10-wacom.rules' under /etc/udev/rules.d with the following line:
KERNEL=="event*", SYSFS{idVendor}=="056a", NAME="input/%k", SYMLINK="input/wacom"
2) edit your /etc/X11/xorg.conf file and add this: (in server layout add this)
InputDevice "stylus" "SendCoreEvents" InputDevice "eraser" "SendCoreEvents" InputDevice "cursor" "SendCoreEvents" InputDevice "pad" "SendCoreEvents"
then add input device sections.
Section “InputDevice”
Driver "wacom" Identifier "stylus" Option "Device" "/dev/input/wacom" Option "Type" "stylus" Option "USB" "on"
EndSection
Section “InputDevice”
Driver "wacom" Identifier "eraser" Option "Device" "/dev/input/wacom" Option "Type" "eraser" Option "USB" "on"
EndSection
Section “InputDevice”
Driver "wacom" Identifier "cursor" Option "Device" "/dev/input/wacom" Option "Type" "cursor" Option "USB" "on"
EndSection
# This section is for Intuos3, Cintiq 21UX, Graphire4, or Bamboo Section “InputDevice”
Driver "wacom" Identifier "pad" Option "Device" "/dev/input/wacom" Option "Type" "pad" Option "USB" "on"
EndSection
3) edit /etc/modules and add wacom.ko on a line by itself and it loads at boot)
restart X. <ctrl>-<alt>-<backspace>