Bug 505941 - Unable to toggle manual screen rotate without working device iio-sensor-proxy
Summary: Unable to toggle manual screen rotate without working device iio-sensor-proxy
Status: RESOLVED WORKSFORME
Alias: None
Product: plasma-mobile
Classification: Plasma
Component: Shell (other bugs)
Version First Reported In: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Mobile Bugs
URL:
Keywords: wayland-only
Depends on:
Blocks:
 
Reported: 2025-06-21 22:15 UTC by idoitprone
Modified: 2025-07-22 03:47 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description idoitprone 2025-06-21 22:15:13 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
My tablet with mouse buttons, steam deck, does not expose accelerometer via iio-sensor-proxy. I believe plasma mobile will need to see an valid sensor in order to show any screen rotation toggle.


https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/issues/416
https://www.phoronix.com/news/Steam-Deck-IMU-For-HID-Driver


STEPS TO REPRODUCE
1. sudo systemctl start iio-sensor-proxy.service
2. monitor-sensor


OBSERVED RESULT
doof@localhost:~> monitor-sensor
    Waiting for iio-sensor-proxy to appear
+++ iio-sensor-proxy appeared

** (monitor-sensor:7534): WARNING **: 18:11:08.079: Failed to claim accelerometer: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable

No screen rotation toggle.


EXPECTED RESULT
I can see the screen rotation toggle in the navigation bar

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Operating System: openSUSE Tumbleweed 20250618
KDE Plasma Version: 6.4.0
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1
Kernel Version: 6.15.2-1-default (64-bit)
Graphics Platform: Wayland
Processors: 8 ร— AMD Custom APU 0405
Memory: 16 GiB of RAM (14.5 GiB usable)
Graphics Processor: AMD Custom GPU 0405
Manufacturer: Valve
Product Name: Jupiter
System Version: 1


Information for package iio-sensor-proxy:
-----------------------------------------
Repository     : openSUSE-Tumbleweed-Oss
Name           : iio-sensor-proxy
Version        : 3.7-1.1
Arch           : x86_64
Vendor         : openSUSE
Installed Size : 105.2 KiB
Installed      : Yes
Status         : up-to-date
Source package : iio-sensor-proxy-3.7-1.1.src
Upstream URL   : https://gitlab.freedesktop.org/hadess/iio-sensor-proxy
Summary        : Proxy for IIO and input subsystems
Description    : 
    This proxy reads sensor data from the IIO subsystem and serves to
    the input subsystem


ADDITIONAL INFORMATION
Comment 1 idoitprone 2025-06-21 22:16:13 UTC
 zypper info plasma6-mobile
Loading repository data...
Reading installed packages...


Information for package plasma6-mobile:
---------------------------------------
Repository     : openSUSE-Tumbleweed-Oss
Name           : plasma6-mobile
Version        : 6.4.0-1.1
Arch           : x86_64
Vendor         : openSUSE
Installed Size : 7.4 MiB
Installed      : Yes
Status         : up-to-date
Source package : plasma6-mobile-6.4.0-1.1.src
Upstream URL   : https://www.kde.org/
Summary        : Plasma shell for mobile devices
Description    : 
    Plasma shell for mobile devices.
Comment 2 idoitprone 2025-06-21 22:17:27 UTC
zypper info libQt6Sensors6
Loading repository data...
Reading installed packages...


Information for package libQt6Sensors6:
---------------------------------------
Repository     : openSUSE-Tumbleweed-Oss
Name           : libQt6Sensors6
Version        : 6.9.1-1.1
Arch           : x86_64
Vendor         : openSUSE
Installed Size : 379.1 KiB
Installed      : Yes (automatically)
Status         : up-to-date
Source package : qt6-sensors-6.9.1-1.1.src
Upstream URL   : https://www.qt.io
Summary        : Qt 6 Sensors library
Description    : 
    The Qt 6 Sensors library.
Comment 3 idoitprone 2025-06-21 22:21:10 UTC
Related MR

https://invent.kde.org/plasma/plasma-mobile/-/merge_requests/624
Comment 4 Devin Lin 2025-06-22 00:23:09 UTC
The intended function of https://invent.kde.org/plasma/plasma-mobile/-/merge_requests/624 was to allow users to change the screen orientation if the orientation sensor output differs from the orientation of the screen, and auto-rotate is disabled.

It will not show if the orientation sensor doesn't exist, because it can't determine what the system orientation is. What is the expected usecase?
Comment 5 Bug Janitor Service 2025-07-07 03:47:43 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2025-07-22 03:47:12 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.