Opened 21 years ago
Closed 21 years ago
#195 closed enhancement (fixed)
DPMS remains in suspend mode even after hitting a remote button
| Reported by: | Owned by: | Isaac Richards | |
|---|---|---|---|
| Priority: | minor | Milestone: | unknown |
| Component: | mythtv | Version: | 0.18.1 |
| Severity: | medium | Keywords: | dpms |
| Cc: | Ticket locked: | no |
Description
Hi,
I run DPMS on my mythtv system. When DPMS kicks in and there is no signal to my TV and I hit a button on the remote. I get no response. The screen remains blank and the LCD TV reports no signal from the PC. Signal is restored if I hit a key on the keyboard..but no change if I do it from a remote.
With the following modification, I am able to restore the picture with a touch of any remote button. If there is a better way to do it let me know.
=======================================
--- libs/libmyth/screensaver-x11.cpp (revision 6964)
+++ libs/libmyth/screensaver-x11.cpp (working copy)
@@ -88,6 +88,14 @@
void ScreenSaverX11::Reset(void)
{
+ BOOL on;
+ CARD16 power_level;
XResetScreenSaver(qt_xdisplay());
+ if ( ! d->state.dpmsdisabled ){
+ DPMSInfo(qt_xdisplay(), &power_level,&on);
+ if ( power_level != DPMSModeOn ){
+ DPMSForceLevel(qt_xdisplay(),DPMSModeOn);
+ }
+ }
}
Attachments (2)
Change History (5)
by , 21 years ago
| Attachment: | dpms_reset.patch added |
|---|
comment:1 by , 21 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
Patch needs to test if dpms is available. Please reopen this bug when an updated patch is attached.
comment:2 by , 21 years ago
| Resolution: | invalid |
|---|---|
| Status: | closed → reopened |

dpms reset enhancement patch