When I use the LiveUSB, I have this functionality enabled and fully functional.
But once I have installed it on the computer, a LENOVO YOGA 530, the "tablet mode" stops working. :(
With this command:
udevadm info --export-db | grep -I iio
I have this output:
P: /devices/platform/AMDI0010:00/i2c-0/i2c-ITE8396:00/0018:048D:8396.0001/HID-SENSOR-200073.3.auto/iio:device0
N: iio:device0 E: DEVPATH=/devices/platform/AMDI0010:00/i2c-0/i2c-ITE8396:00/0018:048D:8396.0001/HID-SENSOR-200073.3.auto/iio:device0
E: SUBSYSTEM=iio
E: DEVNAME=/dev/iio:device0
E: DEVTYPE=iio_device
E: IIO_SENSOR_PROXY_TYPE=iio-poll-accel iio-buffer-accel
E: SYSTEMD_WANTS=iio-sensor-proxy.service
E: SUBSYSTEM=iio
Executing the command:
sudo /usr/libexec/iio-sensor-proxy -v -r
And, after that, I turning screen more then 180°, and receive this kind of message:
** (iio-sensor-proxy:11912): DEBUG: 18:22:47.147: Emitted orientation changed: from undefined to normal
** (iio-sensor-proxy:11912): DEBUG: 18:22:56.260: Emitted orientation changed: from normal to right-up
** (iio-sensor-proxy:11912): DEBUG: 18:22:59.766: Emitted orientation changed: from right-up to bottom-up
** (iio-sensor-proxy:11912): DEBUG: 18:23:01.870: Emitted orientation changed: from bottom-up to right-up
** (iio-sensor-proxy:11912): DEBUG: 18:23:02.572: Emitted orientation changed: from right-up to normal
BUT the screen does nothing, it does not rotate.
I don't know what I'm doing wrong. :(
and from there I downloaded it from this link: https://ubuntu.com/download/desktop/thank-you?version=22.04&architecture=amd64
The link of the button says: 22.04 LTS
– Daniel Muntaner Jun 16 '22 at 11:07