VIA WCE X86 IDE CD-ROM/DVD-ROM Driver Installation Guide 8/15/2000 Copyright (C) 2000 VIA Technologies, INC. 1. Release note This software package release is version 1.0, which implements both the CD-ROM Filing System (CDFS) complying ISO 9660 and the drive-level access control, and, as a result, it enables the user to directly access Compact Disc (CD) or Digital Video Disc (DVD) for not only reading data files but also playing CD-Digital Audio music and Video CD (VCD) titles. Currently, the driver can support only one CD-ROM or CD-RW or DVD-ROM drive operating in the PIO mode. Moreover, to facilitate the control of playing audio CD, 12 easy-to-use APIs are exported through the "viacdda.dll." A sample audio CD player application program, with source code included, provides a basis for the OEM's further customization. The driver operates on any Windows CE X86-based platform using VIA's chipsets or network controllers. The IDE CD-ROM/DVD-ROM driver works properly with Microsoft Windows CE 2.12 & 3.0 and it should work for later versions of Windows CE. 2. File descriptions The package contains 12 files as described below. \debug\VIACD DLL 60,255 08-02-00 14:12 driver debug version \debug\VIACD MAP 40,489 08-02-00 14:12 debug map file \debug\VIACD PDB 249,856 08-02-00 14:12 debug pdb file \debug\VIACDDA DLL 16,437 08-08-00 11:39 debug exported APIs \debug\VIACDDA PDB 99,328 08-08-00 11:39 debug pdb file \retail\VIACD DLL 26,944 08-07-00 19:36 driver retail version \retail\VIACDDA DLL 6,656 07-27-00 16:53 retail exported APIs CDPLAYER EXE 9,728 07-12-00 17:21 CD player application CDPLAYER_SRC ZIP 8,402 07-12-00 19:30 source code zip file PLATFORM REG 378 07-26-00 11:30 sample reg file PLATFORM BIB 283 07-26-00 14:02 sample bib file README TXT this readme file 3. Assume the target platform is named VIACEPC and the MAXALL configuration for Windows CE 2.12 is used for an initial evaluation of the package. An IDE CD-ROM (or CD-RW) or DVD-ROM drive is required, and a headphone or speaker may be needed for testing. To play VCD, the MAXDX configuration for DXPAK 1.1 and display and audio drivers that support DXPAK, such as VIA's MVP4 DirectDraw Driver and AC97 DirectSound Audio Driver, are needed for testing. Step-by-step installation and test instructions are described below. 4. Copy files to directory \Wince212\release For a retail build, copy the following four files: \Wince212\Public\Common\OAK\Target\X86\I486\Retail\fsdmgr.dll \retail\VIACD.DLL \retail\VIACDDA.DLL CDPLAYER.EXE For a debug build, copy the following 9 files: \Wince212\Public\Common\OAK\Target\X86\I486\Debug\fsdmgr.dll \Wince212\Public\Common\OAK\Target\X86\I486\Debug\fsdmgr.map \Wince212\Public\Common\OAK\Target\X86\I486\Debug\fsdmgr.pdb \debug\VIACD.DLL \debug\VIACD.MAP \debug\VIACD.PDB \debug\VIACDDA.DLL \debug\VIACDDA.PDB CDPLAYER.EXE 5. Update bib file in directory \Wince212\release To include the driver into NK.bin, in file platform.bib add the following seven lines: IF CEPC_VIACD ;"viacd.dll" must keep in lower case viacd.dll $(_FLATRELEASEDIR)\VIACD.dll NK SH fsdmgr.dll $(_FLATRELEASEDIR)\fsdmgr.dll NK SH VIACDDA.dll $(_FLATRELEASEDIR)\VIACDDA.dll NK CDPLAYER.exe $(_FLATRELEASEDIR)\CDPLAYER.exe NK ENDIF Alternatively, if you want to play VCD, in file platform.bib add the following eight lines: IF CEPC_VIACD ;"viacd.dll" must keep in lower case viacd.dll $(_FLATRELEASEDIR)\VIACD.dll NK SH fsdmgr.dll $(_FLATRELEASEDIR)\fsdmgr.dll NK SH VIACDDA.dll $(_FLATRELEASEDIR)\VIACDDA.dll NK CDPLAYER.exe $(_FLATRELEASEDIR)\CDPLAYER.exe NK playwnd.exe $(_FLATRELEASEDIR)\playwnd.exe NK ENDIF Warning: Due to the OS is case-sensitive in loading the driver, string "viacd.dll" must keep in lower case; otherwise, the driver won't work properly. A sample platform.bib file is included for your reference. 6. Update registry in directory \Wince212\release In the platform.reg file, add the following registry settings: IF CEPC_VIACD [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\VIACD] "Dll"="VIACD.dll" "Entry"="VIACDReg" "Keep"=dword:1 "Order"=dword:4 "Index"=dword:0 "Channel"=dword:2 ; 0 : to primary master ; 1 : to primary slave ; 2 : to secondary master ; 3 : to secondary slave ; Others : to primary master "Folder"="CD-ROM" ENDIF The first three registry subkeys are mandatory and you may not modify them. The next two subkeys can be re-assigned and modified by the OEM. The next "Channel" subkey must match the location where the CD-ROM or CD-RW or DVD-ROM device is connected in the system. The last subkey "Folder" is optional; if you do not use it, the folder name by default will be "Storage Card"; you may modify the subkey to suit your needs. A sample platform.reg file is included for your reference. 7. Set the environment variable CEPC_VIACD to 1, and run "makeimg" to build a binary image. Next, download the NK.bin to your target platform. 8. Basic testing (1) Open the Windows Explorer and confirm the existence of a CD-ROM directory. If the directory exists, it means the driver is successfully installed. (2) Insert a data CD (e.g. Microsoft MSDN CD) into the drive, and use the Windows Explorer to browse the files and directories. Open some text files or HTML documents to verify you can correctly access files on the CD. (3) Connect a speaker or headphone to the jack on the front panel of the CD-ROM or DVD-ROM drive. Insert a digital audio CD into the drive, run "CDPLAYER.exe," and then press the on-screen play button. Confirm you can hear the music. (4) Assume you have successfully installed DXPAK and proper DirectDraw display and DirectSound audio drivers. Insert a Video CD into the drive, and run "Playwnd.exe" to play the VCD titles. Confirm you can see the movies and hear the sound. 9. Known limitations and problems (1) To avoid potential interference from VIA's IDE driver to the CD-ROM/DVD-ROM driver that might result in system failure, refer to "VIA WCE X86 IDE UDMA Driver Registry Setting Supplement" or "VIA WCE X86 IDE PIO Driver Registry Setting Supplement" to bypass the detection of ATA device at the location where a CD-ROM or DVD-ROM drive is connected. (2) When inserting/rejecting a data CD or data DVD into/from the drive during the operation of the Windows Explorer, the file system is unable to automatically refresh the content. The user may need to manually refresh the file system. Occasionally, the file system might hang after rejecting a CD or DVD from the drive and continuing browsing files. (3) When inserting an audio CD into the drive, the Windows Explorer is unable to display its content. (4) Playing an audio CD through the on-board audio-out jack is not currently supported. The audio source must come out from the earphone jack on the front panel of the CD-ROM or DVD-ROM drive. (5) The length of each song displayed by the sample CD player may appear four seconds less than by Win98's CD player. Our intent is to keep the displayed length the same as of what actually recorded. Nevertheless, the OEM is free to customize the sample CD player. 10. Other known limitation with PCMCIA ATA cards As a standard PCMCIA card specification, an X86-based target platform is limited to two PCMCIA ATA cards. The PCMCIA ATA driver will first use the secondary I/O port range in order to avoid conflicts with the primary IDE drive(s) already in your system. Therefore, three options are possible: (a) Up to two primary IDE drives and one PCMCIA ATA card (b) Up to four primary and secondary IDE drives and no PCMCIA ATA card (c) No IDE drives and two PCMCIA ATA cards Note if your system has at least one secondary IDE drive and you insert a PCMCIA ATA card, collision will not be detected. Such a collision may result in data loss on your secondary IDE drive(s) or the ATA card. 11. Trouble shooting In case you encounter any problem, first connect the debug port in your target Windows CE platform to a serial port in your PC-based NT development platform, e.g. with communication parameters {38400, n, 8, 1}. Make a debug build binary image and download it to your target platform. Dump related debug messages and then contact VIA's representatives for further technical assistance. 12. Quality assurance The driver has been tested with at least 10 different devices as listed below. All the devices worked well for playing digital audio and VCD and accessing CD/DVD. Device Type Manufacturer Model ******************************************************* CD-ROM ACER 650P-072 (50x) CD-ROM ASUS CD-S500/A CD-ROM GENUINE GC-850 CD-ROM LG CRD-8481B CD-ROM LG CRD-8480C CD-ROM TEAC CD-532E CD-RW SONY CRX100E CD-RW TEAC CD-W54E DVD-ROM CREATIVE DVD8401E DVD-ROM PIONEER DVD-115Download 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.