PDA

View Full Version : piCore 3.10 linux - how to ignore cec



kalittle
2017-02-07, 19:45
Hello everyone, I'm trying to get my PiCorePlayer (v3.10) to stop issueing cec commands. Everytime I restart my player, my TV switches to the HDMI output from the Pi player. In looking around, I've found these Pi config commands:

hdmi_ignore_cec_init=1
hdmi_ignore_cec=1

My question is where this should go?

I tried "usr/local/sbin/config.cfg" - backed up data, rebooted, no luck
I tried "opt/bootlocal.sh" - backed up data, rebooted, no luck

Maybe bootcodes? Looked at that under beta, see the bootcodes, but don't see a way to enter add bootcodes...

Any ideas? Thanks, Ken

drmatt
2017-02-08, 01:06
Normally /boot/config.txt.

I have a gaming console version of raspbian that trigger HDMI input switch every thirty seconds. Very, very annoying..

More annoying is that with CEC disabled you can no longer operate any user interfaces from the TV remote.

Greg Erskine
2017-02-08, 14:34
Hello everyone, I'm trying to get my PiCorePlayer (v3.10) to stop issueing cec commands. Everytime I restart my player, my TV switches to the HDMI output from the Pi player. In looking around, I've found these Pi config commands:

hdmi_ignore_cec_init=1
hdmi_ignore_cec=1

My question is where this should go?

I tried "usr/local/sbin/config.cfg" - backed up data, rebooted, no luck
I tried "opt/bootlocal.sh" - backed up data, rebooted, no luck

Maybe bootcodes? Looked at that under beta, see the bootcodes, but don't see a way to enter add bootcodes...

Any ideas? Thanks, Ken

Hi Ken,

This is the configuration file you want /mnt/mmcblk0p1/config.txt

The piCore boot partition is /mnt/mmcblk0p1
By default, after booting, the first partition is in unmounted.

(piCorePlayer aliases)
$ m1
$ c1
$ vicfg
$ u1



Alias Description
m1 mount /mnt/mmcblk0p1
c1 cd /mnt/mmcblk0p1
vicfg vi config.txt
u1 umount /mnt/mmcblk0p1


For more aliases type alias at the Linux prompt.

regards
Greg

kalittle
2017-02-14, 16:40
Thanks a million Greg! That did it. Followed your instructions, added those parameters and saved it. Only funny thing was that the unmount would not work. Did an fuser, found the process still holding the mount. Did the fuser again with the kill parm. As soon as i hit enter - *poof* there goes my putty session. I was the culprit :rolleyes: Logged back in, unmounted, reboot - fixed!

Thanks again.

Greg Erskine
2017-02-14, 16:52
sorry kalittle and thanks for the feedback,

Unmounting wasn't really necessary anyway, just a reboot would have done the job.

I should have mentioned you can't unmount a partition when you are accessing it, so a simple "cd" to return to your home directory before the "u1" would have done it.

I'll update the instructions here in case someone refereneces this thread in the future.

To edit your config.txt

$ m1
$ c1
$ vicfg
$ pcp rb


regards
Greg