Kodi Community Forum

Full Version: CEC-HDMI with LG Remote
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hey.
Raspberry Pi connected via HDMI to LG TV.
I'm trying to control it with the LG Remote (with CEC-HDMI):
Arrows are working! (down,up,right,left)
Pause\play\stop - working as well.

and thats it.
it is impossible to control without "BACK" button.
I pressed all the buttons on the TV Remote and none of them seems to work as BACK..

So, I googled the problem, and see that custom Remote.xml combined with LIRCMAP.xml files will solve the problem.
But:
in Lircmap you need to specify the REMOTE NAME, and keys IDS, whice the common way to know them is SSH To the openelec, and write: IRW
then press buttons on the remote, and it will show the output information.
Unfortanatlly, the IRW command does not recocnize CEC-Remotes. and the output stays blank.

Any Ideas how to know my Remote ID\Name and keys IDs for putting them in LIRCMAP.XML ?
Or - Any other idea how to make the BACK button work?
Try This
When I use the tail command "tail -f ~/.xbmc/temp/xbmc.log |grep OnKey:"
And Pressed ALL the remotes key, I got only the keys that I mention earlier, like up\down\select.. no "Back\return\exit\context menu" or something else..
Ok So I Found 2 more button that working.
In the remote they look like right\left arrows (FF\RR) >> and <<
so I Found that the << is work as BACK! Aswome! Solved my Problem!
Now I'm searching for a way to make the ">>" button to open the ContaxMenu, its seems that now is function as "SkipNext" because when I Press It XBMC Says "No playlist Items" or something similar.

So I Debug Log and Press The >> key again and again, and this is the lines:
Code:
23:11:40 T:2966107232   DEBUG: CecLogMessage - key pressed: forward (4b)
23:11:40 T:2966107232   DEBUG: PushCecKeypress - received key df duration 0
23:11:40 T:3047206912   DEBUG: OnKey: sleep (df) pressed, action is SkipNext
23:11:40 T:2966107232   DEBUG: CecLogMessage - >> 01:8b:4b
23:11:40 T:2966107232   DEBUG: CecLogMessage - >> TV (0) -> Recorder 1 (1): vendor remote button up (8B)
23:11:40 T:2966107232   DEBUG: CecLogMessage - key released: forward (4b)
23:11:40 T:2966107232   DEBUG: PushCecKeypress - received key df duration 65
23:11:40 T:2966107232   DEBUG: CecLogMessage - >> 01:44:4b
23:11:40 T:2966107232   DEBUG: CecLogMessage - >> TV (0) -> Recorder 1 (1): user control pressed (44)
23:11:40 T:2966107232   DEBUG: CecLogMessage - key pressed: forward (4b)
23:11:40 T:2966107232   DEBUG: PushCecKeypress - received key df duration 0
23:11:40 T:3047206912   DEBUG: OnKey: sleep (df) pressed, action is SkipNext
23:11:40 T:2966107232   DEBUG: CecLogMessage - >> 01:8b:4b
23:11:40 T:2966107232   DEBUG: CecLogMessage - >> TV (0) -> Recorder 1 (1): vendor remote button up (8B)
23:11:40 T:2966107232   DEBUG: CecLogMessage - key released: forward (4b)
23:11:40 T:2966107232   DEBUG: PushCecKeypress - received key df duration 69
23:11:41 T:2966107232   DEBUG: CecLogMessage - >> 01:44:4b
23:11:41 T:2966107232   DEBUG: CecLogMessage - >> TV (0) -> Recorder 1 (1): user control pressed (44)
23:11:41 T:2966107232   DEBUG: CecLogMessage - key pressed: forward (4b)
23:11:41 T:2966107232   DEBUG: PushCecKeypress - received key df duration 0
23:11:41 T:3047206912   DEBUG: OnKey: sleep (df) pressed, action is SkipNext

as you can see, Action is SkipNext.
now what to put in Remote.xml for change this button to open ContextMenu?
hi, have you solved this

edit:
i have solved my issues
i had a keyboard.xml files as i copied it across from my other htpc
and the remote just worked with CEC
i tried adding commands with <remote>
i eventually replaced back with my original one again and renamed it to remote.xml.the keyboard still works and then the remote didnt but i noticed i got pulse 8 cec thing popup on screen where as before i didnt get anything
so now i tried editing it and everything works how i want

what you would want to do is
Code:
<remote>
      <skipplus>contextmenu</skipplus>
</remote>
as for where i would guess under the global menu
for cec remote you only need to edit remote.xml, nothing else and it should work
Speaking of cec and lg i have 32ld450 and i never be able to set it up i enable simplink but pi is not detected
you can even try this:

remote.xml
(2013-08-04, 15:41)tomer953 Wrote: [ -> ]Hey.
Raspberry Pi connected via HDMI to LG TV.
I'm trying to control it with the LG Remote (with CEC-HDMI):
Arrows are working! (down,up,right,left)
Pause\play\stop - working as well.

and thats it.
it is impossible to control without "BACK" button.
I pressed all the buttons on the TV Remote and none of them seems to work as BACK..

Must be dependent on the model. I've set up a Pi with a LG TV the other day, and I had no issues with using the LG remote. Didn't explicitly look for the context menu, but the Back button actually was where I expected it to be.
(2013-09-06, 23:48)DocG Wrote: [ -> ]
(2013-08-04, 15:41)tomer953 Wrote: [ -> ]Hey.
Raspberry Pi connected via HDMI to LG TV.
I'm trying to control it with the LG Remote (with CEC-HDMI):
Arrows are working! (down,up,right,left)
Pause\play\stop - working as well.

and thats it.
it is impossible to control without "BACK" button.
I pressed all the buttons on the TV Remote and none of them seems to work as BACK..

Must be dependent on the model. I've set up a Pi with a LG TV the other day, and I had no issues with using the LG remote. Didn't explicitly look for the context menu, but the Back button actually was where I expected it to be.

So is mine, no contextmenu working though.
(2013-09-07, 12:55)MatteN Wrote: [ -> ]So is mine, no contextmenu working though.

Some manufacturers don't forward all the buttons through CEC.
You'll need to find an unused button that is forwarded (I use a coloured button) and map that to contextmenu.
you can also use stop+play+pause in a tricky combo for this :


Image

edit: stop+play
Hi

I have an LG 32LV550T. I'm not using an AV Receiver for audio. I have the pluse 8 CEC adaptor enabled in xbmc and LG simplink switched on.

I found that the
Rewind button (<<) maps to 'Info' ('I' on keyboard)
FastForward button (>>) maps to 'ContextMenu' ('C' on keyboard)
Exit button maps to 'Back' ('Esc' on keyboard)

in xbmc already, so no remote.xml file needed.
I have a LG 37LH3010. To go back in the menu I have to press the green Stop button and directly after this the OK button. I did not change anything in the system. So this is the standard for my CEC and it is ok for me.
Hi
I have a smart LG and I can't find the context menu. How could I map these button?

Thanks
Pages: 1 2