<div dir="ltr">Hi,<div><br></div><div>Would it be possible to use SAS sense data to enable the -n standby function for SAS drives in addition to ATA?</div><div><br></div><div>sg_requests -v --hex -s /dev/sdd<br> 00     70 00 00 00 00 00 00 18  00 00 00 00 5e 04 00 00<br> 10     00 00 00 00 18 38 00 00  00 00 00 00 00 00 00 00<br></div><div><br></div><div>5e is the indicator of power mode.and the second byte is the detail.</div><div><br></div><div><div style="color:rgb(212,212,212);background-color:rgb(30,30,30);font-family:Consolas,"Courier New",monospace;font-size:14px;line-height:19px;white-space:pre"><br><div>  {<span style="color:rgb(181,206,168)">0x5E</span>,<span style="color:rgb(181,206,168)">0x00</span>,<span style="color:rgb(206,145,120)">"Low power condition on"</span>},</div><div>    {<span style="color:rgb(181,206,168)">0x5E</span>,<span style="color:rgb(181,206,168)">0x01</span>,<span style="color:rgb(206,145,120)">"Idle condition activated by timer"</span>},</div><div>    {<span style="color:rgb(181,206,168)">0x5E</span>,<span style="color:rgb(181,206,168)">0x02</span>,<span style="color:rgb(206,145,120)">"Standby condition activated by timer"</span>},</div><div>    {<span style="color:rgb(181,206,168)">0x5E</span>,<span style="color:rgb(181,206,168)">0x03</span>,<span style="color:rgb(206,145,120)">"Idle condition activated by command"</span>},</div><div>    {<span style="color:rgb(181,206,168)">0x5E</span>,<span style="color:rgb(181,206,168)">0x04</span>,<span style="color:rgb(206,145,120)">"Standby condition activated by command"</span>},</div><div>    {<span style="color:rgb(181,206,168)">0x5E</span>,<span style="color:rgb(181,206,168)">0x05</span>,<span style="color:rgb(206,145,120)">"Idle_b condition activated by timer"</span>},</div><div>    {<span style="color:rgb(181,206,168)">0x5E</span>,<span style="color:rgb(181,206,168)">0x06</span>,<span style="color:rgb(206,145,120)">"Idle_b condition activated by command"</span>},</div><div>    {<span style="color:rgb(181,206,168)">0x5E</span>,<span style="color:rgb(181,206,168)">0x07</span>,<span style="color:rgb(206,145,120)">"Idle_c condition activated by timer"</span>},</div><div>    {<span style="color:rgb(181,206,168)">0x5E</span>,<span style="color:rgb(181,206,168)">0x08</span>,<span style="color:rgb(206,145,120)">"Idle_c condition activated by command"</span>},</div><div>    {<span style="color:rgb(181,206,168)">0x5E</span>,<span style="color:rgb(181,206,168)">0x09</span>,<span style="color:rgb(206,145,120)">"Standby_y condition activated by timer"</span>},</div><div>    {<span style="color:rgb(181,206,168)">0x5E</span>,<span style="color:rgb(181,206,168)">0x0a</span>,<span style="color:rgb(206,145,120)">"Standby_y condition activated by command"</span>},</div><div>    {<span style="color:rgb(181,206,168)">0x5E</span>,<span style="color:rgb(181,206,168)">0x41</span>,<span style="color:rgb(206,145,120)">"Power state change to active"</span>},</div><div>    {<span style="color:rgb(181,206,168)">0x5E</span>,<span style="color:rgb(181,206,168)">0x42</span>,<span style="color:rgb(206,145,120)">"Power state change to idle"</span>},</div><div>    {<span style="color:rgb(181,206,168)">0x5E</span>,<span style="color:rgb(181,206,168)">0x43</span>,<span style="color:rgb(206,145,120)">"Power state change to standby"</span>},</div><div>    {<span style="color:rgb(181,206,168)">0x5E</span>,<span style="color:rgb(181,206,168)">0x45</span>,<span style="color:rgb(206,145,120)">"Power state change to sleep"</span>},</div><div>    {<span style="color:rgb(181,206,168)">0x5E</span>,<span style="color:rgb(181,206,168)">0x47</span>,<span style="color:rgb(206,145,120)">"Power state change to device control"</span>},</div><div><br></div><div>Regards</div><div>Simon</div></div></div></div>