Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.
Page 1 of 2 12 LastLast
Results 1 to 15 of 20

Thread: Power down a USB port when user puts box in Standby?

  1. #1
    clivejo

    Power down a USB port when user puts box in Standby?

    I have a power saving device which plugs into a USB port and switches on the power extension bar when it sees power on the USB port. Also when the USB port is unplugged or powered down the extension bar shuts down too. This worked great with old equipment as is powered off the TV, DVD and other peripherals when the satellite box was put in standby.

    Is there any way to do this with the Zgemma H7S? Id like some way to put the TV in standby or powered off when the Zgemma H7S has been.

  2. #2
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    8,383
    Thanks
    987
    Thanked 2,888 Times in 2,243 Posts
    What happens when you put it into deep standby?
    Gigablue Quad 4K & UE 4K
    .........FBC Tuners:
    ------------------> DUR-Line DCR 5-1-8-L4 Multiswitch to 1.5M dish(28.2E)
    ------------------> Spaun SUS 5581/33 NFA Multiswitch to 80 cm dish(19.2E)
    .......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
    AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using Legacy ports on multiswitches
    Zgemma H9 C/S into Giga4K

  3. #3
    clivejo
    But I don't want it powering up the TV, DVD, side lights, and other peripherals when the satellite receiver wakes to process a timer.

  4. #4

    Title
    Forum Supporter
    Donated Member
    Join Date
    Jun 2010
    Posts
    3,007
    Thanks
    1,347
    Thanked 427 Times in 391 Posts
    Never heard of that one before but asking how long did you wait to see if it shuts down on standby?

  5. #5
    clivejo
    It doesn't seem to switch off at all when the box is in standby, maybe this is because I have a lot of timers keeping the box awake. Putting the box into deep standby does work, but then the box wakes up to process a timer it also seems to power up the USB ports, which in turn turns the power on to the TV, DVD, lights, etc

  6. The Following User Says Thank You to clivejo For This Useful Post:

    cactikid (26-05-19)

  7. #6

    Title
    ViX Beta Tester
    Join Date
    Apr 2011
    Location
    Ireland
    Posts
    2,049
    Thanks
    404
    Thanked 668 Times in 547 Posts
    ON and STANDBY modes are almost identical except there is no display output when in standby. In deep standby almost all of the receiver is switched off except for the timer.
    Zgemma H7S running OpenVIX 6.2, Darkmotor, Triax TD110 dish, Inverto Black Ultra dual lnb
    LG 50UM7450 4K TV, Pioneer VSX-534 Atmos AVR , Panasonic UB820 region free 4K Bluray & a PS4.

  8. #7
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,771
    Thanks
    235
    Thanked 1,656 Times in 1,305 Posts
    Quote Originally Posted by clivejo View Post
    It doesn't seem to switch off at all when the box is in standby,
    As noted elsewhere, this is to be expected. The box is still running - you can login to for a start.
    So the USB ports will be powered up, And they will power up as soon as the box is powered up from any state in which they are not powered up (which is just Deep Standby or Off - as in no power to the box at all.

    What event would be like to power up the USB port?

    PS. It might be easier just to switch the TV on/off yourself...along with any auto-off functionality they have.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  9. #8
    clivejo
    I was wondering if I could unbind the USB port when the standby button is pressed on the remote.

    /sys/bus/usb/drivers/usb/unbind

    and then bind it again when the remote brings the receiver back from standby.

  10. #9
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    8,383
    Thanks
    987
    Thanked 2,888 Times in 2,243 Posts
    The only way is to try it....
    //https://lwn.net/Articles/143397/

    .... but probably easier to use Birdmans suggestion!
    Gigablue Quad 4K & UE 4K
    .........FBC Tuners:
    ------------------> DUR-Line DCR 5-1-8-L4 Multiswitch to 1.5M dish(28.2E)
    ------------------> Spaun SUS 5581/33 NFA Multiswitch to 80 cm dish(19.2E)
    .......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
    AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using Legacy ports on multiswitches
    Zgemma H9 C/S into Giga4K

  11. #10
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,771
    Thanks
    235
    Thanked 1,656 Times in 1,305 Posts
    Quote Originally Posted by clivejo View Post
    I was wondering if I could unbind the USB port when the standby button is pressed on the remote
    Which will be of no help when the system wakes up from a Deep Standby.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  12. #11
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,771
    Thanks
    235
    Thanked 1,656 Times in 1,305 Posts
    Quote Originally Posted by clivejo View Post
    I was wondering if I could unbind the USB port when the standby button is pressed on the remote.

    /sys/bus/usb/drivers/usb/unbind

    and then bind it again when the remote brings the receiver back from standby.
    I'd expect the power to be provided (by default) by the hardware rather than any software driver.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  13. #12
    clivejo
    It depends on the hub, some can control it on a port by port bases. This is a utility I have used on a RaspberryPi - https://github.com/mvp/uhubctl

  14. #13
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,771
    Thanks
    235
    Thanked 1,656 Times in 1,305 Posts
    Quote Originally Posted by clivejo View Post
    It depends on the hub, some can control it on a port by port bases. This is a utility I have used on a RaspberryPi - https://github.com/mvp/uhubctl
    But the box has to power up first, and when it does that the port will be active and have power.
    I can't see it being able to boot up from scratch knowing not to power anything up....
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  15. #14
    clivejo
    Quote Originally Posted by birdman View Post
    But the box has to power up first, and when it does that the port will be active and have power.
    I can't see it being able to boot up from scratch knowing not to power anything up....
    Yes, that is fine. The energy saver extension block needs to sense power at the USB port to switch on the rest of the sockets. What I wanted to do was to kill the power to the USB ports when the box goes into standby, therefore turning off the power to the other devices.

  16. #15
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,276 Times in 1,089 Posts
    … trouble is, usb tuners and usb drives need to be on in standby, so it all gets very complicated.

    Why not power everything off when you're not using them? That's what I've done for hundreds of years, and think of the extra power you'll be saving.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.