linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tejun Heo <htejun@gmail.com>
To: Fajun Chen <fajunchen@gmail.com>
Cc: "linux-ide@vger.kernel.org" <linux-ide@vger.kernel.org>
Subject: Re: Recommendations on user-space soft/hardreset
Date: Sun, 22 Jul 2007 21:20:29 +0900	[thread overview]
Message-ID: <46A34B8D.3040407@gmail.com> (raw)
In-Reply-To: <8202f4270707200814ja0ba571oa38e25fc2f731a8d@mail.gmail.com>

Fajun Chen wrote:
> 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?

Hmm... As it currently stands, you cannot.

-- 
tejun

  reply	other threads:[~2007-07-22 12:20 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-20 15:14 Recommendations on user-space soft/hardreset Fajun Chen
2007-07-22 12:20 ` Tejun Heo [this message]
     [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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46A34B8D.3040407@gmail.com \
    --to=htejun@gmail.com \
    --cc=fajunchen@gmail.com \
    --cc=linux-ide@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).