there are two tty2oled related things working together.
The control script (Daemon) tty2oled.sh which sends normally the data to display,
and the Screensaver which runs on the Display himself and which is configurred using the settings in the tty2oled ini files when the control script starts.
If SAM is started,
1) the screensaver is disabled (if I remember correctly) sending the command "CMDSWSAVER,0" to the Display,
https://github.com/venice1200/MiSTer_tt ... cmdswsaver
2) and the control script is set to sleep as SAM takes full-control of the Display output.
Code: Select all
# 2022-09-20 Support for MiSTer SAM adding the tty2oled "SleepMode"
# Create the file "/tmp/tty2oled_sleep" by using "touch /tmp/tty2oled_sleep" and the tty2oled Dameon goes to sleep.
# Remove the file and the tty2oled Daemon goes back to work.
Everything must be reverted to get the display and the Screensaver working again when SAM stops.
Means the the Screensaver must be re-enabled by sending "CMDSWSAVER,1" to the display
and "Sleepfile" /tmp/tty2oled_sleep must be removed.
I think that's all.