On Mon, Feb 13, 2012 at 4:26 AM, Adam Nielsen <a.niel...@shikadi.net> wrote:
>>> 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:
>

> ⎜   ↳ 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)]

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

Once you update the capabilities in kernel driver to hide the unneeded
events per interface, the duplicates will go away here as well.

>
> [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.

It all looks pretty reasonable.  My one suggestion is in kernel
driver, comment out the part that declares ABS_MISC as a capability.
xf86-input-wacom treats that special and then I think requires an
MISC_SERIAL event to also be sent.

The other hint is to run 'xinput set-prop device_name "Common Debug
Levels" 10 10' then each event received will be logged to Xorg.0.log.

Chris

>
> 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