- /* increase the transmit timeout because the tv is keeping the bus busy at times */
- device->SetTransmitTimeout(3000);
- if (addr[iPtr])
+ /* LG devices always return "korean" as language */
+ cec_menu_language lang;
+ lang.device = m_busDevice->GetLogicalAddress();
+ snprintf(lang.language, 4, "eng");
+ m_busDevice->SetMenuLanguage(lang);
+
+ if (m_busDevice->GetLogicalAddress() == CECDEVICE_TV)
+ {
+ m_busDevice->GetProcessor()->SetActiveSource(m_busDevice->GetProcessor()->GetLogicalAddresses().primary);
+ /* LG TVs only route keypresses when the deck status is set to 0x20 */
+ cec_logical_addresses addr = m_busDevice->GetProcessor()->GetLogicalAddresses();
+ for (uint8_t iPtr = 0; iPtr < 15; iPtr++)