XPS 13 Wacom Touchscreen Issues on Linux Mint 20.1
Some issues I noticed with the Cinnamon Desktop Environment on a XPS 13 9365 with Linux Mint 20.1 installed.
The monitor sensor and display autorotate as expected however only the screen is rotated and the co-ordination transformation matrix for all the xinput devices is not.
When the monitor sensor detects normal:
xrandr --output eDP-1 --rotate normal
xinput set-prop "Wacom HID 4831 Finger touch" --type=float "Coordinate Transformation Matrix" 1 0 0 0 1 0 0 0 1
xinput set-prop "Wacom HID 4831 Pen stylus" --type=float "Coordinate Transformation Matrix" 1 0 0 0 1 0 0 0 1
xinput set-prop "Wacom HID 4831 Pen eraser" --type=float "Coordinate Transformation Matrix" 1 0 0 0 1 0 0 0 1
xinput set-prop "Wacom HID 4831 DLL077A:01 06CB:76AF Touchpad" --type=float "Coordinate Transformation Matrix" 1 0 0 0 1 0 0 0 1
xinput set-prop "Wacom HID 4831 DLL077A:01 06CB:76AF Mouse" --type=float "Coordinate Transformation Matrix" 1 0 0 0 1 0 0 0 1
When the monitor sensor detects right-up:
xrandr --output eDP-1 --rotate right
xinput set-prop "Wacom HID 4831 Finger touch" --type=float "Coordinate Transformation Matrix" 0 1 0 -1 0 1 0 0 1
xinput set-prop "Wacom HID 4831 Pen stylus" --type=float "Coordinate Transformation Matrix" 0 1 0 -1 0 1 0 0 1
xinput set-prop "Wacom HID 4831 Pen eraser" --type=float "Coordinate Transformation Matrix" 0 1 0 -1 0 1 0 0 1
xinput set-prop "Wacom HID 4831 DLL077A:01 06CB:76AF Touchpad" --type=float "Coordinate Transformation Matrix" 0 1 0 -1 0 1 0 0 1
xinput set-prop "Wacom HID 4831 DLL077A:01 06CB:76AF Mouse" --type=float "Coordinate Transformation Matrix" 0 1 0 -1 0 1 0 0 1
When the monitor sensor detects left-up:
xrandr --output eDP-1 --rotate left
xinput set-prop "Wacom HID 4831 Finger touch" --type=float "Coordinate Transformation Matrix" 0 -1 1 1 0 0 0 0 1
xinput set-prop "Wacom HID 4831 Pen stylus" --type=float "Coordinate Transformation Matrix" 0 -1 1 1 0 0 0 0 1
xinput set-prop "Wacom HID 4831 Pen eraser" --type=float "Coordinate Transformation Matrix" 0 -1 1 1 0 0 0 0 1
xinput set-prop "Wacom HID 4831 DLL077A:01 06CB:76AF Touchpad" --type=float "Coordinate Transformation Matrix" 0 -1 1 1 0 0 0 0 1
xinput set-prop "Wacom HID 4831 DLL077A:01 06CB:76AF Mouse" --type=float "Coordinate Transformation Matrix" 0 -1 1 1 0 0 0 0 1
When the monitor sensor detects bottom up:
xrandr --output eDP-1 --rotate inverted
xinput set-prop "Wacom HID 4831 Finger touch" --type=float "Coordinate Transformation Matrix" -1 0 1 0 -1 1 0 0 1
xinput set-prop "Wacom HID 4831 Finger stylus" --type=float "Coordinate Transformation Matrix" -1 0 1 0 -1 1 0 0 1
xinput set-prop "Wacom HID 4831 Finger eraser" --type=float "Coordinate Transformation Matrix" -1 0 1 0 -1 1 0 0 1
xinput set-prop "Wacom HID 4831 DLL077A:01 06CB:76AF Touchpad" --type=float "Coordinate Transformation Matrix" -1 0 1 0 -1 1 0 0 1
xinput set-prop "Wacom HID 4831 DLL077A:01 06CB:76AF Mouse" --type=float "Coordinate Transformation Matrix" -1 0 1 0 -1 1 0 0 1
The onscreen keyboard experience is also lagging behind that of the GNOME3 Desktop Environment particularly when set to the bottom of the screen and set to show any time something expects an input.
#xps13 #mint #touchscreen