Kodi Community Forum

Full Version: power button on MCE clone remote not working in XBMC with lirc
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I've installed XBMC on a minimal install of ubuntu. I have xbmc auto-login via the method of http://forum.xbmc.org/showthread.php?tid=38473. I bought this remote http://wiki.xbmc.org/index.php?title=Rem...s#VRC-1100

I also installed lirc.

The issue I'm having is that the power button on the remote does not execute the shutdown button in xbmc (other buttons are working). I wanted to debug this via "irw" but when I'm in the console (no X), I just get funny characters out of irw. I googled for half the weekend but could not find out why, or how to debug.

Does anyone have any suggestion? I set up LIRC for a Windows remote using apt-get in ubuntu.

Thanks so much!
Sorry for reopening an old topic but this is the exact same problem i am experiencing.
All buttons on my remote works except for the power button (i suspect it of sending keystrokes and the power button seems to be sending alt-f4)
Anyone got any ideas as to how to get this working?
No one has any idea what to do?
Would be great if anyone could be able to help Smile
Hi,

I'm also having the same issue. I have this remote:
http://wiki.xbmc.org/index.php?title=Rem...MCE_remote
and the power button initially seemed to not be working. However, it is working indeed. I found out that I need to two entries in the keymap:
<key id="323748">XBMC.Suspend()</key>
<key id="127138">XBMC.Suspend()</key>
Both these key ids relate to the power button. Then, when I press the power button, nothing seems to happen but in fact the event seems to be "waiting" in a queue and if I press Ctrl-Alt-F1, the system immediately suspends! Then, if I press again the power button, the system wakes up perfectly!
What is even is more strange is the fact that if I map another key on the remote to the XBMC.Suspend() action, everything works fine! It seems that there is something in the operating system that catches the remote power button event and doesn't send that event to XBMC while it is being displayed...

Any idea?
I set mine up with discrete on/off commands so that I can use macros on my IR remote. Upon the upgrade, I thought it wouldn't hibernate either. Turns out that my power button, which used to only wake the thing up, is now toggling between suspend and wake.The button programmed for Suspend no longer functions.
It works quite well but it's not how I want it set up for my application.
Now I have to see if I can remember how I did this in the first place. It's been a while. I do remember it being a PITA.
Well, it turned out that the key codes I wrote in my previous post were wrong. I still don't get any event from the remote power button when running XBMC. However, if I set the suspend action to another remote button, it works ok and then the remote power button correctly wakes up the system.
Found that my problem is that the remote.xml file was replaced during the upgrade. I fixed it and am working well again.

This is how I'm doing it.

http://forum.xbmc.org/showthread.php...light=discrete
ramtastic Wrote:http://forum.xbmc.org/showthread.php...light=discrete

It seems that you pasted the link incorrectly...