Lines Matching +full:i +full:- +full:drive
5 - Edward A. Falk <efalk@google.com>
10 the CDROM layer. These are by-and-large implemented (as of Linux 2.6)
23 CDROMSTOP Stop the cdrom drive
24 CDROMSTART Start the cdrom drive
33 CDROMEJECT_SW enable(1)/disable(0) auto-ejecting
34 CDROMMULTISESSION Obtain the start-of-last-session
40 CDROMRESET hard-reset the drive
41 CDROMVOLREAD Get the drive's volume setting
47 CDROMPLAYBLK scsi-cd only, (struct cdrom_blk)
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)
70 CDROM_SEND_PACKET send a packet to the drive
79 ------------------------------------------------------------------------------
84 and -1 with errno set to an appropriate value on error. (Some
85 ioctls return non-negative data values.)
87 Unless otherwise specified, all ioctl calls return -1 and set
96 ------------------------------------------------------------------------------
117 - ENOSYS cd drive not audio-capable.
138 - ENOSYS cd drive not audio-capable.
162 - ENOSYS cd drive not audio-capable.
165 - MSF stands for minutes-seconds-frames
166 - LBA stands for logical block address
167 - Segment is described as start and end times, where each time
193 - ENOSYS cd drive not audio-capable.
196 - Segment is described as start and end times, where each time
222 - ENOSYS cd drive not audio-capable.
247 - ENOSYS cd drive not audio-capable.
248 - EINVAL entry.cdte_format not CDROM_MSF or CDROM_LBA
249 - EINVAL requested track out of bounds
250 - EIO I/O error reading TOC
253 - TOC stands for Table Of Contents
254 - MSF stands for minutes-seconds-frames
255 - LBA stands for logical block address
260 Stop the cdrom drive
277 - ENOSYS cd drive not audio-capable.
280 - Exact interpretation of this ioctl depends on the device,
281 but most seem to spin the drive down.
285 Start the cdrom drive
302 - ENOSYS cd drive not audio-capable.
305 - Exact interpretation of this ioctl depends on the device,
306 but most seem to spin the drive up and/or close the tray.
311 - Ejects the cdrom media
328 - ENOSYS cd drive not capable of ejecting
329 - EBUSY other processes are accessing drive, or door is locked
332 - See CDROM_LOCKDOOR, below.
355 - ENOSYS cd drive not capable of closing the tray
356 - EBUSY other processes are accessing drive, or door is locked
359 - See CDROM_LOCKDOOR, below.
383 - ENOSYS cd drive not audio-capable.
388 Get the drive's volume setting
408 - ENOSYS cd drive not audio-capable.
433 - ENOSYS cd drive not audio-capable.
434 - EINVAL format not CDROM_MSF or CDROM_LBA
437 - Format is converted to CDROM_MSF or CDROM_LBA
466 - EINVAL address less than 0, or msf less than 0:2:0
467 - ENOMEM out of memory
470 - As of 2.6.8.1, comments in <linux/cdrom.h> indicate that this
475 - MSF values are converted to LBA values via this formula::
477 lba = (((m * CD_SECS) + s) * CD_FRAMES + f) - CD_MSF_OFFSET;
522 - EINVAL format not CDROM_MSF or CDROM_LBA
523 - EINVAL nframes not in range [1 75]
524 - ENXIO drive has no queue (probably means invalid fd)
525 - ENOMEM out of memory
529 enable(1)/disable(0) auto-ejecting
539 Flag specifying auto-eject flag.
547 - ENOSYS Drive is not capable of ejecting.
548 - EBUSY Door is locked
554 Obtain the start-of-last-session address of multi session disks
574 - EINVAL format not CDROM_MSF or CDROM_LBA
599 - ENOSYS Drive is not capable of reading MCN data.
602 - Source code comments state::
622 hard-reset the drive
639 - EACCES Access denied: requires CAP_SYS_ADMIN
640 - ENOSYS Drive is not capable of resetting.
699 scsi-cd only
721 Obsolete, was ide-cd only
735 The value of the current 4-bit spindown value.
742 Obsolete, was ide-cd only
752 4-bit value used to control spindown (TODO: more detail here)
774 New values for drive options. The logical 'or' of:
786 ioctl return value. Returns -1 on error.
789 - ENOSYS selected option(s) not supported by drive.
804 Set the CD-ROM speed
814 New drive speed.
822 - ENOSYS speed selection not supported by drive.
827 Select disc (for juke-boxes)
837 Disk to load into drive.
845 - EINVAL Disk number beyond capacity of drive
867 has been changed, or -1 on error.
870 - ENOSYS Drive can't detect media change
871 - EINVAL Slot number beyond capacity of drive
872 - ENOMEM Out of memory
902 -1 error
906 - ENOSYS Drive can't detect drive status
907 - EINVAL Slot number beyond capacity of drive
908 - ENOMEM Out of memory
931 - CDS_NO_INFO
932 - CDS_AUDIO
933 - CDS_MIXED
934 - CDS_XA_2_2
935 - CDS_XA_2_1
936 - CDS_DATA_1
942 - Source code comments state::
950 tracks with audio. Just because I feel like it, I declare
953 If it has any XA tracks, I will return it as that. Now I
957 to use bitmasks... -Erik
959 Well, now we have the option CDS_MIXED: a mixed-type CD.
962 ---david
982 CD changer. Typically 1 for non-multi-disk devices.
1008 - EDRIVE_CANT_DO_THIS
1011 - EBUSY
1014 have the drive open and not CAP_SYS_ADMIN
1045 - EACCES Access denied: requires CAP_SYS_ADMIN
1083 The ioctl return value is the new audio buffer size, or -1
1087 - ENOSYS Not supported by this driver.
1128 - EINVAL physical.layer_num exceeds number of layers
1129 - EIO Received invalid response from drive
1156 - ENOTTY ai.type not recognized.
1161 send a packet to the drive
1180 - EIO
1183 - EPERM
1186 write command was attempted on a drive which
1187 is opened read-only, or because the command
1189 - EINVAL