Skip to content

Can't query APM value on Windows #1

@RNavega

Description

@RNavega

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

D:\utils\sdparm>sdparm_64 -vv PD1
>>> about to open device name: PD1
    inquiry cdb: 12 00 00 00 24 00
    PD1: WDC       WD10JPVX-22JC3T0  01.0
    mode sense (10) cdb: 5a 00 01 00 00 00 00 00 08 00
sg_get_mode_page_controls: given response length too small, offset=8 given_len=8
 bd_len=0

>> Read write error recovery mode page [0x1] failed
    mode sense (10) cdb: 5a 00 02 00 00 00 00 00 08 00
sg_get_mode_page_controls: given response length too small, offset=8 given_len=8
 bd_len=0

>> Disconnect-reconnect (SPC + transports) mode page [0x2] failed
    mode sense (10) cdb: 5a 00 03 00 00 00 00 00 08 00
sg_get_mode_page_controls: given response length too small, offset=8 given_len=8
 bd_len=0

>> Format (SBC) mode page [0x3] failed
    mode sense (10) cdb: 5a 00 04 00 00 00 00 00 08 00
sg_get_mode_page_controls: given response length too small, offset=8 given_len=8
 bd_len=0

>> Rigid disk (SBC) mode page [0x4] failed
    mode sense (10) cdb: 5a 00 05 00 00 00 00 00 08 00
sg_get_mode_page_controls: given response length too small, offset=8 given_len=8
 bd_len=0

(...) And many other errors like above

When trying specifically to read the APM:

D:\utils\sdparm>sdparm_64 -vv -g APM PD1
mp_settings: page,subpage=0x1a,0xf1  num=1
  [0x1a,0xf1]  pdt=-1 start_byte=0x6 start_bit=7 num_bits=8  val=0  acronym: APM

>>> about to open device name: PD1
    inquiry cdb: 12 00 00 00 24 00
    PD1: WDC       WD10JPVX-22JC3T0  01.0
    mode sense (10) cdb: 5a 00 1a f1 00 00 00 00 08 00
sg_get_mode_page_controls: given response length too small, offset=8 given_len=8
 bd_len=0

APM error in SAT ATA Power condition mode page

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions