Page 1 of 1

Possible power saving issue

Posted: 28 Nov 2018, 15:33
by PaulOliver
I'm setting up a kiosk using a new Iiyama touchscreen and have found an odd behaviour. When in use it's working perfectly however if the user doesn't touch the screen for several minutes then something appears to go to sleep. The screen continues working but next time the user touches the screen there is a delay of around 5 seconds before the termainl responds, making impatient users think the touchscreen is broken.

This lag only happens after several minutes inactivity, once the system has woken up it's working perfectly again. Is this likely to be a power saving setting somewhere, possibly putting the touchscreen USB connection to sleep?

Has anyone else encountered similar behaviour?

Possible power saving issue

Posted: 28 Nov 2018, 16:30
by fanthom
If you want the screen to be always on then please make sure you do not have this parameter in your kiosk config:
https://porteus-kiosk.org/parameters.html#dpms_idle

Thanks

Possible power saving issue

Posted: 28 Nov 2018, 16:36
by PaulOliver
The screen is already always on, it's just the touch sensor that seems to go to sleep. My kiosk config doesn't have any of the power saving options set.

Is there a USB device sleep option in the Linux build?

Possible power saving issue

Posted: 28 Nov 2018, 17:27
by fanthom
Ahh - sorry, try this to disable autosuspend for all usb devices:

Code: Select all

run_command=echo '-1' >/sys/module/usbcore/parameters/autosuspend
as per:
https://www.kernel.org/doc/html/v4.16/d ... ement.html