Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: DEBUG_OSD in 1.3.x



Hi Jeremy,

On Friday 30 April 2004 18:24, Jeremy Hall wrote:
> Hi Oliver,
> 
> In 1.3.x I startedvdr like this:
> 
> ./vdr -Pstreamdev-server "-Premote -T /dev/pts/2"
> 
> when it started, the last thing it said was
> 
> starting remote 0.3.1
> 
> svdrp is no longer listening, and when I type -p tcp:3838 instead of -T 
> the remote listens but it won't let me use any keyboard keys either on the 
> vdr console or the telnet window.  What do I need to do to get a remote 
> console?

When you start a remote for the first time, vdr tries to learn the keys
of the remote. Unfortunately, the key learning messages are only
displayed on a *real* OSD, and are not sent through the cStatus
interface. :-(

As a quick hack you could apply the following patch:

--- interface.c.org	Fri Oct 24 16:38:08 2003
+++ interface.c	Sat May  1 00:58:10 2004
@@ -234,6 +234,7 @@ void cInterface::WriteText(int x, int y,
             break;
          x += cols[col++];
          }
+     cStatus::MsgOsdTextItem(s); // Hack: Remove after key learning!
      }
 }
 

This should pass all key learning messages to the -T/-p device.

Note that you have to undo the patch after key learning.
Otherwise the OSD will be garbled on the -T/-p device. Maybe the
upcoming new OSD implementation will provide a better solution.

Oliver


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index