slacker666 Wrote:could you describe in detail how you got it to work?
Sure, I mostly followed the guide found here -
http://forum.xbmc.org/showthread.php?tid=47241
Just a few minor changes
Firstly I discovered that the in-built USB hub wasn't working correctly(even in win xp), so I plugged the VF210 directly into the motherboard USB port.
Instructions for Remote -
Install wget
Code:
sudo apt-get install wget
Stop LIRC from starting
Code:
cd /etc/init.d
sudo lirc stop
sudo update-rc.d -f lirc remove
Prepare to install irserver
Code:
cd /home/xbmc/
mkdir irtrans-install
cd irtrans-install/
sudo wget http://www.irtrans.de/download/Server/Linux/irserver.tar.gz
sudo tar --gzip -xvf irserver.tar.gz
Install irserver
Code:
tr -d '^M' < install.sh > install.sh.tmp
mv install.sh.tmp install.sh
chmod +x install.sh
sudo ./install.sh
Create startup script
Code:
sudo nano /etc/init.d/irserver
paste
Code:
#! /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
save file
Make the server auto-start
Code:
sudo chmod +x /etc/init.d/irserver
sudo ln -s /etc/init.d/irserver /etc/rc2.d/S19irserver
You should now be able to see if the server is recieving inputs from your remote
Code:
sudo /usr/local/irtrans/irserver -loglevel 4 -codedump /dev/ttyUSB0
point remote at receiver and press keys. You should see results returned in your terminal screen. If not repeat this process again or maybe simply reboot and try again...
Delete remotes that thow errors in your test, this seems to be the main one, others have said remove all that you don't need.
This worked for me, JUST DON'T REMOVE 'mediacentre.rem'
Code:
sudo rm /usr/local/irtrans/remotes/ccf.rem
Edit Lircmap.xls for new 'mediacentre.rem' remote
Code:
sudo nano /usr/share/xbmc/system/Lircmap.xml
paste
Code:
<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>
save file
Reboot
When it has rebooted into XBMC your remote should work. If like mine it only manages about 5 keypresses at a time. It's a little sluggish, but it works!!!
Now to get the VFD working...