Setting RGB mode with proptest

  • In all my environments, I have to set the RGB mode of my mini PCs (all intel based) to "full", because 'automatic' fails and sets it to "limited". I do this in autostart.sh, e.g. /storage/proptest 161 connector 163 1

    My issue: With each new LibreELEC version, the collector and parameter numbers change, so I have to modify the script to make it work again.

    Is there a reason for changing the numbers? Or is it possibe to use proptest with a name, e.g. "HDMI-A-1"?

  • Okay, after thinking it over again, I've found a solution that works for me. For anyone else experiencing this issue:

    Code
    conn=$(/storage/proptest | grep HDMI-A-1 | awk '{ print $2}')
    param=$(/storage/proptest | grep "Broadcast RGB" | awk 'NR==1 { print $1}')
    
    /storage/proptest $conn connector $param 1

    You may need to change the name of the interface.