Current USB devices are:
- wireless keyboard & mouse - always been on system
- Infra-red remote receiver - used with Windows MCE-compatible remote (TBS one not used)
- QBox II
- KWorld 499U DVB-T dual tuner - added a couple of weeks ago
The IR Receiver may have been connected when I ran the Driver Verifier. It does not respond during sleep mode, so may have some issues of its own. It could have been the cause of the Violation - "HIDCLASS.SYS" I don't believe it could be related to the crashes, as it has not been in regular use and was not connected during most of the crashes. The keyboard/mouse dongle and the QBox are the only two USB devices to have been connected permanently over the period crashes have been occurring.
Comparing Windows power events with kernel BSODs, almost every dump file is timed between 12 and 13 minutes after the system resumes from sleep. The crash itself is almost exactly 10 minutes after resume. Analysis of the most recent crash gave:
DRIVER_POWER_STATE_FAILURE (9f)
A driver is causing an inconsistent power state.
Arguments:
Arg1: 0000000000000004, The power transition timed out waiting to synchronize with the Pnp
subsystem.
Arg2: 0000000000000258, Timeout in seconds.
Arg3: 0000000000000000, The thread currently holding on to the Pnp lock.
Arg4: fffff80000b9c510
If the timeout is in hex, that would be 600 in decimal - 10 minutes, the time between resume from sleep and the crash.
Although most of the kernel events analyse to module usbhub.sys, they nearly all include the statement:
FAILURE_BUCKET_ID: X64_0x9F_3_S2QBOX_IMAGE_usbhub.sys
I don't have the skills to analyse further.
Something else I spotted in Windows Event Viewer is lots of Kernel-Power events, ID40:
The driver \Driver\TBS_QBOXS2BDA for device USB\VID_734C&PID_5928\5&2d14d68b&0&1 stopped the power transition.
The times of these events seem to coincide with transition to sleep mode, but don't seem to have stopped the transition. Wake up events record the same times for entry to sleep mode.
Since the last BSOD on 23 Sep., I have disabled power-saving options on the machine. It now only enters sleep mode on command, either through the start menu or from my TV recording application.