22 November 1993 ------------ | OVERVIEW | ------------ This README describes an OS/2 device driver (SONY31A.ADD) for the Sony CDU31A, 33A CD-ROM drive. The device driver supports the internal Sony CDU31A, 33A CD-ROM drive and the external Sony CDU-7305 CD-ROM drive. Supported Features ------------------ The OS/2 Sony CD-ROM device driver (SONY31A.ADD) supports the following features: * Reads data from CD-ROM discs conforming to the High Sierra/ISO-9660 file formats. * Plays audio from standard audio CDs or mixed mode CD-ROM discs containing both data and audio * Multisession photo CD * Reads data from Mode 2 Form 1 or Mode 2 Form 2 sector formats * MMPM/2 Software Motion Video * MMPM/2 CD Audio Player * Software lock, unlock and eject * Data transfer via software polling or interrupts THIS CD-ROM DEVICE DRIVER IS DESIGNED TO BE USED WITH THE OS/2 2.1 PRODUCT AND IS GOVERNED BY THE TERMS AND CONDITIONS OF THE OS/2 PROGRAM LICENSE AGREEMENT. ---------------- | INSTALLATION | ---------------- Before starting the installation procedure, you should unzip the files included in the SONY31.ZIP file and copy them to a diskette. The diskette you created will be referred to as the "Sony CD-ROM Device Driver Diskette" in the following installation instructions. The following files are included in the SONY31.ZIP file: SONY31A.ADD - OS/2 device driver for Sony CDU31A, 33A, 7305 S31ACDB.DDP - Installation profile for CDB-334 adapter S31APAS.DDP - Installation profile for PAS-16 adapter S31ASBP.DDP - Installation profile for Sound Blaster adapter README.TXT - This README file. Note for previous SONYB31A.ADD beta testers. --------------------------------------------- Users who are currently using the previous beta test version of the Sony CDU31A, 33A device driver (SONYB31A.ADD) should note that the file name of the device driver has changed from SONYB31A.ADD to SONY31A.ADD. Prior to installing the SONY31A.ADD driver included in this package, you must remove the BASEDEV=SONYB31A.ADD line in your config.sys. You may also remove the SONYB31A.ADD file from your \OS2 directory. Installation if OS/2 2.1 is already installed on your fixed disk ---------------------------------------------------------------- 1. Run the Device Driver installation program a. Open the OS/2 System folder on the desktop. b. Open the System Setup folder. c. Open Device Driver Install. d. Insert the "Sony CD-ROM Device Driver Diskette" e. Select Install f. Select the device driver to install from the list g. Select OK. (Note: You do not need to reboot OS/2 before starting step 2 below). 2. After the Device Driver Installation is complete, you must run Selective Install to install the files for the OS/2 CD-ROM Device Manager and OS/2 CD-ROM File System. a. Open the OS/2 System folder on the desktop. b. Open the System Setup folder. c. Open Selective Install d. Select the CD-ROM Device Support check box e. Select OK f. Scroll to the bottom of the CD-ROM device list table and select the choice OTHER g. Select OK h. Select the OK push button to proceed from the System Configuration screen to the OS/2 Setup and Installation window i. Select Install j. When prompted to do so, insert the numbered installation diskettes or installation CD-ROM from the OS/2 2.1 product. 3. If you have changed the base I/O port address on your CD-ROM host adapter card you must edit your CONFIG.SYS file and add modify the /P:nnnn parameter on the BASEDEV=SONY31A.ADD statement in your CONFIG.SYS file. Refer to the "Sony Device Driver Parameters" section below. 4. Shut down and restart your system Installation from the CD-ROM version of OS/2 2.1 ------------------------------------------------ 1. Make a copy of the OS/2 2.1 diskette labeled "Diskette 1" 2. Copy the file SONY31A.ADD from the "Sony CD-ROM Device Driver Diskette" to the root directory on the copy of the OS/2 2.1 Diskette 1. (Note: If there is not enough room on the copy of OS/2 2.1 Diskette 1, then delete the file IBM2SCSI.ADD. If you delete IBM2SCSI.ADD, you must also edit the CONFIG.SYS file and delete the line BASEDEV=IBM2SCSI.ADD) 3. Edit the CONFIG.SYS file located on the copy of Diskette 1. At the end of the file, add the following statement. BASEDEV=SONY31A.ADD /A:0 /P:nnnn where "/P:nnn" is the base I/O port address selected on the CD-ROM host interface card. The default base I/O port address for the Sony CDB-334 interface card is 340h, so the statement would appear as follows if the card is set to address 340h: BASEDEV=SONY31A.ADD /A:0 /P:0340 If your CD-ROM drive is attached to an audio card, (i.e. the MediaVision ProAudio Spectrum), you must add the /AT parameter switch which is described in the "Sony Device Driver Parameters" section below. 4. Begin the installation by inserting the Installation Diskette into drive A and restarting the system. When prompted to insert Diskette 1, insert the copy that you modifed. 5. When the System Configuration screen is displayed during installation, the CD-ROM Device Support field will display "None". Do not modify the choice and continue with the installation. 6. After installation is complete, and you have rebooted your system, you will not be able to access your CD-ROM drive. This is due to a defect in the OS/2 2.1 install program. To access your CD-ROM drive, perform the following steps: a. Copy the following files from the OS/2 2.1 Diskette 1 to the drive which OS/2 was installed. (Note: the example assume C:, change if different) COPY A:OS2CDROM.DMD C:\OS2 COPY A:CDFS.IFS C:\OS2 b. Edit the CONFIG.SYS file on drive which OS/2 was installed and add the following statements to the end of the file: (Note: the example assume C:, change if different) DEVICE=C:\OS2\OS2CDROM.DMD /Q IFS=C:\OS2\CDFS.IFS /Q c. Shut down and reboot the system 7. You will need to run Selective Install to copy over some remaining system files. a. Open the OS/2 System folder on the desktop. b. Open the System Setup folder. c. Open Selective Install d. Select the CD-ROM Device Support check box e. Select OK f. Scroll to the bottom of the CD-ROM device list table and select the choice OTHER g. Select OK h. Select the OK push button to proceed from the System Configuration screen to the OS/2 Setup and Installation window i. Select Install j. When prompted to do so, insert the installation CD-ROM from the OS/2 2.1 product. Installation from the diskette version of OS/2 2.1 -------------------------------------------------- 1. Install the OS/2 2.1 product from the diskettes 2. Go to the section above titled "Installation if OS/2 2.1 is already installed on your fixed disk". --------------------------------- | Sony Device Driver Parameters | --------------------------------- This section lists the parameters which are supported for the Sony CD-ROM device driver. The parameters can be changed by modifying the BASEDEV=SONY31A.ADD line in config.sys. It is recommended to change the transfer mode from it default, software polling transfer, to software interrupt transfer. This will help lower the CPU utilization of CD-ROM applications, enabling better performance for other tasks while the CD-ROM drive is being accessed. See the /I parameter below. For the SONY31A.ADD device driver, the syntax for the line in config.sys is as follows: BASEDEV=SONY31A.ADD [/A:d] [/AT:dd] [/P:nnn] [I:nn] [/V] [/A:d] Identifies a specific adapter, d. The adapter is specified as a single digit value which is zero based. (i.e. The first adapter is specified as /A:0). [/AT:dd] Sets the adapter type connected to the CD-ROM drive. Supported values are: 00 = Sony CDB-334 (default) 08 = Media Vision ProAudio Spectrum-16 [/P:nnnn] Specifies the base I/O port address of the interface card. The port address is specified as a four digit hex value. Leading zeros should be specified. The value must be the same number as the port address selected by the jumper on the host interface card. If this parameter is not specified, the default port address for the host adapter is used. For the Sony CDB-334 host interface card, the default is 0340. For the Media Vision ProAudio Spectrum-16 card the default is 1F88. See the section below titled "Sony CDB-334 Host Adapter Jumper Settings". [/I:nn] Specifies the interrupt request (IRQ) channel number. This must match the value specified on the jumper setting on the interface card. If this parameter is not specified, the device driver will use software polling transfer. See the section below titled "Sony CDB-334 Host Adapter Jumper Settings". This parameter switch is not supported if the CD-ROM drive is attached to the Media Vision ProAudio spectrum. Note: Some Sony CDB-334 host adapter cards did not ship with the plastic jumper switch to select the IRQ channel on the IRQ jumper block. You must obtain and install the plastic jumper switch to enable the IRQ channel. [/V] The device driver will display the device driver revision level and CD-ROM product information at boot time. Sony CDU31A, 33A Device Driver Parameter Examples ------------------------------------------------- 1. Sony CDU31A, 33A CD-ROM drive attached to Sony CDB-334 host adapter: The Sony CDB-334 host adapter supports base I/O port addresses of 320h, 330h, 340h or 360h. If the CDB-334 host adapter is set to any port address other than the default of 340h, the config.sys statement needs to be modified. For example, if the Sony CDB-334 host adapter is set to a base I/O port address of 360, the line in config.sys should be: BASEDEV=SONY31A.ADD /A:0 /P:0360 (Note: The Sony Desktop Library model number CDU31A-LL/N includes the Sony CDB-334 adapter) 2. Sony CDU31A, 33A CD-ROM drive attached to Sony CDB-334 host adapter. If the Sony CDU31A, 33A is attached to the Sony CDB-334 host adapter at base I/O port address of 360h, and the driver is operating in interrupt mode at IRQ channel 5, the line in your config.sys should be: BASEDEV=SONY31A.ADD /A:0 /P:0360 /I:5 3. Sony CDU31A, 33A CD-ROM drive attached to Media Vision ProAudio Spectrum-16 (PAS-16) host adapter: The line in config.sys should appear as follows: BASEDEV=SONY31A.ADD /A:0 /AT:08 (Note: The default port address for the CDU31A, 33A when attached to the PAS-16 card is 1F88. The Sony Desktop Library model numbers CDU31A-LL/L and CDU-7305 include the PAS-16 adapter). 4. Sony CDU31A, 33A CD-ROM drive attached to the Creative Labs Sound Blaster Pro, Sound Blaster 16, or Sound Blaster 16 MultiCD host adapter: The port address specified on the BASEDEV statement in config.sys should be 10h above the base I/O port address specified on the adapter card. For example, if the Sound Blaster card is set for a base I/O port address of 220h, the line in config.sys should be: BASEDEV=SONY31A.ADD /A:0 /P:0230 Sony CDB-334 Host Adapter Jumper Settings ----------------------------------------- The following tables explain the jumper settings for the CDB-334, the adapter that ships with model CDU31A-LL/N of the Sony Desktop Library: JP1.1 JP1.2 Base Addr 0320 On On Base Addr 0340 Off On Base Addr 0330 On Off Base Addr 0360 Off Off JP4.1 JP4.2 JP4.3 JP4.4 IRQ 3 Off Off On Off IRQ 4 Off On Off On IRQ 5 On Off Off Off IRQ 6 Off On Off Off (Jumper blocks JP2.x and JP3.x specify DMA channels and SHOULD ALL BE OFF, since the OS/2 device driver for the CDU31A, 33A does not use DMA) -------------------- | Trouble shooting | -------------------- 1. If you are not able to access the CD-ROM drive: a. Add the /V parameter switch to the BASEDEV=SONY31A.ADD statement in your CONFIG.SYS file. For example: BASEDEV=SONY31A.ADD /A:0 /P:0340 /V After rebooting, the device driver will display the list of drives it has identified. For example: IBM OS/2 SONY31A.ADD 1.00 Copyright (c) Sony Corporation 1992,1993. All Rights Reserved. Port:0340 IRQ:Polled SONY CD-ROM CDU31A 1.1I If no units were detected, the following message is displayed: IBM OS/2 SONY31A.ADD 1.00 No units detected. If no units were detected, see step 1b below. If units were detected, see step 1c below. b. Make sure the Base I/O Port Address specified by the /P parameter in the config.sys file matches the Base Port Address selected with the DIP switch on the interface card. The default Base I/O Port Address for the Sony CDB-334 interface card is address 0340h. If you have changed the Base I/O Port Address on the card, you must change the /P parameter on the BASEDEV=SONY31A.ADD statement in config.sys. For example, if you changed the Base I/O Port Address to 0360h, the statement in config.sys should be as follows: BASEDEV=SONY31A.ADD /A:0 /P:0360 c. Make sure all the required files to operate the CD-ROM drive have been installed. You should have the appropriate BASEDEV= statement in CONFIG.SYS for your CD-ROM device driver. You should also have the following statements for the CD-ROM system files in your config.sys: DEVICE=C:\OS2\OS2CDROM.DMD /Q IFS=C:\OS2\CDFS.IFS /Q DEVICE=C:\OS2\MDOS\VCDROM.SYS BASEDEV=SONY31A.ADD /A:0 /P:0340 If you do not have the above statements in your config.sys, you must use the OS/2 2.1 Selective Install to install the CD-ROM support files. 2. If the performance of background OS/2 tasks seems slow when the CD-ROM drive is accessed. Or, if the performance of the MMPM/2 Software Motion Video clips seems slow or jerky. a. The SONY31A.ADD device driver should be run using the Software Interrupt transfer option to enable the best performance in OS/2. The IRQ (interrupt request) channel assigned by the jumper on the interface card must match the the interrupt channel specified using the /I parameter on the BASEDEV=SONY31A.ADD statement in config.sys. You must assign an IRQ channel that is not being used by any other interface cards on your computer. For example, to enable the Software Interrupt transfer option for IRQ channel 5 (which is the default IRQ for the card), the statement in config.sys should be as follows: BASEDEV=SONY31A.ADD /A:0 /P:0340 /I:5 3. If the drive letter assigned to the CD-ROM drive under OS/2 is different than the drive letter assigned under DOS. The CD-ROM drive is assigned the next available drive letter after drive letters have been assigned for the floppy drives and fixed disk drives. The drive letter is also assigned after any installable block device drivers which are located in config.sys before the DEVICE=C:\OS2\OS2CDROM.DMD statement (i.e. DEVICE=C:\OS2\VDISK.SYS). There is currently no mechanism in OS/2 for assigning a specific drive letter for the CD-ROM drive. The drive letter assignment under DOS can be controlled by using the /L switch on MSCDEX.EXE command line. ---------------------- | Reporting Problems | ---------------------- Defect reports should include the following information: CD-ROM Product ID: Sony 31A CD-ROM Firmware Level: Device Driver Transfer Mode: Software Polling or Interrupt driven Host CPU type and speed: (i.e. 25MZ 486) The CD-ROM product ID and firmware level can be displayed at boot time by adding the /V switch to the BASEDEV=SONY31A.ADD line in config.sys. For example, the following line may be displayed at boot time after the OS/2 logo screen is displayed: Port:0340 IRQ: 0005 SONY CD-ROM CDU31A 1.1I The firmware level in the example above is 1.1I ------------------------------- | TradeMarks and Copyrights | ------------------------------- IBM(TM) and OS/2(TM) are registered trademarks of International Business Machines Corporation. Sound Blaster(C) is a copyright of Creative Labs, Inc. Spectrum(TM) is a trademark of Media Vision, Inc. Sony(R) and Desktop Library(TM) are registered trademarks of Sony Corporation. NOTICE: The device driver and this file are owned by Sony and protected by United States copyright laws, international treaty provisions, and all other applicable national laws. You may not reverse engineer, decompile, or disassemble the device driver. SONY DISCLAIMS ALL WARRANTIES, WHETHER EXPRESSED OR IMPLIED, INCLUDING WITHOUT LIMITATION, WARRANTIES OF FITNESS AND MERCHANTABILITY WITH RESPECT TO THE INFORMATION IN THIS DOCUMENT. BY FURNISHING THIS DOCUMENT, SONY GRANTS NO LICENSES TO ANY RELATED PATENTS OR COPYRIGHTS. Copyright Sony Corporation, 1993, all rights reserved.