Lines Matching +full:all +full:- +full:outputs
5 - Edward A. Falk <efalk@google.com>
10 the CDROM layer. These are by-and-large implemented (as of Linux 2.6)
33 CDROMEJECT_SW enable(1)/disable(0) auto-ejecting
34 CDROMMULTISESSION Obtain the start-of-last-session
40 CDROMRESET hard-reset the drive
47 CDROMPLAYBLK scsi-cd only, (struct cdrom_blk)
48 CDROMREADALL read all 2646 bytes
49 CDROMGETSPINDOWN return 4-bit spindown value
50 CDROMSETSPINDOWN set 4-bit spindown value
54 CDROM_SELECT_SPEED Set the CD-ROM speed
55 CDROM_SELECT_DISC Select disc (for juke-boxes)
76 ------------------------------------------------------------------------------
80 Unless otherwise specified, all ioctl calls return 0 on success
81 and -1 with errno set to an appropriate value on error. (Some
82 ioctls return non-negative data values.)
84 Unless otherwise specified, all ioctl calls return -1 and set
90 Unless otherwise specified, all data structures and constants
93 ------------------------------------------------------------------------------
109 outputs:
114 - ENOSYS cd drive not audio-capable.
130 outputs:
135 - ENOSYS cd drive not audio-capable.
154 outputs:
159 - ENOSYS cd drive not audio-capable.
162 - MSF stands for minutes-seconds-frames
163 - LBA stands for logical block address
164 - Segment is described as start and end times, where each time
185 outputs:
190 - ENOSYS cd drive not audio-capable.
193 - Segment is described as start and end times, where each time
214 outputs:
219 - ENOSYS cd drive not audio-capable.
239 outputs:
244 - ENOSYS cd drive not audio-capable.
245 - EINVAL entry.cdte_format not CDROM_MSF or CDROM_LBA
246 - EINVAL requested track out of bounds
247 - EIO I/O error reading TOC
250 - TOC stands for Table Of Contents
251 - MSF stands for minutes-seconds-frames
252 - LBA stands for logical block address
269 outputs:
274 - ENOSYS cd drive not audio-capable.
277 - Exact interpretation of this ioctl depends on the device,
294 outputs:
299 - ENOSYS cd drive not audio-capable.
302 - Exact interpretation of this ioctl depends on the device,
308 - Ejects the cdrom media
320 outputs:
325 - ENOSYS cd drive not capable of ejecting
326 - EBUSY other processes are accessing drive, or door is locked
329 - See CDROM_LOCKDOOR, below.
347 outputs:
352 - ENOSYS cd drive not capable of closing the tray
353 - EBUSY other processes are accessing drive, or door is locked
356 - See CDROM_LOCKDOOR, below.
375 outputs:
380 - ENOSYS cd drive not audio-capable.
400 outputs:
405 - ENOSYS cd drive not audio-capable.
425 outputs:
430 - ENOSYS cd drive not audio-capable.
431 - EINVAL format not CDROM_MSF or CDROM_LBA
434 - Format is converted to CDROM_MSF or CDROM_LBA
458 outputs:
463 - EINVAL address less than 0, or msf less than 0:2:0
464 - ENOMEM out of memory
467 - As of 2.6.8.1, comments in <linux/cdrom.h> indicate that this
472 - MSF values are converted to LBA values via this formula::
474 lba = (((m * CD_SECS) + s) * CD_FRAMES + f) - CD_MSF_OFFSET;
514 outputs:
519 - EINVAL format not CDROM_MSF or CDROM_LBA
520 - EINVAL nframes not in range [1 75]
521 - ENXIO drive has no queue (probably means invalid fd)
522 - ENOMEM out of memory
526 enable(1)/disable(0) auto-ejecting
536 Flag specifying auto-eject flag.
539 outputs:
544 - ENOSYS Drive is not capable of ejecting.
545 - EBUSY Door is locked
551 Obtain the start-of-last-session address of multi session disks
566 outputs:
571 - EINVAL format not CDROM_MSF or CDROM_LBA
591 outputs:
596 - ENOSYS Drive is not capable of reading MCN data.
599 - Source code comments state::
605 across all discs!
619 hard-reset the drive
631 outputs:
636 - EACCES Access denied: requires CAP_SYS_ADMIN
637 - ENOSYS Drive is not capable of resetting.
656 outputs:
661 Not implemented on all drives.
668 read all 2646 bytes
689 outputs:
696 scsi-cd only
711 outputs:
728 outputs:
729 The value of the current 4-bit spindown value.
743 4-bit value used to control spindown (TODO: more detail here)
746 outputs:
775 outputs:
777 ioctl return value. Returns -1 on error.
780 - ENOSYS selected option(s) not supported by drive.
795 Set the CD-ROM speed
808 outputs:
813 - ENOSYS speed selection not supported by drive.
818 Select disc (for juke-boxes)
831 outputs:
836 - EINVAL Disk number beyond capacity of drive
855 outputs:
858 has been changed, or -1 on error.
861 - ENOSYS Drive can't detect media change
862 - EINVAL Slot number beyond capacity of drive
863 - ENOMEM Out of memory
882 outputs:
893 -1 error
897 - ENOSYS Drive can't detect drive status
898 - EINVAL Slot number beyond capacity of drive
899 - ENOMEM Out of memory
917 outputs:
922 - CDS_NO_INFO
923 - CDS_AUDIO
924 - CDS_MIXED
925 - CDS_XA_2_2
926 - CDS_XA_2_1
927 - CDS_DATA_1
933 - Source code comments state::
938 assumption that CDs are all CDS_DATA_1 or all CDS_AUDIO, etc.
948 to use bitmasks... -Erik
950 Well, now we have the option CDS_MIXED: a mixed-type CD.
953 ---david
971 outputs:
973 CD changer. Typically 1 for non-multi-disk devices.
994 outputs:
999 - EDRIVE_CANT_DO_THIS
1002 - EBUSY
1009 all CD drives will be locked or unlocked together. This is
1031 outputs:
1036 - EACCES Access denied: requires CAP_SYS_ADMIN
1053 outputs:
1073 outputs:
1074 The ioctl return value is the new audio buffer size, or -1
1078 - ENOSYS Not supported by this driver.
1081 Not supported by all drivers.
1107 outputs:
1119 - EINVAL physical.layer_num exceeds number of layers
1120 - EIO Received invalid response from drive
1142 outputs:
1147 - ENOTTY ai.type not recognized.
1165 outputs:
1171 - EIO
1174 - EPERM
1178 is opened read-only, or because the command
1180 - EINVAL
1200 outputs:
1225 outputs: