CDROM
index
/usr/local/lib/python2.4/plat-linux2/CDROM.py
Module Docs

# Generated by h2py from /usr/include/linux/cdrom.h

 
Data
        CDC_CD_R = 8192
CDC_CD_RW = 16384
CDC_CLOSE_TRAY = 1
CDC_DRIVE_STATUS = 2048
CDC_DVD = 32768
CDC_DVD_R = 65536
CDC_DVD_RAM = 131072
CDC_GENERIC_PACKET = 4096
CDC_IOCTLS = 1024
CDC_LOCK = 4
CDC_MCN = 64
CDC_MEDIA_CHANGED = 128
CDC_MULTI_SESSION = 32
CDC_OPEN_TRAY = 2
CDC_PLAY_AUDIO = 256
CDC_RESET = 512
CDC_SELECT_DISC = 16
CDC_SELECT_SPEED = 8
CDO_AUTO_CLOSE = 1
CDO_AUTO_EJECT = 2
CDO_CHECK_TYPE = 16
CDO_LOCK = 8
CDO_USE_FFLAGS = 4
CDROMAUDIOBUFSIZ = 21378
CDROMCLOSETRAY = 21273
CDROMEJECT = 21257
CDROMEJECT_SW = 21263
CDROMGETSPINDOWN = 21277
CDROMMULTISESSION = 21264
CDROMPAUSE = 21249
CDROMPLAYBLK = 21271
CDROMPLAYMSF = 21251
CDROMPLAYTRKIND = 21252
CDROMREADALL = 21272
CDROMREADAUDIO = 21262
CDROMREADCOOKED = 21269
CDROMREADMODE1 = 21261
CDROMREADMODE2 = 21260
CDROMREADRAW = 21268
CDROMREADTOCENTRY = 21254
CDROMREADTOCHDR = 21253
CDROMRESET = 21266
CDROMRESUME = 21250
CDROMSEEK = 21270
CDROMSETSPINDOWN = 21278
CDROMSTART = 21256
CDROMSTOP = 21255
CDROMSUBCHNL = 21259
CDROMVOLCTRL = 21258
CDROMVOLREAD = 21267
CDROM_AUDIO_COMPLETED = 19
CDROM_AUDIO_ERROR = 20
CDROM_AUDIO_INVALID = 0
CDROM_AUDIO_NO_STATUS = 21
CDROM_AUDIO_PAUSED = 18
CDROM_AUDIO_PLAY = 17
CDROM_CHANGER_NSLOTS = 21288
CDROM_CLEAR_OPTIONS = 21281
CDROM_DATA_TRACK = 4
CDROM_DEBUG = 21296
CDROM_DISC_STATUS = 21287
CDROM_DRIVE_STATUS = 21286
CDROM_GET_CAPABILITY = 21297
CDROM_GET_MCN = 21265
CDROM_GET_UPC = 21265
CDROM_LAST_WRITTEN = 21397
CDROM_LBA = 1
CDROM_LEADOUT = 170
CDROM_LOCKDOOR = 21289
CDROM_MAX_SLOTS = 256
CDROM_MEDIA_CHANGED = 21285
CDROM_MSF = 2
CDROM_NEXT_WRITABLE = 21396
CDROM_PACKET_SIZE = 12
CDROM_SELECT_DISC = 21283
CDROM_SELECT_SPEED = 21282
CDROM_SEND_PACKET = 21395
CDROM_SET_OPTIONS = 21280
CDS_AUDIO = 100
CDS_DATA_1 = 101
CDS_DATA_2 = 102
CDS_DISC_OK = 4
CDS_DRIVE_NOT_READY = 3
CDS_MIXED = 105
CDS_NO_DISC = 1
CDS_NO_INFO = 0
CDS_TRAY_OPEN = 2
CDS_XA_2_1 = 103
CDS_XA_2_2 = 104
CD_CHUNK_SIZE = 24
CD_ECC_SIZE = 276
CD_EDC_SIZE = 4
CD_FRAMES = 75
CD_FRAMESIZE = 2048
CD_FRAMESIZE_RAW = 2352
CD_FRAMESIZE_RAW0 = 2336
CD_FRAMESIZE_RAW1 = 2340
CD_FRAMESIZE_RAWER = 2646
CD_FRAMESIZE_SUB = 96
CD_HEAD_SIZE = 4
CD_MINS = 74
CD_MSF_OFFSET = 150
CD_NUM_OF_CHUNKS = 98
CD_PART_MASK = 63
CD_PART_MAX = 64
CD_SECS = 60
CD_SUBHEAD_SIZE = 8
CD_SYNC_SIZE = 12
CD_XA_HEAD = 12
CD_XA_SYNC_HEAD = 24
CD_XA_TAIL = 280
CD_ZERO_SIZE = 8
CGC_DATA_NONE = 3
CGC_DATA_READ = 2
CGC_DATA_UNKNOWN = 0
CGC_DATA_WRITE = 1
DVD_AUTH = 21394
DVD_AUTH_ESTABLISHED = 5
DVD_AUTH_FAILURE = 6
DVD_CGMS_RESTRICTED = 3
DVD_CGMS_SINGLE = 2
DVD_CGMS_UNRESTRICTED = 0
DVD_CPM_COPYRIGHTED = 1
DVD_CPM_NO_COPYRIGHT = 0
DVD_CP_SEC_EXIST = 1
DVD_CP_SEC_NONE = 0
DVD_HOST_SEND_CHALLENGE = 1
DVD_HOST_SEND_KEY2 = 4
DVD_HOST_SEND_RPC_STATE = 11
DVD_INVALIDATE_AGID = 9
DVD_LAYERS = 4
DVD_LU_SEND_AGID = 0
DVD_LU_SEND_ASF = 8
DVD_LU_SEND_CHALLENGE = 3
DVD_LU_SEND_KEY1 = 2
DVD_LU_SEND_RPC_STATE = 10
DVD_LU_SEND_TITLE_KEY = 7
DVD_READ_STRUCT = 21392
DVD_STRUCT_BCA = 3
DVD_STRUCT_COPYRIGHT = 1
DVD_STRUCT_DISCKEY = 2
DVD_STRUCT_MANUFACT = 4
DVD_STRUCT_PHYSICAL = 0
DVD_WRITE_STRUCT = 21393
GPCMD_BLANK = 161
GPCMD_CLOSE_TRACK = 91
GPCMD_FLUSH_CACHE = 53
GPCMD_FORMAT_UNIT = 4
GPCMD_GET_CONFIGURATION = 70
GPCMD_GET_EVENT_STATUS_NOTIFICATION = 74
GPCMD_GET_MEDIA_STATUS = 218
GPCMD_GET_PERFORMANCE = 172
GPCMD_INQUIRY = 18
GPCMD_LOAD_UNLOAD = 166
GPCMD_MECHANISM_STATUS = 189
GPCMD_MODE_SELECT_10 = 85
GPCMD_MODE_SENSE_10 = 90
GPCMD_PAUSE_RESUME = 75
GPCMD_PLAYAUDIO_TI = 72
GPCMD_PLAY_AUDIO_10 = 69
GPCMD_PLAY_AUDIO_MSF = 71
GPCMD_PLAY_AUDIO_TI = 72
GPCMD_PLAY_CD = 188
GPCMD_PREVENT_ALLOW_MEDIUM_REMOVAL = 30
GPCMD_READ_10 = 40
GPCMD_READ_12 = 168
GPCMD_READ_CD = 190
GPCMD_READ_CDVD_CAPACITY = 37
GPCMD_READ_CD_MSF = 185
GPCMD_READ_DISC_INFO = 81
GPCMD_READ_DVD_STRUCTURE = 173
GPCMD_READ_FORMAT_CAPACITIES = 35
GPCMD_READ_HEADER = 68
GPCMD_READ_SUBCHANNEL = 66
GPCMD_READ_TOC_PMA_ATIP = 67
GPCMD_READ_TRACK_RZONE_INFO = 82
GPCMD_REPAIR_RZONE_TRACK = 88
GPCMD_REPORT_KEY = 164
GPCMD_REQUEST_SENSE = 3
GPCMD_RESERVE_RZONE_TRACK = 83
GPCMD_SCAN = 186
GPCMD_SEEK = 43
GPCMD_SEND_DVD_STRUCTURE = 173
GPCMD_SEND_EVENT = 162
GPCMD_SEND_KEY = 163
GPCMD_SEND_OPC = 84
GPCMD_SET_READ_AHEAD = 167
GPCMD_SET_SPEED = 187
GPCMD_SET_STREAMING = 182
GPCMD_START_STOP_UNIT = 27
GPCMD_STOP_PLAY_SCAN = 78
GPCMD_TEST_UNIT_READY = 0
GPCMD_VERIFY_10 = 47
GPCMD_WRITE_10 = 42
GPCMD_WRITE_AND_VERIFY_10 = 46
GPMODE_ALL_PAGES = 63
GPMODE_AUDIO_CTL_PAGE = 14
GPMODE_CAPABILITIES_PAGE = 42
GPMODE_CDROM_PAGE = 13
GPMODE_FAULT_FAIL_PAGE = 28
GPMODE_POWER_PAGE = 26
GPMODE_R_W_ERROR_PAGE = 1
GPMODE_TO_PROTECT_PAGE = 29
GPMODE_WRITE_PARMS_PAGE = 5