Search by Tags

Disable drivers

 

Article updated at 28 Oct 2017
Compare with Revision




Disabling drivers

In general, you can disable the drivers by preventing the operating system from loading them.

In order to do this, rename the key value of the driver in registry.

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\YYYYYYDriver]
"Dll" = "YYYYYY.dll"

Rename all key values from YYYYYY.dll to _YYYYYY.dll (e.g. colibri_touch.dll to _colibri_touch.dll)

Registry location

The majority of the drivers entries can be found in the following registry key:

[HKLM\Drivers\Builtin]

The registry keys include:

Interface Registry for
Colibri PXA
Registry for
Colibri Tegra
Registry for
Colibri VF50/VF61
SDIO/MMC Card Host Controller [HKLM\Drivers\Builtin\SDHC] [HKLM\Drivers\Builtin\SDIO] [HKLM\Drivers\Builtin\ESDHC]
PCCard/CF Controller (Channel 0) [HKLM\Drivers\Builtin\PCC0] (not available) (not available)
USB Function [HKLM\Drivers\Builtin\USBFN]
(requires host driver to work)
[HKLM\Drivers\Builtin\USBFN] [HKLM\Drivers\Builtin\USBOTG\USBFN]
USB Host [HKLM\Drivers\Builtin\OHCI]
(requires function driver to work)
[HKLM\Drivers\Builtin\USBEHCI1] and/or
[HKLM\Drivers\Builtin\USBOTG\Hcd]
[HKLM\Drivers\BuiltIn\HCD_HSHx and/or
[HKLM\Drivers\Builtin\USBOTG\Hcd]]
Serial Port x [HKLM\Drivers\Builtin\Serialx] [HKLM\Drivers\Builtin\Serialx] [HKLM\Drivers\Builtin\UARTx]
Wave Audio [HKLM\Drivers\Builtin\WaveDev] [HKLM\Drivers\Builtin\nvWaveDev] [HKLM\Drivers\Builtin\WaveDev]
Resistive Touch [HKLM\HARDWARE\DEVICEMAP\TOUCH] [HKLM\HARDWARE\DEVICEMAP\TOUCH] [HKLM\HARDWARE\DEVICEMAP\TOUCH]
Flashdisk File System [HKLM\Drivers\BlockDevice\StrataFMD] (disabling not supported yet) [HKLM\Drivers\NAND_Flash]
Ethernet PXA270 Vx.x:
[HKLM\Comm\DM9000]
PXA300 (XT) Vx.x, PXA310 Vx.x and PAX320 V1.x:
[HKLM\Comm\AX88796]
PXA320 V2.x:
[HKLM\Comm\AX88796C]
[HKLM\Drivers\Builtin\USBEHCI2] and
[HKLM\Comm\AX88772B]
see (a)
[HKLM\Comm\ENET]
Display The display driver cannot be disabled. To prevent the LCD pins from toggling:
1. disable the splash screen in the bootloader
2. [HKLM\Drivers\Display\Colibri]
 Type=-1
The display driver cannot be disabled. The display driver cannot be disabled.

(a) To save more power you have to send USBEHCI2 in to suspend mode. Call SetDevicePower(L"HCD1:", POWER_NAME, D4) in your code to suspend the device.