LinuxMCE Forums

General => Users => Topic started by: zz9pa on September 23, 2007, 10:48:58 am

Title: VFD with DVD playback ?
Post by: zz9pa on September 23, 2007, 10:48:58 am
Ok - finally managed to get the vfd/lcd working on my antec fusion case - but it only seems to be used by MythTV - so when I'm playing a DVD - I just get a clock...

Is this right ?

Is there any way to get some info displayed during dvd playback (for example) ?
Title: Re: VFD with DVD playback ?
Post by: bulek on September 23, 2007, 11:06:53 am
AFAIK, currently this is not implemented. What you could do is to register message interceptor and receive events from DCERouter and then send appropriate text messages to your vfd display, then you post more info about your work on Wiki and share the code with others...  :)

You could start reading this :

http://wiki.linuxmce.org/index.php/Message_Interceptors (http://wiki.linuxmce.org/index.php/Message_Interceptors)
http://wiki.linuxmce.org/index.php/Misterhouse (http://wiki.linuxmce.org/index.php/Misterhouse)
http://wiki.linuxmce.org/index.php/Plain_Text_DCE_Messages (http://wiki.linuxmce.org/index.php/Plain_Text_DCE_Messages)

HTH,

regards,

Bulek.
Title: Re: VFD with DVD playback ?
Post by: zz9pa on September 23, 2007, 11:53:36 am
I'm happy to give it a go - is there some *readable* tutorial (with examples - with code/makefile etc) - that I can hack ?

Sending stuff to the LCD is easy (echo "Hello World" > /dev/lcd0 ) - it just knowing what to send - and when to sent it...



Title: Re: VFD with DVD playback ?
Post by: bulek on September 23, 2007, 05:03:13 pm
Hi,

sorry no tutorials except mentioned, no guides, no examples code. Implementing message interceptor is not so hard - maybe you can try to do it in your favourite language. Simple two TCP connections to DCERouter and that's it.

I always go with language that is easy to experiment and implement something unknown, then when you figure out mechanism, then you can code it in some faster compler (C, C++)... Basically you would want to register message interceptor for messages you decide to intercept and then simply send texts to LCD device.

Misterhouse example is doing this (although I don't know if it works) and it's in Perl...

HTH,

regards,

Bulek.
 
Title: Re: VFD with DVD playback ?
Post by: zz9pa on September 24, 2007, 12:46:09 pm
Well - I managed to get something hacked up in C...
Not pretty - but does the job (bearing in mind - I know nothing about LCDd, or LinuxMCE!)

If anyones interested/can check it/can add some info to the wiki pages - send me a private, or email me (mike at aubit.com) and I'll give you what I've got..