PDA

View Full Version : Problems getting wacom tablet pressure-sensitivity to work


gurdy
October 13th, 2005, 01:30 PM
My digital media teacher and I have been struggling to get pressure sensitivity to work right with the lab's wacom tablets in Gimp for weeks to no avail.

We've tried several methods, and did get pressure sensitivity to work by changing a few things in the xorg.conf file and enabling stylus, eraser and cursor in Gimp's preferences, but it locks me into the canvas when I draw and it's difficult to get out of it.

I can draw, but that's about it. When I try to stop, the drawing cursor won't change back to the default cursor and I am unable to click anywhere but on the canvas.

Help! Here is a copy of our current xorg.conf file:

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
# sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
# sudo dpkg-reconfigure xserver-xorg

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/event2"
Option "Type" "cursor"
Option "USB" "on"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/event2"
Option "Type" "stylus"
Option "USB" "on"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/event2"
Option "Type" "eraser"
Option "USB" "on"
EndSection

Section "Device"
Identifier "NVIDIA Corporation NV17 [GeForce4 MX 420]"
Driver "nv"
BusID "PCI:0:16:0"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-49
VertRefresh 43-72
EndSection

Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV17 [GeForce4 MX 420]"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard" "CoreKeyboard"
InputDevice "Configured Mouse" "CorePointer"
InputDevice "cursor" "SendCoreEvents"
InputDevice "stylus" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection

Section "DRI"
Mode 0666
EndSection

bonvenon
October 14th, 2005, 03:32 PM
Change the Configured Mouse device from /dev/input/mice to /dev/input/mouseX, where X should be replaced with the number refering to your mouse.
You probably have many devices named mouse - to find the right one run sudo cat /dev/input/mouse1 and move your mouse. If odd letters clutters the terminal when you move it, you have found the right one. Otherwise continue with sudo cat /dev/input/mouse2 and so on until you get the right one.

jobezone
October 15th, 2005, 06:06 PM
do you mean tail -f ? as cat will dump the file onto screen, but not monitor it.

gurdy
October 16th, 2005, 02:36 PM
Change the Configured Mouse device from /dev/input/mice to /dev/input/mouseX, where X should be replaced with the number refering to your mouse.
You probably have many devices named mouse - to find the right one run sudo cat /dev/input/mouse1 and move your mouse. If odd letters clutters the terminal when you move it, you have found the right one. Otherwise continue with sudo cat /dev/input/mouse2 and so on until you get the right one.

Yes. Thanks!

I also made some other changes, and now it works! This is for a Wacom Indigo tablet (model ET-0405-U). Here are the parts of xorg.conf I changed:

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mouse1"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/input/event4"
Option "Type" "cursor"
Option "USB" "on"
Option "AlwaysCore" "on"
EndSection

Section "InputDevice"
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/input/event4"
Option "Type" "stylus"
Option "USB" "on"
Option "AlwaysCore" "on"
EndSection

Section "InputDevice"
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/input/event4"
Option "Type" "eraser"
Option "USB" "on"
Option "AlwaysCore" "on"
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "cursor"
InputDevice "stylus"
InputDevice "eraser"
EndSection