Pic55 Posted March 30, 2023 Share Posted March 30, 2023 I would like to control the TV via my box (T95 mini - powered by an H6) runing on Armbian. I installed both cec-utils (for cec-client) and v4l-utils (for cec-ctl) but neither seem to work. Did anyone manage to use the CEC protocol on an H6 box ? 0 Quote Link to comment Share on other sites More sharing options...
SteeMan Posted April 4, 2023 Share Posted April 4, 2023 This isn't an answer to your question, but a link to let you know what to expect from Armbian with regards to TV Boxes: https://forum.armbian.com/topic/16976-status-of-armbian-on-tv-boxes-please-read-first 0 Quote Link to comment Share on other sites More sharing options...
Pic55 Posted April 4, 2023 Author Share Posted April 4, 2023 Hi @SteeMan, thanks. Actually I know TV boxes are not supported, even less the Allwinner based ones. But I know that many of the Armbian community play with those boxes. So my question was rather a message in bottle in the sea hoping someone else tried the same with more success that I currently have with cec 😉 0 Quote Link to comment Share on other sites More sharing options...
jernej Posted April 4, 2023 Share Posted April 4, 2023 CEC on H6 works just fine, as I used it many times, although not with Armbian. I can think of following reasons why CEC doesn't work: 1. make sure it's enabled in TV settings. I had to enable it on LG TV and old plasma TV. BEWARE: Setting is usually hidden under commercial name like simplink, easylink, etc. 2. make sure your libcec is new enough, at least 4.0.5 3. make sure driver is loaded (check for /dev/cec0) 4. it could be cable issue, although that's unlikely 0 Quote Link to comment Share on other sites More sharing options...
Pic55 Posted April 4, 2023 Author Share Posted April 4, 2023 Thanks a lot for the infos @jernej, I'll the 4 points. 0 Quote Link to comment Share on other sites More sharing options...
deltasig68 Posted June 29, 2023 Share Posted June 29, 2023 @Pic55 Did you try, yet? Any results? 0 Quote Link to comment Share on other sites More sharing options...
Pic55 Posted June 29, 2023 Author Share Posted June 29, 2023 Hi @deltasig68 yes. Actually the issue was due to some kernel flags not set when the OS image was generated. I managed to have it working by recompiling the OS (following the Quadra / Inovato procedure by @MBB: https://forum.inovato.com/post/building-armbian-from-source-12449428?pid=1334457271) and once the few build issues fixed, I recompiled changing the following kernel flags (taken from a libreelec forum) : CONFIG_CEC_CORE=y CONFIG_CEC_NOTIFIER=y CONFIG_CEC_PIN=y CONFIG_MEDIA_CEC_SUPPORT=y CONFIG_USB_PULSE8_CEC=m CONFIG_USB_RAINSHADOW_CEC=m Then you can use the cec protocol with cec-ctl (apt-get install v4l-utils). I haven't completed my tests but it seems to work fine. Please notice that the above is valid on a T95 / Quadra box (H6 based). And double check that your HDMI cable support the protocol (not all do). 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.