VIRTUTECH CONFIDENTIAL Previous - Up - Next
ide-cdrom
- Provided by
-
ide
- Class Hierarchy
-
conf-object → log-object → ide-cdrom
- Interfaces Implemented
-
log_object
- Description
-
The ide-cdrom class models a single slot removable IDE/ATAPI CD-ROM.
Attributes
- Attributes inherited from class conf-object
-
attributes, classname, component, iface, name, object_id, queue
- Attributes inherited from class log-object
-
access_count, log_buffer, log_buffer_last, log_buffer_size, log_group_mask, log_groups, log_level, log_type_mask
- Attribute List
-
- atapi_packet
- Optional attribute; read/write access; type: unknown type.
(b0, ..., b11). ATAPI packet.
- buf
- Optional attribute; read/write access; type: s|[iii].
sector buffer | atapi packet. Current transfer source/destination.
- cd_media
- Optional attribute; read/write access; type: unknown type.
Device media implementing cdrom-media. Eject media by setting this attribute to "".
- command
- Optional attribute; read/write access; type: unknown type.
Last command.
- control
- Optional attribute; read/write access; type: unknown type.
Control register.
- cylinder
- Optional attribute; read/write access; type: unknown type.
Cylinder number (cylinder high and cylinder low).
- error
- Optional attribute; read/write access; type: unknown type.
Error register.
- features
- Optional attribute; read/write access; type: unknown type.
Feature register.
- firmware_id
- Optional attribute; read/write access; type: String.
Device firmware id. Up to 8 character long string.
- geometry_valid
- Optional attribute; read/write access; type: unknown type.
Geometry valid.
- head
- Optional attribute; read/write access; type: unknown type.
Lower four bits of the head register.
- locked
- Optional attribute; read/write access; type: unknown type.
Media locked.
- media_change
- Optional attribute; read/write access; type: unknown type.
Media has changed since the last GET_MEDIA_STATUS command.
- model_id
- Optional attribute; read/write access; type: String.
Device model id. Up to 40 character long string.
- multiword_dma_enabled
- Optional attribute; read/write access; type: unknown type.
Set if multiword DMA is enabled.
- multiword_dma_mode
- Optional attribute; read/write access; type: unknown type.
Current multiword DMA mode (upper byte in identify device word 63).
- pio_mode
- Optional attribute; read/write access; type: unknown type.
Current PIO mode (upper byte in identify device word 51).
- power_mode
- Optional attribute; read/write access; type: unknown type.
Device power mode (0==active, 1==idle, 2==standby, 3==sleep).
- sector_buffer
- Optional attribute; read/write access; type: unknown type.
(b0, ..., b2047). Sector buffer.
- sector_cnt
- Optional attribute; read/write access; type: unknown type.
Sector count register.
- sector_num
- Optional attribute; read/write access; type: unknown type.
Sector number register.
- sectors_per_int
- Optional attribute; read/write access; type: unknown type.
Sectors per interrupt (lower byte in identify device word 59).
- sense_asc
- Optional attribute; read/write access; type: unknown type.
Sense ASC.
- sense_ascq
- Optional attribute; read/write access; type: unknown type.
Sense ASCQ.
- sense_key
- Optional attribute; read/write access; type: unknown type.
Sense key.
- serial_number
- Optional attribute; read/write access; type: String.
Device serial number. Up to 20 character long string.
- stat_atapi_commands
- Optional attribute; read/write access; type: unknown type.
(f0, ..., f255). Executed ATAPI command count (command i has been issued fi times).
- stat_bytes_read
- Optional attribute; read/write access; type: unknown type.
Total number of bytes read from device using PIO.
- stat_bytes_transfered_dma
- Optional attribute; read/write access; type: unknown type.
Total number of bytes read or written to or from device using DMA.
- stat_bytes_written
- Optional attribute; read/write access; type: unknown type.
Total number of bytes written to device using PIO.
- stat_commands
- Optional attribute; read/write access; type: unknown type.
(f0, ..., f255). Executed command count (command i has been issued fi times).
- state
- Optional attribute; read/write access; type: unknown type.
Device state.
- status
- Optional attribute; read/write access; type: unknown type.
Status register.
- tr_base
- Optional attribute; read/write access; type: unknown type.
Transfer base.
- tr_bytes_remaining
- Optional attribute; read/write access; type: unknown type.
Transfer bytes remaining.
- tr_current_lba
- Optional attribute; read/write access; type: unknown type.
Current transfer address.
- tr_disk_finished
- Optional attribute; read/write access; type: unknown type.
Transfer finished (device view).
- tr_dma_finished
- Optional attribute; read/write access; type: unknown type.
DMA finished.
- tr_drq_bytes
- Optional attribute; read/write access; type: unknown type.
Bytes per DRQ.
- tr_num_blocks
- Optional attribute; read/write access; type: unknown type.
Number of blocks in transfer.
- tr_packet_use_dma
- Optional attribute; read/write access; type: unknown type.
Use DMA for PACKET command data transfer.
- tr_pos
- Optional attribute; read/write access; type: unknown type.
Transfer position.
- tr_req_length
- Optional attribute; read/write access; type: unknown type.
Requested length of transfer.
- tr_sectors_last_block
- Optional attribute; read/write access; type: unknown type.
Transfer sectors last block.
- tr_sectors_per_block
- Optional attribute; read/write access; type: unknown type.
Transfer sectors per block.
- tr_sectors_size
- Optional attribute; read/write access; type: unknown type.
Transfer sector size.
- tr_update_address
- Optional attribute; read/write access; type: unknown type.
Update address during transfer.
- udma_enabled
- Optional attribute; read/write access; type: unknown type.
Set if UDMA is enabled.
- udma_mode
- Optional attribute; read/write access; type: unknown type.
Current UDMA mode (upper byte in identify device word 88).
- unit_attension
- Optional attribute; read/write access; type: unknown type.
Current unit attension condition, 0 if unit attension condition not present.
Command List
- Commands defined by interface log_object
-
log, log-group, log-level, log-size, log-type
- Commands
-
eject | eject media from CD-ROM drive |
info | print information about the device |
insert | insert media in CD-ROM drive |
Command Descriptions
-
<ide-cdrom>.eject
- Synopsis
-
<ide-cdrom>.eject
- Description
-
Eject a media from the CD-ROM drive. The media must have been
previously inserted with the 'insert' command.
-
<ide-cdrom>.info
- Synopsis
-
<ide-cdrom>.info
- Description
-
Print detailed information about the configuration of the device.
-
<ide-cdrom>.insert
- Synopsis
-
<ide-cdrom>.insert media
- Description
-
Insert a media in the CD-ROM drive. The media is the name of
a CD-ROM media object, e.g. a file-cdrom or host-cdrom object.
VIRTUTECH CONFIDENTIAL Previous - Up - Next