----- Forwarded message from Alan Stern <[email protected]> -----
Date: Mon, 28 Sep 2009 02:19:57 -0400 (EDT) From: Alan Stern <[email protected]> To: David Zeuthen <[email protected]> cc: USB list <[email protected]> Subject: "Safely remove hardware" for USB X-Mailing-List: [email protected] 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 [email protected] 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(Форма граблеводного эксгибиционизма - наступить на очередные грабли и хвалиться очередной шишкой на лбу)
signature.asc
Description: Digital signature
_______________________________________________ smoke-room mailing list [email protected] https://lists.altlinux.org/mailman/listinfo/smoke-room
