These are the current installation instructions required to get the iMON LCD working under Linux. Unfortunately, it's not just a simple case of apt-get install (or whatever your equivalent is) but that won't last forever... anyway, you need two pieces of software in order to use the LCD. The first is
LIRC (which will also allow you to use the IR receiver that is built into the screen) and the second is
LCDproc. These steps will show you how to install both pieces of software.
Before you begin, make sure you don't have your distribution's version of the software installed. On Ubuntu, that means issuing the following comands:
sudo apt-get remove lirc lcdproc
Install LIRCThe current CVS version of LIRC is required for support of the iMON LCD. To download and build it, you need to have the CVS client installed ("sudo apt-get install cvs" on Unbuntu), and then you can issue the following commands:
$ cvs -d:pserver:anonymous@lirc.cvs.sourceforge.net:/cvsroot/lirc login
$ cvs -z8 -d:pserver:anonymous@lirc.cvs.sourceforge.net:/cvsroot/lirc co lirc
$ cd lirc
$ ./autogen.sh
$ ./setup.sh
If you have any errors at this point, make sure you've installed all the prerequisite build tools ("sudo apt-get build-dep lirc" on Ubuntu should suffice). At this you'll be at the "setup" menu for LIRC. You'll eed to choose "Driver Configuration" then "USB Devices" then "Soundgraph iMON IR/LCD". Choose OK, then "Save configuration & run configure" to run the configure script. Once that finishes, run the following commands to install the modules:
$ make
$ sudo make install
$ sudo modprobe lirc_imon
At this point, you've got LIRC installed, and you might like to take some time to set up your remote (if you've got one). That step is outside the scope of these instructions, so I'll just skip that and move on to install LCDproc now.
Installing LCDprocAs of this writing, you need to patch the currently-released version of LCDproc to add support for the iMON LCD. I'm working on getting the patch feature-complete and cleaned up, ready to be included in the main LCDproc source tree, but the nature of these projects means I don't know how long that'll take (meaning, I don't know when I'll get enough free-time to do it

) Anyway, the steps are not that much more difficult than those for LIRC, so bear with me... From a shell prompt, execute the following:
$ wget http://internap.dl.sourceforge.net/sourceforge/lcdproc/lcdproc-0.5.2.tar.gz
$ tar -zxvf lcdproc-0.5.2.tar.gz
$ wget http://codeka.com/blogs/imon/lcdproc-0.5.2-imonlcd-0.3.patch
$ cd lcdproc-0.5.2
$ patch -p1 < ../lcdproc-0.5.2-imonlcd-0.3.patch
At this point, you might like to edit the server/main.h file, and change RENDER_FREQ from 8 to 1. This will reduce your machine's load, and it also seems to help in terms of the reliability of the device. Once you've done that, run the following:
$ aclocal && autoconf && automake
$ ./configure --enable-drivers=imonlcd
$ make
$ sudo make install
You'll need to edit your /usr/local/etc/LCDd.conf file now. Under [server], change "Driver" to "imonlcd" and "DriverPath" to "/usr/local/lib/lcdproc" (or whatever is appropriate for you). Next, add a section called [imonlcd] with the following contents:
[imonlcd]
Device=/dev/lcd0
Contrast=200
You might need to play with the value you specify for Contrast, because on some machines (e.g. Antec Fusion Black) the 200 I've used here looks good. However, on others (e.g. some of the Silverstone ones) you'll want to set it to something like 600.
Final WordsIf you have any problems with the above steps, please leave a reply, and I'll update this post with the latest information. Also, I'll be updating this post once the patches are included in the LCDproc CVS, so this will always be the place to come to for you installation instructions
