ATA with SMART
Hello, first of all, thank you for your replies.. :)
All of the reply I received asked me to take a look at the smartsuite program. I have already taken a look at those, but those doesn't help my problem. It had a support for RETURN_SMART_STATUS command, but only the status_register is returned. The value in cylinder_high and cylinder_low is not returned. So, this is of no use to me.
Any other idea?
Thanks a lot,
-Ana
----- Original Message -----
From: Dima Brodsky <[email protected]>
Date: Mon, 22 Jul 2002 07:44:06 -0700
To: Ana Yuseepi <[email protected]>
Subject: Re: ATA with SMART
Quoted 41 lines
Hi,
Take a look at the smartsuite set of utilities:
http://sourceforge.net/projects/smartsuite/
They are used to control the SMART functionality of a drive. There is probably example code there to do what you want.
ttyl
DimaQuoted 13 lines · Ana Yuseepi
Hello everyone,
I would like to send some SMART commands in linux. One of the command I'd like to send is
return_smart_statusand I needed some extra data that the device would return inCylinder_LowandCylinder_Highregisters.I have tried to use the
HDIO_DRIVE_CMD, but I think this can't help me with the above operation.I tried using the
inw_pandoutw_p,inb_p,outb_p, but with these, i usually receive the "lost interrupt" message.Does anyone here have suggestions on what i should do?
Please reply, and thank you for your time,
-Ana
Signature · 9 lines
Dima Brodsky [email protected] http://www.cs.ubc.ca/~dima 201-2366 Main Mall (604) 822-9156 (Office) Department of Computer Science (604) 822-2895 (DSG Lab) University of British Columbia, Canada (604) 822-5485 (FAX) "The price of reliability is the pursuit of the utmost simplicity. It is a price which the very rich find the most hard to pay." (Sir Antony Hoare, 1980)
Signature · 6 lines
__________________________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup Save up to $160 by signing up for NetZero Platinum Internet service. http://www.netzero.net/?refcd=N2P0602NEP8