1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[boot-settings] Apply settings during boot

Discussion in 'HD/HDR-FOX T2 Customised Firmware' started by af123, Jan 17, 2017.

  1. af123

    af123 Administrator Staff Member

    I've uploaded a new package to replace the ageing (and now badly named) poweron-channel package.

    boot-settings allows you to apply system settings during system boot. It can be used to replace the features of poweron-channel by setting a startup channel, volume and favourites group, but it can also set most other parameters automatically (e.g. ensuring that content sharing is on or that the menu shows a specific option when you open it following a reboot).

    [​IMG]

    The supported parameters are:

    [​IMG]
     
    sceptic, HarveyB, prpr and 1 other person like this.
  2. prpr

    prpr Well-Known Member

    Is there a "be" missing there?
    "The following settings will be automatically applied..."
     
  3. Ezra Pound

    Ezra Pound Well-Known Member

    Will this new package remove poweron-channel to prevent conflict ?
     
  4. Black Hole

    Black Hole Felinos Monk

    Wow! What a list of goodies. It's like a kid in a sweet shop.
     
  5. Trev

    Trev The Dumb One

    Brill. Even without the "be":laugh:
    I wonder if the "Content sharing" option will overcome the problem that some peeps have with it randomly switching off,
     
  6. af123

    af123 Administrator Staff Member

    No but if both are installed, the settings configured in poweron-channel will take precedence.
     
  7. af123

    af123 Administrator Staff Member

    No Hamlet joke? I'll fix it, thanks.
     
  8. af123

    af123 Administrator Staff Member

    Some of these aren't exposed in the standard interface so if anyone does play with subtitle size/position, let us know if they do anything!

    There are other hidden values too but I can't imagine anyone wanting to try and set their screen resolution to 480i. 720i/p might be of interest if it works though.
     
  9. Black Hole

    Black Hole Felinos Monk

    I have been puzzling a bit as to what use this is (apart from "because we can"), it's not like we have experienced the box randomly changing settings (apart from the well-known issues of favourites, having a preferred service at boot, and the content share dropping off for no obvious reason). However, I think I have come up with two scenarios (and added some more as a result of subsequent discussion):
    • Kids (or others) randomly pressing buttons - reboot and you're back to "normal";
    • A saved configuration following a factory reset - just accept the defaults at set-up, then reboot to restore "normal";
    • Control over the user preferences independent of the Humax on-screen menus;
    • Access to non-standard parameter values not supported by the Humax UI.
     
    Last edited: Jan 18, 2017
    af123 likes this.
  10. Trev

    Trev The Dumb One

    Is that not a good enough reason? Surely the whole CF development was based on that premise. And is that not why there is no CF for later Humax boxes. "Because we can't."?
     
    af123 likes this.
  11. af123

    af123 Administrator Staff Member

    Yep - mine went through a period of liking to watch with subtitles on. I've used poweron-channel to switch them off on each boot for a while (even though they've stopped doing it now as far as I know).

    I'll add another:

    To change system settings remotely or without access to the TV. Might be a niche scenario but my development box doesn't have a TV connected.
     
  12. af123

    af123 Administrator Staff Member

    I think we only got as far as finding that it isn't easy. Mind you, it wasn't easy for the T2 either!
    I've no reason to look at the newer boxes and nobody else has picked up the challenge as far as I know.
     
  13. Trev

    Trev The Dumb One

    I forgot to add the "yet"
     
  14. af123

    af123 Administrator Staff Member

    .. oh, and another use:

    To set parameters to custom values, e.g. skip time 24 seconds.

    (we had a user asking how to do this recently IIRC)
     
  15. Black Hole

    Black Hole Felinos Monk

    Did he want non-standard values? I remember being confused about it.

    I take it the settings require a reboot to take effect?
     
  16. af123

    af123 Administrator Staff Member

    Yes 7 seconds for back - https://hummy.tv/forum/threads/editing-the-skip-back-time.7510/
    Yes, they're only applied during boot (and I'm not planning to invest the weeks of effort required to find out how to override the settings at run-time!)
     
  17. peterworks

    peterworks Member

    I have installed this and removed POC. I have set Volume, Channel, Favourite Group and Content Sharing. On boot the correct channel is displayed but the favourites group is not - it shows all channels.
    POC worked fine with this set up - anything I can look at ?
     
  18. af123

    af123 Administrator Staff Member

    anything useful in xinit.log?
     
  19. peterworks

    peterworks Member

    First lines of xinit.log:

    8 [/var/lib/humaxtv/mod/xinit.d/dbupdate]
    7 Setting USERCONFIG:VOLUME = (Value)20
    6 Setting USERCONFIG:CUR_SVC = (Value)524443
    5 Setting USERCONFIG:CHLIST_GROUP = (Value)1
    4 Setting MENUCONFIG:DMS_START_ON = (Value)1
    3 [/var/lib/humaxtv/mod/xinit.d/bootset]
    2 AHW: Already done.
    1 [/var/lib/humaxtv/mod/xinit.d/ahw]

    Looks okay to my untrained eye (BBC News HD is 524443 and Fav group (BBC) is 1 according to channel.db)

    PS - The emoji should be colon D !
     
    Last edited: Jan 18, 2017
  20. Black Hole

    Black Hole Felinos Monk

    peterworks likes this.