Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hdmi tv shows first always "raspberry" as cec device at each boot (noobs/raspbian/openelec) #420

Closed
beta-tester opened this issue Apr 29, 2015 · 6 comments

Comments

@beta-tester
Copy link

hi,
i don't know if i am right here with that issue.
i have a HDMI TV with three HDMI inputs, at each i have a RPi connected.
each RPi appers at boot into NOOBS, Raspbian and even OpenELEC first as "raspberry" as hdmi device name.
so in case i have NOOBS installed and boot into OpenELEC, that RPi will let the TV popup three times with a hdmi cec device name (1'st at boot into NOOBS, as "raspberry", 2'nd at boot into OpenELEC and finally at OpenELEC, when Kodi initialize the CEC service for remotecontrol. then the RPi is finally show as "Kodi").

i don't exactly know, where the first two "raspberry" popup comming from - from the firmware, from the bootcode/-loader, or from the kernel.
is there an option for the config.txt file to change that name at a very early stage of boot?

i know, there is an option hdmi_ignore_cec_init=1 to do not init cec and then my tv does not popup the "raspberry" device name. and i do not use cec remote control two of my RPi (i use cec remotecontrolling my RPi only on that RPi, where OpenELEC is running)
BUT, the hdmi cec device names could be very handy to easily identify/select the different connected RPi on the TV menu - but for that i need to be able to change the default devicename "raspberry" to something unique.
the best would be to be able to do it in the config.txt file.
hdmi_force_cec_name=MyRPi#1

see this thread, where i asked, but got no helpful answer:
https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=108518

@beta-tester beta-tester changed the title hdmi tv shows first always "raspbery" as cec device at each boot (noobs/raspbian/openelec) hdmi tv shows first always "raspberry" as cec device at each boot (noobs/raspbian/openelec) Apr 29, 2015
@popcornmix
Copy link
Contributor

You can change the initial "raspberry" CEC name with config.txt setting:

cec_osd_name=MyRPi1

However that shouldn't be visible with

hdmi_ignore_cec_init=1

Once libcec is running (e.g. through OpenELEC), the firmware is not in control of CEC, so it's up to the application what is reported.

@beta-tester
Copy link
Author

that option cec_osd_name=MyRPi1 i didn't know.
that's exactly what i was looking for.
thank you very much.

@beta-tester
Copy link
Author

one issue i have with that cec_osd_name=Test option.
it seems that the firmware sets the cec ods name always with a fixed length.
even the name i gave is short, it will be shown "filled" with tailing blanks.
"Device (Test___)

compared to Kodi (using libcec), there the tailing blanks does not exist
"Device (Kodi)

@beta-tester beta-tester reopened this Apr 29, 2015
@Ruffio
Copy link

Ruffio commented Jan 7, 2017

@popcornmix Is there a fixed length on cec ods?

@JamesH65
Copy link
Contributor

Had a quick look, could see no specific reason why it might add spaces. However, going to close this as a wont fix since its seems too much work to track it down, for almost zero benefit. Reopen if it is actually a issue.

@beta-tester
Copy link
Author

on my old TV you could see if there are tailing blanks at the end or not.
but in the meantime i got a new/different TV.
that TV isn't showing how long the CEC string is in reallity.
so i can't verify if it is still an issue. sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants