Computer awakes immediately from standby

Y

Yousuf Khan

For the past several weeks, I've noticed that my desktop has been having
trouble going into either sleep or hibernate. I would put it to sleep,
and it would reawaken within seconds. This wouldn't happen all of the
time, maybe 2/3rds of the time though. I'd have to tell it to sleep
again, and it may do this again, or it may actually go to sleep this
time. Usually it'll go to sleep by the third time.

I found the following article which may explain it: http://is.gd/gZ5Ph4

One thing it tells me to do is run the following command, "powercfg
-lastwake" after the computer reawakens. I ran it and found that it
returned the following result:

Wake History Count - 1
Wake History [0]
Wake Source Count - 1
Wake Source [0]
Type: Device
Instance Path: USB\ROOT_HUB20\4&20d008e6&0
Friendly Name:
Description: USB Root Hub
Manufacturer: (Standard USB Host Controller)

So it looks like a USB controller might be responsible for it. But I'd
like to know exactly which one it is. How do I find that "Instance Path"
given above and match it up with something in the Device Manager?

Yousuf Khan
 
W

...winston

Open Device Manager
Check Properties on each USB Device (Root Hub). Click Power Management tab and disable 'Allow this device to wake the computer'

Renable one at a time and test to determine which device connected to the USB 2.0 Host Controller is involved.

Other items that can 'auto' wake up a pc (Lan Adapter, Bios setting, modem/fax)

--
....winston
msft mvp


"Yousuf Khan" wrote in message
For the past several weeks, I've noticed that my desktop has been having
trouble going into either sleep or hibernate. I would put it to sleep,
and it would reawaken within seconds. This wouldn't happen all of the
time, maybe 2/3rds of the time though. I'd have to tell it to sleep
again, and it may do this again, or it may actually go to sleep this
time. Usually it'll go to sleep by the third time.

I found the following article which may explain it: http://is.gd/gZ5Ph4

One thing it tells me to do is run the following command, "powercfg
-lastwake" after the computer reawakens. I ran it and found that it
returned the following result:

Wake History Count - 1
Wake History [0]
Wake Source Count - 1
Wake Source [0]
Type: Device
Instance Path: USB\ROOT_HUB20\4&20d008e6&0
Friendly Name:
Description: USB Root Hub
Manufacturer: (Standard USB Host Controller)

So it looks like a USB controller might be responsible for it. But I'd
like to know exactly which one it is. How do I find that "Instance Path"
given above and match it up with something in the Device Manager?

Yousuf Khan
 
Y

Yousuf Khan

Open Device Manager
Check Properties on each USB Device (Root Hub). Click Power Management
tab and disable 'Allow this device to wake the computer'

Renable one at a time and test to determine which device connected to
the USB 2.0 Host Controller is involved.

Other items that can 'auto' wake up a pc (Lan Adapter, Bios setting,
modem/fax)
Most of the usual suspects that can wake up a computer (keyboard, mouse,
ethernet) are already disabled from waking the computer.

Yousuf Khan
 
R

Rob

Most of the usual suspects that can wake up a computer (keyboard, mouse,
ethernet) are already disabled from waking the computer.

Yousuf Khan

You may have to go into the BIOS and alter it from there. Making sure
that you save the setting on exit.,
 
Y

Yousuf Khan

You may have to go into the BIOS and alter it from there. Making sure
that you save the setting on exit.,
What I really need to do is find out what the device with the following
identification string is.

Instance Path: USB\ROOT_HUB20\4&20d008e6&0

I found nothing that exactly matches that string. I found a couple of
USB root hubs that match up until the point of "USB\ROOT_HUB20\..." but
the string beyond that doesn't match. And besides none of them have the
capability to wake the computer up, as that option is greyed out for them.

Yousuf Khan
 
Y

Yousuf Khan

Perfect! This seems to have fixed it. Initially after finding the
settings, and resetting them, and then trying the sleep test, it didn't
work. Then I rebooted and tried the sleep test again, and it worked!
Tried about 3 sleeps and 1 hibernate so far, and they all went down and
stayed down.

This guy seemed to have almost exactly the same problem as me, even had
the same model of Realtek ethernet chipset as mine. Initially, the
solution doesn't seem to make any sense, what could the ethernet have to
do with this thing, since the ethernet is not on the USB hub, but it
somehow does work. Thanks!

Yousuf Khan
 
D

Dave-UK

Yousuf Khan said:
Perfect! This seems to have fixed it. Initially after finding the
settings, and resetting them, and then trying the sleep test, it didn't
work. Then I rebooted and tried the sleep test again, and it worked!
Tried about 3 sleeps and 1 hibernate so far, and they all went down and
stayed down.

This guy seemed to have almost exactly the same problem as me, even had
the same model of Realtek ethernet chipset as mine. Initially, the
solution doesn't seem to make any sense, what could the ethernet have to
do with this thing, since the ethernet is not on the USB hub, but it
somehow does work. Thanks!

Yousuf Khan
I've changed my settings now, even though I don't normally use sleep or hibernate! :)
 
P

Paul in Houston TX

Yousuf said:
Perfect! This seems to have fixed it. Initially after finding the
settings, and resetting them, and then trying the sleep test, it didn't
work. Then I rebooted and tried the sleep test again, and it worked!
Tried about 3 sleeps and 1 hibernate so far, and they all went down and
stayed down.

This guy seemed to have almost exactly the same problem as me, even had
the same model of Realtek ethernet chipset as mine. Initially, the
solution doesn't seem to make any sense, what could the ethernet have to
do with this thing, since the ethernet is not on the USB hub, but it
somehow does work. Thanks!

Yousuf Khan
Thanks! Both my comps had pattern match enabled.
 
Y

Yousuf Khan

I've changed my settings now, even though I don't normally use sleep or
hibernate! :)
D'oh, it looks like I spoke too soon! That solution just worked for that
one day, and now it's back again! So it doesn't look like the ethernet
was responsible for it.

Yousuf Khan
 
D

Dave-UK

Yousuf Khan said:
D'oh, it looks like I spoke too soon! That solution just worked for that
one day, and now it's back again! So it doesn't look like the ethernet
was responsible for it.

Yousuf Khan
That's a bummer! :-(
 
Y

Yousuf Khan

That's a bummer! :-(
I ran the following command, this time:

powercfg -devicequery wake_armed

And it listed a Logitech keyboard as the only thing that's able to wake
the PC. I turned it off, and I'll test it to see if it fixed it, but
I'll keep testing it for a few days to see if this time it's the real thing.

Yousuf Khan
 
S

Stan Brown

I ran the following command, this time:

powercfg -devicequery wake_armed

And it listed a Logitech keyboard as the only thing that's able to wake
the PC. I turned it off, and I'll test it to see if it fixed it, but
I'll keep testing it for a few days to see if this time it's the real thing.

Yousuf Khan
Out of curiosity I tried that command. It listed "HID-compliant
mouse". But I tried sleeping, and while my computer was asleep my
mouse (Logitech M305) would not wake it.

I suspect "HID-compliant mouse" either means a wired mouse, which I'm
too lazy to find in the closet for testing purposes, or some sort of
desktop-only device that doesn't actually exist in my laptop.
 
C

charlie

Out of curiosity I tried that command. It listed "HID-compliant
mouse". But I tried sleeping, and while my computer was asleep my
mouse (Logitech M305) would not wake it.

I suspect "HID-compliant mouse" either means a wired mouse, which I'm
too lazy to find in the closet for testing purposes, or some sort of
desktop-only device that doesn't actually exist in my laptop.
A "HID" compliant mouse is actually any similar input device.
A mouse, trackball, and even a joystick can be recognized as such.
(It just depends on what "standards" the mfr used.)

HID = Human Interface Device (As if you didn't know!) <G>
 
Y

Yousuf Khan

Out of curiosity I tried that command. It listed "HID-compliant
mouse". But I tried sleeping, and while my computer was asleep my
mouse (Logitech M305) would not wake it.

I suspect "HID-compliant mouse" either means a wired mouse, which I'm
too lazy to find in the closet for testing purposes, or some sort of
desktop-only device that doesn't actually exist in my laptop.
When I tried the command, and it returned the Logitech keyboard, when I
got to Device Manager to turn it off, it listed two HID keyboards, one
of which was the Logitech, and the other one was a generic driver. This
Logitech keyboard is relatively new, but it's been on the system for
over a year already, so it's surprising that it's just showing up now as
a problem. The generic keyboard had its wakeability turned off already,
but the Logitech one didn't.

Yousuf Khan
 
C

charlie

powercfg -devicequery wake_armed
The results for this P/C
HID Keyboard Device (002)
HID Keyboard Device (009)
HID-compliant mouse (002

The trackball and USB keyboard are Logitech.
No "mouse" at all!
The wireless link for the trackball allows
use of a wireless keyboard as well.
One of the Logitech keyboard drivers is deliberately disabled,
since the current version of Win 7 gripes about it during startup.
This resulted in mainly the loss of volume control from the keyboard.

This P/C will only "wakeup" if a wired keyboard or mouse is used.
(BIOS USB options change boot time, but don't enable wakeup via a USB
keyboard or mouse. I don't need or want the Ethernet I/O to wake the
P/C, so that's disabled. USB standby voltage is present at the
connectors when the P/S switch is on, and the P/C otherwise off.

Somewhat useful for charging things like a camera or cellphone.
 
S

Stan Brown

A "HID" compliant mouse is actually any similar input device.
A mouse, trackball, and even a joystick can be recognized as such.
(It just depends on what "standards" the mfr used.)

HID = Human Interface Device (As if you didn't know!) <G>
I tried the trackpad also, and it also did not wake my computer.

I don't normally use sleep, so it's not a big concern to me what will
wake he computer, but I was curious. (I use hibernate.)
 
S

Stan Brown

This P/C will only "wakeup" if a wired keyboard or mouse is used.
Out of curiosity, I went into Device Manager, expanded the
"Keyboard" option, and found three keyboards: two "HID Keyboard
Device" and one "Standard PS/2 Keyboard".

In both of the HID Keyboard Devices I went to Power Management and
checked "Allow this device to wake the computer". The Standard PS/2
Keyboard didn't have that tab in its properties.

I then went into sleep mode, and tried tapping on the keyboard.
Nothing.

It's good that I don't actually care about configuring waking from
sleep, because so far not one single aspect of it that I've tried
actually seems to work. :)
 
R

Rob

Out of curiosity, I went into Device Manager, expanded the
"Keyboard" option, and found three keyboards: two "HID Keyboard
Device" and one "Standard PS/2 Keyboard".

In both of the HID Keyboard Devices I went to Power Management and
checked "Allow this device to wake the computer". The Standard PS/2
Keyboard didn't have that tab in its properties.

I then went into sleep mode, and tried tapping on the keyboard.
Nothing.

It's good that I don't actually care about configuring waking from
sleep, because so far not one single aspect of it that I've tried
actually seems to work. :)

I seem to recall there was a fixit to this problem.

Another interesting thing is that virus checking software will interfere
with this and alter the PC behaviour.
 
C

charlie

I seem to recall there was a fixit to this problem.

Another interesting thing is that virus checking software will interfere
with this and alter the PC behaviour.
But, did you use the power management option that agrees with the power
mode you are in?
If you change the option in one mode, and happen to be using another,
the setting will not be effective.
This older win 7 32 P/C has three modes that I'm talking about.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top