2

I have mecool tv box connected with hdmi and samsung tv connected as well. when i gave standby command using adb my tv goes to standby but when i gave any other commands it can't work. e.g

# echo 0x40 0x36 > /sys/class/cec/cmd 

this command working for standby.

 # echo 0x40 0x8F> /sys/class/cec/cmd
 # echo 0x80 0x82> /sys/class/cec/cmd

these commands didn't display anything on screen or tv. i am taking help about commands from this website cec-o-matic

Zaigham Raza
  • 364
  • 2
  • 3
  • 14
  • I'm try to turn off/on and volume up/down through hdmi-cec, but I didn't get a proper command to do it. Do you know? How we can do this. – Syed Bilal May 20 '20 at 12:09
  • which tv you have? – Zaigham Raza Jun 03 '20 at 08:04
  • I've made my android tv device and i'm working on Orient and Samsung TV – Syed Bilal Jun 08 '20 at 17:01
  • @ZaighamRaza did you find any work around !! – hio Oct 27 '20 at 11:50
  • @ParthPitroda what you are trying to do? may be i can help – Zaigham Raza Oct 27 '20 at 12:59
  • i am try to turn on/off tv from custom android device. – hio Oct 27 '20 at 13:08
  • @ParthPitroda 0x40 0x04 is the command to turn on TV. first 0x40 specify the hdmi port where tv is attached with android device. for example it could be 0x10,0x20,0x30 according to port and 0x04 is turn on tv command. once you figured put to which port you device is connected then use 0x40 0x36 command to turn off. you can get more help by contacting me via linkedin – Zaigham Raza Oct 28 '20 at 06:39
  • @ZaighamRaza i want to know about how to execute command – hio Oct 28 '20 at 08:12
  • right now i am fire command from terminal for testing purpose so now i want to execute commands from android device to tv for this i need ur help – hio Oct 28 '20 at 08:15

0 Answers0