Screen Auto rotation issue

Hi,

So I found this old Acer SwitchOneSw1-011 and try to make it usable as a tablet. I have installed Manjaro GNOME 21 but I downgrade the kernel to 5.4 because the touchscreen issue. I have switched to X11 for the screen autorotation to work. The problem is the screen autorotation seem to be in the wrong orientation.
here is my 61-sensor-local.hwdb

sensor:modalias:acpi:*KIOX000A*:dmi:*svn*Acer*:*pn*SwitchOneSW1-011*
 ACCEL_MOUNT_MATRIX=0, -1, 0;1, 0, 0; 0, 0, -1

and here is sudo udevadm info --export-db

P: /devices/pci0000:00/808622C1:02/i2c-2/i2c-KIOX000A:00/iio:device0
N: iio:device0
L: 0
E: DEVPATH=/devices/pci0000:00/808622C1:02/i2c-2/i2c-KIOX000A:00/iio:device0
E: SUBSYSTEM=iio
E: DEVNAME=/dev/iio:device0
E: DEVTYPE=iio_device
E: MAJOR=241
E: MINOR=0
E: USEC_INITIALIZED=8902899
E: ACCEL_MOUNT_MATRIX=0, -1, 0;1, 0, 0; 0, 0, -1
E: IIO_SENSOR_PROXY_TYPE=iio-poll-accel iio-buffer-accel
E: SYSTEMD_WANTS=iio-sensor-proxy.service
E: TAGS=:systemd:
E: CURRENT_TAGS=:systemd:

when I change the 61-sensor-local.hwdb the info from udevadm always give same ACCEL_MOUNT_MATRIX information but it doesn’t affect the screen rotation at all.

Thanks,
Maul