From: Matthew Garrett <mjg59@srcf.ucam.org>
To: linux-kernel@vger.kernel.org
Subject: Telling Linux that a SATA device has gone away
Date: Fri, 26 Aug 2005 15:42:51 +0100 [thread overview]
Message-ID: <20050826144250.GA12816@srcf.ucam.org> (raw)
I have a laptop (Dell Latitude D610) that has a removable DVD drive. It
appears to be a PATA device, but is presented under ata_piix so behaves
like a SCSI drive. With the ACPI generic hotkey driver, I can get events
when it's removed and reinserted. Is there any way I can tell Linux that
the device has been removed? hdparm's bus registration support
(unsurprisingly) doesn't seem to work too well on sr0, but echoing
"remove-single-device 1 0 0 0" to /proc/scsi/scsi doesn't seem to do
anything either.
--
Matthew Garrett | mjg59@srcf.ucam.org
next reply other threads:[~2005-08-26 14:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-26 14:42 Matthew Garrett [this message]
2005-08-26 15:42 ` Alan Cox
2005-08-28 19:54 ` Matthew Garrett
2005-08-28 20:51 ` Alan Cox
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=20050826144250.GA12816@srcf.ucam.org \
--to=mjg59@srcf.ucam.org \
--cc=linux-kernel@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
Powered by JetHome