linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Recommendations on user-space soft/hardreset
@ 2007-07-20 15:14 Fajun Chen
  2007-07-22 12:20 ` Tejun Heo
  0 siblings, 1 reply; 14+ messages in thread
From: Fajun Chen @ 2007-07-20 15:14 UTC (permalink / raw)
  To: Tejun Heo; +Cc: linux-ide@vger.kernel.org

Yasha Okshtein wrote:
> I need to send soft and/or hard resets from userspace.

>>Actually, you can do it by requesting manual rescan of the SCSI host.
>>"echo - - - > /sys/class/scsi_host/hostX/scan"

I've been using this approach to spin up a PATA drive. However,  I
have not figured out a way to return user scan result from kernel.
For instance, how can I tell if the scan failed at reset or Identify
Device from user space?

Thanks,
Fajun

^ permalink raw reply	[flat|nested] 14+ messages in thread
[parent not found: <6b01c6170707171723p4fdae403hf5b605fce4595b7@mail.gmail.com>]

end of thread, other threads:[~2007-07-22 12:20 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-20 15:14 Recommendations on user-space soft/hardreset Fajun Chen
2007-07-22 12:20 ` Tejun Heo
     [not found] <6b01c6170707171723p4fdae403hf5b605fce4595b7@mail.gmail.com>
2007-07-18  0:34 ` Yasha Okshtein
2007-07-18  0:45   ` Alan Cox
2007-07-18  1:00     ` Yasha Okshtein
2007-07-18  1:18       ` Yasha Okshtein
2007-07-18 12:54       ` Alan Cox
2007-07-18 16:49         ` Yasha Okshtein
2007-07-18  3:35   ` Tejun Heo
2007-07-18  4:04     ` Yasha Okshtein
2007-07-18  4:15       ` Tejun Heo
2007-07-18  5:01         ` Yasha Okshtein
2007-07-18  5:08           ` Tejun Heo
2007-07-18  6:13             ` Yasha Okshtein

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).