VIA WCE X86 IDE CD-ROM/DVD-ROM DMA Driver Installation Guide 11/13/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 and Video CD (VCD) titles. With a proper Software DVD Player, playing DVD titles is also achievable. Currently, the driver can support only one CD-ROM or CD-RW or DVD-ROM drive. Depending upon the capability of the drive being used, the driver may operate in the Ultra DMA 66 (UDMA66), Ultra DMA 33 (UDMA33), Multiword DMA (MWDMA), or Programmed Input/Output (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 OEM's further customization. The driver operates on any Windows CE X86-based platform using VIA's chipsets. The IDE CD-ROM/DVD-ROM DMA driver works properly with Microsoft Windows CE 2.12 & 3.00 and it should work for later versions of Windows CE. 2. File descriptions The package contains 12 files as described below. \debug\VIACD DLL 69,983 09-14-00 13:41 driver debug version \debug\VIACD MAP 44,247 09-14-00 13:41 debug map file \debug\VIACD PDB 258,048 09-14-00 13:41 debug pdb file \debug\VIACDDA DLL 16,437 08-08-00 11:39 Audio CD player dll debug version \debug\VIACDDA PDB 99,328 08-08-00 11:39 debug pdb file \retail\VIACD DLL 31,072 09-28-00 10:42 driver retail version \retail\VIACDDA DLL 6,656 07-27-00 16:53 Audio CD player dll retail version CDPLAYER EXE 9,728 07-12-00 17:21 sample CD player CDPLAYER ZIP 8,402 07-12-00 19:30 sample source code PLATFORM REG 378 07-26-00 11:30 sample platform.reg file PLATFORM BIB 283 07-26-00 14:02 sample platform.bib file README TXT this readme file 3. The following step-by-step instructions assume your target platform is CEPC with the Windows CE 3.00 MAXALL configuration adopted for an initial evaluation of the package. An IDE CD-ROM, CD-RW, or DVD-ROM drive is required, and a headphone or speaker may be needed for testing. To play VCD, proper display and audio drivers that support the MAXDX configuration in Add-On Pack for PB 3,00, such as VIA's PM601 DirectDraw Driver and AC97 DirectSound Audio Driver, are needed for testing. 4. Make a binary image Refer to "VIA WCE X86 Driver Installation Migration Guide for Microsoft Windows CE Platform Builder 3.00 & Add-on Pack" to create a binary image. 5. Copy files to the current release directory under \Wince300 For a retail build, copy the following four files: \Wince300\Public\Common\OAK\Target\X86\I486\Retail\fsdmgr.dll \retail\VIACD.DLL \retail\VIACDDA.DLL CDPLAYER.EXE For a debug build, copy the following nine files: \Wince300\Public\Common\OAK\Target\X86\I486\Debug\fsdmgr.dll \Wince300\Public\Common\OAK\Target\X86\I486\Debug\fsdmgr.map \Wince300\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 6. Update bib files in the current release directory under \Wince300 To include the drivers into NK.bin, in the platform.bib file 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 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. 7. Update registry in the current release directory under \Wince300 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. 8. Add the environment variable Choose Settings from the Platform menu. Select the Environment to define CEPC_VIACD and set CEPC_VIACD to 1. 9. Choose "Make Image" from the Build menu to make a new OS image to include the CD-ROM device driver. Then download the binary image to your target platform. 10. 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 Add-On Pack and proper DirectDraw display and DirectSound audio drivers. Insert a Video CD into the drive, and run "Media Player" to play the VCD titles. Confirm you can see the movies and hear the sound. 11. Known limitation with PCMCIA ATA cards (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. 12. 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. 13. Quality assurance The driver has been tested with 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-RW SONY CRX100E DVD-ROM PIONEER DVD-1035 DVD-ROM PIONEER DVD-115 DVD-ROM CREATIVE DVD8401E 14. Trouble shooting In case you encounter any problem, first make a debug build binary image and download it to your target platform. Dump related debug messages via a network card or serial port, and then contact VIA's representatives for further technical assistance.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.