Jarny Wrote:Hi
I want to use my cheap Lirc receiver on my XBMC-Hardware (ScenicE620).
The receiver is connected at serial port 1 (/dev/ttyS0) on this hardware (successfully testet with VDR software which was on exactly this hardware before)
Can anyone guide my thru the different configuration steps to make this receiver working with XBMC-live distribution?
I have a working lircd.conf for my remote control (medion md6461).
greets
Jarny
Hi i had the same problem with my selfmade ir reciver.
ssh into your box get mc or whatever you are comfortable and edit some files
You need to be root to save the files. sudo mc in my case
Edit
/etc/lirc/lircd.conf
include "/usr/share/lirc/remotes/mceusb/lircd.conf.mceusb"
<-- change this line to point to your remote controller config file in my case
"/usr/share/lirc/remotes/leadtek/leadtek.lac.conf"
Edit
/etc/lirc/hardware.conf change and add some lines.
# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="Windows Media Center Remotes (new version Philips et al.)"
<-- change this to your remote controller name in my case "Leadtek"
REMOTE_MODULES="lirc_dev lirc_mceusb2"
<---change this to "lirc_dev lirc_serial"
REMOTE_DRIVER=""
<-- and this to "default"
REMOTE_DEVICE="/dev/lirc0"
REMOTE_LIRCD_CONF="mceusb/lircd.conf.mceusb"
<-- change this to point to your remote controller config file
REMOTE_LIRCD_ARGS=""
# Serial
<--- create this lines
COM_PORT=/dev/ttyS0
<-- this line is for the com1 /dev/ttyS1
for com2
DRIVER_OPTS="irq=4 io=0x3f8"
<-- adress and irq for the com port
setserial /dev/ttyS0 uart none
<-- this neds to be done to free the serial port for lirc to listen
<--- ignore config file from here
#Chosen IR Transmitter
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""
Ok save the file reboot and check if lirc is runing with --> ps ax | grep lirc
if you get something like this then you are ready for irw
2271 ? Ss 0:00 /usr/sbin/lircd --driver=default --device=/dev/lirc0
3179 pts/0 R+ 0:00 grep lirc
Ok type irw and enter
now press some buttons on your remote
if you get response then your reciever is working
Contol+C to end irw.
And now it is time for xbmc to understand your remote.
Go to
/usr/share/xbmc/system and edit
Lircmap.xml
After <lircmap> create your own remote controller.
<remote device="Leadtek">
<---Here you get your own remote controller name in my case Leadtek you can look up this name in the remote controller config file Example :
begin remote
name Leadtek
<--- here is the name
bits 8
flags SHIFT_ENC
gap 120000
In the end you get something like this
<lircmap>
<remote device="Leadtek">
<pause>Pause</pause>
<stop>Stop</stop>
<forward>Forward</forward>
<reverse>Rewind</reverse>
<left>Left</left>
<right>Right</right>
<up>Up</up>
<down>Down</down>
<select>OK</select>
<pageplus>ChannelUp</pageplus>
<pageminus>ChannelDown</pageminus>
<back>Back</back>
<menu>PreviousMenu</menu>
<title>Play</title>
<info>More</info>
<skipplus>Skip</skipplus>
<skipminus>Replay</skipminus>
<display>Teletext</display>
<start>Home</start>
<record>Record</record>
<volumeplus>VolUp</volumeplus>
<volumeminus>VolDown</volumeminus>
<mute>Mute</mute>
<power>Power</power>
<myvideo>Videos</myvideo>
<mymusic>Music</mymusic>
<mypictures>Pictures</mypictures>
<mytv>TV</mytv>
<one>One</one>
<two>Two</two>
<three>Three</three>
<four>Four</four>
<five>Five</five>
<six>Six</six>
<seven>Seven</seven>
<eight>Eight</eight>
<nine>Nine</nine>
<zero>Zero</zero>
<mytv>Red</mytv>
<mymusic>Green</mymusic>
<mypictures>Yellow</mypictures>
<myvideo>Blue</myvideo>
</remote>
Save the file and reboot.
I hope this helps your remote and receiver to get running.