Search found 3 matches

by LeoHsieh
Mon May 07, 2018 5:56 am
Forum: UEFI/BIOS Issue Q&A
Topic: How to read HDD S.M.A.R.T data?
Replies: 8
Views: 995

Re: How to read HDD S.M.A.R.T data?

Hi Sir,

Thanks for your help.
I successfully read S.M.A.R.T. data.

My variable(SmartData) type declares an error and there is no problem after the correction.
by LeoHsieh
Fri Apr 27, 2018 3:24 am
Forum: UEFI/BIOS Issue Q&A
Topic: How to read HDD S.M.A.R.T data?
Replies: 8
Views: 995

Re: How to read HDD S.M.A.R.T data?

Yes, I have check status is EFI_SUCCESS.
by LeoHsieh
Thu Apr 26, 2018 2:14 am
Forum: UEFI/BIOS Issue Q&A
Topic: How to read HDD S.M.A.R.T data?
Replies: 8
Views: 995

How to read HDD S.M.A.R.T data?

Does anyone know how to read S.M.A.R.T data through gEfiAtaPassThruProtocolGuid? Here is my code snippet, it will reboot the system after it is executed Status = gBS->HandleProtocol ( AtaPassThruHandles[Index], &gEfiAtaPassThruProtocolGuid, (VOID **) &AtaPassThru ); ZeroMem (&AtaPassThruCommandPacke...