Remote control stopped working with latest build
#1
pre-9.10 r21866 Linux 2.6.27-14

xbmc.log ending
22:54:38 T:3048683328 M:1412481024 DEBUG: Update - NEW at 50697:00000000288195b7 00 Green lirc1.conf (Green)
22:54:41 T:3048683328 M:1412481024 DEBUG: Update - NEW at 53519:0000000002000028 00 KEY_OK lirc0.conf (KEY_OK)
22:54:42 T:3048683328 M:1412481024 DEBUG: Update - NEW at 55007:000000002aa515b7 00 Up lirc1.conf (Up)
22:54:43 T:3048683328 M:1412481024 DEBUG: Update - NEW at 55852:00000000289515b7 00 Down lirc1.conf (Down)
22:54:44 T:3048683328 M:1412489216 DEBUG: Update - NEW at 56587:000000002ba515b7 00 Right lirc1.conf (Right)
22:54:45 T:3048683328 M:1412489216 DEBUG: Update - NEW at 57472:0000000029a515b7 00 Left lirc1.conf (Left)
22:54:46 T:3048683328 M:1412489216 DEBUG: Update - NEW at 58980:000000002ab195b7 00 Go lirc1.conf (Go)
22:54:47 T:3048683328 M:1412489216 DEBUG: Update - NEW at 60360:000000002a8315b7 00 Play lirc1.conf (Play)

xbmc sees the key depressions and keystrokes but does nothing.

Here is my Lircmap.xml
# Antec Veris Basic rmt RM100
<lircmap>
<remote device="/etc/lirc/lirc0.conf">
<title>KEY_MENU</title>
<back>KEY_ESC</back>
<select>KEY_OK</select>
</remote>
<remote device="/etc/lirc/lirc1.conf">
<pause>Pause</pause>
!-- <stop>STOP</stop> -->
<skipnext>Forward</skipnext>
<skipprevious>Rewind</skipprevious>
<left>Left</left>
<right>Right</right>
<up>Up</up>
<down>Down</down>
<stop>Go</stop>
<CH+>ActivateWindow(PlayerControls)</CH+>
<pageminus>CHAN_DOWN</pageminus>
<mute>Mute</mute>
<power>Power</power>
<info>Green</info>
<play>Play</play>
</remote>
</lircmap>

And here is the Keymap.xml
<keymap>
<global>
<remote>
<three>VolumeUp</three>
<six>VolumeDown</six>
<nine>Mute</nine>
<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>
<CH+>ActivateWindow(PlayerControls)</CH+>
<pageminus>PageDown</pageminus>
<back>ParentDir</back>
<menu>PreviousMenu</menu>
<title>ContextMenu</title>
<info>Info</info>
<skipplus>SkipNext</skipplus>
<skipminus>SkipPrevious</skipminus>
<display>FullScreen</display>
<start>PreviousMenu</start>
<record>Screenshot</record>
<volumeplus>VolumeUp</volumeplus>
<volumeminus>VolumeDown</volumeminus>
<mute>Mute</mute>
<power>XBMC.ShutDown()</power>
<myvideo>XBMC.ActivateWindow(MyVideos)</myvideo>
<mymusic>XBMC.ActivateWindow(MyMusic)</mymusic>
<mypictures>XBMC.ActivateWindow(MyPictures)</mypictures>
<mytv>XBMC.ActivateWindow(Home)</mytv>
<hash>ActivateWindow(PlayerControls)</hash>
</remote>

And here is the lircd.conf
# For Antec Veris Basic RM100
begin remote

name lirc0
bits 8
eps 30
aeps 100

one 0 0
zero 0 0
pre_data_bits 24
pre_data 0x20000
gap 211988
toggle_bit_mask 0x14

begin codes
KEY_OK 0x28
KEY_MENU 0x65
KEY_ESC 0x2A
end codes

end remote

begin remote

name lirc1.conf
bits 24
eps 30
aeps 100

one 0 0
zero 0 0
post_data_bits 8
post_data 0xB7
gap 211988
toggle_bit_mask 0x2000

begin codes
Green 0x288195
Power 0x289115
Up 0x2AA515
Down 0x289515
Left 0x29A515
Right 0x2BA515
Vol+ 0x28A395
Vol- 0x28A595
Mute 0x2B9595
Ch+ 0x289395
Ch- 0x288795
Rewind 0x298315
Play 0x2A8315
Forward 0x2B8315
Go 0x2AB195
end codes

end remote



This happened after new install today. AT first the keyboard would not work either, but after reboot it started working.

I made sure that both /usr/share/xbmc/system and /usr/share/xbmc/userdata both had Lircmap.xml and Keymap.xml that I copied from the .xbmc/userdata directory posted above. Verified contents and everything looks A ok but it is not working. Just the fact that xbmc is seeing the key depressions based on the logs means it should work.

Any input would be greatly appreciated. My fat a$$ has go used to not getting out the chair to go to a wired keyboard. My cheapo backup!
Reply
#2
FWIW, same here, same build.... Help appreciated.
Reply
#3
I can confirm this. with previous build, the function keys on my dinovo mini (play/pause/stop etc) magically started to work, but now they're dead again. normal keys still work btw.
OpenElec Standalone --> Asus Chromebox 'Panther' --> Onkyo TX-NR709 --> Sony 55" X85C Android TV (also with Kodi!)
Asus Chromebox EZ Script
Kodi on Sony Bravia Android TVs
Reply
#4
OK, after reading the wiki it seems that starting with a 21XXX release that Lircmap needs to be in either of the following directories.

/etc/share/xbmc/system/keymaps

or

.xbmc/userdata/keymaps

No wonder my remote stopped working, but it still doesn't work..

With the new releases you should put Keymap.xml and Lircmap.xml within the same directories mentioned above.

Now that I have said that, my remote still does not work. IRW sees it, XBMC sees it and here is a snippit of the xbmc.log. All the other keymaps loaded successfully.

19:32:39 T:3047044928 M:1478860800 INFO: Loading special://profile/keymaps/Keymap.xml
19:32:39 T:3047044928 M:1478860800 INFO: Loading special://profile/keymaps/Lircmap.xml
19:32:39 T:3047044928 M:1478860800 ERROR: special://profile/keymaps/Lircmap.xml Doesn't contain <keymap>

This darn error is killing me. Lircmap.xml doesn't contain keymap. I did not see this error in my prior post, but it was because I had Lircmap.xml in the wrong directory, per the new release. This Soundgraph RM100/RM200 use to work in the earlier XBMC releases. I have the Keymap in the right directory and as seen above in the log and it loads it along with 5 -6 other keymaps. I have re-written it a dozen times with no joy. Can anyone point me in the right direction. My previous post has the actual maps, I just need to know what that Lircmap.xml error means. Doesn't contain <keymap>!
Reply
#5
Only the Keymap.xml location changed. Lircmap.xml still belongs in your userdata dir.
Reply
#6
althekiller Wrote:Only the Keymap.xml location changed. Lircmap.xml still belongs in your userdata dir.

You are right, I stand corrected, Wiki states to put Lircmap in your Home userdata directory. It also is a good idea to put your Keymap there also, it is nice to keep user written xml's in a safe place. And yes, XBMC does see both in your home userdata folder.

Ok, now my probelm. put Lircmap.xml in the ~/.xbmc/userdata and I still get the error ERROR: special://profile/keymaps/Lircmap.xml Doesn't contain <keymap>. I have changed the <remote device="/etc/lirc/lirc0.conf"> in Lircmap figuring that was what that error meant. (Tried lirc0, lirc0.conf, and then the hard coded path, etc.) It still doesn't work, something else had to change.

EDIT: Success, the prior XBMC releases I was using I had the lirc device files(Lirc0, lirc1, mceusb, etc.) in a /etc/lirc folder. It now seems that XBMC wants those files in the /etc folder. Your remote will not work if you have the files in the /etc/lirc folder anymore even if you have it hard coded to do so (ie. <remote device="/etc/lirc/lirc0.conf">.
Reply

Logout Mark Read Team Forum Stats Members Help
Remote control stopped working with latest build0