Technical data
cdio(7I) Ioctl Requests SunOS 5.5
CDROMSDRVSPEED SPARC: This ioctl() command requests the CD-ROM drive to
change the current drive speed to the requested drive speed. This
speed setting is only applicable when reading data areas. The
third argument of the ioctl() is an integer which contains the
requested drive speed.
To set the CD-ROM drive to the proper speed, the following values
are appropriate:
CDROM_NORMAL_SPEED 150k/second
CDROM_DOUBLE_SPEED 300k/second
CDROM_QUAD_SPEED 600k/second
CDROM_MAXIMUM_SPEED 300k/second (2x drive)
600k/second (4x drive)
Note that these numbers are only accurate when reading 2048 byte
blocks. TheCD-ROM drive will automatically switch to normal
speed when playingaudio tracks and will switch back to the speed
setting when accessing data.
SEE ALSO ioctl(2), read(2)
N. V. Phillips and Sony Corporation, System Description Compact Disc Digital Audio, ("Red
Book").
N. V. Phillips and Sony Corporation, System Description of Compact Disc Read Only
Memory, ("Yellow Book").
N. V. Phillips, Microsoft, and Sony Corporation, System Description CD-ROM XA, 1991.
Volume and File Structure of CD-ROM for Information Interchange, ISO 9660:1988(E).
SCSI-2 Standard, document X3T9.2/86-109
NOTES The CDROMCDDA, CDROMCDXA, CDROMSUBCODE, CDROMGDRVSPEED,
CDROMSDRVSPEED and some of the block sizes inCDROMSBLKMODE are designed for
new Sun-supported CD-ROM drives and might not work on some of the older CD-ROM
drives.
The interface to this device is preliminary and subject to change in future releases. You
are encouraged to write your programs in a modular fashion so that you can easily incor-
porate future changes.
7I-60 modiļ¬ed 26 Jan 1995










