How to control Power on particular USB Port?

  • searching for solution, have tried already

    Code
    root@Dream8k_M4:~# echo -n "1-1" > /sys/bus/usb/drivers/usb/unbind
    root@Dream8k_M4:~# echo -n "1-1" > /sys/bus/usb/drivers/usb/bind
    root@Dream8k_M4:~#

    but this way controls power on both ports together :frowning_face:


    would like control PCW-MS2G to able turn On/Off TV+Receiver+Subwoofer by check Dreambox's Idle state

  • on Bus=02, where Serial-ATA bridge were connected, this trick doesn't work
    where are located Bus=03 and Bus=04 ?


    got idea from friend about use 5v from the SCART,
    but thinking it isn't for me cause my boxes are often woke up at nightime from the crond to update some cards or scan transponders


    p.s.
    btw, is there some solution send Dreambox to last state after power failure?

  • have a look to the BIOS -> Boot -> Powerstate after AC loss: as before|always on|always off


    default should be always on. But I'm not shure if it works. I think, I read about a bug for this on some models

    Gruß Fred

    Die Dreambox ist tot, es lebe die Dreambox

  • THANKS, but i guess this is about Standby(old style: Deep standby) or On,
    i'm searching solution for Idle On/Off by last state, this is Enigma's2 field not bios


    about use 5v from the SCART i can think again if someone can give some advice how to zap to some service without wake on from Idle mode
    few years ago had to add command

    Code
    # Wakeup form Idle
    wget -O /dev/null -q http://127.0.0.1/web/powerstate?newstate=4
    sleep 3


    before zap to service

    Code
    WebIfZap="http://127.0.0.1/web/zap?sRef="
    ServiceRef1="1:0:19:EDE:7D1:2:11A0000:0:0:0:"
    wget -O /dev/null -q $WebIfZap$ServiceRef1
  • last try with attempt took power from fan pins(1;2), but there again problem - power comes back after ~minute in idle, why?!?
    quote from /etc/enigma2>settings

    Code
    config.plugins.FanControl.Multi=1
    config.plugins.FanControl.temp=35
    config.plugins.FanControl.DisableDMM=true
    config.plugins.FanControl.StandbyOff=true
    config.plugins.FanControl.Fan=4pin
    config.plugins.FanControl.minRPM=1000
    config.plugins.FanControl.maxRPM=4000
    config.plugins.FanControl.pwm=150
    config.plugins.FanControl.vlt=160
    config.plugins.FanControl.tempmax=45