Open RNavega opened 2 years ago
This is a dark corner. sdparm assumes SCSI devices or SATA devices behind a SCSI to ATA Translation Layer (SATL). The latter is governed by the SAT standard(s). In my experience that requires a professional SATL which rules out the default SATLs in Linux and Windows (as far as I know). For quality SATLs I look to LSI (Broadcom) and Adaptec (Microchip) HBAs connected via a SAS expander to a SATA disk. My LSI HBA is pretty old (SAS 12G, where is Broadcom's 24G HBA??) and it doesn't even support mode sub-pages. My Adaptec HBA1200 (24G) got pretty close, supporting many "SAT" special mode (sub)pages but not "SAT ATA Power Condition mode page" [0x1a,0xf1] required to access/change APM value. So I think the sdparm code is correct but it requires a lot of support from lower layers. From your lower report it looks like 5a 00 1a f1 00 00 00 00 08 00 requesting the mode page in question gets a few bytes of crap back (which probably gets it passed internal test code :-) ).
Hi, thanks a lot for your utility.
I'm trying to read the current APM value for my HDD, but I'm getting an error.
My OS:
Windows 8.1 x64
PD1:
WDC WD10JPVX-22JC3T0
When trying specifically to read the APM:
Is there anything else that I can do to try to fix this? Eventually I want to be able to change this APM value as it resets per Windows session.