2013-01-08, 20:28
I'm using the latest raspbmc RC on the Raspberry Pi, and trying to control XBMC with CEC from the remote of my AV receiver (Yamaha RC V673). XBMC automatically swithing the input of the receiver when I start playing something, but it won't allow me to navigate with the remote of receiver.
It looks like it should work, because with loglevel 2, I have the following lines in xbmc.log when I press the left button of the remote :
So the key is correctly recognized as the left button (keycode A9), but it doesn't do anything in XBMC. After a bit of googling, I tried creating a file ~/.xbmc/userdata/keymaps/remote.xml with the following content :
But it makes no difference, even after rebooting. As I understand it, the "Left" action is the default association for the left button anyway.
I'm completely stuck, and would really appreciate it if someone could explain to me why XBMC is receiving the CEC key press, but not doing anything with it... It might be because the event is coming from "Audio (5)" instead of "TV (0)", so maybe there is a way the tell XBMC to react to a different CEC device, but I haven't found it. Anyone has an idea ?
It looks like it should work, because with loglevel 2, I have the following lines in xbmc.log when I press the left button of the remote :
Code:
16:38:02 T:2960888896 DEBUG: CecLogMessage - >> 51:44:03
16:38:02 T:2960888896 DEBUG: CecLogMessage - >> Audio (5) -> Recorder 1 (1): user control pressed (44)
16:38:02 T:2960888896 DEBUG: CecLogMessage - key pressed: left (3)
16:38:02 T:2960888896 DEBUG: PushCecKeypress - received key a9 duration 0
So the key is correctly recognized as the left button (keycode A9), but it doesn't do anything in XBMC. After a bit of googling, I tried creating a file ~/.xbmc/userdata/keymaps/remote.xml with the following content :
Code:
<keymap>
<global>
<remote>
<left>Left</left>
</remote>
</global>
</keymap>
But it makes no difference, even after rebooting. As I understand it, the "Left" action is the default association for the left button anyway.
I'm completely stuck, and would really appreciate it if someone could explain to me why XBMC is receiving the CEC key press, but not doing anything with it... It might be because the event is coming from "Audio (5)" instead of "TV (0)", so maybe there is a way the tell XBMC to react to a different CEC device, but I haven't found it. Anyone has an idea ?