Page 1 of 1

IDE/ATA/ATA-2

Posted: Thu Jun 13, 2002 12:15 pm
by Christopher
Hi! I have written a "get serie and model-nr from a IDE device"-program, that works (halelulia!). When I was looking around in a command-list for IDE-devices I, found this command:
Eject Media. I thoungt "Wow! I must test that!". I then copyed my old program and changed the command and deleted the "get serie and model-nr"-thingy. Set the device to my CD. Assembled the file and run it. But my PC just hanged. Then I looked in to that command-list again and saw a thing in the corner. It stood "ATA-2". Is't that why I can't eject the media? On some other commands, for example the identify command it stood: "IDE". Do I have to change the routines 'cos the ATA-2-thingy? And how??

Best Regards
// Christopher Vigren

Re:IDE/ATA/ATA-2

Posted: Thu Jun 13, 2002 10:39 pm
by Chris Giese
Your CD is probably ATAPI. It ignores the ATA commands because it uses a packet command instead to open or close the door.

Re:IDE/ATA/ATA-2

Posted: Fri Jun 14, 2002 12:36 pm
by Christopher
Do you, or anyone else have any good ATAPI-information? How to send command, etc..
Can I read sectors and that stuff with ATAPI?

Best Regards
// Christopher Vigren

Re:IDE/ATA/ATA-2

Posted: Mon Jun 17, 2002 1:02 am
by K.J.