-
Notifications
You must be signed in to change notification settings - Fork 24
Description
I basically got thinkpad-scrips to work on X230 Tablet running Deepin 15.9
After I went through configuration, there is still an issue with input devices.
Rotation and Mouse-Input works well, but the TOUCH-SCREEN- and PEN-Inputs are pointing at the wrong place on screen when rotated by cmd thinkpad-rotate right. At the bottom screen the cursor matches the finger/pen. Moving the finger/pen upwards, the cursor runs above real finger pointing.
When I rotate by thinkpad-rotate flip everything works fine.
Beside that I get this error entering:
thinkpad-rotate flipor thinkpad-rotate flip
tps.screen WARNING gsettings is installed, but the "org.gnome.settings-daemon.plugins.xsettings" schema is not available
tps.vkeyboard WARNING kvkbd is not installed
Can you give me an advide how to fix this issue?
I would really appreciate help, maybe anybody is experienced in this?
Here are some more outputs, that might be helpful to iditify the problem.
I really don't know what to do, to fix it.
$ xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Lenovo Laser Wireless Mouse id=9 [slave pointer (2)]
⎜ ↳ Wacom ISDv4 E6 Finger touch id=12 [slave pointer (2)]
⎜ ↳ Wacom ISDv4 E6 Pen stylus id=11 [slave pointer (2)]
⎜ ↳ Wacom ISDv4 E6 Pen eraser id=17 [slave pointer (2)]
⎜ ↳ TPPS/2 IBM TrackPoint id=15 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=14 [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)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Sleep Button id=8 [slave keyboard (3)]
↳ Integrated Camera: Integrated C id=10 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=13 [slave keyboard (3)]
↳ ThinkPad Extra Buttons id=16 [slave keyboard (3)]
$ xinput list-props 12
Device 'Wacom ISDv4 E6 Finger touch':
Device Enabled (144): 1
Coordinate Transformation Matrix (146): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (275): 0
Device Accel Constant Deceleration (276): 1.000000
Device Accel Adaptive Deceleration (277): 1.000000
Device Accel Velocity Scaling (278): 10.000000
Device Node (267): "/dev/input/event6"
Wacom Tablet Area (304): 0, 0, 2776, 1560
Wacom Rotation (305): 0
Wacom Pressurecurve (306): 0, 0, 100, 100
Wacom Serial IDs (307): 230, 1, 3, 0, 0
Wacom Serial ID binding (308): 0
Wacom Pressure Threshold (309): 0
Wacom Sample and Suppress (310): 20, 4
Wacom Enable Touch (311): 1
Wacom Enable Touch Gesture (313): 1
Wacom Touch Gesture Parameters (314): 121, 54, 250
Wacom Tool Type (315): "TOUCH" (322)
Wacom Button Actions (316): "Wacom button action 0" (317), "Wacom button action 1" (318), "Wacom button action 2" (319)
Wacom button action 0 (317): 1572865
Wacom button action 1 (318): 1572866
Wacom button action 2 (319): 1572867
Device Product ID (268): 1386, 230
Wacom Debug Levels (321): 0, 0
$ thinkpad-rotate -vv --force-direction cw
tps.config DEBUG ----------------------------------
tps.config DEBUG Program was started with arguments: ['/usr/local/bin/thinkpad-rotate', '-vv', '--force-direction', 'cw']
tps.config DEBUG Default configfile is /home/x230t-deepin/.cache/Python-Eggs/thinkpad_scripts-4.11.0-py3.6.egg-tmp/tps/default.ini.
tps.screen DEBUG subprocess “xrandr”
tps.screen DEBUG Screens available on this system are LVDS-1.
tps.screen DEBUG Internal screen is determined to be LVDS-1.
tps.screen DEBUG subprocess “xrandr -q --verbose”
tps DEBUG Converted “normal” to “Direction(xrandr='normal', xsetwacom='none', subpixel='rgb', physically_closed=False, rot_mat=[1, 0, 0, 0, 1, 0, 0, 0, 1])”.
tps.screen INFO Current rotation is “Direction(xrandr='normal', xsetwacom='none', subpixel='rgb', physically_closed=False, rot_mat=[1, 0, 0, 0, 1, 0, 0, 0, 1])”.
tps DEBUG Converted “cw” to “Direction(xrandr='right', xsetwacom='cw', subpixel='vbgr', physically_closed=True, rot_mat=[0, 1, 0, -1, 0, 1, 0, 0, 1])”.
tps.rotate INFO User chose to set to Direction(xrandr='right', xsetwacom='cw', subpixel='vbgr', physically_closed=True, rot_mat=[0, 1, 0, -1, 0, 1, 0, 0, 1])
tps DEBUG Command “/home/x230t-deepin/.config/thinkpad-scripts/hooks/prerotate” not found.
tps.screen DEBUG subprocess “xrandr --output LVDS-1 --rotate right”
tps.config DEBUG Default configfile is /home/x230t-deepin/.cache/Python-Eggs/thinkpad_scripts-4.11.0-py3.6.egg-tmp/tps/default.ini.
tps.screen DEBUG subprocess “xrandr -q”
tps.input DEBUG Translation and scaling matrix: [[ 1.00000 0.00000 0.00000 ][ 0.00000 1.00000 0.00000 ][ 0.00000 0.00000 1.00000 ]]
tps.input DEBUG Complete transformation matrix: [[ 0.00000 1.00000 0.00000 ][ -1.00000 0.00000 1.00000 ][ 0.00000 0.00000 1.00000 ]]
tps.config DEBUG Default configfile is /home/x230t-deepin/.cache/Python-Eggs/thinkpad_scripts-4.11.0-py3.6.egg-tmp/tps/default.ini.
tps.input DEBUG Using “Wacom ISD.*id=(\d+)” as regex to find Wacom devices.
tps.input DEBUG subprocess “xinput”
tps.input INFO Mapping and rotating all input devices.
tps.input DEBUG subprocess “xinput --list-props 12”
tps.input DEBUG Device 12 has property “Wacom Rotation”
tps.input INFO Device 12 has “Wacom Rotation” property, use xsetwacom.
tps.input DEBUG subprocess “xsetwacom set 12 rotate cw”
tps.input DEBUG subprocess “xsetwacom set 12 MapToOutput LVDS-1”
tps.input DEBUG subprocess “xinput --list-props 11”
tps.input DEBUG Device 11 has property “Wacom Rotation”
tps.input INFO Device 11 has “Wacom Rotation” property, use xsetwacom.
tps.input DEBUG subprocess “xsetwacom set 11 rotate cw”
tps.input DEBUG subprocess “xsetwacom set 11 MapToOutput LVDS-1”
tps.input DEBUG subprocess “xinput --list-props 17”
tps.input DEBUG Device 17 has property “Wacom Rotation”
tps.input INFO Device 17 has “Wacom Rotation” property, use xsetwacom.
tps.input DEBUG subprocess “xsetwacom set 17 rotate cw”
tps.input DEBUG subprocess “xsetwacom set 17 MapToOutput LVDS-1”
tps.screen DEBUG subprocess “xrandr”
tps DEBUG Command “xfconf-query” not found.
tps DEBUG Command “gsettings” found.
tps.screen DEBUG subprocess “gsettings list-schemas”
tps.screen WARNING gsettings is installed, but the "org.gnome.settings-daemon.plugins.xsettings" schema is not available
tps.vkeyboard DEBUG subprocess “pgrep kvkbd”
tps DEBUG Command “kvkbd” not found.
tps.vkeyboard WARNING kvkbd is not installed
tps.input DEBUG subprocess “xinput list”
tps.input DEBUG subprocess “xinput set-prop 15 'Device Enabled' 0”
tps.input DEBUG subprocess “xinput list”
tps.input DEBUG subprocess “xinput set-prop 14 'Device Enabled' 0”
tps DEBUG Command “/home/x230t-deepin/.config/thinkpad-scripts/hooks/postrotate” not found.