| Previous | Next |
| STATUS_GPIO_OPERATION_DENIED | STATUS_CANNOT_SWITCH_RUNLEVEL |
STATUS_GPIO_INCOMPATIBLE_CONNECT_MODE
The pins are already configured for an incompatible mode
A GPIO connection configures a set of pins as data inputs or outputs and can impose electrical and sharing requirements. This status means at least one requested pin already participates in a connection whose mode cannot coexist with the new request. The conflict is logical resource ownership, even if the hardware could be reprogrammed manually.
Typical cases include opening an output connection where an input connection is active, requesting incompatible sharing, or overlapping a set of pins partially owned by another device. Firmware resource descriptions and Plug and Play assignments should prevent most conflicts; a failure can expose an incorrect ACPI resource, duplicate consumer, or leaked connection handle.
What to inspect
- Record every pin in the requested resource, connection mode, sharing flags, and existing owners.
- Inspect ACPI GPIO resource descriptors for overlapping or duplicated assignments.
- Check that previous handles are closed during stop, remove, rebalance, and error cleanup.
- Do not force a mode change outside GpioClx while another client owns the connection.
References
- Microsoft Open Specifications: NTSTATUS values
- Microsoft: connecting a KMDF driver to GPIO pins
- Microsoft: GpioClx DDI
- Microsoft driver samples: GPIO controllers and clients
Looking for a different code? Search another status or error code.