On Mon, 2026-11-30 at 12:45 -0500, Shan Rizvi wrote: > On Mon, 2026-11-30 at 05:07 -0800, Srinivas Pandruvada wrote: > > I think I want to fix by setting report interval rather than > > ignoring > > that sensor. Try the attached. > > Tested on the HP 8EA2 (Chicony 04F2:B872) against 7.2.15: > > - Initial HID-SENSOR-200011.6.auto sampling frequency: 0.000100 Hz. > - First read of in_proximity0_raw returned 0 in 9560 ms > (runtime_status >   transitioned to active, no hung task, no runtime PM underflow). > - Two concurrent reads of in_proximity0_raw both returned 0 cleanly > in >   10237 ms with no D-state block. > - After runtime autosuspend (4 s idle -> suspended), a subsequent > read >   returned 0 in 9303 ms and in_proximity0_sampling_frequency updated >   from 0.000100 Hz to 0.500000 Hz (2000 ms). > - The working sensors (HID-SENSOR-200011.3.auto 10 Hz prox and >   HID-SENSOR-200041.4.auto 10 Hz ALS) continued reading normally, and >   module unload/reload completed cleanly. > > One small observation: in_proximity0_sampling_frequency still read > 0.000100 Hz immediately after the first read and only switched to > 0.500000 Hz after the post-autosuspend power-on (likely because > hid_sensor_limit_poll_value() runs before power_state/report_state > are > written on the first D0 transition). Either way, the sleep was > bounded > at 4 s from the very first read and the hang is completely gone. > Changed the order, please try. Thanks, Srinivas > Tested-by: Shan Rizvi > > Thanks, > Shan