maxnet / berryboot

Berryboot -- Boot menu / OS installer
http://www.berryboot.com/
Other
807 stars 133 forks source link

hdmi_ignore_cec_init turns off cec #281

Open VTTR opened 8 years ago

VTTR commented 8 years ago

Hey guys,

I guess there is something wrong with the hdmi_ignore_cec_init=1 setting for the config.txt.

I'm using the RaspberryPi3 and a samsung TV.

i had the problem, that my TV was turning on if the pi3 booted. So I found the hdmi_ignore_cec_init setting which should prevent turning on my tv (and well that is working) but this setting will also disable the whole CEC-functions while in berryboot. CEC is working again after booting up in a sub-OS (like openelec).

Is there any difference between "hdmi_ignore_cec_init" and "hdmi_ignore_cec" ?

macmpi commented 8 years ago

Interesting bit indeed. I imagine it might rather be a firmware issue than BB, but @maxnet may provide more insight.

Another usecase I'm struggling a bit with:

Today if hdmi_ignore_cec_init is not set, Pi commands the initial input selection but it actually forces it: amp always reverts back to Pi, even if I try to change input. If hdmi_ignore_cec_init is set then amp input selection is free, but Pi does not commands initial input (and BB can not be controlled with TV remote)...

macmpi commented 8 years ago

Well, I'm probably wrong: not in firmware. Kodi has Pulse-Eight libCEC with highly customizable options in System -> Settings -> System -> Input Devices -> Peripherals -> CEC adapter. Maybe that lib could help to add more flexibility in CEC handling within BB

maxnet commented 8 years ago

We outsource the CEC handling to the firmware.

Maybe that lib could help to add more flexibility in CEC handling within BB

Others use libcec instead, yes. However we are unable to use that due to its license.

macmpi commented 8 years ago

Thanks maxnet. Any idea if some proper firmware setting can fully fit the usecase I explained then?

maxnet commented 8 years ago

Sorry, don't know. Firmware is closed source, so I don't know the specifics.

macmpi commented 8 years ago

BB can not use the GPLv2 instance of libcec?

maxnet commented 8 years ago

BB can not use the GPLv2 instance of libcec?

Correct. We can only link to stuff that is under a BSD/MIT style license or LGPL with the leading L.

GPL is contagious. Do not want Berryboot to be infected with that, as it prevents me using the same code in commercial closed source applications.

kirner commented 8 years ago

Hello, same issue here with a Samsung TV, just wondering if anyone has found a solution. Thx.