Smart features support for SATA

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Smart features support for SATA

799 Views
gshakan16
Contributor I

Hi,

I have QorlQ P2040 card.I want to read the temperature of my SSD. To do this, I must enable smart features of SATA.But I don't know how to do it.

Also I want to learn whether P2040 card supports smart features of SATA.

Thanks. 

0 Kudos
4 Replies

666 Views
gshakan16
Contributor I

I can’t use spesific tool. I should make it with coding by using C language. If anyone helps me , it will great for me.

0 Kudos

666 Views
vfilip
NXP Employee
NXP Employee

Hi,

you need to enable smart and then read smart status via ATA command.

CMD_SMART + ENABLE : 0xB0 + 0xD8

CMD_SMART + STATUS : 0xB0 + 0xDA

https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=9&ved=2ahUKEwiQht7ikYHhAhWOzqQKHQO8AzM... 

best regards

Vojtech Filip

0 Kudos

666 Views
rinbsex
Contributor I

Yes, The smartmontools package contains two utility programs (smartctl and smartd) to control and monitor storage systems using the Self-Monitoring, Analysis and Reporting Technology System (SMART) built into most modern ATA/SATA, SCSI/SAS/TTRockStars and NVMe disks.

0 Kudos

666 Views
ufedor
NXP Employee
NXP Employee

The SMART data can be obtained using "smartmontools" package.

Detailed information is provided on its homesite:

smartmontools 

0 Kudos