Sunday, August 31, 2008

My xorg tweaks for my Intuos3.

snerd has commented asking for my xorg.conf, here it is:

----------
# Xorg configuration created by pyxf86config

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "stylus" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents" # For non-LCD tablets only
# InputDevice "touch" "SendCoreEvents" # Only a few TabletPCs support this type
InputDevice "pad" # For Intuos3/CintiqV5/Graphire4/Bamboo tablets
EndSection

Section "InputDevice"
# keyboard added by rhpxl
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "jp106"
Option "XkbLayout" "jp"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "radeon"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "stylus"
# Option "Device" "/dev/ttyS0" # SERIAL ONLY
Option "Device" "/dev/input/wacom" # USB ONLY
Option "Type" "stylus"
Option "USB" "on" # USB ONLY
# Option "ForceDevice" "ISDV4" # Serial Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "eraser"
# Option "Device" "/dev/ttyS0" # SERIAL ONLY
Option "Device" "/dev/input/wacom" # USB ONLY
Option "Type" "eraser"
Option "USB" "on" # USB ONLY
# Option "ForceDevice" "ISDV4" # Serial Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "cursor"
# Option "Device" "/dev/ttyS0" # SERIAL ONLY
Option "Device" "/dev/input/wacom" # USB ONLY
Option "Type" "cursor"
Option "USB" "on" # USB ONLY
# Option "ForceDevice" "ISDV4" # Serial Tablet PC ONLY
EndSection

# This section is for Intuos3, CintiqV5, Graphire4, or Bamboo
Section "InputDevice"
Driver "wacom"
Identifier "pad"
# Option "Device" "/dev/ttyS0" # SERIAL ONLY
Option "Device" "/dev/input/wacom" # USB ONLY
Option "Type" "pad"
Option "USB" "on" # USB ONLY
EndSection

# This section is for the TabletPC that supports touch
#Section "InputDevice"
# Driver "wacom"
# Identifier "touch"
# Option "Device" "/dev/ttyS0" # SERIAL ONLY
# Option "Device" "/dev/input/wacom" # USB ONLY
# Option "Type" "touch"
# Option "ForceDevice" "ISDV4" # Serial Tablet PC ONLY
# Option "USB" "on" # USB ONLY
#EndSection
----------

The bold texts are what I copied-and-pasted from linuxwacom's instructions. I commented out the lines which 'Serial Tablet PC ONLY' and 'SERIAL ONLY'.

Also, changed the device line to 'Option "Device" "/dev/input/wacom"' for X to detect the correct device.

After this, restart X.

No comments:

Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 2.5 Australia License.
Copyright © 2008 みかんいろのそら (蜜柑色の空) . Some rights reserved.

Tags