All of lore.kernel.org
 help / color / mirror / Atom feed
* Telling Linux that a SATA device has gone away
@ 2005-08-26 14:42 Matthew Garrett
  2005-08-26 15:42 ` Alan Cox
  0 siblings, 1 reply; 4+ messages in thread
From: Matthew Garrett @ 2005-08-26 14:42 UTC (permalink / raw)
  To: linux-kernel

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

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

end of thread, other threads:[~2005-08-28 20:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-26 14:42 Telling Linux that a SATA device has gone away Matthew Garrett
2005-08-26 15:42 ` Alan Cox
2005-08-28 19:54   ` Matthew Garrett
2005-08-28 20:51     ` Alan Cox

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.