Interrupt disabling (b300667b) disables working HP ProBook x360 435 G7 accelerometer
Subsystems (2)
Hi,
I notice a regression report on Bugzilla [1]. Quoting from it:
Quoted 27 lines
I have a HP ProBook x360 435 G7 (Ryzen 4700U). On GNOME Wayland with the Screen Autorotate extension
(https://extensions.gnome.org/extension/4191/screen-autorotate/), I confirmed by bisection thatb300667b33b2b5a2c8e5f8f22826befb3d7f4f2bcaused autorotation to stop working.More specifically, before this commit (on
aa0b724a2bf041036e56cbb3b4b3afde7c5e7c9e):*
sudo iio-sensor-proxy -v -rstays running (doesn't exit immediately) and prints nothing
*monitor-sensorstarts up by saying "=== Has accelerometer (orientation: normal)" and prints " Accelerometer orientation changed: bottom-up" when I physically rotate the screen.
*udevadm info --export-dbcontains the accelerometer/gyroscope sensor info I've pasted in the attachment.After
b300667b33b2b5a2c8e5f8f22826befb3d7f4f2b:*
sudo iio-sensor-proxy -v -rexits immediately.
*monitor-sensorprints " Waiting for iio-sensor-proxy to appear" on startup and does nothing when I rotate the screen.
* The sensors in the attachment are no longer listed inudevadm info --export-db.
* Thehid_sensor_gyro_3dandhid_sensor_accel_3dkernel modules are no longer loaded automatically, and loading them does nothing.Reverting
b300667b33b2b5a2c8e5f8f22826befb3d7f4f2bon top of 6.6 also makes screen autorotation work again. Whenever screen autorotation works,iio_generic_buffer --device-num 2 -A -c 100reports good accelerometer values.(The following is essentially the contents of bug #212625 comment #46)
Quoted 3 lines
If you revert that commit on top of 6.6 does it start working? Also; can you still get into the deepest s2idle sleep state in 6.6 with it reverted? You can check with
/sys/power/suspend_stats/last_hw_sleep.
Quoted 6 lines
I don't have a
/sys/power/suspend_stats/last_hw_sleepfile (tested on stock 6.6, as well as on 6.6 + revert ofb300667b33b2b5a2c8e5f8f22826befb3d7f4f2b), but if I leave my computer idle for a while it enters standby and I seeNov 03 08:47:29 hp kernel: PM: suspend entry (deep)in journalctl, and the computer enters deep sleep (need to press power button to wake it up). Also, the content of
/sys/power/mem_sleepis "s2idle [deep]". In bug ug #212615 I also attached the report produced byamd_s2idle.pyrun on stock 6.6 in case it is relevant (I can also attach it for 6.6 + revert if desired).
See Bugzilla for the full thread and attached udevadm output.
Anyway, I'm adding this regression to regzbot:
#regzbot introduced: b300667b33b2b5 https://bugzilla.kernel.org/show_bug.cgi?id=218104
Thanks.
[1]: https://bugzilla.kernel.org/show_bug.cgi?id=218104
Signature · 1 line
An old man doll... just what I always wanted! - Clara