----- Forwarded message from Alan Stern ----- Date: Mon, 28 Sep 2009 02:19:57 -0400 (EDT) From: Alan Stern To: David Zeuthen cc: USB list Subject: "Safely remove hardware" for USB X-Mailing-List: linux-usb@vger.kernel.org David: Below is a patch for 2.6.31 which should do what we discussed. It creates a sysfs file in each USB device's directory named "remove". Any write to this file will cause the device's port to be disabled, and the port will remain disabled until the device is unplugged and either it or another device is plugged in. This is what Windows does when you click on the "Safely remove hardware" control. Alan Stern [...] -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ----- End forwarded message ----- -- WBR, wRAR (ALT Linux Team) Powered by the ALT Linux fortune(6): * Lost[work] .oO(Форма граблеводного эксгибиционизма - наступить на очередные грабли и хвалиться очередной шишкой на лбу)