Possible power saving issue

Post bug reports related to either the kiosk ISO or the kiosk wizard here.
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
PaulOliver
Ronin
Ronin
Posts: 3
Joined: 23 Aug 2018, 10:49
Distribution: 4.7.0

Possible power saving issue

Post#1 by PaulOliver » 28 Nov 2018, 15:33

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?

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Possible power saving issue

Post#2 by fanthom » 28 Nov 2018, 16:30

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
Please add [Solved] to your thread title if the solution was found.

PaulOliver
Ronin
Ronin
Posts: 3
Joined: 23 Aug 2018, 10:49
Distribution: 4.7.0

Possible power saving issue

Post#3 by PaulOliver » 28 Nov 2018, 16:36

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?

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Possible power saving issue

Post#4 by fanthom » 28 Nov 2018, 17:27

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
Please add [Solved] to your thread title if the solution was found.

Locked