linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* hdparm -C on SATA always prints "standby"
@ 2006-10-16 15:36 Len Brown
  2006-10-16 16:06 ` Mark Lord
  0 siblings, 1 reply; 3+ messages in thread
From: Len Brown @ 2006-10-16 15:36 UTC (permalink / raw)
  To: linux-ide, bltk-discussion

hdparm -C seems to work on the PATA laptops I have,
but it always returns standby on the SATA laptops I have.

Is this a known issue?

thanks,
-Len

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: hdparm -C on SATA always prints "standby"
  2006-10-16 15:36 hdparm -C on SATA always prints "standby" Len Brown
@ 2006-10-16 16:06 ` Mark Lord
  2006-10-16 16:09   ` Mark Lord
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Lord @ 2006-10-16 16:06 UTC (permalink / raw)
  To: Len Brown; +Cc: linux-ide, bltk-discussion

> hdparm -C seems to work on the PATA laptops I have,
> but it always returns standby on the SATA laptops I have.
> 
> Is this a known issue?

Yes, due to incomplete implemetation of the HDIO_* ioctls in libata.
Somebody else posted a patch here recently to fix it.
I don't know if Jeff picked it up or not.

Cheers

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: hdparm -C on SATA always prints "standby"
  2006-10-16 16:06 ` Mark Lord
@ 2006-10-16 16:09   ` Mark Lord
  0 siblings, 0 replies; 3+ messages in thread
From: Mark Lord @ 2006-10-16 16:09 UTC (permalink / raw)
  To: Len Brown; +Cc: linux-ide, bltk-discussion

>> hdparm -C seems to work on the PATA laptops I have,
>> but it always returns standby on the SATA laptops I have.
>>
>> Is this a known issue?
> 
> Yes, due to incomplete implemetation of the HDIO_* ioctls in libata.
> Somebody else posted a patch here recently to fix it.
> I don't know if Jeff picked it up or not.

Correction on that.  Jeff has indeed picked up the fix,
as of his "pull" request on Ocober 11:

>Eran Tromer:
>      libata: return sense data in HDIO_DRIVE_CMD ioctl

Cheers

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-10-16 16:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-16 15:36 hdparm -C on SATA always prints "standby" Len Brown
2006-10-16 16:06 ` Mark Lord
2006-10-16 16:09   ` Mark Lord

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).