Probably I have the same problem. I have wacom_w8001 in X201 Tablet. In
trusty both worked fine with a rotate script:

# Find the line in "xrandr -q --verbose" output that contains current
screen orientation and "strip" out current orientation.

rotation="$(xrandr -q --verbose | grep 'connected' | egrep -o  '\)
(normal|left|inverted|right) \(' | egrep -o
'(normal|left|inverted|right)')"

# Using current screen orientation proceed to rotate screen and input tools. 
echo "$rotation";

case "$rotation" in 
    normal) 
#    -rotate to the inverted
    xrandr -o inverted 
    xsetwacom set "Serial Wacom Tablet WACf00c stylus"  Rotate half # HALF
    xsetwacom set "Serial Wacom Tablet WACf00c touch" Rotate half # HALF
    xsetwacom set "Serial Wacom Tablet WACf00c eraser" Rotate half # HALF 
    xsetwacom set "Serial Wacom Tablet WACf00c touch" mode absolute
    
  
 
    ;; 
    inverted) 
#    -rotate to right
    xrandr -o right
    xsetwacom set "Serial Wacom Tablet WACf00c stylus" Rotate cw
    xsetwacom set "Serial Wacom Tablet WACf00c touch" Rotate cw
    xsetwacom set "Serial Wacom Tablet WACf00c eraser" Rotate cw 
    xsetwacom set "Serial Wacom Tablet WACf00c touch" mode absolute 
    xsetwacom set "Serial Wacom Tablet WACf00c touch" Rotate none # HALF

    ;; 
    right)
#    -rotate to left
    xrandr -o left
    xsetwacom set "Serial Wacom Tablet WACf00c stylus"  Rotate  ccw
    xsetwacom set "Serial Wacom Tablet WACf00c touch" Rotate ccw
    xsetwacom set "Serial Wacom Tablet WACf00c eraser" Rotate ccw 
    xsetwacom set "Serial Wacom Tablet WACf00c touch" mode absolute 
    xsetwacom set "Serial Wacom Tablet WACf00c touch" Rotate none # HALF

    ;;
    left)
#    -rotate to normal
    xrandr -o normal
    xsetwacom set "Serial Wacom Tablet WACf00c stylus"  Rotate  NONE
    xsetwacom set "Serial Wacom Tablet WACf00c touch" Rotate NONE
    xsetwacom set "Serial Wacom Tablet WACf00c eraser" Rotate NONE
    xsetwacom set "Serial Wacom Tablet WACf00c touch" mode absolute     

esac


After the upgrade touch is out of sync, stylus and eraser works fine,
with the script.

For example if the rotation is inverted, then touch is in normal mode.
This is not the behavior, what I expect. If 'xsetwacom set "Serial Wacom
Tablet WACf00c touch" Rotate NONE' is executed, stylus and eraser are
then also None and touch works in inverted mode, but stylus and eraser
not.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1645341

Title:
  Wacom serial: Screen rotation triggers pen/eraser rotation but not for
  finger touch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xf86-input-wacom/+bug/1645341/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to