Power-off USB-port when O.S. restarts

I need to switch-off the power of the USB-ports when system restarts.
I have a device connected to an USB-port and it gets the power from the USB-port.
I need that, when the system restarts (a simple software restart, not a complete reboot), the device is restarted with a power-off/power-on.
I have already tried with "devcon restart *ROOT_HUB*", but the command seams that restarts the software layers not the physical power.
Beppe Platania Windows Embedded MVP http://blog.bepseng.it

Try the USB power settings under the Advanced Power Options in Power control panel.
www.annabooks.com / www.seanliming.com / Book Author - Pro Guide to WE8S, Pro Guide to WES 7, Pro Guide to POS for .NET

Similar Messages

  • No power through usb ports when pc turned off P43 neo

    Hi, how do I get power to the usb ports when the pc is shut down?  I need to be able to do this as I have a wireless mouse that uses a charging cradle but I can't charge the mouse when the pc is turned off as no power is sent to the cradle when the pc is turned off.
    I'm using a P43 neo motherboard with a e8400 (C0 stepping) cpu and windows 7 home.
    Cheers.

    Hello @XJF,
    I understand that you are not getting any signal from your HP ENVY 700-060 Desktop PC. The issue you are describing appears to be a physical issue. Please call our technical support at 800-474-6836. If you live outside the US/Canada Region, please click the link below to get the support number for your region. http://www8.hp.com/us/en/contact-hp/ww-phone-assis​t.html.
    I would like to thank you for posting on the HP Forums. Have a great day!
    Please click the "Thumbs Up" on the bottom right of this post to say thank you if you appreciate the support I provide!
    Also be sure to mark my post as “Accept as Solution" if you feel my post solved your issue, it will help others who face the same challenge find the same solution.
    Dunidar
    I work on behalf of HP
    Find out a bit more about me by checking out my profile!
    "Customers don’t expect you to be perfect. They do expect you to fix things when they go wrong." ~ Donald Porter

  • IMac Retina shuts off USB ports when sleeping

    I have a new iMac Retina i7 with 32GB RAM running Yosemite. Approximately 60% percent of the time, when the iMac goes to sleep, it shuts off all of the USB ports. This includes dumping hard drives without properly ejecting them, as well as shutting off powered USB hubs. Switching the drives and hubs around to different ports does not help the problem, and it appears to be becoming more frequent. Any suggestions would be welcome.

    I too am having hub issues with my 5K iMac. I purchased an Amazon Basics hub, that never worked at all. I returned it and got one made by vantec. I have two external hard drives connected to it, and they always are recognized after sleep or restart. But other things get dropped, like my two printers. I seem to be able to resolve the dropped hub ports by ejecting my external hard drives and then unplugging the power to the hub, then reconnecting the power. When i do, all the indicator lights come on again, and things work.
    I am working with Vantec about this issue, they have been terrific by email, and they are offering to replace the hub. But now I am wondering if something more basic is wrong, like this SMC reset that has been mentioned in this thread. I was about to ask if that was hard to do, but I just looked at the link provided by Ralph, and doing it is easy-peasy. I will give this a try, and try to remember to report back.
    thanks, Peter

  • Turn off usb ports

    Hi,
    Is there a way to disable/turn off the usb ports when you put the mac to sleep?   I have a laptop fan and a pair of speakers connected to my mac's usb ports and would like them to automaticaly turn off when I put the mac to sleep.   Thanks for any suggestions.
    David

    Powered ports apparently create a lot of static noise
    Personally, I've neither heard of that nor have I experienced it. Can you explain where/how you hear the noise? This may be a hardware issue such as a faulty port and/or logic board.

  • Is there a way of not being able to power off my phone when my phone is locked?

    is there a way of somone not being able to power off my phone when it is locked?
    i.e if it were stolen someone could just turn it off and i would not be able to track it via "find my iphone"
    thanks

    Sorry, no way to do that.

  • Hp pavilion dv6 disables all usb ports when put to sleep mode. hibernate will enable them again.

    Im using an HP pavilion dv6 - 6b56el with Windows 7 Home Premium.
    First install on 15-DEC-2011
    When I put the PC to sleep it will disable all USB ports.
    When I restart the box or put it to hibernate (and wake it again) the USB ports wil work again.
    This happens when running on battery or connected to a power supply.
    As far as I can see I checked all power settings that could possibly disable the USB ports.
    I think the latest changes to the system made before this happens were automatic windows updates on 18-DEC-2011 and 19-DEC-2011.

    Hi,
    There are some computers on the market which have special USB port(s) stay awake during the computer in sleep mode. In your case, you can change this using Device Manager under power management  tab (un-tick "Allow the Computer to turn off this device to save power").
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • B&W G3 chimes, black screen no boot no power to USB ports.

    My precious situation:
    I have a B&W g3 that has been upgraded to a 600mhz G4. It has been workin g well for several years now. Yesterday I booted into OS X 10.4.11 and it had a kernel panic. I tried restarting to no avail. Everything powers on, the fans the optical drive and the hddrives. The power button is green but there is no chime and the screen is black. There is no power to the USB ports so I can't use the keyboard to flash PRAM or boot into open firmware. I've tried the CUDA and taking out the battery. Any other suggestions would be appreciated.
    Since then:
    I couldn't resolve that situation, so I got another one at a local thrift store and swapped in all my pci cards, ram and hdd from the old one. It was working awsome until yesterday. Now the same situation as before. I know what I did wrong this time, but don't know how to resolve it. What happened was I went into start up disk in preferences and chose Mac OS X hdd as start up disk and restarted. Before it was done booting I shut it down with the power button on the front and now this. This time though it does chime when I turn it on. What should I do? I cannot use keyboard commands as there is no power to the USB ports.

    Do you have the original bootable Mac OS CD or DVD that came with the machine?  I have no experience with the Blue&White G3, but had a beige desktop model a long time ago.  Whenever I had some strange boot issues with OS 9 or OS X I was usually able to boot from the original OS 8 CD that shipped with the machine.  I could then run  disc utility to verify and repair the main internal drive and then try to reboot.
    Booting issues are tricky, because you don't really know if you have a hardware or software problem, unless you have another identical working machine and can swap out parts to rule out what you know is good and eventually isolate what is bad.  Going back to the original OS on the optical media and the stock machine with no third-party expansion cards is a good baseline configuation to start out from. 

  • Low power on USB port for external hard drive

    Hi all!
    I'm new here and I have some question about my brand new hybrid - HP Envy x2.
    Couple days ago i found an issue that usb ports are powered by from motherboard even when tablet with dock is turned off or in hibernation mode. This is problematic when I leave device with plugged usb hub, external HD, speakers (powered from usb port) and mouse. After 8 hours in work when I go back home I saw that battery is about 10-15% lower than before leaving Envy x2. I disabled USB charge mode in BIOS, but after that I have problem with working of my external HD.
    When I try to attach hard drive to computer and then I try to turn it on nothing happens - looks like system (Windows 8.1) can't boot. But after immediate unplugging HDD from USB system goes to procedure of starting. I also tried to plug Toshiba HD after turning on my Envy x2 and being in desktop, but nothing happens. Light on HD is blinking, I can hear from it sound like clicking (trying to start?). Also HD is visible in Device Manager but not in My Computer (as additional partition).
    I have tried to change boot options in BIOS by positioning of devices (priority to boot from CD ROM, HDD, OS etc.) but did not fixed problem. 
    After couple of tests provided to found why my HD did not work properely in disabled USB charge mode I know that USB port did not give minimum value of power from supply. I found cable with one plug on one side, and with two plugs on other side (like "Y" type). Then i plugged one end into first USB port, then second end in second USB port and finally - last end of cable to m HD and booooom! It works!
    Here is my question: Is there any ability to change that kind of power supply on USB ports? I want to power mu external hard drive from one USB port, not from two. I have USB hub but don't want to use two USB ports (on the opposite positions of docking station) and additional USB cable. I have the most recent BIOS (F12) and all fresh drivers installed on my computer.
    Any solutions?

    I am not going to take credit for this. I had a similar problem, but all of my USB ports stopped working for EVERYTHING! You were right on track, and here is the final bit of information that you needed: Microsoft Surface tablet External USB hard drives auto-sleep in Windows 8.1 Posted on November 4, 2013 After upgraded from Windows 8 to Windows 8.1 Pro, my SeaGate Expansion 2TB hard drive always runs to sleep mode automatically and then disappears if no file transfers occur. when I try to access its stored files, the File Explorer will be unresponsive. Changing the power options is not working. In Windows 8.1 the external USB hard drives and USB flash drives are configured with a low power state by default. That causes USB massstorage devices auto-sleep or file transfers stop unexpectedly. You could change the hardware ID of USB storage device in the registry to resolve the problem. * Updated to the latest firmware for the device to check if it is fine. * From Start screen, open the Search charm, type regedit, right-click the regedit icon from result, and select “Run as administrator“. * In the left pane of Registry Editor, navigate to the key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro​l\usbstor * Right-click the “usbstor” and create a key with the following key name: apricorn (aegis padlock) 09840315 buffalo external hdd 500gb 04110105 cavalry dual bay dock 152d2352 diskgenie usb device 09840092 hitachi touro 3.0 4tb usb 3.0 49711015 kingston datatraveler hyperx 3.0 usb device 256gb (dthx30/256gb) 0951162b lacie 2tb usb drive 059f1018 mediasonic h82-su3s2 probox 152d0539 multi-drive enclosure connected 15200551 seagate expansion 2tb 0bc23320 seagate expansion desk 3tb 0bc23312 seagate fa goflex desk 2tb 0bc25071 verbatim store ‘n’ save superspeed 3tb 18a50400 western digital elements desktop 2tb 10581021 western digital my book 2to 10581140 * Now right-click the new key, create a DWORD entry named DeviceHackFlags with 400 hexadecimal value. * Make a reconnection for the device. RELATED POSTS How to Disable SkyDrive Integration in Windows 8.1 Install Windows 8.1 from USB flash drive Error Code 0xc1900104 Windows 8 gps receiver for Surface Pro Fix Stylus/Pen not working bug on Surface Pro Windows 8 app not sync with Google Apps calendar Create Windows 8.1 Bootable USB Flash Drive This entry was posted in Windows 8 and tagged issues, USB, Windows 8.1 by Windows 8 rt/pro. Bookmark the permalink.

  • Powering off firewire ports when imac is off!

    hello,
    i was wondering, is there a command line or something else to configure the firewire ports on my imac so that when my imac is turned off, power doesn't continue flowing to my firewire 800 hard drive as well as my firewire 400 audio interface??? thanks

    24” iMac 2.8 GHz Intel Core 2 Duo OSX v10.5.5 shutdown anomaly.
    It appears that the iMac does not truly shut down, the Firewire 400 port cycles on so that a hard drive attached to the port will turn on.
    I took readings with a digital ammeter/powermeter attached to the iMac power cord.
    The reading with the computer shut off read 5ma (0 watts on the wattmeter) cycling to 180ma (5 watts) for 1 second duration. This cycle repeats 23-24 times a minute. Unfortunately, this is enough to activate my One Touch Maxtor 500GB hard drive attached to the Firewire port. The readings with the iMac in the sleep mode were the same, so it seems shutting the computer down at night really doesn’t save any electricity. Attaching the Maxtor to the USB port does not turn on the hard drive when the computer is shut down.
    I have seen other support group threads complaining about Firewire drives turning on when the computer is in shut down mode and the cause is generally accepted to be an active Firewire port.
    Since my Maxtor doesn’t have an on/off switch, the best solution I have found so far is to use my APC 750 UPS to turn off the Maxtor. This APC has a master plug outlet that senses when the computer is turned on and activates 3 other outlets to on when the computer reaches a certain power threshold. Fortunately the threshold is user adjustable and I was able to set it high enough to turn off the Maxtor outlet when the iMac is off. This really doesn't solve the problem, I guess Apple will have to fix that, but it is a work around to all those HD lights.
    Is anyone else able to confirm that their iMac cycles like mine does, or is this peculiar to my iMac? It is new and if it needs service I would prefer to do it while it is covered under warranty.
    Mike

  • IPod Touch drawing too much power--disabling USB ports

    Hi there,
    I have a brand new Macbook, just picked it up less than a week ago. I've been hooking up my 2nd gen iPod touch to it for a while without any problems, but suddenly I started to get an error message every time I plug it into my USB port:
    "*Because a USB device was drawing too much power from your computer, one or more of your USB devices have been disabled.* To prevent damaging your computer, the USB device drawing too much power has been disabled. Other devices may also have been disabled. When you disconnect the device drawing too much power, your other USB devices will be enabled again."
    I've been looking all over the internet for a solution to this and I can't find a thing--it's really frustrating since this laptop's brand new and I have no other way of charging my iPod.
    My laptop is plugged in while I'm doing this. The error message is instant--it seems to pop up before I've even inserted the USB cable all the way. Also, for what it's worth, I just did a test and I get the error message just by plugging the USB in, even if it's completely unattached to anything.
    Thanks, looking forward to a solution.
    Message was edited by: stenzelwa
    Message was edited by: stenzelwa

    Had the same where as soon as i Plug my iPhone into the USB Port on my 2009 "Macbook Pro"
    "Because a USB device was drawing too much power from your computer, one or more of your USB devices have been disabled. To prevent damaging your computer, the USB device drawing too much power has been disabled. Other devices may also have been disabled. When you disconnect the device drawing too much power, your other USB devices will be enabled again."
    (This is a Simple Fix)
    Just Change the USB Cable.
    I Just Happened to have a New USB/iPod/iPhone Cable Laying Around, so i Connected it and "Voila" everything was back to Normal.

  • U3011t - Not enough power to USB ports

    We are working with a U3011t and before this past Friday all the ports on the monitor worked.  After doing re-imaging the computer, I am now receiving an error message that states there is not enough power to supply the USB ports.  Any Ideas why this is?

    The monitor USB hub is simply a receiver when the USB upstream cable is connected from the bottom of the monitor to a USB port on the computer.
    The monitor USB hub should appear in the Device Manager. When I connected the U3011 USB upstream cable to my Alienware M18x-R1 blue USB 3.0 port, the Device Manager- Universal Serial Bus controllers added =
    Renesas Electronics USB 2.0 Hub
    Renesas Electronics USB 2.0 Hub
    USB Mass Storage Device
    Reconnect the monitor USB upstream cable to the monitor port. Then, connect the other end of our monitor USB upstream cable to every computer USB port and re-test. Also, test the monitor on another computer. If available, test another USB upstream cable. The ones from any printer will work.

  • IMac has stopped charging via the keyboard USB port when sleeping - why?

    I have a 2008 model 2.8GHz iMac with standard size aliminium keyboard. Historically, I have plugged my iPhone in to the USB port of the aliminium keyboard via the standard iPhone cable and when I put the iMac to sleep it continues to charge the iPhone.
    However, the keyboard USB port no longer keeps charging the iPhone when I put the iMac to sleep. The USB ports on the back still do, but not those on the keyboard. Has anyone else encountered this and found a solution?

    Although I have never connected my iPod to the keyboard in the past, I can confirm this behavior. Previously my Mac was an Early 2006 iMac Core Duo with the white plastic Apple Keyboard, so the USB hub in the keyboard was USB 1.1 and not recommended for iPods. Now I have a new Early 2009 Mac mini with the aluminum Apple Keyboard with Numeric Keypad with the USB 2.0 hub.
    I can confirm that, based on the messages/symbols displayed on the iPod;
    1. an iPod connected to the USB 2.0 hub in the Apple Keyboard charges when the Mac is awake.
    2. an iPod connected to the USB 2.0 hub in the Apple Keyboard is ejected and no longer charges when the Mac is asleep.
    3. an iPod connected to a 3rd party, non-powered, USB 2.0 hub connected directly to a Mac USB port is ejected but continues to charge when the Mac is put to sleep.
    4. an iPod connected directly to a Mac USB port is ejected but continues to charge when the Mac is put to sleep.
    However, Benjamin, if you read the the 3rd comment from the bottom, of the discussion thread to which you have linked, the poster states that Apple engineers have confirmed to him that;
    1. with Mac OS X 10.5.6 a new power management scheme was implemented.
    2. an iPod connected to the USB 2.0 hub in the Apple Keyboard is ejected and no longer charges when the Mac is asleep, is now correct behavior under the new power management scheme.
    The drawback is that folks in that thread are reporting that not only does the iPod not charge, but that it is drained of power.

  • Closing lid on my CQ61 turns off USB ports...

    I am trying to use my Compaq CQ61Z as a HTPC.  I have it connected via HDMI to my stereo receiver and use a wireless keyboard/mouse with a USB receiver to control it from across the room. 
    Everything works fine, unless I close the lid.  I found the power setting to not have the laptop automatically go to sleep when the lid is closed, but the keyboard/mouse stop working when the lid is closed.  This pretty much kills the idea of using this laptop as a HTPC.
    As soon as I open the lid, the kb & mouse start working again.  I can't find anything in the power settings that would affect the USB ports. 
    Any suggestions?
    This question was solved.
    View Solution.

    if you go into the Advanced power options there is an adjustment for USB devices you can change to disable selective suspend
    click Kudos to say thanks if I helped

  • IPod Nano Drawing Too Much Power From USB Port

    My daughter plugged her iPod into the USB port of our iMac today, something she has been doing for months and months, and yet this time she was greeted with an error message telling her that something was drawing too much power from the USB port, so my iMac was shutting down that port.  I moved the iPod to another port -- same error message.  I moved the iPod to another iMac -- same message.  So I am confident that the culprit is the device and not the computer.  Any ideas on how to resolve this issue?  The iPod is an iPod Nano 7th Generation (current model).

    My issue has been solved.  The USB cable was bad.  I am unsure how to remove my question from the forum ... sorry for taking up anyone's time.

  • Does an ADC Adapter Power Monitor USB Ports?

    I'm planning to pick up a Mini in the near future, and was hoping to squeeze another year or two of life out of my Cube's display. Was curious if anyone knows whether any of the various DVI-ADC Adapters (Apple's or a third party's) supplies the extra power to the monitor USB ports that is required to drive cube speakers?
    It'd be a nice bonus (and extra reason not to buy a new display right away) if I got to keep using my Cube speakers with a Mini.

    If you purchase Apple's adapter it should do everything you are looking for.
    -Juxel

Maybe you are looking for

  • Why does one particular website not open on my ipad*,

    Why does one particular website not open on my ipad, when it alwasys did, but the same website is available upstairs on my PC, I'm using the same remote connection but for some reason it doesn't want to open.  I;ve tried refreshing etc... but nothing

  • How can I insert elements in other elements or areas.

    I have a small problem with interlaced elements. For example. I created a new area and inserted an accordion widget. When I viewed the result in the web browser for the first time, everything looked fine. When I clicked on one of the accordion links

  • Sample Client ABAP Proxy Program - PI 7.1

    I created Proxy. I need to call in a Report Program. I am using PI 7.1 Can anyone send me a sample Client ABAP Proxy program to use with PI 7.1

  • Ipod will not charge or register USB! Please Help

    Ok I have had problems with my IPod 3G but now I have no idea how to fix this one. Everytime I plug it into charge if flashes the Apple screen for a few seconds then shuts down and repeats. To add to the problem I cannot reset it because my macbook w

  • TS1500 How to transfer edited pictures from iPad to Windows 7

    Hi, This seems pretty obvious, but I couldn't get the answer with google. I imported pictures with the camera kit, then opened the photo gallery, click on edit for many pictures to do mostly crops and save. Now, I want to transfer all the imported pi