Question about standby timer & standby command.
jonghwan Choi <[email protected]> Fri, 14 Apr 2017 18:33:16 +0900
| Newsgroups | gmane.linux.utilities.smartmontools |
|---|---|
| Message-ID | <CAGZ6kuNcV_HaVdW=Ry0=7YdLYUONVQ3Rw8w3YcnT53bviJ+Eaw@mail.gmail.com> |
--===============7614037833745573121== Content-Type: multipart/alternative; boundary=001a113cd4fc9d5f84054d1d21ab --001a113cd4fc9d5f84054d1d21ab Content-Type: text/plain; charset=UTF-8 Hi all Sorry to bother you. 4.16.2 Power management commands The CHECK POWER MODE command (see 7.3) allows a host to determine if a device is in, going to, or leaving Active mode, Standby mode, or Idle mode. The CHECK POWER MODE command shall not change the power mode or affect the operation of the Standby timer. The IDLE command (see 7.13) and IDLE IMMEDIATE command (see 7.14) move a device to Idle mode immediately from the Active mode or Standby mode. The IDLE command also sets the Standby timer count (i.e., enables or disables the Standby timer). The STANDBY command (see 7.45) and STANDBY IMMEDIATE command (see 7.46) move a device to Standby mode immediately from the Active mode or Idle mode. The STANDBY command also sets the Standby timer count. The SLEEP command (see 7.43) moves a device to Sleep mode. The device's interface becomes inactive (see the applicable transport standard) after the device reports command completion for the SLEEP command. A device only transitions from Sleep mode after processing a hardware reset or a software reset. 4.16.3 Standby timer The Standby timer provides a method for the device to enter Standby mode from either Active mode or Idle mode following a host programmed period of inactivity. If: a) the Standby timer is enabled; b) the device is in the Active mode or the Idle mode; and c) the Standby timer expires, then the device enters the Standby mode if no media access command is received. If a media access command is received and the Standby timer is enabled, the Standby timer is: a) reinitialized to the value specified by the most recent IDLE command (see 7.13) or STANDBY command (see 7.45); and b) started. If the Standby timer is disabled, the device may automatically enter Standby mode after a vendor specific time has expired for a vendor specific reason. I have a question about Standby timer. According to ACS spec, the device can enter into Standby mode. "The STANDBY command (see 7.45) and STANDBY IMMEDIATE command (see 7.46) move a device to Standby mode immediately from the Active mode or Idle mode. The STANDBY command also sets the Standby timer count." What I understood is : If the standby command is executed with sector count zero(disable standby timer), it enters the standby mode immediately) But If the standby command is executed with sector count non-zero, it does not enter the standby mode immediately but it enters the standby mode when the timer expires. (The standby command is executed as a standby timer when the sector count is not zero.) Is it right that I understood it? Thanks Best Regards.! --001a113cd4fc9d5f84054d1d21ab Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div><div>Hi all<br><br><span class=3D"gmail-short_text" i= d=3D"gmail-result_box" lang=3D"en"><span>Sorry to bother you.<br></span></s= pan><span class=3D"gmail-trans-verified-button gmail-goog-toolbar-button" i= d=3D"gmail-t-served-community-button" style=3D"display:none"><span class=3D= "gmail-jfk-button-img"></span><br><br></span><br>4.16.2 Power management co= mmands<br>The CHECK POWER MODE command (see 7.3) allows a host to determine= if a device is in, going to, or leaving<br>Active mode, Standby mode, or I= dle mode. The CHECK POWER MODE command shall not change the power<br>mode o= r affect the operation of the Standby timer.<br>The IDLE command (see 7.13)= and IDLE IMMEDIATE command (see 7.14) move a device to Idle mode<br>immedi= ately from the Active mode or Standby mode. The IDLE command also sets the = Standby timer count (i.e.,<br>enables or disables the Standby timer).<br>Th= e STANDBY command (see 7.45) and STANDBY IMMEDIATE command (see 7.46) move = a device to<br>Standby mode immediately from the Active mode or Idle mode. = The STANDBY command also sets the Standby<br>timer count.<br>The SLEEP comm= and (see 7.43) moves a device to Sleep mode. The device's interface bec= omes inactive (see<br>the applicable transport standard) after the device r= eports command completion for the SLEEP command. A<br>device only transitio= ns from Sleep mode after processing a hardware reset or a software reset.<b= r><br><br>4.16.3 Standby timer<br>The Standby timer provides a method for t= he device to enter Standby mode from either Active mode or Idle mode<br>fol= lowing a host programmed period of inactivity. If:<br>a) the Standby timer = is enabled;<br>b) the device is in the Active mode or the Idle mode; and<br= >c) the Standby timer expires,<br>then the device enters the Standby mode i= f no media access command is received.<br>If a media access command is rece= ived and the Standby timer is enabled, the Standby timer is:<br>a) reinitia= lized to the value specified by the most recent IDLE command (see 7.13) or = STANDBY command<br>(see 7.45); and<br>b) started.<br>If the Standby timer i= s disabled, the device may automatically enter Standby mode after a vendor = specific time<br>has expired for a vendor specific reason.<br><br><br>I hav= e a question about=C2=A0 Standby timer.<br><br>According to ACS spec, the d= evice can enter into Standby mode.<br>"The STANDBY command (see 7.45) = and STANDBY IMMEDIATE command (see 7.46) move a device to<br>Standby mode i= mmediately from the Active mode or Idle mode. The STANDBY command also sets= the Standby<br>timer count."<br><br>What I understood is :<br>If the = standby command is executed with sector count zero(disable standby timer), = it enters the standby mode immediately)<br>But If the standby command is ex= ecuted with sector count non-zero, it does not enter the standby mode immed= iately but it enters the standby mode when the timer expires.<br>(<span id= =3D"gmail-result_box" lang=3D"en"><span>The standby command is executed as = a standby timer when the sector count is not zero.)</span></span><br><br>Is= it right that I understood it?<br><br></div>Thanks<br></div>Best Regards.!= <br><br><br></div> --001a113cd4fc9d5f84054d1d21ab-- --===============7614037833745573121== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot --===============7614037833745573121== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Smartmontools-support mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/smartmontools-support --===============7614037833745573121==--