I recently updated to Fedora 7 and noticed some rather strange behavior 
of the Wacom driver (compared to Core 6 for instance). First, Fedora 7 
doesn't ship the latest and greatest driver (I know the first 
recommendation will be to update the driver, which I will, just wanted 
to get this out of my chest); the driver shipped is something along the 
lines of 0.7.4... The issue I'm experimenting is that when I attempt to 
do anything with the PAD device (I have a Graphire 4 tablet), which 
would involve moving the wheel or pressing the buttons, the cursor 
pointer moves to "the origin" (upper left corner of the screen) while in 
the session. The issue is even stranger in GDM where it moves to the 
lower right corner even if I attempt to move the cursor with the wacom 
mouse (cursor device) and any tip of the "pen" (stilus and eraser 
devices, respectively). I'm not so sure what might be the cause of the 
GDM behavior or the session behavior for that matter. Next I copy the 
relevant sections of my Xorg.conf file and my udev rules (which I had to 
change the name of the file bundled with Fedora, as udev was skipping 
the device node [link in this case] creation).

Udev rules.

File: renamed from 60-wacom.rules to 10-wacom.rules

Contents:
# udev rule to create /dev/input/wacomN for wacom tablets

KERNEL=="event*", SYSFS{idVendor}=="056a", NAME="input/%k", 
SYMLINK="input/wacom"

Xorg configuration file:

Section "ServerLayout"
        Identifier     "single head configuration"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "cursor" "SendCoreEvents"
        InputDevice    "eraser" "SendCoreEvents"
        InputDevice    "stylus" "SendCoreEvents"
        InputDevice    "pad" "SendCoreEvents"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Device" "/dev/input/mice"
        Option      "Protocol" "ExplorerPS/2"
        Option      "Buttons" "5"
        Option      "ZAxisMapping" "4 5"
        Option      "ButtonMapping" "1 2 3 6 7"
        Option      "Emulate3Buttons" "no"
EndSection

Section "InputDevice"
        Identifier  "stylus"
        Driver      "wacom"
        Option      "Device" "/dev/input/wacom"
        Option      "Type" "stylus"
        Option      "USB" "on"
        Option      "Tilt" "on"
#       Option      "PressCurve" "0,0,100,100"
        Option      "Mode" "Relative"
#       Option      "Speed" "1.25"
EndSection

Section "InputDevice"
        Identifier  "eraser"
        Driver      "wacom"
        Option      "Device" "/dev/input/wacom"
        Option      "Type" "eraser"
        Option      "USB" "on"
#       Option      "PressCurve" "0,0,100,100"
        Option      "Mode" "Relative"
#       Option      "Speed" "1.25"
EndSection

Section "InputDevice"

#       Option      "Speed" "1.25"
        Identifier  "cursor"
        Driver      "wacom"
        Option      "Device" "/dev/input/wacom"   # USB ONLY
        Option      "Type" "cursor"
        Option      "USB" "on"                  # USB ONLY
EndSection

Section "InputDevice"
        Identifier  "pad"
        Driver      "wacom"
        Option      "Device" "/dev/input/wacom"
        Option      "Type" "pad"
        Option      "USB" "on"
        Option      "Button1" "4"
        Option      "Button2" "5"
        Option      "Button3" "6"
        Option      "Button4" "7"
EndSection

I also include the Mouse0 device (which I had to add, as Fedora doesn't 
include another way to configure 5 button mice) in hopes that maybe I 
did something wrong with it, as Fedora no longer depends on Xmodmap to 
set the number and mapping of mice buttons. I believe this is the same 
for other distributions as well, like Ubuntu.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Linuxwacom-discuss mailing list
Linuxwacom-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss

Reply via email to