Search by Tags

Disable drivers

 

Compare with Revision




Subscribe for this article updates

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
SDIO/MMC Card Host Controller [HKLM\Drivers\Builtin\SDHC] [HKLM\Drivers\Builtin\SDIO]
PCCard/CF Controller (Channel 0) [HKLM\Drivers\Builtin\PCC0] (not available)
USB Function [HKLM\Drivers\Builtin\USBFN]
(requires host driver to work)
[HKLM\Drivers\Builtin\USBFN]
USB Host [HKLM\Drivers\Builtin\OHCI]
(requires function driver to work)
[HKLM\Drivers\Builtin\USBEHCI1] and/or
[HKLM\Drivers\Builtin\USBEHCI3]
Serial Port x [HKLM\Drivers\Builtin\Serialx] [HKLM\Drivers\Builtin\Serialx]
Wave Audio [HKLM\Drivers\Builtin\WaveDev] [HKLM\Drivers\Builtin\nvWaveDev]
Resistive Touch [HKLM\HARDWARE\DEVICEMAP\TOUCH] [HKLM\HARDWARE\DEVICEMAP\TOUCH]
Flashdisk File System [HKLM\Drivers\BlockDevice\StrataFMD] (disabling not supported yet)
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)
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

(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.