iMON LCD patch (v0.2)
Thanks to everyone for their feedback, I’ve got a new version of the iMON LCD patch ready for your consumption. This version fixes the problems that people had getting the screen to display anything but garbage on a 32-bit CPU. I’m putting this one down to my inexperience on Linux here :-) The new patch is available below:
lirc-0.8.2-imonlcd-0.1.patch
lcdproc-0.5.2-imonlcd-0.2.patch
The LIRC patch has not changed, so if you’ve already patched your LIRC, then there’s nothing you need to do there. If you have not, please check my last post for instructions. Check that post, too, if you need instructions installing the LCDproc patch. One thing I would note is that this patch is against the original version of LCDproc 0.5.2 – not my last patch. So if you’ve already patched the base 0.5.2 LCDproc, you’ll have to re-extract the tar and apply this patch. I guess that’s one of the problems of patching… no versioning!
This version also adds support for “big” numbers, so if you’re running MythTV, you can get a cool-looking clock by setting mythlcdserver to use “big numbers” for the clock.
It’s also got initial support for the “output” command in LCDproc for controlling the icons, but I can’t seem to get that to work. I think I might have to plug the screen into my Windows box again and do another packet trace of the SoundGraph Windows drivers, to see if I’ve missed anything there.
Anyway, please drop me a line and let me know how this version goes. Thanks!


thanks for your new patch. I'll test it today.
I've fixed the umlauts rudimentarily - they are now being displayed correctly but with a leading space:
"äöüß" becomes " ä ö ü ß".
I took them from the "mediaportal-code" and was surprised that ä, ü and ö were displayed upside down and with a leading space (the comments at the mediaportal forum implicated that the umlauts worked correctly?!?). So I had to "redesign" them - but could not get rid of the space which seems to prevent the vdr-lcdproc-plugin to recognize the umlauts and just inserts a space instead of the umlaut (or even space+umlaut).
I fully understand why you do not want to struggle with the charsets as I can hardly cope with them too ;-)
btw. I use ISO-8859-15 encoding.
The corresponding lines for the font are:
{ 'ö', { 0x0, 0x1C, 0xA2, 0x22, 0xA2, 0x1C } },
{ 'ä', { 0x0, 0x04, 0xAA, 0x2A, 0xAA, 0x1E } },
{ 'ü', { 0x0, 0x3C, 0x82, 0x02, 0x84, 0x3E } },
{ 'ß', { 0x0, 0x7E, 0x80, 0xA8, 0xA8, 0x50 } },
Could you please insert them into your next upcoming patch (there surely may be one ;-)) if I/we got rid of the spaces?.
As for the bars: Thanks for caring about it! If I understood the lcdproc-API correctly (I digged into it for a bit some months ago) there should be no problem with using the built-in bars.
However, my knowledge seems to be outdated/incorrect since I do not get the lcd's backlight turned on and off as stated in the "mediaportal-code" (and mentioned in ralphy's API):
// shut down the display
SendData(0x5000000000000008);
I tried it with a lcdproc-API-compliant (uncommenting it in the .h as well):
MODULE_EXPORT void imonlcd_backlight(Driver *drvthis, int on)
{
PrivateData *p = drvthis->private_data;
if ( on )
send_data((uint64_t)0x5000000000000040, p->imon_fd);
else
send_data((uint64_t)0x5000000000000008, p->imon_fd);
}
I was not successul with that quick shot when calling it e.g. after the init of the display.
OK, so much for now ...
Best regards!
Chriss