Stylus button problem on Dell Latitude XT2 (N-trig)

Help
2014-08-20
2014-08-20
  • brett stevens
    brett stevens
    2014-08-20

    I have just installed Ubuntu 14.04 on my Dell
    

    Latitude XT2. Everything seems to be working (touch,
    stylus and stylus big button) except the small
    button on the stylus. most of the time it does
    nothing and sometimes it seems to do the same thing
    as the big button. But I have not been able to get
    it to behave differently than the big button. Using
    xinput or xsetwacom I can reliably get the big
    button ("Wacom button action 1" on "N-Trig Pen stylus")
    to be either a middle click or a right click by
    setting it to 1572866 or 1572867. But then if
    I set "Wacom button action 2" on "N-Trig Pen stylus"
    and all three buttons (0,1,2) on "N-Trig Pen eraser"
    to 1572867, the little button does nothing 9 times
    out of 10 and behaves like the big button (whichever
    way it is set) 1 time out of 10. Just in case it was
    the stylus that was bad, I have bought two additional
    styli from ebay and they all behave the same. I have
    tried to see what events the little button is causing
    using 'xev' and 'mtdev-test' but the pen movement
    events overwhelm any button events.

    here are outputs of some relevant commands

    $ xsetwacom list
    N-Trig Pen stylus                   id: 12  type: STYLUS    
    N-Trig Pen eraser                   id: 17  type: ERASER    
    N-Trig Pen pad                      id: 18  type: PAD
    
    $ xinput --list-props "N-Trig Pen stylus"
    Device 'N-Trig Pen stylus':
        Device Enabled (133):   1
        Coordinate Transformation Matrix (135): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        Device Accel Profile (262): 0
        Device Accel Constant Deceleration (263):   1.000000
        Device Accel Adaptive Deceleration (264):   1.000000
        Device Accel Velocity Scaling (265):    10.000000
        Device Node (251):  "/dev/input/event8"
        Wacom Tablet Area (288):    -48, -73, 9632, 7282
        Wacom Rotation (289):   0
        Wacom Pressurecurve (290):  0, 0, 100, 100
        Wacom Serial IDs (291): 1, 1, 0, 1, 0
        Wacom Serial ID binding (292):  0
        Wacom Pressure Threshold (293): 27
        Wacom Sample and Suppress (294):    2, 4
        Wacom Enable Touch (295):   1
        Wacom Hover Click (296):    1
        Wacom Enable Touch Gesture (297):   0
        Wacom Touch Gesture Parameters (298):   0, 0, 250
        Wacom Tool Type (299):  "STYLUS" (283)
        Wacom Button Actions (300): "Wacom button action 0" (301), "Wacom button action 1" (302), "Wacom button action 2" (303)
        Wacom button action 0 (301):    1572865
        Wacom button action 1 (302):    1572866
        Wacom button action 2 (303):    1572867
        Device Product ID (250):    7062, 1
        Wacom Debug Levels (304):   0, 0
    
    $ xinput --list-props "N-Trig Pen eraser"
    Device 'N-Trig Pen eraser':
        Device Enabled (133):   1
        Coordinate Transformation Matrix (135): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        Device Accel Profile (262): 0
        Device Accel Constant Deceleration (263):   1.000000
        Device Accel Adaptive Deceleration (264):   1.000000
        Device Accel Velocity Scaling (265):    10.000000
        Device Node (251):  "/dev/input/event8"
        Wacom Tablet Area (288):    -48, -73, 9632, 7282
        Wacom Rotation (289):   0
        Wacom Pressurecurve (290):  0, 0, 100, 100
        Wacom Serial IDs (291): 1, 1, 0, 0, 0
        Wacom Serial ID binding (292):  0
        Wacom Pressure Threshold (293): 27
        Wacom Sample and Suppress (294):    2, 4
        Wacom Enable Touch (295):   1
        Wacom Enable Touch Gesture (297):   0
        Wacom Touch Gesture Parameters (298):   0, 0, 250
        Wacom Tool Type (299):  "ERASER" (342)
        Wacom Button Actions (300): "Wacom button action 0" (301), "Wacom button action 1" (302), "Wacom button action 2" (303)
        Wacom button action 0 (301):    1572867
        Wacom button action 1 (302):    1572867
        Wacom button action 2 (303):    1572867
        Device Product ID (250):    7062, 1
        Wacom Debug Levels (304):   0, 0
    
    If there are other commands I should run, please let me know.
    
    thanks
    brett
    
     
    Last edit: brett stevens 2014-08-20