> Its wacom_setup_input_capabilities() job [...]

Thanks for all the details, I'll take a look at it and post back with my 
progress.

> I think this is a record for how fast someone has gotten a new device
> with so many differences working!

Haha thanks!  Just goes to show what happens when there's someone telling you 
exactly what you need to know :-)  Unfortunately now the weekend is over so 
there probably won't be much movement until next weekend...

>> Unfortunately once I reached this point the X driver stopped working.  It
>> detects the device but "xinput test" doesn't report any output.  I'm a bit
>> stumped at this because I haven't changed anything in the X driver and the
>> events are all being reported correctly by the kernel.
>
> Can you send output from "xinput list" and snippet of your
> /var/log/Xorg.0.log were each wacom input is detected?  It woud also
> be helpful to see the initial output of evtest for your stylus device
> where it prints out the supported capabilities.

Ok, here's what it all looks like:

⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ Logitech USB Receiver                     id=10   [slave  pointer  (2)]
⎜   ↳ Logitech USB Receiver                     id=11   [slave  pointer  (2)]
⎜   ↳ Wacom DTI520UB/L stylus                   id=12   [slave  pointer  (2)]
⎜   ↳ Wacom DTI520UB/L pad                      id=13   [slave  pointer  (2)]
⎜   ↳ Wacom DTI520UB/L stylus                   id=15   [slave  pointer  (2)]
⎜   ↳ Wacom DTI520UB/L pad                      id=16   [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Power Button                              id=7    [slave  keyboard (3)]
    ↳ G15 Gaming Keyboard                       id=8    [slave  keyboard (3)]
    ↳ G15 Gaming Keyboard                       id=9    [slave  keyboard (3)]
    ↳ G15 Extra Keys                            id=14   [slave  keyboard (3)]

(as a side note, any idea why some things appear in this list twice?)

[196927.474] (II) config/udev: Adding input device Wacom DTI520UB/L 
(/dev/input/mouse2)
[196927.474] (II) No input driver specified, ignoring this device.
[196927.474] (II) This device may have been added with another device file.
[196927.475] (II) config/udev: Adding input device Wacom DTI520UB/L 
(/dev/input/mouse1)
[196927.475] (II) No input driver specified, ignoring this device.
[196927.475] (II) This device may have been added with another device file.
[196927.477] (II) config/udev: Adding input device Wacom DTI520UB/L 
(/dev/input/event13)
[196927.477] (**) Wacom DTI520UB/L: Applying InputClass "Wacom class"
[196927.477] (**) Wacom DTI520UB/L: Applying InputClass "evdev tablet catchall"
[196927.477] (**) Wacom DTI520UB/L: Applying InputClass "Wacom class"
[196927.477] (II) Using input driver 'wacom' for 'Wacom DTI520UB/L'
[196927.477] (II) Loading /usr/lib/xorg/modules/input/wacom_drv.so
[196927.477] (**) Wacom DTI520UB/L: always reports core events
[196927.477] (**) Option "Device" "/dev/input/event13"
[196927.477] (II) Wacom DTI520UB/L: type not specified, assuming 'stylus'.
[196927.477] (II) Wacom DTI520UB/L: other types will be automatically added.
[196927.477] (--) Wacom DTI520UB/L stylus: using pressure threshold of 27 for 
button 1
[196927.477] (--) Wacom DTI520UB/L stylus: Wacom USB PL/Cintiq tablet maxX=6282 
maxY=4762 maxZ=511 resX=20000 resY=20000  tilt=disabled
[196927.477] (II) Wacom DTI520UB/L stylus: hotplugging dependent devices.
[196927.477] (EE) Wacom DTI520UB/L stylus: Invalid type 'eraser' for this 
device.
[196927.477] (EE) Wacom DTI520UB/L stylus: Invalid type 'cursor' for this 
device.
[196927.477] (EE) Wacom DTI520UB/L stylus: Invalid type 'touch' for this device.
[196927.477] (II) Wacom DTI520UB/L stylus: hotplugging completed.
[196927.513] (**) Option "config_info" 
"udev:/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-6/1-6.4/1-6.4:1.0/input/input102/event13"
[196927.513] (II) XINPUT: Adding extended input device "Wacom DTI520UB/L 
stylus" (type: STYLUS, id 12)
[196927.514] (**) Wacom DTI520UB/L stylus: (accel) keeping acceleration scheme 1
[196927.514] (**) Wacom DTI520UB/L stylus: (accel) acceleration profile 0
[196927.514] (**) Wacom DTI520UB/L stylus: (accel) acceleration factor: 2.000
[196927.514] (**) Wacom DTI520UB/L stylus: (accel) acceleration threshold: 4
[196927.514] (**) Wacom DTI520UB/L pad: Applying InputClass "Wacom class"
[196927.514] (**) Wacom DTI520UB/L pad: Applying InputClass "evdev tablet 
catchall"
[196927.514] (**) Wacom DTI520UB/L pad: Applying InputClass "Wacom class"
[196927.514] (II) Using input driver 'wacom' for 'Wacom DTI520UB/L pad'
[196927.514] (II) Loading /usr/lib/xorg/modules/input/wacom_drv.so
[196927.514] (**) Wacom DTI520UB/L pad: always reports core events
[196927.514] (**) Option "Device" "/dev/input/event13"
[196927.514] (**) Option "Type" "pad"
[196927.514] (--) Wacom DTI520UB/L pad: Wacom USB PL/Cintiq tablet maxX=6282 
maxY=4762 maxZ=511 resX=20000 resY=20000  tilt=disabled
[196927.550] (**) Option "config_info" 
"udev:/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-6/1-6.4/1-6.4:1.0/input/input102/event13"
[196927.550] (II) XINPUT: Adding extended input device "Wacom DTI520UB/L pad" 
(type: PAD, id 13)
[196927.550] (**) Wacom DTI520UB/L pad: (accel) keeping acceleration scheme 1
[196927.550] (**) Wacom DTI520UB/L pad: (accel) acceleration profile 0
[196927.550] (**) Wacom DTI520UB/L pad: (accel) acceleration factor: 2.000
[196927.550] (**) Wacom DTI520UB/L pad: (accel) acceleration threshold: 4
[196927.551] (II) config/udev: Adding input device Wacom DTI520UB/L 
(/dev/input/event14)
[196927.551] (**) Wacom DTI520UB/L: Applying InputClass "Wacom class"
[196927.551] (**) Wacom DTI520UB/L: Applying InputClass "evdev tablet catchall"
[196927.551] (**) Wacom DTI520UB/L: Applying InputClass "Wacom class"
[196927.551] (II) Using input driver 'wacom' for 'Wacom DTI520UB/L'
[196927.551] (II) Loading /usr/lib/xorg/modules/input/wacom_drv.so
[196927.551] (**) Wacom DTI520UB/L: always reports core events
[196927.551] (**) Option "Device" "/dev/input/event14"
[196927.551] (II) Wacom DTI520UB/L: type not specified, assuming 'stylus'.
[196927.551] (II) Wacom DTI520UB/L: other types will be automatically added.
[196927.551] (--) Wacom DTI520UB/L stylus: using pressure threshold of 27 for 
button 1
[196927.551] (--) Wacom DTI520UB/L stylus: Wacom USB PL/Cintiq tablet maxX=6282 
maxY=4762 maxZ=511 resX=20000 resY=20000  tilt=disabled
[196927.551] (II) Wacom DTI520UB/L stylus: hotplugging dependent devices.
[196927.551] (EE) Wacom DTI520UB/L stylus: Invalid type 'eraser' for this 
device.
[196927.551] (EE) Wacom DTI520UB/L stylus: Invalid type 'cursor' for this 
device.
[196927.551] (EE) Wacom DTI520UB/L stylus: Invalid type 'touch' for this device.
[196927.551] (II) Wacom DTI520UB/L stylus: hotplugging completed.
[196927.657] (**) Option "config_info" 
"udev:/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-6/1-6.4/1-6.4:1.1/input/input103/event14"
[196927.657] (II) XINPUT: Adding extended input device "Wacom DTI520UB/L 
stylus" (type: STYLUS, id 15)
[196927.657] (**) Wacom DTI520UB/L stylus: (accel) keeping acceleration scheme 1
[196927.657] (**) Wacom DTI520UB/L stylus: (accel) acceleration profile 0
[196927.657] (**) Wacom DTI520UB/L stylus: (accel) acceleration factor: 2.000
[196927.657] (**) Wacom DTI520UB/L stylus: (accel) acceleration threshold: 4
[196927.657] (**) Wacom DTI520UB/L pad: Applying InputClass "Wacom class"
[196927.657] (**) Wacom DTI520UB/L pad: Applying InputClass "evdev tablet 
catchall"
[196927.657] (**) Wacom DTI520UB/L pad: Applying InputClass "Wacom class"
[196927.657] (II) Using input driver 'wacom' for 'Wacom DTI520UB/L pad'
[196927.657] (II) Loading /usr/lib/xorg/modules/input/wacom_drv.so
[196927.657] (**) Wacom DTI520UB/L pad: always reports core events
[196927.657] (**) Option "Device" "/dev/input/event14"
[196927.657] (**) Option "Type" "pad"
[196927.657] (--) Wacom DTI520UB/L pad: Wacom USB PL/Cintiq tablet maxX=6282 
maxY=4762 maxZ=511 resX=20000 resY=20000  tilt=disabled
[196927.710] (**) Option "config_info" 
"udev:/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-6/1-6.4/1-6.4:1.1/input/input103/event14"
[196927.710] (II) XINPUT: Adding extended input device "Wacom DTI520UB/L pad" 
(type: PAD, id 16)
[196927.710] (**) Wacom DTI520UB/L pad: (accel) keeping acceleration scheme 1
[196927.710] (**) Wacom DTI520UB/L pad: (accel) acceleration profile 0
[196927.710] (**) Wacom DTI520UB/L pad: (accel) acceleration factor: 2.000
[196927.710] (**) Wacom DTI520UB/L pad: (accel) acceleration threshold: 4

Select the device event number [0-14]: 13
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x56a product 0x3a version 0x103
Input device name: "Wacom DTI520UB/L"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 256 (BTN_0)
    Event code 257 (BTN_1)
    Event code 258 (BTN_2)
    Event code 259 (BTN_3)
    Event code 260 (BTN_4)
    Event code 272 (BTN_LEFT)
    Event code 273 (BTN_RIGHT)
    Event code 276 (BTN_EXTRA)
    Event code 277 (BTN_FORWARD)
    Event code 278 (BTN_BACK)
    Event code 320 (BTN_TOOL_PEN)
    Event code 330 (BTN_TOUCH)
    Event code 331 (BTN_STYLUS)
    Event code 332 (BTN_STYLUS2)
  Event type 3 (EV_ABS)
    Event code 0 (ABS_X)
      Value      0
      Min        0
      Max     6282
      Fuzz       4
      Resolution      20
    Event code 1 (ABS_Y)
      Value      0
      Min        0
      Max     4762
      Fuzz       4
      Resolution      20
    Event code 24 (ABS_PRESSURE)
      Value      0
      Min        0
      Max      511
    Event code 40 (ABS_MISC)
      Value      0
      Min        0
      Max        0
Testing ... (interrupt to exit)

Let me know if any of this hints at anything.

Cheers,
Adam.


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to