Power off USB ports during standby

There are 6 replies in this Thread which was already clicked 1,541 times. The last Post () by dragoshenron.

  • Hi there,


    I'm looking for an option to power off USB ports during standby. I'm not talking about "deep standby" because I want the timers still processed during "off" period.

    I'm on openATV 7.4.20240807 and Vu+ Uno4K SE.

    Any idea on how to get it done? I'm not afraid to use terminal commands, if needed.


    Thanks in advance

  • Thank you. I appreciate!
    However it doesn't work :(

    On the one hand:


    Code
    echo -n "usbX" | tee /sys/bus/usb/drivers/usb/unbind
    tee: /sys/bus/usb/drivers/usb/unbind: I/O error


    However,

    Code
    echo -n "usbx" > /sys/bus/usb/drivers/usb/unbind

    was successfull.


    On the other hand

    Code
    root@vuuno4kse:~# ls /sys/bus/usb/drivers/usb
    5-1     bind    uevent  unbind  usb3    usb4    usb5    usb6


    So I have tried to unbind everything:

    Code
    root@vuuno4kse:~# echo -n '5-1' > /sys/bus/usb/drivers/usb/unbind 
    root@vuuno4kse:~# echo -n 'usb3' > /sys/bus/usb/drivers/usb/unbind 
    root@vuuno4kse:~# echo -n 'usb4' > /sys/bus/usb/drivers/usb/unbind 
    root@vuuno4kse:~# echo -n 'usb5' > /sys/bus/usb/drivers/usb/unbind 
    root@vuuno4kse:~# echo -n 'usb6' > /sys/bus/usb/drivers/usb/unbind 

    however, power it's still delivered to USB ports.

    I'm keen to thinks than unbind is like "Eject" in windows/mac which doesn't remove power from USB.

    Any other ideas?

    • Official Post

    Would imagine they are controlled primarily by the (closed source) drivers....

    IE if you look at the the average boot log the USB port is available very early on, this is obviously for recovery purposes.


    My question is why you wish to turn the power off anyways ?

  • It sounds to me strange that power management is not within the options available, not even from command line.

    At the end of the day, there is also an EU norm about max standby power allowed, isn't it? Like any modern computer, there are options to turn off USB power during standby.


    Use case: I have problems with high temperature (mostly the CAM get stuck and smartcard has signs of browning :( ) and I placed a USB-powered fan to cool down everything. Of course, during standby, I have no reason let the fan on without counting the noise made. During watching TV noise isn't an issue but when the TV is off, noise id perceivable.

    • Official Post

    It is 34 degrees in London today, as normal my VU ultimo is still running at about 70 degrees, that is with 2 viewing cards and 3 tuners and 2 HDD's

    That is normal and well within specs for the chipset. Basically i am saying that if the VU needed a fan then the factory would have fitted one.


    Anyways you not the first i have seen that use's a fan, so i wont bother getting into a debate about it.

    Here is a very old plugin, looking at the code and available configs there is options to do just about whatever you like with a fan, i have not tried it my self, as said above i have no need to.

    GitHub - Dima73/enigma2-plugin-systemplugins-extrafancontrol: Extra fan control - use HDD/SSD/CPU temp
    Extra fan control - use HDD/SSD/CPU temp. Contribute to Dima73/enigma2-plugin-systemplugins-extrafancontrol development by creating an account on GitHub.
    github.com


  • Well,

    I never had issues with the temperature of the STB itself. More with the temp of the CAM burning my smartcard (see attachment) or getting unresponsive. I thought that putting a fan could relieve a bit the situation.


    I've tried to install manually that plugin but I get an error.

    pasted-from-clipboard.png


    So I did

    Code
    opkg install hddtemp


    but it didn't help. From telnet, hddtemp /dev/sda1 reports the temperature correctly.

    Any advice?

    In any case, this plugin doesn't seem to handle USB external fan, but rather internal fans (or at least plugged directly on the motherboard)

OpenATV Team Images Support Forum ~ based on OE-Alliance

OpenATV Supported Models ~ Airdigital, Amiko, Anadol, Atemio, Atto, AX Technology, Axas, Beyonwiz, Dinobot, Dreambox, Edision, EVO, Ferguson, Formuler, Galaxy Innovations, Gigablue, Golden Interstar, HDBox, Hitube, James Donkey, IQON, Izibox, Jepssen, Maxdigital, Medialink, MaXytec, MediaArt, Megaset, Miraclebox, MK-Digital, Mut@nt, Novaler, Octagon, Odin, Optibox, Protek, PULSe, Qviart, Red-Eagle, Relook, Roxxs, SAB, Sezam, Sogno, Space, Spycat, Technomate, Telestar, Tiviar, T-Rex, Uclan, Venton Unibox, Vimastec, VisionNet, VU+, VUplus, World Vision, Vizyon, WWio, Xsarius, and Xtrend.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!