Hi.
Im new here and was researching topics about screensaver timeout on Volumio.
I have a Waveshare 7.9 inch touchscreen connected to my Raspberry Pi 4. Volumio Version is 3.785. I have Peppy-meter-Basic plugin installed.
When I go to Touchscreen plugin settings, and set Screensaver Timeout to 120 s - it does nothing.
Not sure what should I expect but comparing it to a computer screensaver timeout, I would expect my touch screen to go “off” (black, off, down) but it does nothing. Volumio stays on player screen forever.
Any plugin (peppy) or touchscreen config needs to be tewaked? Any config file needs to be tweaked?
That did the trick with screensaver timeout option. However screen is rotated (vertically), touch functionality is rooted the other way (horizontal) and volumio is not filling up the whole display.
Rotation done inside Volumio and Touchscreen config file also tweaked - removed touch rotation from there.
Here is my userconfig file:
# Add your custom config.txt options to this file, which will be preserved during updates
# hdmi_group=2
# hdmi_mode=87
hdmi_timings=400 0 100 10 140 1280 10 20 20 2 0 0 0 60 0 43000000 3
# display_rotate=3
# From Volumio Community
dtoverlay=vc4-kms-v3d
#### Touch Display rotation setting below: do not alter ####
display_lcd_rotate=3
display_hdmi_rotate=3
Touchscreen config file (# commented out the rotation, this was from previous initial setup, from Wiki for this screen):
# Match on all types of devices but joysticks
#
# If you want to configure your devices, do not copy this file.
# Instead, use a config snippet that contains something like this:
#
# Section "InputClass"
# Identifier "something or other"
# MatchDriver "libinput"
#
# MatchIsTouchpad "on"
# ... other Match directives ...
# Option "someoption" "value"
# EndSection
#
# This applies the option any libinput device also matched by the other
# directives. See the xorg.conf(5) man page for more info on
# matching devices.
Section "InputClass"
Identifier "libinput pointer catchall"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
Section "InputClass"
Identifier "libinput keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
Section "InputClass"
Identifier "libinput touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
Section "InputClass"
Identifier "libinput touchscreen catchall"
MatchIsTouchscreen "on"
# Option "CalibrationMatrix" "0 -1 1 1 0 0 0 0 1"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
Section "InputClass"
Identifier "libinput tablet catchall"
MatchIsTablet "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
@gvolt it was 40-libinput.conf file - also Waveshare suggested modifying this file on their Wiki if touch functions don’t align with the screen content (7.9 HDMI Wiki) - look for Touch orientation section.
/etc/X11/xorg.conf.d/40-libinput.conf
I feel all issues has been resolved with your command and my modifications done through userconfig.txt file
Yes I did see that option
My point is I reverted all the changes in 40-lib file by #-out the line I added during the initial configuration. Basically this file can stay unmodified.
I applied your suggestion plus hdmi_timings from Waveshare Wiki.
Then I rotated the screen inside Volumio and voila - all works as it should.
Screen times out after whatever time I set in Volumio, touch functions work perfectly, screen is in correct orientation.