| Предыдущий | Следующий |
| STATUS_PNP_REBOOT_REQUIRED | STATUS_DS_INVALID_GROUP_TYPE |
STATUS_POWER_STATE_INVALID
Что означает STATUS_POWER_STATE_INVALID
STATUS_POWER_STATE_INVALID — текущее состояние питания устройства не позволяет выполнить запрос.
Что проверить
Зафиксируйте устройство и переход питания, во время которого получен код.
- Проверьте события Kernel-Power/Kernel-PnP и состояние драйвера до suspend/resume или повторной инициализации.
- После смены power state не переиспользуйте старые device handles без подтверждения, что драйвер восстановил устройство.
Исходная формулировка
The current device power state cannot support the requested operation.
Inspect D3cold and surprise-removal paths for stale state that incorrectly claims D0.
Verify that power-up completion occurs before queues are restarted or registers are touched.
The correct fix is to repair power-state sequencing, not to retry hardware access blindly. A retry while the device is still unpowered can produce timeouts or bus errors. Compare the driver’s cached state with the bus-visible state, especially after surprise removal, runtime idle or failed resume.
Log the requested operation and the driver, framework and bus view of the current D-state.
Технические ссылки
- Microsoft: Device power states
- Microsoft: D3cold transitions
- Microsoft: Kernel-mode power manager
- Microsoft: Handling surprise removal
- Microsoft Open Specifications: NTSTATUS values
- ReactOS source: kernel power manager
Нужно найти другой код? Найти другой код состояния или ошибки.