title: HDMI CEC command for shutdown not working on Android
body: <p>I am sending HDMI CEC command to Power on and Standby my LG LED TV 2015 make. The device is a Amlogic S922x based SBC running Android 9. The Power On commands work but the Standby commands don't. Can someone tell me what is wrong with this?</p>
  
  <p>Power ON command (works): 
  echo 0x40 0x04 > /sys/class/cec/cmd</p>
  
  <p>Power OFF command (does not work):
  echo 0x40 0x36 > /sys/class/cec/cmd</p>
  
  <p>Output of 
  <strong>echo 0x40 0x36 > /sys/class/cec/cmd &amp;&amp; sleep 0.1 &amp;&amp; cat /sys/class/cec/dump_reg</strong></p>
  
  <pre><code>AO_RTI_PWR_CNTL_REG0: 0x00004200
  AO_CEC_GEN_CNTL: 0x00000000
  AO_CECB_CLK_CNTL_REG0:  0xd02db2dc
  AO_CECB_CLK_CNTL_REG1:  0x0000a007
  AO_CECB_GEN_CNTL:   0x0000710a
  AO_CECB_RW_REG: 0x02010300
  AO_CECB_INTR_MASKN:0x0000003f
  AO_CECB_INTR_STAT: 0x00000000
  CEC MODULE REGS:
  CEC_CTRL      = 0x03
  CEC_MASK      = 0x00
  CEC_ADDR_L   = 0x10
  CEC_ADDR_H   = 0x00
  CEC_TX_CNT   = 0x05
  CEC_RX_CNT   = 0x02
  CEC_LOCK      = 0x00
  CEC_WKUPCTRL = 0x10
  RX buffer: 04 83 00 e0 91 00 00 00 00 00 00 00 00 00 00 00
  TX buffer: 4f 84 10 00 04 00 00 00 00 00 00 00 00 00 00 00
  </code></pre>