Page 1 of 1

Ports going to Sleep

Posted: Mon May 16, 2022 3:38 pm
by KY6O
I am running MMDVM on a fully-patched (V4.1.6) Pi 3 B+, and my MMDVM Hat Duplexis working fine.
The issue I have is that the ports appear to go to sleep overnight. The HDMI screen says "No signal detected" when I power back on the monitor, and my Nextion display continues to function, but the touch-panel doesn't respond. A reboot quickly fixes everything.

I added the "setterm -blank 0 -powerdown 0" to rc.local, but nothing changed. However, when I looked at rc.local to add this command, I see the following:
#Reset the GPIO pins in PI4 only
/usr/local//sbin/pistar-mmdvmshat-reset boot

and this line is NOT commented out, even though I'm using a Pi3.

Could this be my issue?

Re: Ports going to Sleep

Posted: Mon May 16, 2022 11:38 pm
by KN2TOD
Try uncommenting this statement in the /boot/config.txt file:

Code: Select all

   :
# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1 
   :
change to:

Code: Select all

   :
# uncomment if hdmi display is not detected and composite is being output
hdmi_force_hotplug=1 
   : 
Reboot and see if that fixes your problem.

Re: Ports going to Sleep

Posted: Tue May 17, 2022 7:16 pm
by KY6O
Thanks! I made that change and rebooted. I'll post my results tomorrow morning. With any luck, the display will still be active. :D

Re: Ports going to Sleep

Posted: Wed May 18, 2022 3:32 pm
by KN2TOD
You shouldn't have to wait that long. Reboot while shutting down your monitor then when your system comes back online, start up the monitor and see what you get.

You might want to consider removing (or commenting out) the setterm line you added in rc.local. I don't think it's doing you any good in this situation (and it's just another mod you'll forget to add back in if and when you re-image).

Also, the reset on the MMDVM hat has no bearing on this issue and can be left as is.

Re: Ports going to Sleep

Posted: Fri May 20, 2022 3:29 pm
by KY6O
Nothing changed. The HDMI port still went to sleep :(

Meanwhile, I'll remove the rc.local edit.

Back to the salt mines!

Re: Ports going to Sleep

Posted: Sat May 21, 2022 12:15 am
by KN2TOD
If you still have access to SSH in this situation, try this command:

Code: Select all

tvservice --explicit="DMT 35 HDMI"

Re: Ports going to Sleep

Posted: Tue May 24, 2022 10:42 pm
by KY6O
I do, and I shall. Thanks!

Re: Ports going to Sleep

Posted: Mon May 30, 2022 8:58 pm
by m1cfk
have a read here too.
viewtopic.php?t=2245

I cant find my local notes i made.
but weather it was coincidence, or just 2 factors changed at same time, the screen no longer goes away after a time. it is always on.

2. Run rpi-rw; sudo nano /boot/config.txt ; rpi-ro
edited the lines of frame buffer w / h to my preference.

i had also changed the monitor i was using.

Re: Ports going to Sleep

Posted: Wed Jun 01, 2022 4:28 pm
by KY6O
Nothing changed. In fact, entering that command blanked out my display, which I suspect means my resolution probably isn't high enough?