Telling Linux that a SATA device has gone away

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 | [email protected]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux