user3973591
user3973591

Reputation:

Android Disable HDMI CEC control

How I can switch off HDMI CEC control via adb shell ?

enter image description here

Upvotes: 3

Views: 4823

Answers (2)

Alex P.
Alex P.

Reputation: 31666

adb shell settings put global hdmi_control_enabled 0

Upvotes: 3

Andrii Omelchenko
Andrii Omelchenko

Reputation: 13343

Anyway, you can emulate key press sequences for Menu-> ... ->CEC Control menu item selection exactly for your device using:

adb shell input keyevent <key_event_code_for_menu>
adb shell input keyevent <key_event_code_for_down>
etc.

and, for example .bat file. Key event codes you can get from Official Documentation. Also take a look at this answer of Rene Barbosa.

Upvotes: 0

Related Questions