Chuwi Hi10 X1 Ubuntu screen rotate problem

Hi everybody. Be gentle with me it’s my 1st message on Chuwi’s Forum.
I bought the latest Chuwi Hi10 X1 with the N150 CPU to be my compagnon while I’m traveling. It’s a nice piece of hardware.

Here is my problem :
I successfully installed Linux Mint 22 (based on Ubuntu 24.04 LTS).
To make my graphic card to work I had to upgrade the kernel to version 6.11 and now, everything work : WiFi, BT, Touch screen, Screen rotation,…

Well almost everything… since the screen rotation is by default always rotated 270° (when in landscape it display in portrait) and when I rotate the screen, the display rotate too but still by 270°.
Very inconfortable situation isn’t it?

So, I’m asking if someone had / has the same behavior and how to correct this.
Any help or support is welcome.

Well, after looking for a way to correct this behavior, I managed to fix the 90° right rotation problem by finding a video on YouTube that explains exactly what to do:

There is indeed a file that allows to configure the rotation offsets of tablet PC LCD screens.
After finding the right sensor specifications, I opened as superuser the file

Code: Select all

/lib/udev/hwdb/60-sensor.hwdb

and I added the following entries at the end of the file for my tablet:

Code: Select all

# Chuwi Hi10 X1
sensor:modalias:acpi:NSA2513*:dmi:*:svnCHUWIInnovationAndTechnology*:pnHi10X1:*
ACCEL_MOUNT_MATRIX=0, 1, 0; -1, 0, 0; 0, 0, 1

Followed by updating the table:

Code: Select all

$ sudo udevadm hwdb --update

and a reboot to take effect:

Code: Select all

$ reboot

After the reboot, the screen is now horizontal when the tablet is in landscape mode and rotates correctly when I turn it. The mouse and touch screen also work correctly.

I hope this helps others who are having similar problems.

thank you for this, im sure many users will echek it

You’re welcome.