I'm using a graphire 4 with linuxwacom-0.7.4-3 and kernel 2.6.16.20.  I
moved hid-core.c and wacom.c to the kernel source tree and recompiled.
The kernel drivers seem to be working fine as wacdump reports all tablet
events, however xidump does not work properly.

usb 4-2: new low speed USB device using uhci_hcd and address 2
usb 4-2: configuration #1 chosen from 1 choice
input: Wacom Graphire4 4x5 as /class/input/input3
usbcore: registered new driver wacom
drivers/usb/input/wacom.c: v1.44-2.6.16-pc-0.2:USB Wacom Graphire and
Wacom Intuos tablet driver

/proc/bus/input/devices

I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/class/input/input0
H: Handlers=kbd event0
B: EV=120013
B: KEY=4 2000000 3802078 f840d001 f2ffffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=7

I: Bus=0011 Vendor=0002 Product=0006 Version=0056
N: Name="ImExPS/2 Logitech Wheel Mouse"
P: Phys=isa0060/serio1/input0
S: Sysfs=/class/input/input1
H: Handlers=mouse0 ts0 event1
B: EV=7
B: KEY=1f0000 0 0 0 0 0 0 0 0
B: REL=103

I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"
P: Phys=isa0061/input0
S: Sysfs=/class/input/input2
H: Handlers=kbd event2
B: EV=40001
B: SND=6

I: Bus=0003 Vendor=056a Product=0015 Version=0403
N: Name="Wacom Graphire4 4x5"
P: Phys=
S: Sysfs=/class/input/input4
H: Handlers=mouse1 ts1 event3
B: EV=1f
B: KEY=1c63 0 700ff 0 0 0 0 0 0 0 0
B: REL=100
B: ABS=100 3000003
B: MSC=1

xorg.conf

Section "ServerLayout"
        Identifier     "Default Layout"
        Screen 0 "Screen0"   0 0
        InputDevice    "Mouse0"    "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "stylus"    "SendCoreEvents"
        InputDevice    "eraser"    "SendCoreEvents"
        InputDevice    "cursor"    "SendCoreEvents"    # For non-LCD
tablets only
        InputDevice    "pad"   # For Intuos3/Cintiq 21UX/Graphire4
tablets. It should NOT send core event
EndSection

Section "Files"
    RgbPath         "/usr/X11R6/lib/X11/rgb"
    ModulePath      "/usr/X11R6/lib/modules"
    FontPath        "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath        "/usr/X11R6/lib/X11/fonts/TTF/"
    FontPath        "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath        "/usr/X11R6/lib/X11/fonts/CID/"
    FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
    Load           "record"
    Load           "extmod"
    Load           "dbe"
#       Load  "dri"
    Load           "xtrap"
    Load           "glx"
    Load           "freetype"
    Load           "type1"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc104"
    Option         "XkbLayout" "us"
    Option         "XkbOptions" "caps:internal,altwin:menu"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "IMPS/2"
    Option         "Device" "/dev/input/mouse0"
    Option         "ZAxisMapping" "4 5"
EndSection

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

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

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

# This section is for Intuos3, Cintiq 21UX, or Graphire4 only
Section "InputDevice"
  Driver        "wacom"
  Identifier    "pad"
  Option        "Device"        "/dev/input/wacom"   # USB ONLY
  Option        "Type"          "pad"
  Option        "USB"           "on"                  # USB ONLY
EndSection

/var/log/Xorg.0.log

(**) Option "SendCoreEvents"
(**) stylus: always reports core events
(**) stylus serial device is /dev/input/wacom
(**) stylus is in relative mode
(**) WACOM: suppress value is 2
(**) Option "USB" "on"
(**) stylus: reading USB link
(**) Option "BaudRate" "9600"
(**) stylus: serial speed 9600
(**) Option "SendCoreEvents"
(**) eraser: always reports core events
(**) eraser serial device is /dev/input/wacom
(**) eraser is in absolute mode
(**) WACOM: suppress value is 2
(**) Option "USB" "on"
(**) eraser: reading USB link
(**) Option "BaudRate" "9600"
(**) eraser: serial speed 9600
(**) Option "SendCoreEvents"
(**) cursor: always reports core events
(**) cursor serial device is /dev/input/wacom
(**) cursor is in relative mode
(**) WACOM: suppress value is 2
(**) Option "USB" "on"
(**) cursor: reading USB link
(**) Option "BaudRate" "9600"
(**) cursor: serial speed 9600
(EE) pad: No type or invalid type specified.
Must be one of stylus, cursor or eraser
(EE) PreInit returned NULL for "pad"
(II) XINPUT: Adding extended input device "cursor" (type: Wacom Cursor)
(II) XINPUT: Adding extended input device "eraser" (type: Wacom Eraser)
(II) XINPUT: Adding extended input device "stylus" (type: Wacom Stylus)
(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
(II) XINPUT: Adding extended input device "NVIDIA Event Handler" (type:
Other)
(**) Option "Device" "/dev/input/wacom"
(==) Wacom Kernel Input driver version is 1.0.0
(==) Wacom using pressure threshold of 30 for button 1
(==) Wacom Unknown USB tablet speed=9600 maxX=10208 maxY=7424 maxZ=511
resX=2540 resY=2540 suppress=2 tilt=disabled
(==) Wacom tablet top X=0 top Y=0 bottom X=10208 bottom Y=7424
(==) Wacom tablet top X=0 top Y=0 bottom X=10208 bottom Y=7424
(==) Wacom tablet top X=0 top Y=0 bottom X=10208 bottom Y=7424

xidump -l

cursor                         extension
eraser                         extension
stylus                         extension
Keyboard0                      keyboard
Mouse0                         disabled
NVIDIA Event Handler           extension

xidump -l -v cursor

cursor                         extension
    key: min=8, max=39, num=32
    btn: num=16
    val: axes=6 mode=rel buf=0
    axis[0]: res=99999, max=0, max=10208
    axis[1]: res=99999, max=0, max=7424
    axis[2]: res=1, max=0, max=511
    axis[3]: res=1, max=-900, max=899
    axis[4]: res=1, max=-1023, max=1023
    axis[5]: res=1, max=0, max=1023

Gimp recognizes that the cursor eraser and stylus are there, they just
don't do anything.  xidump similarly sees the devices but shows no
activity under both the raw and curses output. The res=99999 doesn't
look correct, and shows up in all of the extensions.  I have tried both
the X6.8.2 wacom_drv.o and the linuxwacom-0.7.4-3 prebuilt wacom_drv.o
with the exact same results.

TIA for any advice,

Glen





-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Linuxwacom-discuss mailing list
Linuxwacom-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss

Reply via email to