I have an HP pavilion G6 Laptop which I've been running Debian on for roughly 2-3 years now, with the Cinnamon DE.I've updated it to Debian testing as I was having a couple of issue with the graphics driver for my AMD A8 APU. I've only just discovered (after 4 months) that the screen will change it's orientation based on the laptops orientation.I've already gone to this question, which has described what is happening, and why it happens. All of that is great, except for the fact that the orientation is all wrong. I'ts out by 90 degrees. When I lilt the laptop from bottom to the sky, it orientates the screen 90 degrees anti-clockwise, when I would expect a full 180 degrees.I like this feature, and I want to get it working properly, but I just don't have a good enough knowledge on IIO and udev/dbus to do that.This is the output of udevadm containing this particular device:   P: /devices/platform/lis3lv02d/input/input8   E: ABS=7   E: DEVPATH=/devices/platform/lis3lv02d/input/input8   E: EV=9   E: ID_FOR_SEAT=input-platform-lis3lv02d   E: ID_INPUT=1   E: ID_INPUT_ACCELEROMETER=1   E: ID_PATH=platform-lis3lv02d   E: ID_PATH_TAG=platform-lis3lv02d   E: IIO_SENSOR_PROXY_TYPE=input-accel   E: MODALIAS=input:b0019v0000p0000e0000-e0,3,kra0,1,2,mlsfw   E: NAME=ST LIS3LV02DL Accelerometer   E: PHYS=lis3lv02d/input0   E: PRODUCT=19/0/0/0   E: PROP=0   E: SUBSYSTEM=input   E: SYSTEMD_WANTS=iio-sensor-proxy.serviceAny help regarding this would be much appreciated.EDIT: Thought I'd add these values from looking at iio-sensor-proxy for laptop in different 90 degree orientations: Y  X  Z 0  0  1 -- Home position 0  1  0 -- Right-up 0 -1  0 -- Left-up 1  0  0 -- Bottom-up -1 0  0 -- Top-upWhere 1 = max (roughly a value of 1200) and -1 = minimum (roughly a value of -1200)EDIT: to clarify as per first comment, orientation is not being detected correctly by iio-sensor-proxy. When I observe the output of monitor-sensor this is what is observed:Expected              -- RealityBottom-up = Bottom-up -- Bottom-up = Right-upRight-up  = Right-up  -- Right-up  = Bottom-upTop-up    = Top-up    -- Top-up    = Left-upLeft-up   = Left-up   -- Left-up   = Top-upTop-up == Neutral position
debian - screen orientation on tilt
debian;cinnamon