Kodi Community Forum

Full Version: Installing LCDproc in Ubuntu 14.04 for use in XBMC with a “lis” VFD panel
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Updated April 23, 2014. Never got it to work using Synaptic install.

First of all I would like to give credit for the info for the User’s Guide

@ http://lcdproc.sourceforge.net/docs/current-user.html

I found the guide a little confusing and took many tries to get is right.

Image

Image

LCDproc is a client/server suite including drivers for all kinds of nifty LCD displays.

The following drivers are supported:
# bayrad, CFontz, CFontz633, CFontzPacket, curses, CwLnx, ea65,
# EyeboxOne, g15, glcdlib, glk, hd44780, icp_a106, imon, imonlcd, IOWarrior,
# irman, joy, lb216, lcdm001, lcterm, lirc, lis, MD8800, ms6931, mtc_s16209x,
# MtxOrb, mx5000, NoritakeVFD, picolcd, pyramid, sed1330, sed1520, serialPOS,
# serialVFD, shuttleVFD, sli, stv5730, svga, t6963, text, tyan, ula200,
# xosd

Install dependencies:

Quote:xbmc@xbmc:~$ sudo apt-get install libftdi1 libftdipp-dev libftdi-dev libftdipp1
xbmc@xbmc:~$ sudo apt-get build-dep lcdproc
You will have to download the Source code and compile:

Quote:xbmc@xbmc:~$ wget http://sourceforge.net/projects/lcdproc/...5.6.tar.gz
xbmc@xbmc:~$ tar xvfz lcdproc-0.5.6.tar.gz
xbmc@xbmc:~$ cd lcdproc-0.5.6
xbmc@xbmc:~/lcdproc-0.5.6$ ./configure --enable-drivers=all
xbmc@xbmc:~$ make
xbmc@xbmc:~/lcdproc-0.5.6$ cd shared
xbmc@xbmc:~/lcdproc-0.5.6/shared$ make
xbmc@xbmc:~/lcdproc-0.5.6/shared$ cd ../server
xbmc@xbmc:~/lcdproc-0.5.6/server$ make
xbmc@xbmc:~/lcdproc-0.5.6/server$ sudo make install
xbmc@xbmc:~/lcdproc-0.5.6/server$ cd ../clients
xbmc@xbmc:~/lcdproc-0.5.6/clients$ make
xbmc@xbmc:~/lcdproc-0.5.6/clients$ sudo make install
xbmc@xbmc:~/lcdproc-0.5.6/clients$ cd /home/xbmc
Move a few more files into the proper places:

Quote:xbmc@xbmc:~$ sudo cp lcdproc-0.5.6/LCDd.conf /usr/local/etc/LCDd.conf
xbmc@xbmc:~$ sudo cp lcdproc-0.5.6/clients/lcdproc/lcdproc.conf /usr/local/etc/lcdproc.conf
Then edit the LCDd.conf file:

Quote:xbmc@xbmc:~$ sudo nano /usr/local/etc/LCDd.conf
In the LCDd.conf change driver location from generic to:

Quote:# Where can we find the driver modules ?
# IMPORTANT: Make sure to change this setting to reflect your
# specific setup! Otherwise LCDd won't be able to find
# the driver modules and will thus not be able to
# function properly.
# NOTE: Always place a slash as last character !
DriverPath=/usr/local/lib/lcdproc/
In the LCDd.conf change the following from curses to lis. If you have a different type of LCD you probably could just change to your LCD type listed below.

Quote:# The following drivers are supported:
# bayrad, CFontz, CFontz633, CFontzPacket, curses, CwLnx, ea65,
# EyeboxOne, g15, glcdlib, glk, hd44780, icp_a106, imon, imonlcd, IOWarrior,
# irman, joy, lb216, lcdm001, lcterm, lirc, lis, MD8800, ms6931, mtc_s16209x,
# MtxOrb, mx5000, NoritakeVFD, picolcd, pyramid, sed1330, sed1520, serialPOS,
# serialVFD, shuttleVFD, sli, stv5730, svga, t6963, text, tyan, ula200,
# xosd
Driver=lis
Now we are going to make LCDd and lcdproc start at boot:

Quote:xbmc@xbmc:~$ cd lcdproc-0.5.6
xbmc@xbmc:~/lcdproc-0.5.6$ sudo cp scripts/init-LCDd.debian /etc/init.d/LCDd
xbmc@xbmc:~/lcdproc-0.5.6$ sudo cp scripts/init-lcdproc.debian /etc/init.d/lcdproc
xbmc@xbmc:~/lcdproc-0.5.6$ sudo chmod 755 /etc/init.d/LCDd
xbmc@xbmc:~/lcdproc-0.5.6$ sudo chmod 755 /etc/init.d/lcdproc
xbmc@xbmc:~/lcdproc-0.5.6$ sudo update-rc.d LCDd defaults
xbmc@xbmc:~/lcdproc-0.5.6$ sudo update-rc.d lcdproc defaults
Now reboot:



Nerd
Is there a reason you're not just using lucid's lcdproc package?
vdrfan Wrote:Is there a reason you're not just using lucid's lcdproc package?

I couldn't get it the lucid package to work because it doesn't include the lis.so driver.

http://packages.ubuntu.com/lucid/i386/lcdproc/filelist

I might have done it the hard way, but it works for me.

Currently using XBMCfreaks 10.08 svn livecd.

Thanks,

Paul
this looks like a great instruction manual and kudos on getting it to work, my nmedia case display (the same exact one you depict here) has never worked (29.99 plus shipping to look at the words "MCE IndicatorTM for Media Center" wasnt exactly what I had in mind when i bought it)

I am using XBMC darma beta 2 livecd installed i used putty from a windows pc to make the changes, i cannot get the same results you did infact because the livecd is so striped down i had to install the wget package. its telling me it cant find lis.so at the copy to the lcd folder, i can confirm it is not there.. i had followed your instructions to a T 3 times same results.. any ideas?
I followed your steps, but for some reason, the display is only on the left half of the LCD (2x10?). I'm running Dharma beta 4.
sireone Wrote:I followed your steps, but for some reason, the display is only on the left half of the LCD (2x10?). I'm running Dharma beta 4.

I just installed lcdproc on a new installed system and it worked fine. Running RC1. There is the default background info running that is part of LCDproc. I just have to figure out how to make xbmc priority on the LCD.
philw132 Wrote:this looks like a great instruction manual and kudos on getting it to work, my nmedia case display (the same exact one you depict here) has never worked (29.99 plus shipping to look at the words "MCE IndicatorTM for Media Center" wasnt exactly what I had in mind when i bought it)

I am using XBMC darma beta 2 livecd installed i used putty from a windows pc to make the changes, i cannot get the same results you did infact because the livecd is so striped down i had to install the wget package. its telling me it cant find lis.so at the copy to the lcd folder, i can confirm it is not there.. i had followed your instructions to a T 3 times same results.. any ideas?

I am in the same situation. I tried this a few times but no luck. And in the end lis.so does not exist.
I had to compile the lis.so driver on a Fedora system, then copy it over. It now displays fully 20x2. I was getting the following which I suspect everyone else is getting. Even though the ftdi library was already installed.

Code:
configure: WARNING: The lis driver needs the ftdi library
I get this error when I start LCDd:

Quote:Starting LCDproc display server daemon: lis: cannot initialise delay timing
Driver [lis] init failed, return code -1
Could not load driver lis
There is no output driver
Critical error while initializing, abort.

I have VLSys M-PLAY 202 Plus
LINK: http://www.xoxide.com/vlsystems-mplay202...uevfd.html
and Ubuntu 11.4.

Can sameone help me out?
Quote:=Paulpoco;589164I found the guide a little confusing and took many tries to get is right.

Great post !! Thanks for the guide !!
I've got a few remarks though ..

I've got a VLSys M-PLAY 202 ("plus" would be nicer though ;-) )

You also need the pkg-config package for this. Otherwise you'll get an FTDI error configuring as sireone described above.
apt-get install pkg-config

As it couldnt find the LCDPRoc through "apt-get" I needed to change the /etc/apt/sources.list to:
deb http://us.archive.ubuntu.com/ubuntu/ lucid main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid main restricted
deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
deb http://us.archive.ubuntu.com/ubuntu/ lucid universe
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid universe
deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe
deb http://us.archive.ubuntu.com/ubuntu/ lucid multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid multiverse
deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
deb http://security.ubuntu.com/ubuntu lucid-security main restricted
deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted
deb http://security.ubuntu.com/ubuntu lucid-security universe
deb-src http://security.ubuntu.com/ubuntu lucid-security universe
deb http://security.ubuntu.com/ubuntu lucid-security multiverse
deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse
Hello all,

I have followed Paulpoco's instructions through a couple of times, start to finish, and I never end up with the lis.so driver in lcdproc-0.5.3/server/drivers/lis.so.

If I do a:

sudo find / -name 'liso.so'

I get no results.

Can anyone help me out? Would it be possible for someone to send me the lis.so file and I'll copy it to the correct location?

Thank you.
I ended up installing lcdproc (via rpm) on a fedora system and copying the lis.so driver. Worked for me.
when i install "pkg-config" the lis.so compiles on my Live distro.

tip! When you want to use the IR-reciever as well, the hd44780 driver gives better
results. The lis.so driver makes the ftdi driver fail connection to the /dev/ttyUSB0.
Using the hd44780 driver makes it possible to use LCDd and LIRC at the same time Smile
im having an issue where my mplay 202 plus is not connecting to ttyusb

when i plug in the 202 plus, i briefly see
ID 10c4:818c Cygnal Integrated Products, Inc
but it gets no address, so i cant proceed with the instructions.

the device is working perfectly under win 7 on my alternate hard drive, so i know its not the 202 or the machine.

any help would be appreciated!

thanks
ashrond Wrote:im having an issue where my mplay 202 plus is not connecting to ttyusb

when i plug in the 202 plus, i briefly see
ID 10c4:818c Cygnal Integrated Products, Inc
but it gets no address, so i cant proceed with the instructions.

the device is working perfectly under win 7 on my alternate hard drive, so i know its not the 202 or the machine.

any help would be appreciated!

thanks

Did you install pkg-config ?
Pages: 1 2