-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
display-on.sh wakes monitor up to wrong tty #40
Comments
OK, seems like there's definitely something fishy with the scripts, since you're not the only one seeing this! Let me know if you manage to fix this somehow, and we'll be happy to test & merge upstream! |
Did you ever get to the bottom of this @xfakt-pj? |
No, I'm afraid we just went with the workaround. |
OK, I'll try to look into this when preparing the next release. |
Great, would be much appreciated. I think I can find some time to test that new release ;) |
@xfakt-pj there's a new RC available for download! |
The I'm not saying I don't believe you, but I'm saying I don't know what to do about this without a way to reproduce, sorry! Feel free to reopen if you have more info on this. |
Sure, no worries. Didn't have the time to test the RC yet. I will get back to this when upgrading the current dashboards. |
Issue seems to persist after updating to Considering the workaround I stated in the OP and the fact that you can not reproduce this I currently have no leads as where to start debugging this. But lets keep this here for future reference. Can we keep the issue open in case somebody else comes across the issue? @jareware |
I have the same issue also, the morning "display-on.sh" is opening on the raspi-config tty. |
Odd. My guess would be that the @xfakt-pj, @jendib, if you want to try something, you can remove the And please report back if you do! 😃 |
I just try this solution and works great for mi, see if it works for you. Install : TV ON Also I can "Force" to keep display on specific HDMI ( INPUT 1 ) Input by running this on a cron. HDMI INPUT 3 *or maybe switch from one to another input every given time also in a cron. CEC have much more benefits Raspbery can also receive instructions from TV remote control (depending on the TV model) or maybe with a local "api server" or websocket can even control TV from web. Any more info or suggestions are welcome. |
Great set of tips! The biggest issue with CEC seems to be that even if something works on one TV, there's 0 guarantees it'll work on another TV, even from the same manufacturer. |
I have the following cronjobs:
At 18:30 display-off.sh
At 03:00 sudo reboot (I want a nightly reboot to make sure everything keeps running smoothly)
At 03:10 display-off.sh (because we just rebooted)
At 08:30 display-on.sh
Every morning I see that the kiosks are booted into the raspi-config tty instead of Xorg (The graphical environment). I have done some debugging and believe this is happening:
If I open a console on the raspi-config tty and run the following:
./display-off.sh; sleep 60; ./display-on.sh
the display turns off and back on after 60 seconds, but on the graphical tty instead of the console tty from which I launched this set of commands.
Then if I go back to that console tty and run:
sleep 10; ./display-off.sh; sleep 60; ./display-on.sh
and quickly switch to the graphical tty before
sleep 10
finishes the following happens:The display turns off and back on after 60 seconds, but this time on the graphical tty instead of the console tty.
This leads me to believe that display-on is not functioning correctly and always switches to the opposite tty that was active when display-on is being executed. So when rebooting at 03:00 AM the graphical tty becomes active. Then at 03:10 the display is turned of, but the graphical tty stays active (without an active monitor of course). Then at 08:30 display-on is being executed but it switches to the console tty, because the graphical tty was active at that time.
I think this might be related to: #30 (comment)
My current workaround is the following:
Turn of display at 18:30
Reboot at 08:30, which also turns on the display and opens the graphical tty by default.
The text was updated successfully, but these errors were encountered: