How to setup your remote and VFD on Origen cases with Origen VFD-110
#1
Hi All!
First post here and I thought of making it a useful one! Eek

I have been recently building an HTPC running on intrepid and XBMC. After lots of problems with installing Linux and running the way is needed for XBMC, I came across lots of problems with setting up the remote and the VFD (still have so I hope some more experienced guys could help in improving this!). so here it goes!!

For the remote:

LIRC will simply won't work! Let's give it a go to IRTrans.

First of all get rid of LIRC:

sudo apt-get remove lirc

Make directory for installing IRTrans:

mkdir irtrans-install
cd irtrans-install/

Now we need to get the IRTrans server application. Don't download it from their site as it seems current version doesn't like to work with certain IR receivers.
Get it from the site I have found in this forum:

wget http://download171.mediafire.com/xn0djtn....04.tar.gz

We will use version 6.01.04 instead of 6.01.15
Unzip it:

tar --gzip -xvf irserver.tar.gz
tr -d '^M' < install.sh > install.sh.tmp
mv install.sh.tmp install.sh
chmod +x install.sh
sudo ./install.sh

After it is installed edit this:

sudo nano /etc/init.d/irserver

and paste:

#! /bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/local/irtrans/irserver
NAME=irserver
DESC=irserver
DAEMON_OPTS="-daemon /dev/ttyUSB0"

set -e

case "$1" in
start)
echo -n "Starting $DESC: "
start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid --make-pidfile\
--exec $DAEMON -- $DAEMON_OPTS
echo "$NAME."
;;
stop)
echo -n "Stopping $DESC: "
start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid
echo "$NAME."
;;
restart|force-reload)
echo -n "Restarting $DESC: "
start-stop-daemon --stop --quiet --pidfile \
/var/run/$NAME.pid
sleep 1

echo -n "Starting $DESC: "
start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid --make-pidfile\
--exec $DAEMON -- $DAEMON_OPTS
echo "$NAME."
;;
*)
N=/etc/init.d/$NAME
echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
exit 1
;;
esac

exit 0

After that you need to make it autostart:

sudo chmod +x /etc/init.d/irserver
sudo ln -s /etc/init.d/irserver /etc/rc2.d/S19irserver

Time for testing! Run this:

sudo /usr/local/irtrans/irserver -loglevel 4 -codedump /dev/ttyUSB0

if you get something recognizing your IR without any fragmentation error you are ace!

Delete all remotes unnecessary:

sudo rm /usr/local/irtrans/remotes/ccf.rem

And edit your remote into it:

sudo nano /usr/share/xbmc/system/Lircmap.xml

The trick in here is only to paste a new remote. Make it look like the rest of the remotes in the field:

Paste this:

<remote device="mediacenter">
<pause>pause</pause>
<stop>stop</stop>
<forward>fwd</forward>
<reverse>rew</reverse>
<left>left</left>
<right>right</right>
<up>up</up>
<down>down</down>
<select>ok</select>
<pageplus>ch+</pageplus>
<pageminus>ch-</pageminus>
<back>back</back>
<menu>clear</menu>
<title>play</title>
<info>info</info>
<skipplus>next</skipplus>
<skipminus>prev</skipminus>
<display>teletext</display>
<start>ehome</start>
<record>rec</record>
<volumeplus>vol+</volumeplus>
<volumeminus>vol-</volumeminus>
<mute>mute</mute>
<power>power</power>
<myvideo>video</myvideo>
<mymusic>music</mymusic>
<mypictures>pictures</mypictures>
<mytv>tv</mytv>
<one>1</one>
<two>2</two>
<three>3</three>
<four>4</four>
<five>5</five>
<six>6</six>
<seven>7</seven>
<eight>8</eight>
<nine>9</nine>
<zero>0</zero>
<mytv>red</mytv>
<mymusic>green</mymusic>
<mypictures>yellow</mypictures>
<myvideo>blue</myvideo>
</remote>

Reboot your machine and hopefully you have a working remote!

For VFD screen:

LCDproc is forked and will simply won't work! Let's give it a go to a "good" version of LCDproc
First make sure you have checkinstall application installed. If not:

apt-get install checkinstall

Get rid of current version of lcdproc:

sudo apt-get uninstall lcdproc

mkdir lcdproc-install
cd lcdproc-install /
wget http://www.irtrans.de/download/Server/Li...roc.tar.gz
tar -xvzf /lcdproc-install/lcdproc.tar.gz
./configure --enable-drivers=irtrans
make
sudo checkinstall

checkinstall will ask you some questions about the package (lcdproc). Just enter lcdproc in the description field. The default version number is messed up (don't know why), change it back to 0.4.3.

The daemon LCDd is installed in /usr/local/sbin, and the client lcdproc is in /usr/local/bin

Using checkinstall to install, gives you the ability to uninstall it with your distribution's standard package management utilities(Adept or Synaptic).

Modify the LCD configuration file, it is in the same directory you type checkinstall in.

sudo nano LCDd.conf

Find this entry in the [server] section and make the change: Foreground=no

Change other settings (Heartbeat, backlight) according to your preference.

Copy this file to the /etc directory:

sudo cp /lcdproc-install/lcdproc/LCDd.conf /etc

Make it autostart:

This not yet confirmed!!! Might not work! If someone experienced with this can help I would appreciate it! I am stuck on this....No:

Find a startup script LCDd and put it to etc/init.d/LCDd

Then do this:

sudo chmod +x /etc/init.d/LCDd
sudo ln -s /etc/init.d/LCDd /etc/rc2.d/S20LCDd

Simply reboot and it should work.
Reply

Logout Mark Read Team Forum Stats Members Help
How to setup your remote and VFD on Origen cases with Origen VFD-1100