Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a Razer Deathadder mouse and a stock dell keyboard plugged into my system. When either or both is plugged in, my system wakes up from sleep. A powercfg -energy shows roughly 5 devices that are not entering suspend state, and among them is the Deathadder mouse, a "usb input device", and a "usb composite device". What can i do to make my system go to sleep and stay sleeping?

share|improve this question
    
Can you clarify your question. If the keyboard and mouse are already plugged in does the system wake up, or are they disconnected and then plugged in which wakes the system? –  ChrisF Dec 3 '09 at 12:43
    
Only if they're plugged in at the time of sleep does it wake back up. –  RCIX Dec 4 '09 at 4:26

1 Answer 1

up vote 3 down vote accepted

Doesn't the -devicedisablewake option to powercfg work?

powercfg -devicedisablewake NAME_OF_DEVICE

NAME_OF_DEVICE is the string you get from powercfg -devicequery wake_armed. To figure out which device caused the most recent wake-up from sleep state, do

powercfg -lastwake
share|improve this answer
    
I'll try those just a minute... –  RCIX Dec 4 '09 at 4:10
    
When i try to run a powercfg -devicedisablewake NAME_OF_DEVICE (suitably replaced with device name) it tells me i do not have permission to enable or disable device wake even though i'm running as an administrator. Odd... –  RCIX Dec 4 '09 at 4:12
    
I managed to fix it by finding the devices in the Device Manager and turning off their ability to wake from there. –  RCIX Dec 4 '09 at 4:35

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.