WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: HDMI CEC support  (Read 4709 times)

Offline Robbrad

  • Newbie
  • *
  • Posts: 7
HDMI CEC support
« on: August 05, 2015, 04:06:45 AM »
Hi Guys

My first post here so be kind. ☺

As you probably know the raspberry pi has hardware support to control devices via CEC commands. This is an incredibly useful method to control HDMI devices like TVs and HiFis etc anything that supports it, allowing the user to adjust the power state of the device and the source.

I'm running piCorePlayer which runs on the Tinycore port to the raspberry pi. It's fantastic because of its low resource footprint.

My question, what would it take to include Libcec in this port to allow the control. I have permission from the Pulse-Eight the LibCEC developers to include it. (https://github.com/Pulse-Eight/libcec)

Initial investigation shows HDMI is controlled through the video core.

Thanks
Rob
« Last Edit: August 05, 2015, 04:27:42 AM by Robbrad »

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: HDMI CEC support
« Reply #1 on: August 05, 2015, 04:15:54 AM »
Thanks for advice, I added it to the todo list for piCore 7.0 However it is not a high priority task, so can't promise any date.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Robbrad

  • Newbie
  • *
  • Posts: 7
Re: HDMI CEC support
« Reply #2 on: August 05, 2015, 04:30:26 AM »
Thanks bmarkus !

I don't have much money, but im happy to donate what I can to include this, if that has any bearing. If not im also happy to wait as this is just a personal project not work related.

Im also happy to be involved in any testing required.

Thank you so much, again 

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: HDMI CEC support
« Reply #3 on: August 05, 2015, 06:52:58 AM »
Hi Rob

it is not about donation but how does it fit to the development workflow. In general you can help with testing releases and reporting what is missing, what is buggy. Than I add them to the todo list.

Regards

Béla
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Robbrad

  • Newbie
  • *
  • Posts: 7
Re: HDMI CEC support
« Reply #4 on: August 05, 2015, 07:46:25 AM »
Great thanks Béla - great work btw

I will help as much as I can

Thanks
Rob

Offline nkcfan

  • Newbie
  • *
  • Posts: 1
Re: HDMI CEC support
« Reply #5 on: April 24, 2024, 04:28:33 AM »
Hi Rob

it is not about donation but how does it fit to the development workflow. In general you can help with testing releases and reporting what is missing, what is buggy. Than I add them to the todo list.

Regards

Béla

Is there any progress or is it still in the todo list?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: HDMI CEC support
« Reply #6 on: April 24, 2024, 09:45:41 AM »
Bela hasn't been active for a while, but extensions are user contributed, and compiling libcec is probably simple. Maybe you could build it?
The only barriers that can stop you are the ones you create yourself.

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1244
Re: HDMI CEC support
« Reply #7 on: April 24, 2024, 07:38:11 PM »
I know folks that have done it, while libcec is easy to build, the raspi HDMI implementation is not complete, functionality was spotty.  So they gave up.  The pi4 was close, not sure about the pi5.

They were using RaspiOS, if it doesn't work there, then its going to be difficult here.  You might try a quick RaspiOS image and see what happens.

Offline Yleisajattelija

  • Full Member
  • ***
  • Posts: 192
Re: HDMI CEC support
« Reply #8 on: September 12, 2024, 01:45:22 AM »
I need a display for Rasberry 3. I have already several add-on cards on I/O-expansion bus, so I consider HDMi-connector and touch-screen.

Currentlly I need only simple industrial control panel with few strings, so I don't need graphics. Main goal is simplicity, easy graphics library and TinyCore support.

Now I'm ordering displays from China and try to guess best type for this Tinycore use. Does anyone have a recommendation?

Simple character type library interface is one option, and Qt and full graphics software stack is another option, too.

Offline Yleisajattelija

  • Full Member
  • ***
  • Posts: 192
Re: HDMI CEC support
« Reply #9 on: September 12, 2024, 05:39:04 AM »
https://www.waveshare.com/wiki/4inch_RPi_LCD_(C)

Is FBCP software driver supported on Rasberry TC?

https://www.waveshare.com/wiki/4.3inch_HDMI_LCD_(B)

I suppose HDMI driver is currently not working on Rasberry TC?



Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1244
Re: HDMI CEC support
« Reply #10 on: September 12, 2024, 09:25:37 AM »
Those screens should work, but you cannot use the scripts that wave share provides.  You need to read the scripts and perform the functions in the TC methods.

Offline Yleisajattelija

  • Full Member
  • ***
  • Posts: 192
Re: HDMI CEC support
« Reply #11 on: September 13, 2024, 02:31:24 AM »
Those screens should work, but you cannot use the scripts that wave share provides.  You need to read the scripts and perform the functions in the TC methods.

With HAT eeprom I think that means bootloader and device tree blob hacking...

...does TC prefer U-boot?

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1244
Re: HDMI CEC support
« Reply #12 on: September 13, 2024, 06:44:33 AM »
We use the same bootLoader as RaspiOS.  The is no hacking involved.  Files are just in a different location, and commands used in the scripts may not be present on piCore, or different due to busybox.

Offline mocore

  • Hero Member
  • *****
  • Posts: 642
  • ~.~
Re: HDMI CEC support
« Reply #13 on: September 17, 2024, 02:24:48 AM »

...does TC prefer U-boot?

the only version in the tc repo is @ /4.x/x86/tcz/uboot-tools.tcz.info
which is likely to be removed ??? soon ish  :(

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 713
Re: HDMI CEC support
« Reply #14 on: September 17, 2024, 02:44:58 AM »
Those screens should work, but you cannot use the scripts that wave share provides.  You need to read the scripts and perform the functions in the TC methods.

With HAT eeprom I think that means bootloader and device tree blob hacking...

...does TC prefer U-boot?
The ordenary bootcode have to chainload u-boot if you want to boot with u-boot.