Sleep Issues -- Keyboard & Mouse

tranceaddict84

New member
Local time
12:51 AM
Messages
3
Location
Middlesbrough, UK
Hi guys, firstly, sorry if there are millions of threads on this already. I know 7 can be a pain for random sleep issues. I had a quick search and didn't find anything quite like what I'm experiencing though.

Sometimes, when my PC wakes up from sleep, the keyboard and mouse don't work. It just sits there on the password screen with the cursor flashing. It doesn't happen all the time, and indeed only seems to happen after a longer period asleep (usually first thing in the morning but even then not every time, so it's not exactly easy to replicate).

I can connect to it from my laptop via VNC and everything is still running fine. I can then close all my programs and reboot it gracefully rather than having to hit reset. Once it reboots it all works no problem.

If I go into device manager I can see I have three items under Unknown Devices: 'Razer Pro|Solutions' (my mouse), and two instances of 'USB HID Device' which obviously sounds like a keyboard, but I'm at a loss as to why there are two (will get a screenshot of this next time it happens).

I've unplugged everything apart from my keyboard and mouse prior to putting the PC to sleep and this still occurs. I've tried uninstalling (including checking 'delete driver software' box) and reinstalling these devices over my VNC connection, but they just come back the same. Plugging a different USB mouse in gives the 'device failed to connect' sound and nothing else. Next time it happens I'll try plugging in some other USB devices while connected over VNC.

This only started happening a week ago. The only change I made was to install a new CPU heatsink/fan. It was just a swap from the stock Intel one to a similar Akasa one -- just push-pins, no removing of motherboard, five minute job all good. The only thing that I changed was to enable Q-Fan in the BIOS.

When I first noticed the issue, I worked backwards over what I changed and disabled Q-Fan but without it it's incredibly loud. I have since installed Asus AI Suite, which enables CPU fan control from within Windows.

To reiterate; sleep has been working flawlessly for about six months, and I've changed nothing else hardware or software other than what I've mentioned. Please tell me I'm crazy and Q-Fan/AI Suite can't possibly be what's messing it up! I've been over everything else I can think of, but hopefully you guys will have some more suggestions 'cause it's driving me mental.

Relevant specs:

Win7 Ult x64 -- updates set to notify only
Asus P5Q with latest BIOS
Q9550 @ 3.4GHz
8GB RAM

All latest drivers for GFX, chipset etc. Let me know if you need any more info. Can dump output from msinfo32 or whatever if needed.

Cheers!
 

My Computer

OS
Windows 7 Ultimate x64
CPU
Q9550 @ 3.4GHz
Motherboard
Asus P5Q
Memory
8GB Corsair XMS2 800mhz
Graphics Card(s)
ATI HD4890
Sound Card
Creative X-Fi
Monitor(s) Displays
Samsung 24" & Belinea 22"
Screen Resolution
1920*1200 + 1680*1050
Hard Drives
2x 500GB Samsung RAID0 (OS, Games & Programs)
2x 1TB Samsung RAID0 (VMWare VMs etc)
2x 1.5TB Samsung Non-RAID
1x 400GB WDC (External MP3 backup)
750GB + 500GB Seagate Freeagent Externals
PSU
Hiper Type R 580W
Case
Antec 900
Cooling
Akasa AK-955 HS/F + Antec 900 fans
Internet Speed
50mbit Virgin Media
When you are in Device Manager, what shows up under Keyboards and under Mice? Off the top of my head, I think you might have driver issues.
 

My Computer

Computer Manufacturer/Model Number
Home built
OS
Windows 7 Ultimate 32 bit
CPU
Intel(R) Pentium(R) 4 CPU 3.00GHz
Motherboard
ASUS P4P800-VM Motherboard Chipset: Intel 865G + ICH5
Memory
2.50 GB RAM
Graphics Card(s)
NVIDIA GeForce 7600 GS
Sound Card
SoundMax Integrated Digital Audio (Chip)
Monitor(s) Displays
ViewSonic VX 1962 wm
Screen Resolution
1680 X 1050
Hard Drives
Seagate Barracuda 7200.10 80 GB
ST380215A ATA Device 18.6 GB
Western Digital "My Book" external hard drive 750 GB
Cooling
Fan based
Keyboard
Microsoft Comfort Curve Keyboard 2000 v10 USB
Mouse
Logitec optic USB
Internet Speed
3.01 Mb/s download 0.64 Mb/s upload
Will have to check for sure next time it happens, but I think there's nothing under keyboards or mice.

I agree it does sound like a drivers issue to the extent that it looks as though the drivers are not being reinitialized on wakeup. It seems more like a core part of the OS's I/O system that's not waking up properly than a single device/driver, though. That's what's really got me baffled.
 

My Computer

OS
Windows 7 Ultimate x64
CPU
Q9550 @ 3.4GHz
Motherboard
Asus P5Q
Memory
8GB Corsair XMS2 800mhz
Graphics Card(s)
ATI HD4890
Sound Card
Creative X-Fi
Monitor(s) Displays
Samsung 24" & Belinea 22"
Screen Resolution
1920*1200 + 1680*1050
Hard Drives
2x 500GB Samsung RAID0 (OS, Games & Programs)
2x 1TB Samsung RAID0 (VMWare VMs etc)
2x 1.5TB Samsung Non-RAID
1x 400GB WDC (External MP3 backup)
750GB + 500GB Seagate Freeagent Externals
PSU
Hiper Type R 580W
Case
Antec 900
Cooling
Akasa AK-955 HS/F + Antec 900 fans
Internet Speed
50mbit Virgin Media
Will have to check for sure next time it happens, but I think there's nothing under keyboards or mice.

I agree it does sound like a drivers issue to the extent that it looks as though the drivers are not being reinitialized on wakeup. It seems more like a core part of the OS's I/O system that's not waking up properly than a single device/driver, though. That's what's really got me baffled.

I recently got caught on this one with an XP machine... so if the suggestion doesn't pan out on win7 it's not my fault ;)

Many motherboards have jumpers that allow you to set USB ports to power down during standby and off states. This is fine for memory sticks and flash cards but if you connect your KB and Mouse to ports that power completely down, (i.e. the +5 volts is turned off) it could be they're not being reset properly when the system starts back up.

Grab a copy of your motherboard's manual and take a look at the jumpers... what you want to do is set a jumper that connects your keyboard and mouse to the 5 volt standby supply instead of the general 5 volt supply. That way they'll stay alive when in standby mode... On my ASUS these are labled USB-5SB, but that can vary from maker to maker.
 

My Computer

Computer Manufacturer/Model Number
Homebrew
OS
XP Pro SP3 X86 / Win7 Pro X86
CPU
Amd 64 x2 4200 (2.4ghz)
Motherboard
Asus M2N-MX SE Plus
Memory
Kingston DDR2 800 2gb
Graphics Card(s)
Nvidia GF-8400
Sound Card
Realtek on Motherboard
Monitor(s) Displays
Acer x-193bw
Screen Resolution
1440 x 900
Hard Drives
Western Digital 500g
PSU
350watt In-Win
Case
In-Win
Cooling
Air
Keyboard
yes
Mouse
yes
Internet Speed
5mpbs
Other Info
Also ASRock ION 330 as HTPC (on XP).
Acer Aspire as GP netbook (on XP).
Right, not wanting to jinx it but I think I've fixed it. Hurrah!

I found from device manager that both the keyboard and mouse were trying to use drivers 'hidusb.sys', 'hidclass.sys' and 'hidparse.sys'. The message in device manager implies these files to are unabled to load, locked out due to already being loaded.

What I did was install another copy of Windows 7 to a spare HDD. Browse to %systemroot%\System32\drivers on my old install. Take ownership of the relevant .sys files, set my permissions on them to full control and move the files to the root of the drive (it wouldn't let me do any move/delete/rename operations on them before I forced the permissions).

I then rebooted into my main install and as expected, my keyboard and mouse didn't work. I logged on through VNC, went to device manager and did scan for hardware changes. It found the keyboard and mouse and reinstalled them, they worked right away and lo and behold, the three .sys files I removed have magically reappeared in the drivers directory.

I put the PC to sleep last night and it woke up fine this morning. Fingers crossed it'll stay that way!

Best guess is there was a power interruption at some point when the PC was in S3 standby, it didn't resume properly and that's what's caused Windows to get its tits on an angle about the driver files.
 

My Computer

OS
Windows 7 Ultimate x64
CPU
Q9550 @ 3.4GHz
Motherboard
Asus P5Q
Memory
8GB Corsair XMS2 800mhz
Graphics Card(s)
ATI HD4890
Sound Card
Creative X-Fi
Monitor(s) Displays
Samsung 24" & Belinea 22"
Screen Resolution
1920*1200 + 1680*1050
Hard Drives
2x 500GB Samsung RAID0 (OS, Games & Programs)
2x 1TB Samsung RAID0 (VMWare VMs etc)
2x 1.5TB Samsung Non-RAID
1x 400GB WDC (External MP3 backup)
750GB + 500GB Seagate Freeagent Externals
PSU
Hiper Type R 580W
Case
Antec 900
Cooling
Akasa AK-955 HS/F + Antec 900 fans
Internet Speed
50mbit Virgin Media
Very innovative thinking! Glad your problem is solved. Thanks for the update on the fix.
 

My Computer

Computer Manufacturer/Model Number
Home built
OS
Windows 7 Ultimate 32 bit
CPU
Intel(R) Pentium(R) 4 CPU 3.00GHz
Motherboard
ASUS P4P800-VM Motherboard Chipset: Intel 865G + ICH5
Memory
2.50 GB RAM
Graphics Card(s)
NVIDIA GeForce 7600 GS
Sound Card
SoundMax Integrated Digital Audio (Chip)
Monitor(s) Displays
ViewSonic VX 1962 wm
Screen Resolution
1680 X 1050
Hard Drives
Seagate Barracuda 7200.10 80 GB
ST380215A ATA Device 18.6 GB
Western Digital "My Book" external hard drive 750 GB
Cooling
Fan based
Keyboard
Microsoft Comfort Curve Keyboard 2000 v10 USB
Mouse
Logitec optic USB
Internet Speed
3.01 Mb/s download 0.64 Mb/s upload
Back
Top