From: Lars Op den Kamp Date: Fri, 17 Feb 2012 09:55:03 +0000 (+0100) Subject: cec: LG devices don't respond to CEC version requests (unsupported feature). set... X-Git-Tag: upstream/2.2.0~1^2~35^2~15 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=6b87ae0c93aafb3073ab09d41ac24fedaf58c53a;p=deb_libcec.git cec: LG devices don't respond to CEC version requests (unsupported feature). set it to 1.3a for all LG devices --- diff --git a/src/lib/implementations/SLCommandHandler.cpp b/src/lib/implementations/SLCommandHandler.cpp index 3e79fd1..6752c92 100644 --- a/src/lib/implementations/SLCommandHandler.cpp +++ b/src/lib/implementations/SLCommandHandler.cpp @@ -68,9 +68,8 @@ CSLCommandHandler::CSLCommandHandler(CCECBusDevice *busDevice) : primary->ReplaceHandler(false); } - /* LG TVs don't always reply to CEC version requests, so just set it to 1.3a */ - if (m_busDevice->GetLogicalAddress() == CECDEVICE_TV) - m_busDevice->SetCecVersion(CEC_VERSION_1_3A); + /* LG devices don't always reply to CEC version requests, so just set it to 1.3a */ + m_busDevice->SetCecVersion(CEC_VERSION_1_3A); /* LG devices always return "korean" as language */ cec_menu_language lang;