umpc-ubuntu icon indicating copy to clipboard operation
umpc-ubuntu copied to clipboard

GPD Pocket 3 rotate issues

Open mifritscher opened this issue 2 years ago • 3 comments

At least on my pocket 3, the program wants to rotate pen and stylus right. But I need the first transformation matrix to get the touch screen right in normal laptop mode:

xinput set-prop "GXTP7380:00 27C6:0113" "Coordinate Transformation Matrix" 1 0 0 0 1 0 0 0 1

Additionally, I get no further message even when rotating the device. A hacked fprintf(stderr, "%d %d %d\n",x,y,z); gets always 50 0 -54

the raw data: 202 -3 -216 .

mifritscher avatar Jan 22 '22 14:01 mifritscher

I had the same experience. The initial setup (laptop mode) doesn't properly transform the touch/pen input.

gdevenyi avatar Jan 23 '22 19:01 gdevenyi

I have the same problem, pen input doesn't rotate and the pen button must be hold to scribe/ drag some window

JohnJayMcKaye avatar Jan 24 '22 07:01 JohnJayMcKaye

Same problem here. Actually, after upgrading the kernal, rotation and touch screen works good as expected. The problem happens after run this script. Seems we rotate the framebuffer but failed to rotate the touchscreen together correctly.

I fixed it by comment out these lines and set iio-sensor-proxy configuration:


  # Rotate the touchscreen.
  inject_data "${TOUCH_RULES}"
  # Reload udev rules
  udevadm control --reload-rules
  udevadm trigger

wtlyu avatar Jan 25 '22 06:01 wtlyu

Fixed via #40

flexiondotorg avatar Oct 05 '22 21:10 flexiondotorg