Hi, dudes!
I know the question goes a bit off-topic, but I need to obtain the serial number from SATA disks. I mean the one which the manufacturer generates, not volumes ones.
I have working code to extract from normal ATA, don't know why it don't recognizes SATA. Maybe 'cause I'm a newbye in this subject... -__-
Thank you for your attention.
Serial number of SATA disks?
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:Serial number of SATA disks?
honnestly, i haven't gave a look at SATA so far (don't even bothered with googling for docs), but my guess would be SATA actually uses ATAPI rather than plain ATA (and ATAPI just needs another message to get those specs)
Re:Serial number of SATA disks?
SATA is supposed to be programming compatible with PATA, just the hardware is different.Pype.Clicker wrote: honnestly, i haven't gave a look at SATA so far (don't even bothered with googling for docs), but my guess would be SATA actually uses ATAPI rather than plain ATA (and ATAPI just needs another message to get those specs)
srg
Re:Serial number of SATA disks?
Here's the specs for Serial ATA(SATA)
I haven't read it completely but it look's like a extension to the ATAPI
I haven't read it completely but it look's like a extension to the ATAPI
Re:Serial number of SATA disks?
but can also emulate PATA.B.E wrote: Here's the specs for Serial ATA(SATA)
I haven't read it completely but it look's like a extension to the ATAPI
srg
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:Serial number of SATA disks?
well, it indeed looks like the ATA "Identify Device" function works, so everything should be fine. Make sure the controller is ready, send the "identify device", read the returned 'sector' and you'll get serial number overthere.
Afaik, the Moebius was rather good at identifying drives ... you might try to use it to check whether it's your drive or your software implementation that causes trouble.
http://mobius.sourceforge.net/download.php
Afaik, the Moebius was rather good at identifying drives ... you might try to use it to check whether it's your drive or your software implementation that causes trouble.
http://mobius.sourceforge.net/download.php
Re:Serial number of SATA disks?
Hi!
I'll give a read on the specs and try to figure out what's going wrong.
Thank you all.
I'll give a read on the specs and try to figure out what's going wrong.
Thank you all.