maxnet / berryboot

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

CEC not working #97

Open sal666 opened 10 years ago

sal666 commented 10 years ago

With version 2014-06-26 CEC is not longer working.

maxnet commented 10 years ago

Am unable to reproduce your issue on my Samsung TV. Might be TV specific.

mattie47 commented 10 years ago

I'm also having this issue. My Samsung TV can't detect my Raspberry Pi, yet once Berryboot boots into OpenElec, HDMI-CEC does in fact work.

Are you aware of any commands I could enter to assist with debugging the problem?

sandovalg commented 10 years ago

I am having the same problem. Vizio M series CEC works in OpenElec, which is not berry boot but an image boot from. BerryBoot however does not work in providing CEC support over HDMI.

maxnet commented 10 years ago

Don't know how to debug that. Just works here.

img_20140816_123654

Did notice that it does break on my Samsung TV if you switch sources. On boot TV remote arrows and buttons works straight away, pressing "source" on TV remote shows "HDMI-CEC Berryboot" However if you change it to another source there -breaking the connection- and then go back, keys no longer work. So do might be an issue with reconnects.

mattie47 commented 10 years ago

Do you know how HDMI-CEC works within Berryboot? Is it something that just gets compiled with the kernel? I spent a few hours trying to get it working today with not much success. Within OpenElec you can use cec-client in a shell for debugging.

maxnet commented 10 years ago

Do you know how HDMI-CEC works within Berryboot?

We have a very minimal implementation that outsources all CEC handling to the Videocore firmware, and tell it we are only interested in receiving a callback when a button is pressed.

https://github.com/maxnet/berryboot/blob/berryboot2.0/BerrybootGUI2.0/ceclistener.cpp

I suspect libcec (used by OpenELEC) has a more low-level implementation that tells the firmware it wants to receive the raw CEC communication, and handles that by itself.

We cannot use libcec in Berryboot due to incompatible licensing.

mattie47 commented 10 years ago

Thanks for the reply.

I noticed a few different debug messages within the above source code. Is there debug or tracelog or a log file I could look at that may provide specific information for ceclistener?

Forgive me for not completely knowing my way around linux. I'll go look up some info on the Videocore firmware.

maxnet commented 10 years ago

I noticed a few different debug messages within the above source code. Is there debug or tracelog or a log file I could look at that may provide specific information for ceclistener?

In Berryboot menu editor:

">>" "console" press ctrl+alt+f2 login as root, no password cat /tmp/debug

However it normally only shows key presses you did on your remote in the debug. If those are not working, there isn't much useful information there...

mattie47 commented 10 years ago

20140817_010656

Yeah no luck. Tried scanning for cec devices at various different points. I think for this to be fair, I'll try a couple different versions of berryboot tomorrow and confirm that versions before the 26th do actually work for me.

maxnet commented 10 years ago

Also try disconnecting the BD player, and using that HDMI port.

kdc11 commented 10 years ago

same issue, CEC not working, on Samsung UE32C4000PWXXC, :( when it will be compatible? thanks could you update openelec to the last version 4.2.1?

bierdok commented 9 years ago

+1 same issue with LG TVs... and no problem with OpenElec

bierdok commented 9 years ago

@maxnet "We cannot use libcec in Berryboot due to incompatible licensing."... omg

dagmoller commented 9 years ago

same issue here. i have 3 samsung TVs, and CEC only work on 2 of them. if i put openelec directly on SD without berryboot it works.

kolossboss commented 9 years ago

same issue. Samsung UE48H6470 CEC is not working on Berryboot menu, but on OpenELEC and Rasplex are no problems. Please Please fix this

maxnet commented 9 years ago

Please Please fix this

Patches welcome. (as long as they do not depend on libcec, and are BSD licensed)

paansamari commented 9 years ago

Same issue with Panasonic Viera tv. Not working on Berryboot menu, but on OpenELEC and Rasplex no problems.

bartoleo commented 9 years ago

Not working with my Panasonic Viera. OpenELEC works

DonCamillo1970 commented 9 years ago

Same CEC issue with Philips 42PFL7606K02 and berryboot on RPi2. Deactivate/activate EasyLink was tested (known issue with Philips). In OpenElec / RasPlex CEC works ok.

lennvilardi commented 9 years ago

CEC not working anymore on my Sony 32ex500 since Berryboot for RPI2

brunosantos commented 9 years ago

same here. CEC not working on Sony 40ex503. in berryboot for rpi2.

derailius commented 9 years ago

CEC not working on LG 42CS570 ... what's weird is that it DID work partially a couple of times, never on cold boot, but did from a restart from say rasplex or openelec. works fine in rasplex and openelec, just cannot choose an img from the boot menu with it.

brunosantos commented 9 years ago

it's working now after upgrading berryboot. also make sure that you're HDMI cable is not too cheap. I've got some that simply don't support CEC.

derailius commented 9 years ago

I'm on the latest berryboot and yes I've tried multiple hdmi cables. Very strange.

nmaas87 commented 8 years ago

Same problem on a Samsung LE40C530 - CEC not working with berryboot and rpi1. Does also not work in OpenELEC 6.0

nmaas87 commented 8 years ago

I had an RPi 1 and CEC did not work - but now I got it working by mixing the Berryboot RPi 2 and RPi 1 files, as described here: http://www.nico-maas.de/wordpress/?p=1146 or here. However, it is HIGHLY EXPERIMENTAL! BACKUP BEFORE DOING ANYTHING :)!

1.) Download from http://www.berryterminal.com/doku.php/berryboot the berryboot-20140814.zip ( http://downloads.sourceforge.net/project/berryboot/berryboot-20140814.zip ) as well as the berryboot-20150916-pi2-only.zip ( http://downloads.sourceforge.net/project/berryboot/berryboot-20150916-pi2-only.zip ).

a) If you do not yet use berryboot: 2.) Now, format your Sdcard (if you are newly creating a Berryboot System) to fat32. 3.) Unzip all files from the berryboot-20150916-pi2-only.zip to the root of the newly created Sdcard. Then unzip ONLY the kernel_rpi_aufs.img from berryboot-20140814.zip and copy it to the Sdcard.

b) If you own a Berryboot RPi 1 Sdcard and want to upgrade: 2.) Make a backup of your current berryboot sdcard! MANDATORY! Remove all files from the fat32 berryboot partition (the one with the config.txt, start files, etc.) 3.) Unzip all files from the berryboot-20150916-pi2-only.zip to berryboot partition. Then unzip ONLY the kernel_rpi_aufs.img from berryboot-20140814.zip and copy it to the Sdcard.

sal666 commented 8 years ago

Just to clarify,

in my case, with berryboot-20130908 CEC was working. The moment I updated to berryboot-20140626 CEC stoped working. No other change was done: same PI, same TV, same HDMI cable, same HDMI port on TV.

It seems that something has changed from one version to the other that disrupted CEC, but I haven’t been able to spot a single commit to the project -in this period of time- related to CEC.

So, could a change in an external component impact on CEC functionality?

sal666 commented 8 years ago

SOLVED!!! In my case, I got it working again commenting out the line: hdmi_ignore_cec_init=1 from config.txt Delete this line (or add a # at the beginning) and CEC should be working again. Please, can anyone else confirm?

maxnet commented 7 years ago

In my case, I got it working again commenting out the line: hdmi_ignore_cec_init=1

Berryboot does not have such option by default. Either you added it manually, or one of the operating systems you are using added it at some point (e.g. on an update).

ombox commented 7 years ago

SOLVED! This issue was appear after update berryboot from berryboot GUI. In berryboot partition create folder old and move all files to this folder (for backup). Download last zip from off site, and unpack. After boot, berryboot ask questions and restore list of installed OSs. Right now HDMI-CEC working perfectly.

genromaoken commented 3 years ago

Hello everyone, I experience the same bug using Kodi and a Panasonic Viera TV set: CEC on BerryBoot works only just after a reboot from Kodi, but I found a detail that likely can help. Going in debug mode by looking at the /tmp/debug as suggested, I saw that my directional buttons on the remote didn't work, instead the the media button (play, stop, etc..) do works! Then I realized that CEC on my tv set is recognizing Kodi as playback device (assigning the logical address 4), instead BerryBoot is detected as a recording device. Hope this could help out!