****************************************************************************************
| NOTE | |
| If your Kernel PlugIn driver is intended for Windows 98/Me, develop the driver on a Windows 2000/XP/Server 2003/Vista host PC (see note in section 12.7). |
****************************************************************************************
| NOTES | |
|
To install your driver, run:
WinDriver
util> wdreg -name KP_NAME install
****************************************************************************************
| NOTE | |
| Kernel PlugIn drivers, with the exception of SYS drivers on Windows 98/Me, are dynamically loadable, and thus do not require a reboot in order to load. |
For example, when installing the sample KP_PCI driver, run:
cd WinDriver/samples/pci_diag/kp_pci
When installing a driver created using the Kernel PlugIn files generated
by the DriverWizard, run the following command, where <path>
represents the path to your generated DriverWizard project directory
(e.g. /home/user/WinDriver/wizard/my_projects/my_kp/):
cd <path>/kermode/
****************************************************************************************
| NOTE | |
| Installation of the Kernel PlugIn Driver should be performed by the system administrator logged in as root, or with root privileges (become a super user). |
When installing the sample KP_PCI driver, run:
# cd WinDriver/samples/pci_diag/kp_pci
When installing a driver created using the Kernel PlugIn files generated
by DriverWizard, run the following command, where <path>
represents the path to your generated DriverWizard project directory
(e.g. /home/user/WinDriver/wizard/my_projects/my_kp/):
# cd <path>/kermode
The sample KP_PCI Kernel PlugIn configuration file is
located directly under the sample's kp_pci / directory,
therefore when installing the sample driver run:
# cp kp_pci.conf /kernel/drv
The generated DriverWizard Kernel PlugIn configuration file is located
under the project's kermode/solaris sub-directory, therefore
when installing a generated Kernel PlugIn driver run:
# cp solaris/kp_pci.conf /kernel/drv
For the sample KP_PCI driver, run:
# cd SOLARIS
When installing a driver created using the Kernel PlugIn files generated
by DriverWizard, run:
# cd solaris
For example to copy the sample KP_PCI driver:
On 64-bit platforms run:
# cp kp_pci /kernel/drv/sparcv9
On 32-bit platforms run:
# cp kp_pci /kernel/drv
****************************************************************************************
| NOTE | |
The following commands are also useful when installing a driver on Solaris:
|