News:

Latest versions:
Server plugin: 0.5.1
MVP dongle: 0.5.2
Raspberry Pi client: 0.5.2
Windows client: 0.5.2-1

Main Menu

CEC not working on LG TV

Started by morfsta, October 09, 2012, 22:08:20

Previous topic - Next topic

morfsta

Hi,

I've been testing VOMP on my Pi and CEC doesn't work with my LG TV, there are no devices displayed in the Simplink menu.

CEC works fine with XBMC on the Pi, LG Simplink displays a "HDD Video Recorder" as the active CEC device.

I have attached the bootup log if that might help. Please let me know if there is anything else I can do to debug the problem.

Thanks,

Morfsta

MartenR

Well I have no idea about your tv.
Please test with cec-client software of libcec if the lib is recognizing your tv and the key presses and fiddle around with the options of the lib if not.
If you do not get it working with cec-client, then please file a bug with the people from libcec.
If you get working please tell me how, then I can see what I have to change in vomp.
Also note that some tv need to be configured so that cec is working.

Marten

hondansx

How can I add an unused key of my tv-remote.
Log says


21:43:33.253613 [debug]  5082 Remote - CECLOG: 83303 8 >> 01:42:03
21:43:33.253796 [debug]  5082 Remote - CECLOG: 83303 4 >> TV (0) -> Recorder 1 (1): deck control (42)
21:43:33.754886 [debug]  5082 Remote - CECLOG: 83804 16 received data: header:00030002 p0:00034201 p1:00000000 p2:00000000 p3:00000000 reason:2
21:43:33.756134 [debug]  5082 Remote - CECLOG: 83805 8 >> 01:42:03
21:43:33.756358 [debug]  5082 Remote - CECLOG: 83805 4 >> TV (0) -> Recorder 1 (1): deck control (42)
21:43:53.898613 [debug]  5082 Remote - CECLOG: 103948 16 received data: header:00030010 p0:00918A01 p1:00000000 p2:00000000 p3:00000000 reason:10
GA-EP43 | headless | 1xCineS2 Dual | 1xSkystar 2.6D | VDR 1.7.37 
Frontend: 1xRasperry | 1xION3

MartenR

#3
There is no key press reported , so this is not handled.
Try to see if you can change the TV settings.
Otherwise maybe change in remotelinux.cc
cec_config.deviceTypes.Add(CEC_DEVICE_TYPE_RECORDING_DEVICE);
to
cec_config.deviceTypes.Add(CEC_DEVICE_TYPE_TUNER);
if this does not help, try add after 
if (!cec_adap->SetActiveSource(cec_config.deviceTypes[0])) { 
                Log::getInstance()->log("Remote", Log::ERR, "CEC:Failed set active source");
return 1;     
}

the line
cec_adap->SetDeckControlMode(CEC_DECK_CONTROL_MODE_SKIP_FORWARD_WIND, false);
And try the values CEC_DECK_CONTROL_MODE_SKIP_FORWARD_WIND  ,  CEC_DECK_CONTROL_MODE_SKIP_REVERSE_REWIND ,  CEC_DECK_CONTROL_MODE_STOP     ,  CEC_DECK_CONTROL_MODE_EJECT. But I doubt that it will work.

I think there should be some setting in the TV how to handle it.

Marten

hondansx

GA-EP43 | headless | 1xCineS2 Dual | 1xSkystar 2.6D | VDR 1.7.37 
Frontend: 1xRasperry | 1xION3