Hi, i recently bought a tablet called iwork 20. It’s probably a custom version by my manufactor, it has n4120 and 8gb of ram. It looks the same to juno tablet 1.
It has portrait orientation on tty, so i added ‘fbcon=rotate:1’ to grub, and that worked.
I also created a file /etc/X11/xorg.conf.d/40-monitor.conf,
‘Identifier “DSI-1”
Option “Rotate” “Right”’
This also worked.
But it wasn’t applying after i login to kde, so i rotated display 90’ clockwise in system settings.
But i had problem with touchpad, stylus, touch.
https://streamable.com/9hxlga
As you can see from the video, the cursor was rotated upside down.
Touchpad input was x-y broken,
Stylus input was (i can’t describe, 270’?)
Touch click was working fine, but cursor was at different location.
(im sorry, i couldnt capture on iwork machine)
Which Coordinate Transformation Matrix value should i try? And what is up with upside-down rotated cursor?
I actually tried with value -1 0 1 0 -1 1 0 0 1 for touchpad, and it worked but cursor was still upside down.
- i dont have iio-sensor-proxy installed, thank you in advance.
Hello Jack,
It seems like you’ve encountered some display and input issues on your iwork 20 tablet running EndeavourOS. Let’s try to address these problems step by step:
-
Display Rotation:
You’ve already made progress in rotating your display on the TTY by adding ‘fbcon=rotate:1’ to GRUB, and creating the xorg.conf.d file. However, the rotation doesn’t seem to persist in KDE. To address this issue, you can use the xrandr command to rotate the display in KDE. Open a terminal and run the following command:
xrandr --output DSI-1 --rotate right
This will rotate your display in KDE. If you want this change to persist across reboots, you can add the same command to your startup applications.
-
Input Rotation:
The upside-down rotated cursor and issues with touchpad, stylus, and touch input are likely due to the display rotation. You’ll need to adjust the input orientation to match the display rotation. You mentioned trying the Coordinate Transformation Matrix (CTM) values. To match a 90-degree clockwise display rotation, you can try the following CTM value for your touchpad and stylus:
xinput set-prop "Your Touchpad Device" --type=float "Coordinate Transformation Matrix" 0 -1 1 1 0 0 0 0 1
xinput set-prop "Your Stylus Device" --type=float "Coordinate Transformation Matrix" 0 -1 1 1 0 0 0 0 1
Make sure to replace “Your Touchpad Device” and “Your Stylus Device” with the actual device names from your system. You can use the xinput list command to find the device names.
After setting the CTM values, your input should align with the rotated display. If you’re still experiencing issues, you may need to experiment with different CTM values to get it right.
-
IIO-Sensor-Proxy:
You mentioned not having iio-sensor-proxy installed. While it’s not mandatory for display rotation and input adjustments, it can be helpful for auto-rotation based on your tablet’s physical orientation. You can install it using the package manager:
sudo pacman -S iio-sensor-proxy
Once installed, it can provide automatic screen rotation when you physically rotate your tablet.
After making these adjustments, your tablet should have a properly rotated display and matching input orientation. If you encounter any more issues or have further questions, please don’t hesitate to ask. Good luck with your iwork 20 tablet!