The WinDriver CD contains all versions of WinDriver for the supported operating systems. The CD's root directory contains the Windows 7 / Vista / Server 2008 / Server 2003 / XP / 2000 version. The installation of this version will begin automatically when you insert the CD into the CD drive on your Windows development machine. The other versions of WinDriver are located in <OS> sub-directories (for example: Linux; Wince).
![]() | |
| Driver installation on Windows requires administrator privileges. |
![]() | |
| When using the installation CD, wait a few seconds for the installation to begin automatically. If this does not happen, double-click the file WD1020.EXE in the CD, and click the button. |
![]() | |
|
The following steps are for registered users only:
To register your copy of WinDriver with the license you received from Jungo, follow these steps:
WDU_Init() [B.4.1].
![]() | |
|
You can simplify the driver integration into your Windows CE platform by following the procedure described in this step before the Sysgen platform compilation stage.
Note:
Append the contents of the project_wd.bib file in the WinDriver\samples\wince_install directory to the project.bib file in the %_FLATRELEASEDIR% sub-directory.
This step is only necessary if you want the WinDriver CE kernel file (windrvr6.dll) to be a permanent part of the Windows CE image (NK.BIN), which is the case if you select to transfer the file to your target platform using a floppy disk. If you prefer to have the file windrvr6.dll loaded on demand via the CESH/PPSH services, you do not need to carry out this step until you build a permanent kernel.
![]() | |
| Unless otherwise specified, 'Windows CE' references in this section include all supported Windows CE platforms, including Windows Mobile. |
The following instructions apply to driver developers who do not build the Windows CE kernel, but only download their drivers, built using Microsoft eMbedded Visual C++ (Windows CE 4.x – 5.x) or MSDEV .NET 2005/2008 (Windows Mobile or Windows CE 6.x) to a ready-made Windows CE platform:
The WinDriver installation on the host Windows 7 / Vista / Server 2008 / Server 2003 / XP /
2000 PC defines a
WD_BASEDIR environment variable, which is set to point to the
location of your WinDriver directory, as selected during the installation.
This variable is used during the
DriverWizard [5] code generation – it
determines the default directory for saving your generated code and is used in
the include paths of the generated project/make files.
Note that if you install the WinDriver Windows 7 / Vista / Server 2008 / Server 2003 / XP /
2000 toolkit on the same host
PC, the installation will override the value of the WD_BASEDIR
variable from the Windows CE installation.
In Linux, kernel modules must be compiled with the same header files that the kernel itself was compiled with. Since WinDriver installs kernel modules, it must compile with the header files of the Linux kernel during the installation process.
Therefore, before you install WinDriver for Linux, verify that the Linux source code and the file versions.h are installed on your machine:
Install the Linux kernel source code:
Install version.h:
$ su# cd /usr/src/linux# make xconfig# make dep
To run GUI WinDriver applications (e.g., DriverWizard [5]; Debug Monitor [7.2]) you must also have version 5.0 of the libstdc++ library – libstdc++.so.5. If you do not have this file, install it from the relevant RPM in your Linux distribution (e.g., compat-libstdc++).
Before proceeding with the installation, you must also make sure that you have
a linux symbolic link. If you do not, create one by typing
/usr/src$ ln -s <target kernel>/linux
For example, for the Linux 2.4 kernel type
/usr/src$ ln -s linux-2.4/ linux
$ cd ~
Extract the WinDriver distribution file –
WD1020LN.tgz:
$ tar xvzf /<file location>/WD1020LN.tgz
For example:
$ tar xvzf /mnt/cdrom/LINUX/WD1020LN.tgz$ tar xvzf /home/username/WD1020LN.tgz
$ cd <WinDriver directory path>/redist<WinDriver directory>/redist$
./configure
![]() | |
The configure script creates a
makefile based on your specific running
kernel. You may run the configure script
based on another kernel source you have installed, by adding the flag
--with-kernel-source=<path> to the configure script. The
<path> is the full path to the kernel source directory, e.g.,
/usr/src/linux.If the Linux kernel is version 2.6.26 or higher, configure generates makefiles that use kbuild to compile the kernel modules. You can force the use of
kbuild on earlier versions of Linux, by
passing the --enable-kbuild flag to
configure.
|
<WinDriver directory>/redist$ make<WinDriver directory>/redist$ su<WinDriver directory>/redist# make install$ ln -s <path to WinDriver>/wizard/wdwizard/ usr/bin/wdwizardwindrvr6:root:root:0666 Otherwise, use the
chmod command, for example:chmod 666 /dev/windrvr6WD_BASEDIR environment variable and set it to
point to the location of your WinDriver directory, as selected during the
installation. This variable is used in the make and source files of the
WinDriver samples and generated DriverWizard [5] code, and is also used to determine the default
directory for saving your generated DriverWizard projects. If you do not
define this variable you will be instructed to do so when attempting to
build the sample/generated code using the WinDriver makefiles.
![]() | |
|
Use the WinDriver/util/wdreg script to load the WinDriver kernel
module [10.3]. |
The following steps are for registered users only:
To register your copy of WinDriver with the license you received from Jungo, follow these steps:
$ <path to WinDriver>/wizard/wdwizardWDU_Init() [B.4.1].
![]() | |
Since /dev/windrvr6 gives direct hardware access to user programs, it may compromise kernel stability on multi-user Linux systems. Please restrict access to DriverWizard and the device file /dev/windrvr6 to trusted users. For security reasons the WinDriver installation script does not automatically perform the steps of changing the permissions on /dev/windrvr6 and the DriverWizard application (wdwizard). |