Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Junior Member
    Join Date
    Feb 2020
    Posts
    6

    Activate HDMI output at boot whitout TV

    Hi,
    Thanks for pCP !

    I got a small problem, for the living room I use a Raspberry Pi model 1B with HDMI output.
    I tried first with a HDMI to Toslink converter, each boot I need to connect the HDMI output to a TV, else there is no sound coming.
    I then put it to and HDMI input of an home cinema amplifier I bought, but I've to start the TV at boot if not there is no sound coming.
    I imagine there is an automatic config of the output at boot but is there some way to set it somewhere to avoid starting the TV each time ?

  2. #2
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    3,001
    There are settings in config.txt that you can use to force HDMI to be on.

    See https://www.picoreplayer.org/how_to_...nfig_txt.shtml for how to edit it

    If you search for "hdmi" you will find a few different fields that you can adjust and there are comments in there to help.
    More detail on the various settings at https://www.raspberrypi.org/document...g-txt/video.md

    You might only need
    hdmi_safe=1
    Paul Webster
    http://dabdig.blogspot.com
    Author of "Now Playing" plugins covering Radio France (FIP etc), KCRW, Supla Finland, ABC Australia, CBC/Radio-Canada and RTE Ireland

  3. #3
    Junior Member
    Join Date
    Feb 2020
    Posts
    6
    Thanks for the fast answer.
    I check that ASAP and will post the result (I've to install a new server as my actual one is down) :s

  4. #4
    Junior Member
    Join Date
    Feb 2020
    Posts
    6
    I tried first hdmi_safe=1, it was working but with low res display and CEC start of my amplifier an TV on boot.

    Next try was better, hdmi_force_hotplug=1 is the only parameter needed to my problem : Setting hdmi_force_hotplug to 1 pretends that the HDMI hotplug signal is asserted, so it appears that a HDMI display is attached. In other words, HDMI output mode will be used, even if no HDMI monitor is detected.

    To avoid the CEC start, I just had to add hdmi_ignore_cec_init=1

    Thanks a lot !

  5. #5

    CEC start triggered by squeezelite

    Very interesting, I had a similar problem which your posts helped solving.
    However I have a slightly different use case, and perhaps you have suggestions on how to address it: I would like that pCP sends a CEC on signal when I start playing music (or when I activate squeezelite), and then a CEC off when I stop. Any ideas?

  6. #6
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    3,001
    Quote Originally Posted by scala View Post
    Very interesting, I had a similar problem which your posts helped solving.
    However I have a slightly different use case, and perhaps you have suggestions on how to address it: I would like that pCP sends a CEC on signal when I start playing music (or when I activate squeezelite), and then a CEC off when I stop. Any ideas?
    I think that cec-client would be the way to go but it relies on libCEC which I think does not (or at least did not in 2016) work on pCP because it relies on things that rely on things that are not in pCP.
    In theory this might become more practical with the next big OS update in pCP because support for CEC has been implemented in the Linux kernel.
    Still unproven I think.

    If you switch from pCP to a full Raspbian OS or perhaps Max2Play then I think this would be possible - but would probably need scripting and using the ability of Squeezelite to launch a script on certain events.
    Paul Webster
    http://dabdig.blogspot.com
    Author of "Now Playing" plugins covering Radio France (FIP etc), KCRW, Supla Finland, ABC Australia, CBC/Radio-Canada and RTE Ireland

  7. #7
    Thanks a lot. Waiting for next release, there might be an interim solution.
    In fact, I have found this other thread https://forums.slimdevices.com/showt...ing-off-player which deals with a similar topic. Not exactly 100% the same, but perhaps could solve my problem. I will experiment a bit next weekend.

  8. #8
    Junior Member
    Join Date
    Feb 2020
    Posts
    6
    scala please give the results when you'll do your experimentation, it can be useful for me

    Even if CEC is a pain in the ass sometime :
    the TV box of my internet provider send a start signal when booting (starting both amp and TV)
    If the TV is on and I want just listen to music stopping the TV also stops the amplifier I have to manually restart...

  9. #9
    Quote Originally Posted by Julien View Post
    scala please give the results when you'll do your experimentation, it can be useful for me
    Sure.
    CEC interaction between TV and amp is straightforward, however when external devices come into play things get more complicated.
    I have to understand in my setup to what extent the amp and the TV react to CEC commands or to the simple fact that an HDMI signal is present on a given input.

  10. #10
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    3,001
    I should have referred you to that other thread, especially as it was me that came up with the HDMI config to force things.
    Paul Webster
    http://dabdig.blogspot.com
    Author of "Now Playing" plugins covering Radio France (FIP etc), KCRW, Supla Finland, ABC Australia, CBC/Radio-Canada and RTE Ireland

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •