问题
自动屏幕旋转曾经完美地工作。当我将笔记本电脑侧放(或倒置)时,屏幕也会转动(对于平板电脑模式非常方便)。自上次更新以来,它不再起作用了。此外,右上角菜单中的小按钮(锁定方向)也消失了。
我的系统
- 联想 X1 Yoga 4th(二合一,带触摸)
- Fedora Workstation 33,Gnome 3.38.1
- 名称:Linux x1-yoga 5.9.8-200.fc33.x86_64
- 软件和固件是最新的。
我尝试过的
gsettings set org.gnome.settings-daemon.peripherals.touchscreen orientation-lock false
(或 true)-> 似乎没有效果。屏幕仍然不旋转。
sudo systemctl status iio-sensor-proxy.service
● iio-sensor-proxy.service - IIO Sensor Proxy service
Loaded: loaded (/usr/lib/systemd/system/iio-sensor-proxy.service; static)
Active: active (running) since Fri 2020-11-20 15:11:28 CET; 13min ago
Main PID: 1069 (iio-sensor-prox)
Tasks: 3 (limit: 18886)
Memory: 1.3M
CGroup: /system.slice/iio-sensor-proxy.service
└─1069 /usr/sbin/iio-sensor-proxy
Nov 20 15:11:28 x1-yoga systemd[1]: Starting IIO Sensor Proxy service...
Nov 20 15:11:28 x1-yoga systemd[1]: Started IIO Sensor Proxy service.
-> 传感器似乎已启动并正在运行。
这就是我在网上找到的所有内容,因此,任何有关此问题的帮助或如何排除故障的说明将不胜感激。
提前致谢
卢卡斯
答案1
所以我终于找到了解决方案。如果有人遇到同样的问题,我会在这里记录下来。
Apparently with the update it changed the behavior of the screen rotation:
- no auto rotation when in clamshell mode available
- when in tent or tablet mode the autorotation button in the menu becomes available and can be toggled on/off. Rotation works then.
So my problem was not looking at the menu in tablet mode. I had autorotate off and just assumed it doesn't work anymore.
答案2
I've got the same problem. Seems like linux kernel regression (see https://bugzilla.kernel.org/show_bug.cgi?id=210269) along with mutter regression (see https://gitlab.gnome.org/GNOME/mutter/-/issues/1526).
As for kernel - not sure when it will land. As for mutter - will land in 3.38.2 (https://gitlab.gnome.org/GNOME/mutter/-/commit/9b9051c2172078e623e8a4b0e45e38004c394a92)