Andrzej Popielewicz Phd

Dean Office
Department of Social Sciences , UAM

Download| Contact



CV

Interests

projects

CompactFlash+IDE

x3270

Other media projects


Driver for ATAPI devices



31.12.2013, Silvester 2013/2014

Finally ATAPI driver works .

Packet commands implemented

  • SEEK

  • READ

  • INQUIRY

  • WRITE

  • READ_CAPACITY

  • IDENTIFY (ata)

  • START

  • READ_DISC_INFO

  • READ_TRACK_INFO

  • MODE SELECT

  • REQUEST SENSE

  • CLOSE SESSION

  • PLAY AUDIO

  • PAUSE

  • ...

Atapi devices tested

  • standard DVD R/W drive connected to ICH4 chipset IDE PATA controller

(Recordable) Discs tested

  • CD-R

  • DVD+R

Rewritable dicsc tested

  • CR-RW

  • DVD+RW

We have ported iso ptf utilities once available for A/UX (Apple Unix, circa 1992A/UX), the sources of ptf utilities can be found in any Coherent archive in cd-kit package.

the following ptf utilities work fine

  • cd_files, lists all files in iso9660 filesystem on CD/DVD disc

  • cd_dir, lists directories in iso9660 filesystem on CD/DVD disc

  • get_file, reads specific file from the CD/DVD disc

  • catsub,cd_cat,full

Our own utilities

  • cd_read, read specific number of sectors from CD/DVD disc

  • cd_inq, get some info about manufacturer etc of the CD/DVD drive

  • cd_eject

  • cd_cap, show the capacity of the contents on the disc

  • cd_info, show general disc info

  • cd_trac_info , show disc info, for example next writable address etc, useful during development of tools

  • cd_modesel, set specific „page”(properties) for the device

  • dvd_write , write iso image file on DVD+R/DVD+RW disc (image file created with Coherent version of mkisofs), useful for backups. Wow , it is nice to have 4,7 GB fast „floppy” to Your disposal(I mean DVD+RW with its 1000 rewrites limit)

22.2.2014

Driver for ATAPI tape devices ready

Packet commands implemented

  • WRITE

  • READ

  • LOCATE

  • SPACE

  • REWIND

  • ERASE

  • MODE SENSE

  • REQUEST SENSE

  • WRITE FILEMARK

  • READ POSITION

  • MODE SELECT

  • LOAD

Atapi tape devices tested

  • STT20000A (internal 10/20 GB Travan 20), with its fascinating motor sound during read/write operations.

STT2401A/3401A should work out of the box (?). Probably other QIC conformant drives too.

Travan tapes make really very solid impression, if You see it You think it must be reliable.

Utilities prepared

  • tape_seek, locate at given block, for test

  • tape_rewind, rewinds the tape to BOT

  • tape_retension, retensions the tape, usually before every big backup

  • tape_write, writes given file to the tape

  • tape_read, read the file from the tape

  • tape_sense, show page info (device capabilities etc)

  • tape_erase, erases the tape



TODO

  • cd_play, to play audio CD's, or for example to make xcdplayer work with our driver.

Status : alpha, stable, 24.2.2014



Literature

  • Ansi ATA/ATAPI specs

  • Ansi SCSI specs ( spc.sbc.mmc )ANSI

  • ICHx IO controller datasheets

  • STTxxx drive specs ..

  • QIC specs