shyzus / gnome-shell-extension-screen-autorotate

Enable screen rotation regardless of touch mode
GNU General Public License v3.0
33 stars 10 forks source link

Lenovo IdePpad Yoga 13 autorotate not working #8

Closed saddy123 closed 1 year ago

saddy123 commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'user menu in the upper right, activate the autorotate'
  2. Flip Display / Keyboard
  3. Rotate the screen
  4. Nothing happens

Expected behavior rotating screen

Desktop (please complete the following information):

Additional context A quick google search says that it has sensors / autorotate is working with windows

Relevant logs (please use a tool like fpaste or a service like pastebin.) idk which ones or how to debug this

Obligatory thanks for the fork and your voluntary work! Would really appreciate a working autorotate.

shyzus commented 1 year ago

@saddy123 Can you confirm whether this package is installed? It is a dependency for this extension to work properly. You should also be able to use journalctl -b | grep gnome-shell to find any logs related to the gnome shell which would include of this extension.

darrell-k commented 1 year ago

@saddy123 , once you have confirmed that iio-sensor-proxy is installed on your system, check if it is running: sudo systemctl status iio-sensor-proxy Is it running? if not, try sudo systemctl start iio-sensor-proxy Now run the status command again - has it immediately stopped?

If it has, you might be experiencing the same problem as me (on a different but maybe similar Lenovo convertable) - the Linux kernel does not recognise the sensor hardware. I'm working on a fix with the kernel maintainers at present. If this is the case, I can help you identify your sensor hardware and if it is a similar issue, we can hopefully make sure that the fix currently in progress fixes your device too.

DallinatorX commented 1 year ago

I am using a Dell Inspiron 7405 and I am experiencing the same issue that you are explaining.

After running sudo systemctl start iio-sensor-proxy, and then sudo systemctl status iio-sensor-proxy I get:

Mar 09 12:39:01 Inspiron-7405-2n1 systemd[1]: Starting IIO Sensor Proxy service...
Mar 09 12:39:01 Inspiron-7405-2n1 systemd[1]: Started IIO Sensor Proxy service.
Mar 09 12:39:01 Inspiron-7405-2n1 systemd[1]: iio-sensor-proxy.service: Deactivated successfully.

Let me know what I can do. :)

shyzus commented 1 year ago

Closing this issue as it has gone stale.