Remotes on RaspBMC RC3
#1
I've been having a frustrating day upgrading to RaspBMC RC3 and trying to get my remote working again.

I'm using lirc, and the same lircd.conf as before, and essentially some of the standard buttons work, but I can't manage to hook buttons to actions through remote.xml as I could before.

My remote.xml reads:

<keymap>
<global>
<remote>
<Number0>Credits</Number0>
</remote>
</global>
</keymap>

And my log file is as follows when I press button 0:

22:13:36 T:3035889664 DEBUG: LIRC: Update - NEW at 787469:b 0 KEY_0 devinput (KEY_0)
22:13:36 T:3035889664 DEBUG: OnKey: 207 (cf) pressed, action is Number0
22:13:37 T:3035889664 DEBUG: LIRC: Update - NEW at 787808:b 0 KEY_0_UP devinput (KEY_0_UP)

I've tried various other actions than Credits. And I've tried hooking the action through <key id="207">. But nothing works.

Earlier on the log file I have the following, which shows where the problem is occurring:

22:00:34 T:3035889664 INFO: Loading special://xbmc/system/keymaps/remote.xml
22:00:35 T:3035889664 INFO: Loading special://masterprofile/keymaps/remote.xml
22:00:35 T:3035889664 ERROR: Remote Translator: Can't find button number0
22:00:35 T:3035889664 INFO: Loading special://profile/keymaps/remote.xml
22:00:35 T:3035889664 ERROR: Remote Translator: Can't find button number0
22:00:35 T:3035889664 INFO: Loading special://xbmc/system/Lircmap.xml
22:00:35 T:3035889664 INFO: * Adding remote mapping for device 'mceusb'
22:00:35 T:3035889664 INFO: * Adding remote mapping for device 'XboxDVDDongle'
22:00:35 T:3035889664 INFO: * Adding remote mapping for device 'Microsoft_Xbox'
22:00:35 T:3035889664 INFO: * Adding remote mapping for device 'PinnacleSysPCTVRemote'
22:00:35 T:3035889664 INFO: * Adding remote mapping for device 'anysee'
22:00:35 T:3035889664 INFO: * Adding remote mapping for device 'iMON-PAD'
22:00:35 T:3035889664 INFO: * Adding remote mapping for device 'Antec_Veris_RM200'
22:00:35 T:3035889664 INFO: * Adding remote mapping for device 'MCE_via_iMON'
22:00:35 T:3035889664 INFO: * Adding remote mapping for device 'TwinHanRemote'
22:00:35 T:3035889664 INFO: * Adding remote mapping for device 'linux-input-layer'
22:00:35 T:3035889664 INFO: * Linking remote mapping for 'linux-input-layer' to 'cx23885_re
mote'
22:00:35 T:3035889664 INFO: * Linking remote mapping for 'linux-input-layer' to 'devinput'
22:00:35 T:3035889664 INFO: * Adding remote mapping for device 'mediacenter'
22:00:35 T:3035889664 DEBUG: CButtonTranslator::Load - no userdata Lircmap.xml found, skippi
ng

When I've tried other tweaks I've had slightly different error messages "ERROR: Keymapping error: no such action ... defined".

As you can see I've given up trying to use a Lircmap.xml of my own in favour of tweaking the lircd.conf so that the remote produces the Lirc codes that Xbmc is expecting. This at least removes one potential glitch.

Any help welcome.

I would also like to understand how raspbmc routinely calls lirc on startup. It's not via /etc/init.d as most of the postings and guides you find on the internet suggest. (I know this because if I restart via /etc/init.d I've sometimes had error messages about /etc/lirc/hardware.conf and lirc refuses to restart at all).

Many thanks

Jez

Reply
#2
I think you need to write:

...
<0>Credits</0>
...
Reply

Logout Mark Read Team Forum Stats Members Help
Remotes on RaspBMC RC30