VIA WCE X86 USB HID Class Driver Installation Guide
8/18/2000
Copyright (C) 2000 VIA Technologies, INC.
1. Release note
This package release is version 1.1, which enhances the functions
and features of Microsoft's sample USB Human-Input-Device (HID)
class driver in Windows CE 3.00 & 2.12. The enhancements comprise
keyboard's numeric keypad and LED's, mouse's wheel, joystick's
hat switch, and direct keyboard setting adjustment through the
Control Panel. In addition, test programs HIDPROFILER and REGVIEW
enable OEMs to quickly confirm the success of driver installation
and to verify the functions of attached mouse or joystick.
The package operates on any Windows CE X86-based platform using
VIA's chipsets or network controllers. The driver works properly
with Microsoft Windows CE 3.00 and 2.12, and it should work for
later versions of Windows CE.
2. Revision note
Features supported but different from Version 1.0 are
described below:
(1) Added WinCE 3.00 support to the USB HID class driver.
(2) Added direct keyboard setting adjustment through the
Control Panel.
(3) Removed configurable registry subkeys for selecting
keyboard's default settings of the repeat delay and rate.
(4) Removed the MouseKeys feature of controlling the pointer
with the numeric keypad on the keyboard.
(5) Replaced test program JoyTest with enhanced HIDPROFILER
that fixed several bugs and added WinCE 3.00 support.
3. File descriptions
The package contains 9 files as described below:
\DEBUG\VIAHID.DLL 45,650 08-17-00 18:05 drv debug version
\DEBUG\VIAHID.MAP 38,206 08-17-00 18:05 MAP file
\DEBUG\VIAHID.PDB 241,664 08-17-00 18:05 PDB file
\RETAIL\VIAHID.DLL 14,931 08-17-00 18:05 drv retail version
COMMON.REG 454 08-18-00 10:23 sample REG file
PLATFORM.BIB 585 08-17-00 16:08 sample BIB file
HIDPROFILER.EXE 36,352 08-09-00 17:05 test program
REGVIEW.EXE 9,728 12-02-99 9:17 test program
README.TXT this Readme file
4. The following step-by-step instructions assume that your target
platform is named VIACEPC, and that the Windows CE 3.00 MAXALL
configuration is adopted. USB HID-compliant peripherals
(e.g. a keyboard and a mouse and a joystick) are required for
an initial evaluation of this package. Note the USB HID class
driver is independent of the type of host controllers being used.
5. Refer first to "VIA WCE X86 USB UHCI Driver Installation Guide"
to make a binary image. Download the image to your target
platform, and confirm a USB mouse or a USB keyboard can be
successfully connected.
6. Copy binary to the current release directory under \Wince300
For a retail build, copy the following 3 files:
viahid.dll
RegView.exe
HidProfiler.exe
For a debug build, copy the following 5 files:
viahid.dll
viahid.map
viahid.pdb
RegView.exe
HidProfiler.exe
7. Modify bib file in the current release directory under \Wince300
Locate the Platform.bib file and modify the IMGUSB section
as follows:
IF ODO_NOUSB !
IF IMGUSB
IF CEPC_UHCI
VIAuhci.dll $(_FLATRELEASEDIR)\VIAuhci.dll NK SH
ENDIF
IF CEPC_OHCI
ohci.dll $(_FLATRELEASEDIR)\ohci.dll NK SH
ENDIF
IF IMGVIAHID
VIAHid.dll $(_FLATRELEASEDIR)\VIAHid.dll NK SH
RegView.exe $(_FLATRELEASEDIR)\RegView.exe NK
HidProfiler.exe $(_FLATRELEASEDIR)\HidProfiler.exe NK
ENDIF
IF IMGVIAHID !
usbhid.dll $(_FLATRELEASEDIR)\usbhid.dll NK SH
ENDIF
usbd.dll $(_FLATRELEASEDIR)\usbd.dll NK SH
ENDIF
ENDIF
A sample Platform.bib file is included for your reference.
8. Modify reg file in the current release directory under \Wince300
Locate the Common.reg file and modify related settings as follows:
IF IMGVIAHID
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\Default\Default\3\VIAHID]
"DLL"="VIAHID.DLL"
"Prefix"="HID"
"Index"=dword:1
"KbdRepeatEnable"=dword:1
ENDIF
IF IMGVIAHID !
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\Default\Default\3\Generic_Sample_Hid_Class_Driver]
"DLL"="USBHID.DLL"
"Prefix"="HID"
"Index"=dword:1
ENDIF
[HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\Generic_Sample_Hid_Class_Driver]
A sample Common.reg file is included for your reference.
9. Add the environment variable
Choose Settings from the Platform menu. Select the Environment
to define one variable and set its value as follows:
set IMGVIAHID=1
10. Choose "Make Image" from the Build menu to make a new OS image
to include VIA's HID driver. Then download the binary image
to your target platform.
11. Basic testing
(1) Verify the success of driver installation
Run the "RegView.exe" test program, and locate the
\KEY_LOCAL_MACHINE\Drivers\Active registry entry. Search
for all subkeys and confirm the existence of a subkey for
VIA's HID class driver. This entry continues to exist
as long as at least an HID device is attached.
(2) Verify the functions of USB keyboard
Attached a USB keyboard to your target platform. Press
respectively "Scroll Lock" and "Caps Lock" and "Num Lock"
each twice and confirm the corresponding LED indicators
on the keyboard are able to light up. Turn on "Num Lock,"
key in a few number digits on the numeric keypad, and
confirm their correctness; turn off "Num Lock," and confirm
the right, the left, the up, the down arrows and the rest
function keys on the numeric keypad can work properly.
(3) Verify keyboard setting adjustment through the Control Panel
Open the Keyboard control panel applet. Adjust the repeat
delay and rate and confirm the new settings take effect
immediately. Enable or disable the character repeat option
and confirm it works. The user may adjust keyboard's default
settings by modifying the "InitialDelay" and "RepeatRate"
subkey under [HKEY_CURRENT_USER\ControlPanel\Keybd] in
the Common.reg file.
(4) Verify the functions of USB mouse or joystick
Attach a USB mouse or a joystick to your target platform.
Launch the "HIDprofiler.exe" test program. First, select
the menu item "\Control\Enumerate Devices" then a dialog
of "Enumerate Devices" will appear. The program will
enumerate all attached devices that you have plugged,
select one of the device items you want to test, and
then press the "Acquire" button.
Test the attached USB HID device by pushing the buttons or
pressing the hat switch or moving its axes or rolling the
throttle, if applicable. Watch on-screen event messages,
and confirm the correctness of all the device's hardware
functions.
12. Known problems & limitations
(1) The USB keyboard with an extension port for a PS/2 mouse
is not supported.
(2) Microsoft Pocket Word and Internet Explorer don't support
USB mouse wheel feature. The user may develop his/her own
application to utilize this feature.
(3) Power management capability is not supported.
13. Quality assurance
(1) The following table lists the HID devices being used and
their respective test results with VIA's HID class driver,
where the function enhancements over Microsoft's WinCE 3.00
USB HID class driver are indicated.
USB Device Model/FCC I.D. Manufacturer Enhancement
----------------------------------------------------------------
Keyboard 7932M BTC repeat rate & delay
Keyboard 8113W BTC repeat rate & delay
Keyboard NA Microsoft repeat rate & delay
Mouse A2U800A DEXIN same
Mouse NWU-5 A4 Tech same
Mouse+wheel M-BA47 Logitech wheel
Joystick NA SideWinder hat switch
Joystick NA ThrustMaster hat switch
----------------------------------------------------------------
(2) The following table lists the HID devices being used and
their respective test results with VIA's HID class driver,
where the function enhancements over Microsoft's WinCE 2.12
USB HID class driver are indicated.
USB HID Model/FCC I.D. Manufacturer Enhancement
----------------------------------------------------------------
Keyboard 7932M BTC numeric keypad, LED's
repeat rate & delay
Keyboard 8113W BTC numeric keypad, LED's
repeat rate & delay
Keyboard NA Microsoft numeric keypad, LED's
repeat rate & delay
Mouse A2U800A DEXIN same
Mouse NWU-5 A4 Tech same
Mouse+wheel M-BA47 Logitech wheel
Joystick NA SideWinder hat switch
Joystick NA ThrustMaster hat switch
----------------------------------------------------------------
Download Driver Pack
After your driver has been downloaded, follow these simple steps to install it.
Expand the archive file (if the download file is in zip or rar format).
If the expanded file has an .exe extension, double click it and follow the installation instructions.
Otherwise, open Device Manager by right-clicking the Start menu and selecting Device Manager.
Find the device and model you want to update in the device list.
Double-click on it to open the Properties dialog box.
From the Properties dialog box, select the Driver tab.
Click the Update Driver button, then follow the instructions.
Very important: You must reboot your system to ensure that any driver updates have taken effect.
For more help, visit our Driver Support section for step-by-step videos on how to install drivers for every file type.