Please help: XBMC and Lirc - does not work
#1
Hi All,

well, so far so good, XBMC is working, with the confluence vertical skin.
Only thing what is left to get the remote working.

I have a working lircd, which proven by a working vdr.
I start xbmc with --lircdev=/var/run/lirc/lircd
Syslog says from lircd: Accepting client

The lircd.conf looks as follows for my Harmony 650 remote,
just an extract since there are a lot of keys:
Quote:name xbmc-menu
818 957 1707 1864 1706 1854
821 955 1707 1845 1733 930
837 1827 873 932 873 903
873

name xbmc-info
845 957 845 931 872 895
1794 1767 898 878 1813 851
927 1736 1845 848 928 1736
1816

name xbmc-guide
927 848 1840 1712 1816 1736
928 848 1840 1741 1813 850
944 832 926 1738 1814

name xbmc-up
896 879 897 869 909 878
1776 1776 900 897 1763 899
850 935 819 1844 819 957
1708 1858 795

name xbmc-down
820 965 1697 1874 1707 1844
820 956 1704 961 818 1849
1728 932 844 932 846 1845
872

The Lircmap.xml copied to .xbmc/userdata looks as follows:
Quote:<lircmap>
<remote device="harmony">
<play>xbmc-play</play>
<pause>xbmc-pause</pause>
<forward>xbmc-vorspul</forward>
<reverse>xbmc-rueckspul</reverse>
<left>xbmc-left</left>
<right>xbmc-right</right>
<up>xbmc-up</up>
<down>xbmc-down</down>
<select>xbmc-ok</select>
<pageplus>xbmc-ch+</pageplus>
<pageminus>xbmc-ch-</pageminus>
<back>xbmc-back</back>
<title>xbmc-exit</title>
<menu>xbmc-menu</menu>
<info>xbmc-info</info>
<skipplus>xbmc-vor</skipplus>
<skipminus>xbmc-zurueck</skipminus>
<red>xbmc-red</red>
<green>xbmc-green</green>
<yellow>xbmc-gelb</yellow>
<blue>xbmc-blau</blue>
</remote>
</lircmap>

The Keymap.xml copied to .xbmc/userdata/ looks as follows:
Quote:<keymap>
<global>
<remote>
<play>Play</play>
<pause>Pause</pause>
<stop>Stop</stop>
<forward>FastForward</forward>
<reverse>Rewind</reverse>
<left>Left</left>
<right>Right</right>
<up>Up</up>
<down>Down</down>
<select>Select</select>
<pageplus>PageUp</pageplus>
<pageminus>PageDown</pageminus>
<back>ParentDir</back>
<title>PreviousMenu</title>
<menu>ContextMenu</menu>
<info>Info</info>
<skipplus>SkipNext</skipplus>
<skipminus>SkipPrevious</skipminus>
<red>XBMC.ActivateWindow(MyVideos)</red>
<green>XBMC.ActivateWindow(MyMusic)</green>
<yellow>XBMC.ActivateWindow(MyPictures)</yellow>
<blue>XBMC.ActivateWindow(Home)</blue>
</remote>
</global>
</keymap>

When I start XBMC, I don`t see any error message in the log.
(Which I have seen before, since one of the keys was named wrong)

Still, when I have started XBMC none of the remote keys work, XBMC is
just sitting there and doing nothing.
When I use the keyboard everything is working fine, just the remote
is not working.

Any tips where I can search to get this fixed?

Best regards,

Guenter
Reply
#2
Hi All,

still hoping that anybody has some tips,
what to look at.

Thanks,

Guenter
Reply
#3
??
/etc/lirc/hardware.conf
Reply
#4
Hello FishOil,

well I didn post the hardware.conf, since lirc is running and
working well with VDR.
But here it is:
Quote:# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="Home-brew (16x50 UART compatible serial port)"
REMOTE_MODULES="lirc_dev lirc_serial"
REMOTE_DRIVER=""
REMOTE_DEVICE="/dev/lirc0"
REMOTE_SOCKET="/var/run/lirc/lircd"
REMOTE_LIRCD_CONF=""
REMOTE_LIRCD_ARGS=""

#Chosen IR Transmitter
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_SOCKET=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""

#Enable lircd
START_LIRCD="true"

#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD="false"

#Try to load appropriate kernel modules
LOAD_MODULES="true"

# Default configuration files for your hardware if any
LIRCMD_CONF=""

#Forcing noninteractive reconfiguration
#If lirc is to be reconfigured by an external application
#that doesn't have a debconf frontend available, the noninteractive
#frontend can be invoked and set to parse REMOTE and TRANSMITTER
#It will then populate all other variables without any user input
#If you would like to configure lirc via standard methods, be sure
#to leave this set to "false"
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""

Thanks for your help.

Guenter
Reply
#5
I can't really help you with Lirc since I've never fooled with it at all to get my Harmony 650 up and running I purchased the Flirc.tv device and my 650 works perfect so just in case you can't find a solution to your problem I wanted you to know an alternative is available if you don't mind spending a little money($20.00 I think). You'll never need to touch lirc or any other config file as the configuration is done via GUI on any windows PC by simply recording button presses, the configuration is saved on the Flirc device and can then be plugged into any PC and will work with the remote you paired it with.
Reply
#6
Hi All,

in the german thread at the vdrportal.de, you can access the various configuration files:
http://www.vdr-portal.de/index.php?page=...ost1041368

@LH88: Thank you, but I do not use Windows on my private Computers.
And alle these solutions are typically not really thought through if you choose
a more complicated or more sophisticated setup.
(E.G. for my setup, I am using one remote and one receiver for
VDR and XBMC, with different button-namespaces per application)

So VDR-... buttons are mapped to VDR,
xbmc-... buttons are mapped to xbmc.
No scripts, no switching, etc.

Best regards,

Guenter
Reply
#7
Beachboy Wrote:@LH88: Thank you, but I do not use Windows on my private Computers.
And alle these solutions are typically not really thought through if you choose
a more complicated or more sophisticated setup.
(E.G. for my setup, I am using one remote and one receiver for
VDR and XBMC, with different button-namespaces per application)

So VDR-... buttons are mapped to VDR,
xbmc-... buttons are mapped to xbmc.
No scripts, no switching, etc.
Flirc works fine for Linux as well. I've got a Flirc setup with my Harmony 680 and using a separate Denon receiver and several activities. I can say that Flirc is great for getting rid of all the LIRC-related headaches....it's why the developer created it.
Reply
#8
Well, just for your information:
I found it.

In the lircd.conf there was one blank too much.
Instead of "harmony" there was " harmony",
which was enough that the mapping went wrong.

Now it works,

Guenter
Reply
#9
Beachboy Wrote:Well, just for your information:
I found it.

In the lircd.conf there was one blank too much.
Instead of "harmony" there was " harmony",
which was enough that the mapping went wrong.

Now it works,

Guenter

Excellent work, glad you got it resolved and isn't it amazing what one little space can do?
Reply

Logout Mark Read Team Forum Stats Members Help
Please help: XBMC and Lirc - does not work0