stevenragy 1 Posted January 23, 2023 I'm trying to set up my tinker board 2s so I can control my tinker using my smart TV remote controller, I managed to control my tv from tinker using cec-ctl but now I want to handle remote control key events from my tinker board, but all the solutions are giving that I should use cec-client which is not working as it should on my tinker. When I try to run this command it returns none cec-client -l Found devices: NONE I want to know how I could configure cec-client on my device. Share this post Link to post Share on other sites
tooz 52 Posted January 25, 2023 hello @stevenragy, which smart tv are you using? Share this post Link to post Share on other sites
stevenragy 1 Posted January 25, 2023 Hello @tooz , I'm using LG web os TV, and simplelink(HDMI - CEC) option is enabled Share this post Link to post Share on other sites
tooz 52 Posted February 2, 2023 hello @stevenragy, please use the following commands: cec-ctl --playback -o TinkerBoard2 cec-ctl --user-control-pressed=ui-cmd="keycode" -t0 (EX: keycode of “volume_up” is 0x41, cec-ctl --user-control-pressed=ui-cmd="0x41" -t0) reference of keycodes can be found in type_ui_cmd struct on github: https://github.com/cz172638/v4l-utils/blob/master/utils/cec-ctl/cec-ctl.cpp Share this post Link to post Share on other sites
stevenragy 1 Posted February 8, 2023 Hello @tooz thanks for your reply. I think this command controls the TV through the command line, What I need is opposite to that I want to control the tinker board from the TV remote controller. So i need to read the remote controller key code when the user presses any key on the TV remote controller. Share this post Link to post Share on other sites
tooz 52 Posted February 15, 2023 hello @stevenragy, please try: sudo su cec-ctl --playback -o TinkerBoard2 cec-ctl -m and press the remote control keycode'd then show in the console Share this post Link to post Share on other sites