Messages in this thread | | | Date | Fri, 26 Aug 2005 15:42:51 +0100 | From | Matthew Garrett <> | Subject | Telling Linux that a SATA device has gone away |
| |
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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |