• Home
  • Raw
  • Download

Lines Matching +full:drive +full:- +full:open +full:- +full:source

9 the CDROM layer.  These are by-and-large implemented (as of Linux 2.6)
21 CDROMSTOP Stop the cdrom drive
22 CDROMSTART Start the cdrom drive
31 CDROMEJECT_SW enable(1)/disable(0) auto-ejecting
32 CDROMMULTISESSION Obtain the start-of-last-session
38 CDROMRESET hard-reset the drive
39 CDROMVOLREAD Get the drive's volume setting
45 CDROMPLAYBLK scsi-cd only, (struct cdrom_blk)
47 CDROMGETSPINDOWN return 4-bit spindown value
48 CDROMSETSPINDOWN set 4-bit spindown value
52 CDROM_SELECT_SPEED Set the CD-ROM speed
53 CDROM_SELECT_DISC Select disc (for juke-boxes)
65 CDROM_SEND_PACKET send a packet to the drive
70 The information that follows was determined from reading kernel source
82 and -1 with errno set to an appropriate value on error. (Some
83 ioctls return non-negative data values.)
85 Unless otherwise specified, all ioctl calls return -1 and set
108 ENOSYS cd drive not audio-capable.
122 ENOSYS cd drive not audio-capable.
138 ENOSYS cd drive not audio-capable.
141 MSF stands for minutes-seconds-frames
162 ENOSYS cd drive not audio-capable.
184 ENOSYS cd drive not audio-capable.
202 ENOSYS cd drive not audio-capable.
209 MSF stands for minutes-seconds-frames
214 CDROMSTOP Stop the cdrom drive
225 ENOSYS cd drive not audio-capable.
229 but most seem to spin the drive down.
232 CDROMSTART Start the cdrom drive
243 ENOSYS cd drive not audio-capable.
247 but most seem to spin the drive up and/or close the tray.
262 ENOSYS cd drive not capable of ejecting
263 EBUSY other processes are accessing drive, or door is locked
281 ENOSYS cd drive not capable of closing the tray
282 EBUSY other processes are accessing drive, or door is locked
303 ENOSYS cd drive not audio-capable.
307 CDROMVOLREAD Get the drive's volume setting
321 ENOSYS cd drive not audio-capable.
339 ENOSYS cd drive not audio-capable.
372 ioctl accepts a cdrom_read structure, but actual source code
378 lba = (((m * CD_SECS) + s) * CD_FRAMES + f) - CD_MSF_OFFSET;
418 ENXIO drive has no queue (probably means invalid fd)
422 CDROMEJECT_SW enable(1)/disable(0) auto-ejecting
430 Flag specifying auto-eject flag.
435 ENOSYS Drive is not capable of ejecting.
441 CDROMMULTISESSION Obtain the start-of-last-session
475 ENOSYS Drive is not capable of reading MCN data.
478 Source code comments state:
495 CDROMRESET hard-reset the drive
507 ENOSYS Drive is not capable of resetting.
550 CDROMPLAYBLK scsi-cd only, (struct cdrom_blk)
574 The value of the current 4-bit spindown value.
587 4-bit value used to control spindown (TODO: more detail here)
603 New values for drive options. The logical 'or' of:
604 CDO_AUTO_CLOSE close tray on first open(2)
605 CDO_AUTO_EJECT open tray on last release
606 CDO_USE_FFLAGS use O_NONBLOCK information on open
607 CDO_LOCK lock tray on open files
608 CDO_CHECK_TYPE check type on open for data
612 ioctl return value. Returns -1 on error.
615 ENOSYS selected option(s) not supported by drive.
627 CDROM_SELECT_SPEED Set the CD-ROM speed
635 New drive speed.
640 ENOSYS speed selection not supported by drive.
644 CDROM_SELECT_DISC Select disc (for juke-boxes)
652 Disk to load into drive.
657 EINVAL Disk number beyond capacity of drive
674 has been changed, or -1 on error.
677 ENOSYS Drive can't detect media change
678 EINVAL Slot number beyond capacity of drive
703 -1 error
706 ENOSYS Drive can't detect drive status
707 EINVAL Slot number beyond capacity of drive
734 Source code comments state:
748 to use bitmasks... -Erik
750 Well, now we have the option CDS_MIXED: a mixed-type CD.
753 ---david
768 CD changer. Typically 1 for non-multi-disk devices.
789 have the drive open and not CAP_SYS_ADMIN
844 The ioctl return value is the new audio buffer size, or -1
882 EIO Received invalid response from drive
910 CDROM_SEND_PACKET send a packet to the drive
926 write command was attempted on a drive which
927 is opened read-only, or because the command