Board index » Codeka » iMON LCD All times are UTC + 10 hours [ DST ]
Previous topicNext topic
Installation Instructions
Search for:
Jump to:  
Page 1 of 9 [ 83 posts ]
Post 27-Jan-2008 00:58, Installation Instructions, by dean
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 LIRC
The 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 LCDproc
As 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 Words
If 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 :-)


User avatar
dean
Site Admin

Joined: 18-Sep-2007 22:55
Posts: 50
Post 06-Feb-2008 06:02, Re: Installation Instructions, by roundhay
I am trying to follow this guide but after I rund the following command

cvs -d:pserver:anonymous@lirc.cvs.sourceforge.net:/cvsroot/lirc login

I am asked for a CVS password

Can someone let me know what the password is?


roundhay

Joined: 06-Feb-2008 05:59
Posts: 5
Post 06-Feb-2008 10:20, Re: Installation Instructions, by jaydonoghue
its blank.. just hit return


jaydonoghue

Joined: 06-Feb-2008 05:04
Posts: 6
Post 06-Feb-2008 11:29, Re: Installation Instructions, by roundhay
After running
$ 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

I get the following

********@HTPC:~$ cd lirc
********@HTPC:~/lirc$ ./autogen.sh
./autogen.sh: 4: autoreconf: not found
cat: configure: No such file or directory
Creating setup-driver.sh ...
********@HTPC:~/lirc$ ./setup.sh
dialog not found!
roundhay@Linux-HTPC:~/lirc$

I do not arrive at the setup menu, any idea what i am doing wrong?


roundhay

Joined: 06-Feb-2008 05:59
Posts: 5
Post 06-Feb-2008 12:13, Re: Installation Instructions, by jaydonoghue
roundhay wrote:
After running

********@HTPC:~/lirc$ ./autogen.sh
./autogen.sh: 4: autoreconf: not found


You dont have the necessary software installed on your machine. You need autoconf packages, compilers etc to do this.


jaydonoghue

Joined: 06-Feb-2008 05:04
Posts: 6
Post 08-Feb-2008 20:45, Re: Installation Instructions, by onkelfu
Hi and thanks for the instructions,

with help of kris' posting in one of the other threads I was possible to get some steps further. After "Save configuration & run configure" I tried running "make" and I got the following error:

/bin/sh: scripts/genksyms/genksyms: Datei oder Verzeichnis nicht gefunden
make[6]: *** [/root/lirc/drivers/lirc_dev/lirc_dev.o] Fehler 1
make[5]: *** [_module_/root/lirc/drivers/lirc_dev] Fehler 2
make[5]: Leaving directory `/usr/src/linux-2.6.22.5'
make[4]: *** [lirc_dev.o] Fehler 2
make[4]: Leaving directory `/root/lirc/drivers/lirc_dev'
make[3]: *** [all] Fehler 2
make[3]: Leaving directory `/root/lirc/drivers/lirc_dev'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/root/lirc/drivers'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/root/lirc'
make: *** [all] Fehler 2
easyVDR:~/lirc#


Looks like directory "scripts/genksyms/genksyms" is missing.
Does anyone have any suggestions?

regards, onkelfu!


onkelfu

Joined: 27-Nov-2007 09:02
Posts: 3
Post 09-Feb-2008 09:39, Re: Installation Instructions, by skippy
Hi everybody,

Thank you so much Dean for all that you made available for everybody. Really great.
I followed your installation's instructions. I got no error. But neither the remote worked nor the LCD. If for the remote it's quite normal because not yet configured. for the LCD i really have no idea what to do.
I tried to disconnect the power cable from the back of the PC and restarted nothing happened.

How to check if new module is loaded in the kernel ?

Should I disable the lirc_imon from the standard kernel?

I have Ubuntu gutsy gibbon and Imon LCD PAD.
my lcd works perfectly on windows.

Could you please help me ?

Thanks.


skippy

Joined: 04-Feb-2008 07:50
Posts: 3
Post 09-Feb-2008 20:53, Re: Installation Instructions, by stowaway
hi,
After the ./setup.sh step. i get this error:


configure: error: cannot find install-sh or install.sh in "." "./.." "./../.."

any ideas?


stowaway

Joined: 09-Feb-2008 20:39
Posts: 7
Post 13-Feb-2008 09:32, Re: Installation Instructions, by roundhay
I seem to have made a bit of progress....however not much!

********@Linux-HTPC:~$ cd lirc
********@Linux-HTPC:~/lirc$ ./autogen.sh
configure.ac:16: installing `./compile'
configure.ac:9: installing `./missing'
configure.ac:9: installing `./install-sh'
daemons/Makefile.am: installing `./depcomp'
Creating setup-driver.sh ...
********@Linux-HTPC:~/lirc$ ./setup.sh
dialog not found!
********@Linux-HTPC:~/lirc$

Am I still missing packages? Is so can you give me some idea of the packages that i will need to download?

Cheers


roundhay

Joined: 06-Feb-2008 05:59
Posts: 5
Post 13-Feb-2008 10:20, Re: Installation Instructions, by dean
roundhay wrote:
I seem to have made a bit of progress....however not much!
********@Linux-HTPC:~/lirc$ ./setup.sh
dialog not found!
********@Linux-HTPC:~/lirc$


The error message is a bit confusing, but it means you need the dialog package. So,

apt-get install dialog


Should do the trick. In fact, if you're on Ubuntu, then just:

apt-get build-dep lirc


Will install all the dependencies for building LIRC. Very nice feature, that one :-)

stowaway wrote:
configure: error: cannot find install-sh or install.sh in "." "./.." "./../.."


Did you get any error message prior to that? What was the output of autoconf?


User avatar
dean
Site Admin

Joined: 18-Sep-2007 22:55
Posts: 50
Display posts from previous:  Sort by  
Page 1 of 9 [ 83 posts ]
Post ReplyNew TopicPrint view
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
cron

Search
Who is online
In total there is 1 user online:
  • 0 registered
  • 0 hidden
  • 1 guest
Users browsing this forum: No registered users and 1 guest
Statistics