Jump to content

2,079 posts in this topic

Recommended Posts

Advertisement
3 hours ago, Slice said:

Currently I made changes as I proposed and wait for better solution.

Hi, I'll take a look to it tonight. Currently I've created new code in both obj-c and what I think is the first world class in swift able to read s.m.a.r.t. attributes. Only I have problems dumping memory for nvme disks since I don't have one. @fabiosun done tens of tests in PM but always we receive kIOReturnCannotWire (i.e. can't wire down physical memory) and honestly I can't understand if this error is due to a small buffer or something else (like I cannot read memory from kernel space). So I decided to install High Sierra in virtualbox with a emulated nvme disk that really have s.m.a.r.t. attributes (tested with smartmontools), but that VM has really bad performances and is not currently able to run Xcode. I need to fix this problem, host boot with clover so if you have some advice I'll be really gratefull.

Share this post


Link to post
Share on other sites
3 hours ago, vector sigma said:

Grazie, stasera darò una buona occhiata!

Che test ti occorrono , ho Nvme ..fammi sapere 

Hellò Sergey , how are you?

Share this post


Link to post
Share on other sites

@magnifico

I am fine. Did you already tested new HWMonitorSMC2?

The forum don't allow me to upload such big files so it can be downloaded from sf repository, the link is in my signature.

Share this post


Link to post
Share on other sites
3 hours ago, Slice said:

@magnifico

I am fine. Did you already tested new HWMonitorSMC2?

The forum don't allow me to upload such big files so it can be downloaded from sf repository, the link is in my signature.

i'll try tomorrow ..trusted me 

Share this post


Link to post
Share on other sites
On 23/3/2018 at 7:00 AM, Cyberdevs said:
  Reveal hidden contents

Got a NVMe disk..
h is what is expected
si is what is expected
2018-03-23 10:27:08.275 smarter-4[3279:217917] {
    914 =     {
        "914 Number of error Log Entries (UInt64)" = 0;
        flag = 1;
    };
    912 =     {
        "912 Unsafe Shutdowns (UInt64)" = 0;
        flag = 1;
    };
    910 =     {
        "910 Power Cycles (UInt64)" = 0;
        flag = 1;
    };
    908 =     {
        "908 Host Write Commands (UInt64)" = 0;
        flag = 1;
    };
    906 =     {
        "906 Data Units Written (UInt64)" = 0;
        flag = 1;
    };
    904 =     {
        "904 Percentage Used (UInt8)" = 0;
        flag = 1;
    };
    902 =     {
        "902 Available Spare (UInt8)" = 0;
        flag = 1;
    };
    900 =     {
        "900 Critical Warning (UInt8)" = 0;
        flag = 1;
    };
    913 =     {
        "913 Media and Data Integrity Errors (UInt64)" = 0;
        flag = 1;
    };
    911 =     {
        "911 Power On Hours (UInt64)" = 0;
        flag = 1;
    };
    909 =     {
        "909 Controller Busy Time (UInt64)" = 0;
        flag = 1;
    };
    907 =     {
        "907 Host Read Commands (UInt64)" = 0;
        flag = 1;
    };
    905 =     {
        "905 Data unitd read (UInt64)" = 0;
        flag = 1;
    };
    903 =     {
        "903 Available Spare Threshold (UInt8)" = 0;
        flag = 1;
    };
    901 =     {
        "901 Temperature kelvin (UInt16)" = 65263;
        flag = 1;
    };
}
Got a NVMe disk..
h is what is expected
si is what is expected
Error: S.M.A.R.T. check downgraded result for disk0 from VERIFIED to UNKNOWN because some error(-536870178) occured.
S.M.A.R.T. status: Unknown

The last one is working.

  Reveal hidden contents

Got a ATA like disk..
2018-03-23 10:29:28.460 smarter-4[3281:218734] {
    194 =     {
        "Pre-fail" = 0;
        RawValue = 36;
        Threshold = 0;
        Value = 107;
        WorstValue = 107;
        flag = 1;
    };
    5 =     {
        "Pre-fail" = 1;
        RawValue = 0;
        Threshold = 140;
        Value = 200;
        WorstValue = 200;
        flag = 1;
    };
    240 =     {
        "Pre-fail" = 0;
        RawValue = 1072;
        Threshold = 0;
        Value = 99;
        WorstValue = 99;
        flag = 1;
    };
    199 =     {
        "Pre-fail" = 0;
        RawValue = 0;
        Threshold = 0;
        Value = 200;
        WorstValue = 200;
        flag = 1;
    };
    196 =     {
        "Pre-fail" = 0;
        RawValue = 0;
        Threshold = 0;
        Value = 200;
        WorstValue = 200;
        flag = 1;
    };
    10 =     {
        "Pre-fail" = 0;
        RawValue = 0;
        Threshold = 0;
        Value = 100;
        WorstValue = 100;
        flag = 1;
    };
    193 =     {
        "Pre-fail" = 0;
        RawValue = 181427;
        Threshold = 0;
        Value = 140;
        WorstValue = 140;
        flag = 1;
    };
    7 =     {
        "Pre-fail" = 0;
        RawValue = 0;
        Threshold = 0;
        Value = 200;
        WorstValue = 200;
        flag = 1;
    };
    242 =     {
        "Pre-fail" = 0;
        RawValue = 4704679194;
        Threshold = 0;
        Value = 200;
        WorstValue = 200;
        flag = 1;
    };
    4 =     {
        "Pre-fail" = 0;
        RawValue = 200;
        Threshold = 0;
        Value = 100;
        WorstValue = 100;
        flag = 1;
    };
    198 =     {
        "Pre-fail" = 0;
        RawValue = 0;
        Threshold = 0;
        Value = 200;
        WorstValue = 200;
        flag = 0;
    };
    12 =     {
        "Pre-fail" = 0;
        RawValue = 169;
        Threshold = 0;
        Value = 100;
        WorstValue = 100;
        flag = 1;
    };
    1 =     {
        "Pre-fail" = 1;
        RawValue = 0;
        Threshold = 51;
        Value = 100;
        WorstValue = 100;
        flag = 1;
    };
    9 =     {
        "Pre-fail" = 0;
        RawValue = 2521;
        Threshold = 0;
        Value = 97;
        WorstValue = 97;
        flag = 1;
    };
    192 =     {
        "Pre-fail" = 0;
        RawValue = 35;
        Threshold = 0;
        Value = 200;
        WorstValue = 200;
        flag = 1;
    };
    241 =     {
        "Pre-fail" = 0;
        RawValue = 4645587437;
        Threshold = 0;
        Value = 200;
        WorstValue = 200;
        flag = 1;
    };
    200 =     {
        "Pre-fail" = 0;
        RawValue = 0;
        Threshold = 0;
        Value = 200;
        WorstValue = 200;
        flag = 0;
    };
    3 =     {
        "Pre-fail" = 1;
        RawValue = 2333;
        Threshold = 21;
        Value = 173;
        WorstValue = 173;
        flag = 1;
    };
    197 =     {
        "Pre-fail" = 0;
        RawValue = 0;
        Threshold = 0;
        Value = 200;
        WorstValue = 200;
        flag = 1;
    };
    11 =     {
        "Pre-fail" = 0;
        RawValue = 0;
        Threshold = 0;
        Value = 100;
        WorstValue = 100;
        flag = 1;
    };
}
Got ATA-like disk..
S.M.A.R.T. status: Ok

 

 

On 21/3/2018 at 11:03 PM, fabiosun said:

better of nothing :)

 

 

23 hours ago, magnifico said:

Che test ti occorrono , ho Nvme ..fammi sapere 

Guys can you try this smarter.zip and post the output?

smarter disk0 

change "disk0" to match your nvme disk!

P.S. I assume on SATA is already good

 

Share this post


Link to post
Share on other sites
fabios-iMac-Pro:~ fabio$ /Users/fabio/Downloads/smarter disk0
Medium Type:       SSD
Protocol:          PCI-Express
Location:          Internal
NVMe there!
Temperature:                  44C°
Life used:                    0%
Critical Warning:             0%
Available Spare:              100%
Available Spare Threshold:    10%
Unsafe Shutdowns:             526%
S.M.A.R.T. status: Ok

S.M.A.R.T. data (512 bytes):
UInt8 smartdata[] = {
	0x60, 0xB1, 0xE0, 0x35, 0xAE, 0x7F, 0x00, 0x00, 
	0xCC, 0xD1, 0xDB, 0x19, 0xFD, 0x9A, 0x4D, 0xAF, 
	0xBF, 0x95, 0x12, 0x45, 0x4B, 0x23, 0x0A, 0xB6, 
	0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0xF0, 0xA6, 0xE0, 0x35, 0xAE, 0x7F, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0xD0, 0x75, 0xE0, 0x35, 0xAE, 0x7F, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0xC1, 0x7E, 0xE0, 0x35, 0xAE, 0x7F, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x70, 0x70, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0x2B, 0xAA, 0x73, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0xCC, 0x49, 0x10, 0x06, 0x01, 0x00, 0x00, 0x00, 
	0xC0, 0x87, 0x10, 0xCF, 0xFF, 0x7F, 0x00, 0x00, 
	0xDB, 0x9E, 0x10, 0xCF, 0xFF, 0x7F, 0x00, 0x00, 
	0x60, 0xA5, 0x10, 0xCF, 0xFF, 0x7F, 0x00, 0x00, 
	0x00, 0xAA, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x00, 0xAA, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x28, 0x73, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0xBF, 0x49, 0x10, 0x06, 0x01, 0x00, 0x00, 0x00, 
	0xB0, 0x70, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0xFB, 0x3A, 0x74, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0xD0, 0x70, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0x6E, 0x3C, 0x74, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x88, 0x50, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x00, 0x66, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0xDF, 0x9E, 0x10, 0xCF, 0xFF, 0x7F, 0x00, 0x00, 
	0x88, 0x50, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x28, 0x73, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x66, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x88, 0x50, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0xF0, 0x70, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0xE8, 0xDD, 0x73, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x60, 0xE1, 0x2B, 0x5D, 0xFF, 0x7F, 0x00, 0x00, 
	0x50, 0x42, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x30, 0x71, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0xCE, 0x86, 0x73, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0xAA, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x66, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x88, 0x50, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0xBF, 0x49, 0x10, 0x06, 0x01, 0x00, 0x00, 0x00, 
	0x90, 0x72, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0x46, 0x40, 0x74, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x28, 0x73, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0x50, 0x71, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0x60, 0xE1, 0x2B, 0x5D, 0xFF, 0x7F, 0x00, 0x00, 
	0x90, 0x73, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x60, 0x34, 0xDB, 0x8F, 0x00, 0x00, 0x00, 0x00, 
	0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0xC1, 0x7E, 0xE0, 0x35, 0xAE, 0x7F, 0x00, 0x00, 
	0xC0, 0x7E, 0xE0, 0x35, 0xAE, 0x7F, 0x00, 0x00, 
	0xEB, 0x01, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
}

fabios-iMac-Pro:~ fabio$ 

 

Share this post


Link to post
Share on other sites
1 minute ago, fabiosun said:

fabios-iMac-Pro:~ fabio$ /Users/fabio/Downloads/smarter disk0
Medium Type:       SSD
Protocol:          PCI-Express
Location:          Internal
NVMe there!
Temperature:                  44C°
Life used:                    0%
Critical Warning:             0%
Available Spare:              100%
Available Spare Threshold:    10%
Unsafe Shutdowns:             526%
S.M.A.R.T. status: Ok

S.M.A.R.T. data (512 bytes):
UInt8 smartdata[] = {
	0x60, 0xB1, 0xE0, 0x35, 0xAE, 0x7F, 0x00, 0x00, 
	0xCC, 0xD1, 0xDB, 0x19, 0xFD, 0x9A, 0x4D, 0xAF, 
	0xBF, 0x95, 0x12, 0x45, 0x4B, 0x23, 0x0A, 0xB6, 
	0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0xF0, 0xA6, 0xE0, 0x35, 0xAE, 0x7F, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0xD0, 0x75, 0xE0, 0x35, 0xAE, 0x7F, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0xC1, 0x7E, 0xE0, 0x35, 0xAE, 0x7F, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x70, 0x70, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0x2B, 0xAA, 0x73, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0xCC, 0x49, 0x10, 0x06, 0x01, 0x00, 0x00, 0x00, 
	0xC0, 0x87, 0x10, 0xCF, 0xFF, 0x7F, 0x00, 0x00, 
	0xDB, 0x9E, 0x10, 0xCF, 0xFF, 0x7F, 0x00, 0x00, 
	0x60, 0xA5, 0x10, 0xCF, 0xFF, 0x7F, 0x00, 0x00, 
	0x00, 0xAA, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x00, 0xAA, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x28, 0x73, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0xBF, 0x49, 0x10, 0x06, 0x01, 0x00, 0x00, 0x00, 
	0xB0, 0x70, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0xFB, 0x3A, 0x74, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0xD0, 0x70, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0x6E, 0x3C, 0x74, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x88, 0x50, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x00, 0x66, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0xDF, 0x9E, 0x10, 0xCF, 0xFF, 0x7F, 0x00, 0x00, 
	0x88, 0x50, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x28, 0x73, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x66, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x88, 0x50, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0xF0, 0x70, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0xE8, 0xDD, 0x73, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x60, 0xE1, 0x2B, 0x5D, 0xFF, 0x7F, 0x00, 0x00, 
	0x50, 0x42, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x30, 0x71, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0xCE, 0x86, 0x73, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0xAA, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x66, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x88, 0x50, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0xBF, 0x49, 0x10, 0x06, 0x01, 0x00, 0x00, 0x00, 
	0x90, 0x72, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0x46, 0x40, 0x74, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x28, 0x73, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0x50, 0x71, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0x60, 0xE1, 0x2B, 0x5D, 0xFF, 0x7F, 0x00, 0x00, 
	0x90, 0x73, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x60, 0x34, 0xDB, 0x8F, 0x00, 0x00, 0x00, 0x00, 
	0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0xC1, 0x7E, 0xE0, 0x35, 0xAE, 0x7F, 0x00, 0x00, 
	0xC0, 0x7E, 0xE0, 0x35, 0xAE, 0x7F, 0x00, 0x00, 
	0xEB, 0x01, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
}

fabios-iMac-Pro:~ fabio$ 

 

Grazie Fabio per i test!

Thank you so much for the tests made! Is ok and HWMonitorSMC will be able to read s.m.a.r.t. status on nvme disks without buying programs :thumbsup_anim:

Unsafe Shutdowns:             526%

The percentage is a mistake, already corrected here.

P.S. I was able to find the way using virtualbox with a virtual nvme disk B).  I'll do a translation of this program in swift, then I'll let you know!

Share this post


Link to post
Share on other sites
38 minutes ago, vector sigma said:

Guys can you try this smarter.zip and post the output?


smarter disk0 

change "disk0" to match your nvme disk!

P.S. I assume on SATA is already good

 

Spoiler

 

Medium Type:       SSD

Protocol:          PCI-Express

Location:          Internal

NVMe there!

Temperature:                  52C°

Life used:                    1%

Critical Warning:             0%

Available Spare:              100%

Available Spare Threshold:    10%

Unsafe Shutdowns:             34%

S.M.A.R.T. status: Ok

 

S.M.A.R.T. data (512 bytes):

UInt8 smartdata[] = {

0xA0, 0xB0, 0x50, 0x42, 0xD6, 0x7F, 0x00, 0x00,

0xCC, 0xD1, 0xDB, 0x19, 0xFD, 0x9A, 0x4D, 0xAF,

0xBF, 0x95, 0x12, 0x45, 0x4B, 0x23, 0x0A, 0xB6,

0xDF, 0x0E, 0xB5, 0xEC, 0x01, 0x00, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x30, 0xA6, 0x50, 0x42, 0xD6, 0x7F, 0x00, 0x00,

0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x08, 0xE6, 0xCB, 0x12, 0x01, 0x00, 0x00, 0x00,

0x88, 0xD0, 0xCB, 0x12, 0x01, 0x00, 0x00, 0x00,

0xB0, 0xBF, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0xE8, 0x5D, 0xC8, 0x12, 0x01, 0x00, 0x00, 0x00,

0x60, 0x51, 0xD0, 0x7A, 0xFF, 0x7F, 0x00, 0x00,

0x50, 0xC2, 0xCB, 0x12, 0x01, 0x00, 0x00, 0x00,

0xF0, 0xBF, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0xCE, 0x06, 0xC8, 0x12, 0x01, 0x00, 0x00, 0x00,

0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x08, 0x2A, 0xCC, 0x12, 0x01, 0x00, 0x00, 0x00,

0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x08, 0xE6, 0xCB, 0x12, 0x01, 0x00, 0x00, 0x00,

0x88, 0xD0, 0xCB, 0x12, 0x01, 0x00, 0x00, 0x00,

0xBF, 0xF9, 0x1B, 0x0B, 0x01, 0x00, 0x00, 0x00,

0x50, 0xC1, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0x46, 0xC0, 0xC8, 0x12, 0x01, 0x00, 0x00, 0x00,

0xE8, 0xC1, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0x10, 0xC0, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0x60, 0x51, 0xD0, 0x7A, 0xFF, 0x7F, 0x00, 0x00,

0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x42, 0x43, 0xAD, 0x7B, 0xFF, 0x7F, 0x00, 0x00,

0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x80, 0xB0, 0x1C, 0x0B, 0x01, 0x00, 0x00, 0x00,

0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x00, 0xDA, 0x1C, 0x0B, 0x01, 0x00, 0x00, 0x00,

0x78, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0xE3, 0x74, 0x50, 0x42, 0xD6, 0x7F, 0x00, 0x00,

0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x90, 0xC2, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0x06, 0x3A, 0x5A, 0x53, 0xFF, 0x7F, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0xF0, 0x74, 0x50, 0x42, 0xD6, 0x7F, 0x00, 0x00,

0x90, 0xC1, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0xBF, 0x33, 0xAD, 0x7B, 0xFF, 0x7F, 0x00, 0x00,

0xD0, 0x7D, 0x50, 0x42, 0xD6, 0x7F, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0xF0, 0xEA, 0x81, 0xAD, 0xFF, 0x7F, 0x00, 0x00,

0xD1, 0x7D, 0x50, 0x42, 0xD6, 0x7F, 0x00, 0x00,

0x00, 0x07, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,

0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x40, 0xC3, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x60, 0xA4, 0x7F, 0xAD, 0x00, 0x00, 0x00, 0x00,

0xCC, 0x00, 0xF8, 0xEA, 0xC7, 0x90, 0x80, 0x6C,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x08, 0xE6, 0xCB, 0x12, 0x01, 0x00, 0x00, 0x00,

0xBF, 0xF9, 0x1B, 0x0B, 0x01, 0x00, 0x00, 0x00

}

 

Thanks man :)

Share this post


Link to post
Share on other sites
Just now, Cyberdevs said:
  Reveal hidden contents

 

Medium Type:       SSD

Protocol:          PCI-Express

Location:          Internal

NVMe there!

Temperature:                  52C°

Life used:                    1%

Critical Warning:             0%

Available Spare:              100%

Available Spare Threshold:    10%

Unsafe Shutdowns:             34%

S.M.A.R.T. status: Ok

 

S.M.A.R.T. data (512 bytes):

UInt8 smartdata[] = {

0xA0, 0xB0, 0x50, 0x42, 0xD6, 0x7F, 0x00, 0x00,

0xCC, 0xD1, 0xDB, 0x19, 0xFD, 0x9A, 0x4D, 0xAF,

0xBF, 0x95, 0x12, 0x45, 0x4B, 0x23, 0x0A, 0xB6,

0xDF, 0x0E, 0xB5, 0xEC, 0x01, 0x00, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x30, 0xA6, 0x50, 0x42, 0xD6, 0x7F, 0x00, 0x00,

0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x08, 0xE6, 0xCB, 0x12, 0x01, 0x00, 0x00, 0x00,

0x88, 0xD0, 0xCB, 0x12, 0x01, 0x00, 0x00, 0x00,

0xB0, 0xBF, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0xE8, 0x5D, 0xC8, 0x12, 0x01, 0x00, 0x00, 0x00,

0x60, 0x51, 0xD0, 0x7A, 0xFF, 0x7F, 0x00, 0x00,

0x50, 0xC2, 0xCB, 0x12, 0x01, 0x00, 0x00, 0x00,

0xF0, 0xBF, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0xCE, 0x06, 0xC8, 0x12, 0x01, 0x00, 0x00, 0x00,

0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x08, 0x2A, 0xCC, 0x12, 0x01, 0x00, 0x00, 0x00,

0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x08, 0xE6, 0xCB, 0x12, 0x01, 0x00, 0x00, 0x00,

0x88, 0xD0, 0xCB, 0x12, 0x01, 0x00, 0x00, 0x00,

0xBF, 0xF9, 0x1B, 0x0B, 0x01, 0x00, 0x00, 0x00,

0x50, 0xC1, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0x46, 0xC0, 0xC8, 0x12, 0x01, 0x00, 0x00, 0x00,

0xE8, 0xC1, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0x10, 0xC0, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0x60, 0x51, 0xD0, 0x7A, 0xFF, 0x7F, 0x00, 0x00,

0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x42, 0x43, 0xAD, 0x7B, 0xFF, 0x7F, 0x00, 0x00,

0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x80, 0xB0, 0x1C, 0x0B, 0x01, 0x00, 0x00, 0x00,

0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x00, 0xDA, 0x1C, 0x0B, 0x01, 0x00, 0x00, 0x00,

0x78, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0xE3, 0x74, 0x50, 0x42, 0xD6, 0x7F, 0x00, 0x00,

0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x90, 0xC2, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0x06, 0x3A, 0x5A, 0x53, 0xFF, 0x7F, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0xF0, 0x74, 0x50, 0x42, 0xD6, 0x7F, 0x00, 0x00,

0x90, 0xC1, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0xBF, 0x33, 0xAD, 0x7B, 0xFF, 0x7F, 0x00, 0x00,

0xD0, 0x7D, 0x50, 0x42, 0xD6, 0x7F, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0xF0, 0xEA, 0x81, 0xAD, 0xFF, 0x7F, 0x00, 0x00,

0xD1, 0x7D, 0x50, 0x42, 0xD6, 0x7F, 0x00, 0x00,

0x00, 0x07, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,

0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x40, 0xC3, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x60, 0xA4, 0x7F, 0xAD, 0x00, 0x00, 0x00, 0x00,

0xCC, 0x00, 0xF8, 0xEA, 0xC7, 0x90, 0x80, 0x6C,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x08, 0xE6, 0xCB, 0x12, 0x01, 0x00, 0x00, 0x00,

0xBF, 0xF9, 0x1B, 0x0B, 0x01, 0x00, 0x00, 0x00

}

 

Thanks man :)

Works for you? :drool:

Share this post


Link to post
Share on other sites
1 minute ago, vector sigma said:

Works for you? :drool:

Yes it does I posted the results in my previous post but I guess it got lost in too many spoilers :D here it is again just in case

Spoiler

 

Medium Type:       SSD

Protocol:          PCI-Express

Location:          Internal

NVMe there!

Temperature:                  52C°

Life used:                    1%

Critical Warning:             0%

Available Spare:              100%

Available Spare Threshold:    10%

Unsafe Shutdowns:             34%

S.M.A.R.T. status: Ok

 

S.M.A.R.T. data (512 bytes):

UInt8 smartdata[] = {

0xA0, 0xB0, 0x50, 0x42, 0xD6, 0x7F, 0x00, 0x00,

0xCC, 0xD1, 0xDB, 0x19, 0xFD, 0x9A, 0x4D, 0xAF,

0xBF, 0x95, 0x12, 0x45, 0x4B, 0x23, 0x0A, 0xB6,

0xDF, 0x0E, 0xB5, 0xEC, 0x01, 0x00, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x30, 0xA6, 0x50, 0x42, 0xD6, 0x7F, 0x00, 0x00,

0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x08, 0xE6, 0xCB, 0x12, 0x01, 0x00, 0x00, 0x00,

0x88, 0xD0, 0xCB, 0x12, 0x01, 0x00, 0x00, 0x00,

0xB0, 0xBF, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0xE8, 0x5D, 0xC8, 0x12, 0x01, 0x00, 0x00, 0x00,

0x60, 0x51, 0xD0, 0x7A, 0xFF, 0x7F, 0x00, 0x00,

0x50, 0xC2, 0xCB, 0x12, 0x01, 0x00, 0x00, 0x00,

0xF0, 0xBF, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0xCE, 0x06, 0xC8, 0x12, 0x01, 0x00, 0x00, 0x00,

0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x08, 0x2A, 0xCC, 0x12, 0x01, 0x00, 0x00, 0x00,

0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x08, 0xE6, 0xCB, 0x12, 0x01, 0x00, 0x00, 0x00,

0x88, 0xD0, 0xCB, 0x12, 0x01, 0x00, 0x00, 0x00,

0xBF, 0xF9, 0x1B, 0x0B, 0x01, 0x00, 0x00, 0x00,

0x50, 0xC1, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0x46, 0xC0, 0xC8, 0x12, 0x01, 0x00, 0x00, 0x00,

0xE8, 0xC1, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0x10, 0xC0, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0x60, 0x51, 0xD0, 0x7A, 0xFF, 0x7F, 0x00, 0x00,

0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x42, 0x43, 0xAD, 0x7B, 0xFF, 0x7F, 0x00, 0x00,

0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x80, 0xB0, 0x1C, 0x0B, 0x01, 0x00, 0x00, 0x00,

0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x00, 0xDA, 0x1C, 0x0B, 0x01, 0x00, 0x00, 0x00,

0x78, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0xE3, 0x74, 0x50, 0x42, 0xD6, 0x7F, 0x00, 0x00,

0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x90, 0xC2, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0x06, 0x3A, 0x5A, 0x53, 0xFF, 0x7F, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0xF0, 0x74, 0x50, 0x42, 0xD6, 0x7F, 0x00, 0x00,

0x90, 0xC1, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0xBF, 0x33, 0xAD, 0x7B, 0xFF, 0x7F, 0x00, 0x00,

0xD0, 0x7D, 0x50, 0x42, 0xD6, 0x7F, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0xF0, 0xEA, 0x81, 0xAD, 0xFF, 0x7F, 0x00, 0x00,

0xD1, 0x7D, 0x50, 0x42, 0xD6, 0x7F, 0x00, 0x00,

0x00, 0x07, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,

0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x40, 0xC3, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x60, 0xA4, 0x7F, 0xAD, 0x00, 0x00, 0x00, 0x00,

0xCC, 0x00, 0xF8, 0xEA, 0xC7, 0x90, 0x80, 0x6C,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x08, 0xE6, 0xCB, 0x12, 0x01, 0x00, 0x00, 0x00,

0xBF, 0xF9, 0x1B, 0x0B, 0x01, 0x00, 0x00, 0x00

}

 

 

Share this post


Link to post
Share on other sites

Vector 

 

iMacdimagnifico:~ magnifico$ /Users/magnifico/Desktop/smarter disk0

Medium Type:       SSD

Protocol:          PCI-Express

Location:          Internal

NVMe there!

Temperature:                  42C°

Life used:                    0%

Critical Warning:             0%

Available Spare:              100%

Available Spare Threshold:    10%

Unsafe Shutdowns:             330%

S.M.A.R.T. status: Ok

 

S.M.A.R.T. data (512 bytes):

UInt8 smartdata[] = {

0x80, 0xB6, 0xD0, 0x14, 0xD2, 0x7F, 0x00, 0x00, 

0xCC, 0xD1, 0xDB, 0x19, 0xFD, 0x9A, 0x4D, 0xAF, 

0xBF, 0x95, 0x12, 0x45, 0x4B, 0x23, 0x0A, 0xB6, 

0xE8, 0x41, 0x44, 0xEA, 0x01, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x10, 0xAC, 0xD0, 0x14, 0xD2, 0x7F, 0x00, 0x00, 

0x88, 0x00, 0x35, 0x07, 0x01, 0x00, 0x00, 0x00, 

0xB0, 0x3F, 0x44, 0xEA, 0xFE, 0x7F, 0x00, 0x00, 

0xE8, 0x8D, 0x31, 0x07, 0x01, 0x00, 0x00, 0x00, 

0x60, 0xD1, 0x37, 0x62, 0xFF, 0x7F, 0x00, 0x00, 

0x50, 0xF2, 0x34, 0x07, 0x01, 0x00, 0x00, 0x00, 

0xF0, 0x3F, 0x44, 0xEA, 0xFE, 0x7F, 0x00, 0x00, 

0xCE, 0x36, 0x31, 0x07, 0x01, 0x00, 0x00, 0x00, 

0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x08, 0x5A, 0x35, 0x07, 0x01, 0x00, 0x00, 0x00, 

0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x08, 0x16, 0x35, 0x07, 0x01, 0x00, 0x00, 0x00, 

0x88, 0x00, 0x35, 0x07, 0x01, 0x00, 0x00, 0x00, 

0xBF, 0x79, 0x7C, 0x05, 0x01, 0x00, 0x00, 0x00, 

0x50, 0x41, 0x44, 0xEA, 0xFE, 0x7F, 0x00, 0x00, 

0x46, 0xF0, 0x31, 0x07, 0x01, 0x00, 0x00, 0x00, 

0xE8, 0x41, 0x44, 0xEA, 0xFE, 0x7F, 0x00, 0x00, 

0x10, 0x40, 0x44, 0xEA, 0xFE, 0x7F, 0x00, 0x00, 

0x60, 0xD1, 0x37, 0x62, 0xFF, 0x7F, 0x00, 0x00, 

0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x42, 0xC3, 0x14, 0x63, 0xFF, 0x7F, 0x00, 0x00, 

0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x80, 0x30, 0x7D, 0x05, 0x01, 0x00, 0x00, 0x00, 

0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x6E, 0x7D, 0x05, 0x01, 0x00, 0x00, 0x00, 

0x78, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0xD3, 0x7A, 0xD0, 0x14, 0xD2, 0x7F, 0x00, 0x00, 

0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0xA0, 0x42, 0x44, 0xEA, 0xFE, 0x7F, 0x00, 0x00, 

0x06, 0xFA, 0xC1, 0x3A, 0xFF, 0x7F, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0xE0, 0x7A, 0xD0, 0x14, 0xD2, 0x7F, 0x00, 0x00, 

0xA0, 0x41, 0x44, 0xEA, 0xFE, 0x7F, 0x00, 0x00, 

0xBF, 0xB3, 0x14, 0x63, 0xFF, 0x7F, 0x00, 0x00, 

0xC0, 0x83, 0xD0, 0x14, 0xD2, 0x7F, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0xF0, 0xAA, 0xE9, 0x94, 0xFF, 0x7F, 0x00, 0x00, 

0xC1, 0x83, 0xD0, 0x14, 0xD2, 0x7F, 0x00, 0x00, 

0x00, 0x07, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 

0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x50, 0x43, 0x44, 0xEA, 0xFE, 0x7F, 0x00, 0x00, 

0x19, 0x00, 0x86, 0xD1, 0x17, 0x7A, 0x09, 0x50, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x08, 0x16, 0x35, 0x07, 0x01, 0x00, 0x00, 0x00, 

0xBF, 0x79, 0x7C, 0x05, 0x01, 0x00, 0x00, 0x00, 

0xE8, 0x41, 0x44, 0xEA, 0xFE, 0x7F, 0x00, 0x00, 

0xC0, 0x41, 0x44, 0xEA, 0xFE, 0x7F, 0x00, 0x00

}

 

iMacdimagnifico:~ magnifico$ 

Share this post


Link to post
Share on other sites

SMARTER Values for a PCIe Samsung NVMe 960EVO:

Spoiler

Medium Type:       SSD
Protocol:          PCI-Express
Location:          Internal
NVMe there!
Temperature:                  35C°
Life used:                    1%
Critical Warning:             0%
Available Spare:              100%
Available Spare Threshold:    10%
Unsafe Shutdowns:             2533%
S.M.A.R.T. status: Ok

S.M.A.R.T. data (512 bytes):
UInt8 smartdata[] = {
    0x10, 0xAD, 0x70, 0xFE, 0xBC, 0x7F, 0x00, 0x00,
    0xCC, 0xD1, 0xDB, 0x19, 0xFD, 0x9A, 0x4D, 0xAF,
    0xBF, 0x95, 0x12, 0x45, 0x4B, 0x23, 0x0A, 0xB6,
    0x28, 0x92, 0x90, 0xEB, 0x01, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0xA0, 0xA2, 0x70, 0xFE, 0xBC, 0x7F, 0x00, 0x00,
    0x88, 0x50, 0x38, 0x0F, 0x01, 0x00, 0x00, 0x00,
    0xF0, 0x8F, 0x90, 0xEB, 0xFE, 0x7F, 0x00, 0x00,
    0xE8, 0xDD, 0x34, 0x0F, 0x01, 0x00, 0x00, 0x00,
    0x60, 0x31, 0x3B, 0x57, 0xFF, 0x7F, 0x00, 0x00,
    0x50, 0x42, 0x38, 0x0F, 0x01, 0x00, 0x00, 0x00,
    0x30, 0x90, 0x90, 0xEB, 0xFE, 0x7F, 0x00, 0x00,
    0xCE, 0x86, 0x34, 0x0F, 0x01, 0x00, 0x00, 0x00,
    0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0xF8, 0xA9, 0x38, 0x0F, 0x01, 0x00, 0x00, 0x00,
    0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0xF8, 0x65, 0x38, 0x0F, 0x01, 0x00, 0x00, 0x00,
    0x88, 0x50, 0x38, 0x0F, 0x01, 0x00, 0x00, 0x00,
    0xBF, 0x29, 0x30, 0x04, 0x01, 0x00, 0x00, 0x00,
    0x90, 0x91, 0x90, 0xEB, 0xFE, 0x7F, 0x00, 0x00,
    0x46, 0x40, 0x35, 0x0F, 0x01, 0x00, 0x00, 0x00,
    0x28, 0x92, 0x90, 0xEB, 0xFE, 0x7F, 0x00, 0x00,
    0x50, 0x90, 0x90, 0xEB, 0xFE, 0x7F, 0x00, 0x00,
    0x60, 0x31, 0x3B, 0x57, 0xFF, 0x7F, 0x00, 0x00,
    0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x42, 0x23, 0x18, 0x58, 0xFF, 0x7F, 0x00, 0x00,
    0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x80, 0xE0, 0x30, 0x04, 0x01, 0x00, 0x00, 0x00,
    0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x32, 0x31, 0x04, 0x01, 0x00, 0x00, 0x00,
    0x78, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x93, 0x71, 0x70, 0xFE, 0xBC, 0x7F, 0x00, 0x00,
    0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0xE0, 0x92, 0x90, 0xEB, 0xFE, 0x7F, 0x00, 0x00,
    0x06, 0x1A, 0xC5, 0x2F, 0xFF, 0x7F, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0xA0, 0x71, 0x70, 0xFE, 0xBC, 0x7F, 0x00, 0x00,
    0xE0, 0x91, 0x90, 0xEB, 0xFE, 0x7F, 0x00, 0x00,
    0xBF, 0x13, 0x18, 0x58, 0xFF, 0x7F, 0x00, 0x00,
    0x80, 0x7A, 0x70, 0xFE, 0xBC, 0x7F, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0xF0, 0x3A, 0x75, 0x8A, 0xFF, 0x7F, 0x00, 0x00,
    0x81, 0x7A, 0x70, 0xFE, 0xBC, 0x7F, 0x00, 0x00,
    0x00, 0x07, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
    0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x90, 0x93, 0x90, 0xEB, 0xFE, 0x7F, 0x00, 0x00,
    0x7A, 0x00, 0xAA, 0x7A, 0x3C, 0xB6, 0x10, 0x80,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0xF8, 0x65, 0x38, 0x0F, 0x01, 0x00, 0x00, 0x00,
    0xBF, 0x29, 0x30, 0x04, 0x01, 0x00, 0x00, 0x00,
    0x28, 0x92, 0x90, 0xEB, 0xFE, 0x7F, 0x00, 0x00,
    0x00, 0x92, 0x90, 0xEB, 0xFE, 0x7F, 0x00, 0x00
}

seems to work here either.

Edited by Mork vom Ork

Share this post


Link to post
Share on other sites

iMac-di-Fabio:~ fabio$ /Users/fabio/Downloads/smarter disk1

Medium Type:       HDD

Protocol:          SATA

Location:          Internal

Temperature:       55834574882C°

S.M.A.R.T. check disk1:  IOCreatePlugInInterfaceForService() failed with error "IOKit Common: no resource"

S.M.A.R.T. status: not capable

S.M.A.R.T. data (512 bytes):

UInt8 smartdata[] = {

0x0A, 0x00, 0x01, 0x0F, 0x00, 0x6C, 0x63, 0x60, 

0xE4, 0x35, 0x01, 0x00, 0x00, 0x00, 0x03, 0x03, 

0x00, 0x61, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x04, 0x32, 0x00, 0x5D, 0x5D, 0x24, 

0x1D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0x33, 

0x00, 0x64, 0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x07, 0x0F, 0x00, 0x54, 0x3C, 0xE9, 

0x26, 0x32, 0x0E, 0x00, 0x00, 0x00, 0x09, 0x32, 

0x00, 0x5F, 0x5F, 0x08, 0x12, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x0A, 0x13, 0x00, 0x64, 0x63, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0C, 0x32, 

0x00, 0x60, 0x60, 0x77, 0x11, 0x00, 0x00, 0x00, 

0x00, 0x00, 0xBB, 0x32, 0x00, 0x01, 0x01, 0x68, 

0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0xBD, 0x3A, 

0x00, 0x60, 0x60, 0x04, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0xBE, 0x22, 0x00, 0x42, 0x35, 0x22, 

0x00, 0x12, 0x22, 0x00, 0x00, 0x00, 0xC2, 0x22, 

0x00, 0x22, 0x2F, 0x22, 0x00, 0x00, 0x00, 0x0D, 

0x00, 0x00, 0xC3, 0x1A, 0x00, 0x4F, 0x3F, 0x6E, 

0xF9, 0xE1, 0x02, 0x00, 0x00, 0x00, 0xC5, 0x12, 

0x00, 0x64, 0x64, 0x06, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0xC6, 0x10, 0x00, 0x64, 0x64, 0x06, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC7, 0x3E, 

0x00, 0xC8, 0xC8, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0xC8, 0x00, 0x00, 0x64, 0xFD, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xCA, 0x32, 

0x00, 0x64, 0xFD, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x82, 0x00, 0xAE, 0x01, 0x00, 0x5B, 

0x03, 0x00, 0x01, 0x00, 0x01, 0x5C, 0x02, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x03, 

0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 

0x5A, 0xE1, 0x52, 0x0F, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x50, 0x3B, 0x7A, 0x6E, 0xF9, 0x01, 

0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x5A, 0xE1, 0x52, 0x0F, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x02, 0x00, 0x01, 0x00, 0x00, 0x00, 0x0F, 0x00, 

0x00, 0x00, 0xCE, 0x05, 0xE5, 0x7E, 0x03, 0x00, 

0x00, 0x00, 0x14, 0xAA, 0x1D, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x08, 0x12, 0x00, 0x00, 0x00, 0x00, 

0x81, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x76

}

iMac-di-Fabio:~ fabio$ 

Edited by Alpha22

Share this post


Link to post
Share on other sites
14 hours ago, magnifico said:

Vector 

 

 

  Reveal hidden contents

 

iMacdimagnifico:~ magnifico$ /Users/magnifico/Desktop/smarter disk0

Medium Type:       SSD

Protocol:          PCI-Express

Location:          Internal

NVMe there!

Temperature:                  42C°

Life used:                    0%

Critical Warning:             0%

Available Spare:              100%

Available Spare Threshold:    10%

Unsafe Shutdowns:             330%

S.M.A.R.T. status: Ok

 

S.M.A.R.T. data (512 bytes):

UInt8 smartdata[] = {

0x80, 0xB6, 0xD0, 0x14, 0xD2, 0x7F, 0x00, 0x00, 

0xCC, 0xD1, 0xDB, 0x19, 0xFD, 0x9A, 0x4D, 0xAF, 

0xBF, 0x95, 0x12, 0x45, 0x4B, 0x23, 0x0A, 0xB6, 

0xE8, 0x41, 0x44, 0xEA, 0x01, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x10, 0xAC, 0xD0, 0x14, 0xD2, 0x7F, 0x00, 0x00, 

0x88, 0x00, 0x35, 0x07, 0x01, 0x00, 0x00, 0x00, 

0xB0, 0x3F, 0x44, 0xEA, 0xFE, 0x7F, 0x00, 0x00, 

0xE8, 0x8D, 0x31, 0x07, 0x01, 0x00, 0x00, 0x00, 

0x60, 0xD1, 0x37, 0x62, 0xFF, 0x7F, 0x00, 0x00, 

0x50, 0xF2, 0x34, 0x07, 0x01, 0x00, 0x00, 0x00, 

0xF0, 0x3F, 0x44, 0xEA, 0xFE, 0x7F, 0x00, 0x00, 

0xCE, 0x36, 0x31, 0x07, 0x01, 0x00, 0x00, 0x00, 

0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x08, 0x5A, 0x35, 0x07, 0x01, 0x00, 0x00, 0x00, 

0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x08, 0x16, 0x35, 0x07, 0x01, 0x00, 0x00, 0x00, 

0x88, 0x00, 0x35, 0x07, 0x01, 0x00, 0x00, 0x00, 

0xBF, 0x79, 0x7C, 0x05, 0x01, 0x00, 0x00, 0x00, 

0x50, 0x41, 0x44, 0xEA, 0xFE, 0x7F, 0x00, 0x00, 

0x46, 0xF0, 0x31, 0x07, 0x01, 0x00, 0x00, 0x00, 

0xE8, 0x41, 0x44, 0xEA, 0xFE, 0x7F, 0x00, 0x00, 

0x10, 0x40, 0x44, 0xEA, 0xFE, 0x7F, 0x00, 0x00, 

0x60, 0xD1, 0x37, 0x62, 0xFF, 0x7F, 0x00, 0x00, 

0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x42, 0xC3, 0x14, 0x63, 0xFF, 0x7F, 0x00, 0x00, 

0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x80, 0x30, 0x7D, 0x05, 0x01, 0x00, 0x00, 0x00, 

0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x6E, 0x7D, 0x05, 0x01, 0x00, 0x00, 0x00, 

0x78, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0xD3, 0x7A, 0xD0, 0x14, 0xD2, 0x7F, 0x00, 0x00, 

0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0xA0, 0x42, 0x44, 0xEA, 0xFE, 0x7F, 0x00, 0x00, 

0x06, 0xFA, 0xC1, 0x3A, 0xFF, 0x7F, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0xE0, 0x7A, 0xD0, 0x14, 0xD2, 0x7F, 0x00, 0x00, 

0xA0, 0x41, 0x44, 0xEA, 0xFE, 0x7F, 0x00, 0x00, 

0xBF, 0xB3, 0x14, 0x63, 0xFF, 0x7F, 0x00, 0x00, 

0xC0, 0x83, 0xD0, 0x14, 0xD2, 0x7F, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0xF0, 0xAA, 0xE9, 0x94, 0xFF, 0x7F, 0x00, 0x00, 

0xC1, 0x83, 0xD0, 0x14, 0xD2, 0x7F, 0x00, 0x00, 

0x00, 0x07, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 

0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x50, 0x43, 0x44, 0xEA, 0xFE, 0x7F, 0x00, 0x00, 

0x19, 0x00, 0x86, 0xD1, 0x17, 0x7A, 0x09, 0x50, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x08, 0x16, 0x35, 0x07, 0x01, 0x00, 0x00, 0x00, 

0xBF, 0x79, 0x7C, 0x05, 0x01, 0x00, 0x00, 0x00, 

0xE8, 0x41, 0x44, 0xEA, 0xFE, 0x7F, 0x00, 0x00, 

0xC0, 0x41, 0x44, 0xEA, 0xFE, 0x7F, 0x00, 0x00

}

 

iMacdimagnifico:~ magnifico$ 

 

 

12 hours ago, Mork vom Ork said:

SMARTER Values for a PCIe Samsung NVMe 960EVO:

  Reveal hidden contents

Medium Type:       SSD
Protocol:          PCI-Express
Location:          Internal
NVMe there!
Temperature:                  35C°
Life used:                    1%
Critical Warning:             0%
Available Spare:              100%
Available Spare Threshold:    10%
Unsafe Shutdowns:             2533%
S.M.A.R.T. status: Ok

S.M.A.R.T. data (512 bytes):
UInt8 smartdata[] = {
    0x10, 0xAD, 0x70, 0xFE, 0xBC, 0x7F, 0x00, 0x00,
    0xCC, 0xD1, 0xDB, 0x19, 0xFD, 0x9A, 0x4D, 0xAF,
    0xBF, 0x95, 0x12, 0x45, 0x4B, 0x23, 0x0A, 0xB6,
    0x28, 0x92, 0x90, 0xEB, 0x01, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0xA0, 0xA2, 0x70, 0xFE, 0xBC, 0x7F, 0x00, 0x00,
    0x88, 0x50, 0x38, 0x0F, 0x01, 0x00, 0x00, 0x00,
    0xF0, 0x8F, 0x90, 0xEB, 0xFE, 0x7F, 0x00, 0x00,
    0xE8, 0xDD, 0x34, 0x0F, 0x01, 0x00, 0x00, 0x00,
    0x60, 0x31, 0x3B, 0x57, 0xFF, 0x7F, 0x00, 0x00,
    0x50, 0x42, 0x38, 0x0F, 0x01, 0x00, 0x00, 0x00,
    0x30, 0x90, 0x90, 0xEB, 0xFE, 0x7F, 0x00, 0x00,
    0xCE, 0x86, 0x34, 0x0F, 0x01, 0x00, 0x00, 0x00,
    0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0xF8, 0xA9, 0x38, 0x0F, 0x01, 0x00, 0x00, 0x00,
    0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0xF8, 0x65, 0x38, 0x0F, 0x01, 0x00, 0x00, 0x00,
    0x88, 0x50, 0x38, 0x0F, 0x01, 0x00, 0x00, 0x00,
    0xBF, 0x29, 0x30, 0x04, 0x01, 0x00, 0x00, 0x00,
    0x90, 0x91, 0x90, 0xEB, 0xFE, 0x7F, 0x00, 0x00,
    0x46, 0x40, 0x35, 0x0F, 0x01, 0x00, 0x00, 0x00,
    0x28, 0x92, 0x90, 0xEB, 0xFE, 0x7F, 0x00, 0x00,
    0x50, 0x90, 0x90, 0xEB, 0xFE, 0x7F, 0x00, 0x00,
    0x60, 0x31, 0x3B, 0x57, 0xFF, 0x7F, 0x00, 0x00,
    0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x42, 0x23, 0x18, 0x58, 0xFF, 0x7F, 0x00, 0x00,
    0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x80, 0xE0, 0x30, 0x04, 0x01, 0x00, 0x00, 0x00,
    0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x32, 0x31, 0x04, 0x01, 0x00, 0x00, 0x00,
    0x78, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x93, 0x71, 0x70, 0xFE, 0xBC, 0x7F, 0x00, 0x00,
    0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0xE0, 0x92, 0x90, 0xEB, 0xFE, 0x7F, 0x00, 0x00,
    0x06, 0x1A, 0xC5, 0x2F, 0xFF, 0x7F, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0xA0, 0x71, 0x70, 0xFE, 0xBC, 0x7F, 0x00, 0x00,
    0xE0, 0x91, 0x90, 0xEB, 0xFE, 0x7F, 0x00, 0x00,
    0xBF, 0x13, 0x18, 0x58, 0xFF, 0x7F, 0x00, 0x00,
    0x80, 0x7A, 0x70, 0xFE, 0xBC, 0x7F, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0xF0, 0x3A, 0x75, 0x8A, 0xFF, 0x7F, 0x00, 0x00,
    0x81, 0x7A, 0x70, 0xFE, 0xBC, 0x7F, 0x00, 0x00,
    0x00, 0x07, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
    0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x90, 0x93, 0x90, 0xEB, 0xFE, 0x7F, 0x00, 0x00,
    0x7A, 0x00, 0xAA, 0x7A, 0x3C, 0xB6, 0x10, 0x80,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0xF8, 0x65, 0x38, 0x0F, 0x01, 0x00, 0x00, 0x00,
    0xBF, 0x29, 0x30, 0x04, 0x01, 0x00, 0x00, 0x00,
    0x28, 0x92, 0x90, 0xEB, 0xFE, 0x7F, 0x00, 0x00,
    0x00, 0x92, 0x90, 0xEB, 0xFE, 0x7F, 0x00, 0x00
}

seems to work here either.

Thanks so much, nvme looks very good and your values can be trusted.

Edited by vector sigma
value(s)

Share this post


Link to post
Share on other sites
1 hour ago, Alpha22 said:

iMac-di-Fabio:~ fabio$ /Users/fabio/Downloads/smarter disk1

Medium Type:       HDD

Protocol:          SATA

Location:          Internal

Temperature:       55834574882C°

S.M.A.R.T. check disk1:  IOCreatePlugInInterfaceForService() failed with error "IOKit Common: no resource"

S.M.A.R.T. status: not capable

 

iMac-di-Fabio:~ fabio$ 

Hi Fabio, your instead is bad but I think that the program should have exited before showing untrue data because it says "no resources". Can you kindly show me the output of:

diskutil list

and also

diskutil info disk1

thanks

Edited by vector sigma
typo

Share this post


Link to post
Share on other sites

 

here's to you :

Last login: Mon Apr  9 21:04:33 on console

iMac-di-Fabio:~ fabio$ diskutil list

/dev/disk0 (internal, physical):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                        *120.0 GB   disk0

   1:                        EFI EFI                     209.7 MB   disk0s1

   2:                 Apple_APFS Container disk2         119.8 GB   disk0s2

 

/dev/disk1 (internal, physical):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                        *250.1 GB   disk1

   1:                        EFI EFI                     209.7 MB   disk1s1

   2:                  Apple_HFS macOS Sierra            249.2 GB   disk1s2

   3:                 Apple_Boot Recovery HD             650.0 MB   disk1s3

 

/dev/disk2 (synthesized):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      APFS Container Scheme -                      +119.8 GB   disk2

                                 Physical Store disk0s2

   1:                APFS Volume macOS High Sierra       97.7 GB    disk2s1

   2:                APFS Volume Preboot                 21.9 MB    disk2s2

   3:                APFS Volume Recovery                517.8 MB   disk2s3

   4:                APFS Volume VM                      20.5 KB    disk2s4

 

iMac-di-Fabio:~ fabio$ diskutil info disk1

   Device Identifier:        disk1

   Device Node:              /dev/disk1

   Whole:                    Yes

   Part of Whole:            disk1

   Device / Media Name:      MAXTOR STM3250310AS

 

   Volume Name:              Not applicable (no file system)

   Mounted:                  Not applicable (no file system)

   File System:              None

 

   Content (IOContent):      GUID_partition_scheme

   OS Can Be Installed:      No

   Media Type:               Generic

   Protocol:                 SATA

   SMART Status:             Verified

 

   Disk Size:                250.1 GB (250059350016 Bytes) (exactly 488397168 512-Byte-Units)

   Device Block Size:        512 Bytes

 

   Read-Only Media:          No

   Read-Only Volume:         Not applicable (no file system)

 

   Device Location:          Internal

   Removable Media:          Fixed

 

   Solid State:              No

   Virtual:                  No

   Hardware AES Support:     No

 

iMac-di-Fabio:~ fabio$ /Users/fabio/Downloads/smarter disk0

Medium Type:       SSD

Protocol:          SATA

Location:          Internal

Temperature:       25C°

Life:              98%

S.M.A.R.T. check disk0:  IOCreatePlugInInterfaceForService() failed with error "IOKit Common: no resource"

S.M.A.R.T. status: not capable

 

S.M.A.R.T. data (512 bytes):

UInt8 smartdata[] = {

0x01, 0x00, 0x05, 0x33, 0x00, 0x64, 0x64, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x09, 0x32, 

0x00, 0x63, 0x63, 0x03, 0x11, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x0C, 0x32, 0x00, 0x60, 0x60, 0x96, 

0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB1, 0x13, 

0x00, 0x62, 0x62, 0x12, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0xB3, 0x13, 0x00, 0x64, 0x64, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB5, 0x32, 

0x00, 0x64, 0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0xB6, 0x32, 0x00, 0x64, 0x64, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB7, 0x13, 

0x00, 0x64, 0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0xBB, 0x32, 0x00, 0x64, 0x64, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xBE, 0x32, 

0x00, 0x4B, 0x3A, 0x19, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0xC3, 0x1A, 0x00, 0xC8, 0xC8, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC7, 0x3E, 

0x00, 0x63, 0x63, 0x80, 0x03, 0x00, 0x00, 0x00, 

0x00, 0x00, 0xEB, 0x12, 0x00, 0x63, 0x63, 0xB5, 

0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0x32, 

0x00, 0x63, 0x63, 0x27, 0xC3, 0xC3, 0x38, 0x01, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x68, 0x10, 0x00, 0x53, 

0x03, 0x00, 0x01, 0x00, 0x02, 0x46, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xCC

}

iMac-di-Fabio:~ fabio$

Share this post


Link to post
Share on other sites

@vector sigma

Look, please, some error in the package when install only HWMonitorSMC2

Quote

Apr  7 13:14:12 iHack installd[837]: PackageKit: Executing script "./postinstall" in /private/tmp/PKInstallSandbox.PN6Oql/Scripts/org.slice.hwsensors.HWMonitorSMC2.rE6YES

Apr  7 13:14:12 iHack installd[837]: ./postinstall: The file /Applications/HWMonitorSMC.app does not exist.

Apr  7 13:14:12 iHack install_monitor[2904]: Re-included: /Applications, /Developer, /Library, /System, /bin, /private, /sbin, /usr

Apr  7 13:14:13 iHack installd[837]: PackageKit: releasing backupd

Apr  7 13:14:13 iHack installd[837]: PackageKit: allow user idle system sleep

Apr  7 13:14:13 iHack installd[837]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “HWSensors-3_r116.pkg”." UserInfo={NSFilePath=./postinstall, NSURL=file://localhost/Users/ilya/Downloads/HWSensors-3_r116.pkg#HWMonitorSMC2.pkg, PKInstallPackageIdentifier=org.slice.hwsensors.HWMonitorSMC2, NSLocalizedDescription=An error occurred while running scripts from the package “HWSensors-3_r116.pkg”.} {

        NSFilePath = "./postinstall";

        NSLocalizedDescription = "An error occurred while running scripts from the package \U201cHWSensors-3_r116.pkg\U201d.";

        NSURL = "file://localhost/Users/ilya/Downloads/HWSensors-3_r116.pkg#HWMonitorSMC2.pkg";

        PKInstallPackageIdentifier = "org.slice.hwsensors.HWMonitorSMC2";

    }

Apr  7 13:14:13 iHack Installer[2865]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “HWSensors-3_r116.pkg”." UserInfo={NSFilePath=./postinstall, NSURL=file://localhost/Users/ilya/Downloads/HWSensors-3_r116.pkg#HWMonitorSMC2.pkg, PKInstallPackageIdentifier=org.slice.hwsensors.HWMonitorSMC2, NSLocalizedDescription=An error occurred while running scripts from the package “HWSensors-3_r116.pkg”.}

 

Share this post


Link to post
Share on other sites
13 hours ago, Slice said:

@vector sigma

Look, please, some error in the package when install only HWMonitorSMC2

 

Should be fixed now. You changed the app name but the preinstall/postinstall script was looking for the old name:

preinstall: unload the running HWMonitorSMC2.app (if any), delete it

postinstall: open the new one

I'm in a rush now, but I see you changed the preferences but this way when you click any checkbox, on the next start the app will always set these preferences in a ON state, without effectively match the state of the buttons. Do you want to have these preferences always enabled or do you want them enabled by default?

Functions prefixed with "@IBAction" are meant to receive an action from a control (buttons, sliders texfields etc.) the function is connected to. So if a button is activated you should respect its state.

After a new look  and with a try, it works well. Only that by setting "sender.state" I'm surprised that value is saved as a boolean value since a checkbox can be .on, .off or .mixed.

EDIT

looking at the documentation:

Spoiler

var state: NSControl.StateValue { get set }
Description

The button’s state.

The value of this property represents the button's state. A button can have two or three states. If it has two, this value is either on (NSOnState) or off (NSOffState). If it has three, this value is on, off, or mixed (NSMixedState). A three-state button can be enabled by calling the allowsMixedState method. On and off states (also referred to as alternate and normal) indicate that the button is either clicked or not clicked. Mixed state is typically used for checkboxes or radio buttons, which allow for an additional intermediate state. For example, suppose the state of a checkbox is used to denote whether a text field contains bold text. If all of the text in the text field is bold, then the checkbox appears checked (on). If none of the text is bold, then the checkbox appears unchecked (off). If some of the text is bold, then the checkbox contains a dash (mixed).

Note that if the button has only two states and you set the value of state to mixed, the button’s state changes to on. Setting this property redraws the button, if necessary.

Although using the enumerated constants is preferred, you can also set state to an integer value. If the button has two states, 0is treated as NSOffState, and a nonzero value is treated as NSOnState. If the button has three states, 0 is treated as NSOffState; a negative value, as NSMixedState; and a positive value, as NSOnState.

To check whether the button uses the mixed state, use the allowsMixedStateproperty.

SDK macOS 10.0+
Declared In AppKit
More Property Reference

it says about integer and in swift you cannot do that for example:

let a : Int = true //error: Cannot convert value of type 'Bool' to specified type 'Int'

while in c you can do that:

int a = true;

..why the code was as I wrote it originally

Edited by vector sigma

Share this post


Link to post
Share on other sites
21 hours ago, Alpha22 said:
Spoiler


here's to you :

Last login: Mon Apr  9 21:04:33 on console

iMac-di-Fabio:~ fabio$ diskutil list

/dev/disk0 (internal, physical):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                        *120.0 GB   disk0

   1:                        EFI EFI                     209.7 MB   disk0s1

   2:                 Apple_APFS Container disk2         119.8 GB   disk0s2

 

/dev/disk1 (internal, physical):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                        *250.1 GB   disk1

   1:                        EFI EFI                     209.7 MB   disk1s1

   2:                  Apple_HFS macOS Sierra            249.2 GB   disk1s2

   3:                 Apple_Boot Recovery HD             650.0 MB   disk1s3

 

/dev/disk2 (synthesized):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      APFS Container Scheme -                      +119.8 GB   disk2

                                 Physical Store disk0s2

   1:                APFS Volume macOS High Sierra       97.7 GB    disk2s1

   2:                APFS Volume Preboot                 21.9 MB    disk2s2

   3:                APFS Volume Recovery                517.8 MB   disk2s3

   4:                APFS Volume VM                      20.5 KB    disk2s4

 

iMac-di-Fabio:~ fabio$ diskutil info disk1

   Device Identifier:        disk1

   Device Node:              /dev/disk1

   Whole:                    Yes

   Part of Whole:            disk1

   Device / Media Name:      MAXTOR STM3250310AS

 

   Volume Name:              Not applicable (no file system)

   Mounted:                  Not applicable (no file system)

   File System:              None

 

   Content (IOContent):      GUID_partition_scheme

   OS Can Be Installed:      No

   Media Type:               Generic

   Protocol:                 SATA

   SMART Status:             Verified

 

   Disk Size:                250.1 GB (250059350016 Bytes) (exactly 488397168 512-Byte-Units)

   Device Block Size:        512 Bytes

 

   Read-Only Media:          No

   Read-Only Volume:         Not applicable (no file system)

 

   Device Location:          Internal

   Removable Media:          Fixed

 

   Solid State:              No

   Virtual:                  No

   Hardware AES Support:     No

 

iMac-di-Fabio:~ fabio$ /Users/fabio/Downloads/smarter disk0

Medium Type:       SSD

Protocol:          SATA

Location:          Internal

Temperature:       25C°

Life:              98%

S.M.A.R.T. check disk0:  IOCreatePlugInInterfaceForService() failed with error "IOKit Common: no resource"

S.M.A.R.T. status: not capable

 

S.M.A.R.T. data (512 bytes):

UInt8 smartdata[] = {

0x01, 0x00, 0x05, 0x33, 0x00, 0x64, 0x64, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x09, 0x32, 

0x00, 0x63, 0x63, 0x03, 0x11, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x0C, 0x32, 0x00, 0x60, 0x60, 0x96, 

0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB1, 0x13, 

0x00, 0x62, 0x62, 0x12, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0xB3, 0x13, 0x00, 0x64, 0x64, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB5, 0x32, 

0x00, 0x64, 0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0xB6, 0x32, 0x00, 0x64, 0x64, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB7, 0x13, 

0x00, 0x64, 0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0xBB, 0x32, 0x00, 0x64, 0x64, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xBE, 0x32, 

0x00, 0x4B, 0x3A, 0x19, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0xC3, 0x1A, 0x00, 0xC8, 0xC8, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC7, 0x3E, 

0x00, 0x63, 0x63, 0x80, 0x03, 0x00, 0x00, 0x00, 

0x00, 0x00, 0xEB, 0x12, 0x00, 0x63, 0x63, 0xB5, 

0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0x32, 

0x00, 0x63, 0x63, 0x27, 0xC3, 0xC3, 0x38, 0x01, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x68, 0x10, 0x00, 0x53, 

0x03, 0x00, 0x01, 0x00, 0x02, 0x46, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xCC

}

iMac-di-Fabio:~ fabio$

 

 

Thanks this will help me!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By kevin_1351
      tl;dr: VirtualSMC causes me a flood of log messages and correlated cpu spikes. FakeSMC doesn't.
       
      Hi, I have almost finalized my Huawei Matebook X Pro Opencore setup and everything is working very well besides wifi/bt ofc (which is about to change).
       
      However, I noticed how the cpu usage sometimes went up a little and when looking at the Console I could see a never-ending flood of:
      default 14:05:05.983292+0100 loginwindow clamshellStateChanged | Clamshell state changed: closed=0, shouldSleepWhenClosed=2 default 14:05:05.982975+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:05.982996+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:06.985932+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:06.985949+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:06.986134+0100 loginwindow clamshellStateChanged | Clamshell state changed: closed=0, shouldSleepWhenClosed=2 default 14:05:39.426574+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:39.426729+0100 loginwindow clamshellStateChanged | Clamshell state changed: closed=0, shouldSleepWhenClosed=2 default 14:05:39.426585+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:41.431085+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:41.431097+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:41.431246+0100 loginwindow clamshellStateChanged | Clamshell state changed: closed=0, shouldSleepWhenClosed=2 default 14:05:42.433068+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:42.433227+0100 loginwindow clamshellStateChanged | Clamshell state changed: closed=0, shouldSleepWhenClosed=2 default 14:05:42.433078+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:43.434453+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:43.434465+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:43.434622+0100 loginwindow clamshellStateChanged | Clamshell state changed: closed=0, shouldSleepWhenClosed=2 default 14:05:44.436155+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:44.436166+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0  
      As you can see, multiple of these per second. Another guy with the same computer is also having this issue and posted a dsdt change to fix it. This fix didn't solve anything though
      He tried to limit the Notify call by implementing a state change requirement before calling Notify.
       
      Here is the original acpi:
      Scope (_SB) { Device (LID) { Name (_HID, EisaId ("PNP0C0D") /* Lid Device */) // _HID: Hardware ID Method (_LID, 0, NotSerialized) // _LID: Lid Status { Local0 = One Local0 = ^^PCI0.LPCB.EC0.RPIN (0x05, 0x06) If ((Local0 == 0x55)) { Local0 = Zero } Else { Local0 = One } ^^PCI0.GFX0.CLID = Local0 Return (Local0) } } Device (PWRB) { Name (_HID, EisaId ("PNP0C0C") /* Power Button Device */) // _HID: Hardware ID Method (_STA, 0, NotSerialized) // _STA: Status { Return (0x0B) } } } Scope (_SB.PCI0.LPCB.EC0) { Method (_Q81, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF { Local0 = ^^^^LID._LID () If ((Local0 == Zero)) { ADBG ("LID-OFF") SGOV (0x02030009, Zero) SGOV (0x02060000, Zero) } Else { ADBG ("LID-ON") SGOV (0x02030009, One) SGOV (0x02060000, One) Notify (ALSD, 0x80) // Status Change } Notify (LID, 0x80) // Status Change } } Which he changed to: 
      Scope (_SB) { Device (LID) { Name (_OLD, One) // assuming everything else.. the lid should start open? Name (_HID, EisaId ("PNP0C0D") /* Lid Device */) // _HID: Hardware ID Method (_LID, 0, NotSerialized) // _LID: Lid Status { Local0 = One Local0 = ^^PCI0.LPCB.EC0.RPIN (0x05, 0x06) If ((Local0 == 0x55)) { Local0 = Zero } Else { Local0 = One } Return (Local0) } } Device (PNLF) { Name (_HID, EisaId ("APP0002")) // _HID: Hardware ID Name (_CID, "backlight") // _CID: Compatible ID Name (_UID, 0x0A) // _UID: Unique ID Name (_STA, 0x0B) // _STA: Status } Device (PWRB) { Name (_HID, EisaId ("PNP0C0C") /* Power Button Device */) // _HID: Hardware ID Method (_STA, 0, NotSerialized) // _STA: Status { Return (0x0B) } } } Scope (_SB.PCI0.LPCB.EC0) { Method (_Q81, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF { Local0 = ^^^^LID._LID () If ((Local0 == Zero)) { ADBG ("LID-OFF") SGOV (0x02030009, Zero) SGOV (0x02060000, Zero) } Else { ADBG ("LID-ON") SGOV (0x02030009, One) SGOV (0x02060000, One) Notify (ALSD, 0x80) // Status Change } If ((^^^^LID._OLD != Local0)) { Notify (LID, 0x80) // Status Change ^^^^LID._OLD = Local0 } } } Besides me not seeing any reason to declare _OLD in LID. The idea itself shouldn't be too bad right? Well, as I said, his fix didn't work.
       
      In fact, to prove that Method _Q81 doesn't have anything to do with the issue at all, I created a Clover/Opencore patch to change _Q81 to XQ81. This resulted in my lid not working at all of course, but the log flooding still persisted!
      So _Q81 doesn't have anything to do with the issue afaik.
       
      Now, further Google searches led me to a chinese post where he tied the issue to VirtualSMC. And indeed, by migrating to FakeSMC the issue is no more.
       
      Unfortunately, I'm very fond of VirtualSMC for various reasons. So I would very much like to keep it. If not I'd have to implement the old way of doing Battery monitoring etcetc. Which isn't very elegant and update proof as it requires DSDT patching.
       
      So, I do believe that the issue may very well be in the DSDT code, perhaps in the ambient light part. I'm not very skilled at this and just started studying the ACPI spec 3 days ago.
       
      Could someone please help me out? Thanks a lot in advance
       
       
      origin.zip
      OC.zip
    • By Slice
      Guys,
      Don't mix 6.18 and 3.41.
       
      There are three different projects for monitoring temperatures, voltages, fans speed and other hardware parameters:
      Initially it was FakeSMC with plugins for producing SMC keys for hardware parameters for different hardware. But sometimes ago Kozlek separated own version of FakeSMC and producing new set of plugins while I stay with good working version 3. So..
      1. FakeSMC v3 with Hardware Sensors3  which I still supported.
      2. FakeSMC v6 (rev1800) by Kozlek and supported by Rehabman. AFAIK both are abandoned and the project is not supported. Or may be maintained by coauthors.
      3. New VirtualSMC by vit9696 with own set of sensors kexts. It depends on Lilu.kext. The project is in active development.
      All three project have incompatible interfaces sensors<->SMC so they are incompatible with each other.
       
      There are applications for monitoring hardware parameters and they commonly depends on these projects.
      1. iStat, iStatMenu, iStatPro compatible with real Macs because they use SMC keys just like those presents in real Macs.
      2. HWMonitorSMC by Navi (initial codes from Kozlek)  used in my HWSensors3.
      3. HWMonitor by Kozlek with graphics like in IntelPowerGadget used in his HWSensors version.
      4. HWMonitorSMC2 by Vector_Sigma tends to be universal supporting all project. It also may use sensors information produces by Apple graphics and by IntelPowerGadget.
       
      Let us discuss here differences and common ideas for this projects.
       
×