Patent ID: 7996579
Filing Date: 2011-08-09
Classification: G06F

Abstract:
1. A method of handling impending peripheral device decoupling, comprising: detecting at on onboard detector of a peripheral device while electrically coupled to a host-side interface of a host device via a device port of the peripheral device, an impending loss of wired electrical connectivity with the host device, the device port operative for data exchange between a non-volatile memory of the peripheral device and the coupled host device; receiving at a controller of the host device, an indication of the detected impending loss of wired electrical connectivity with the peripheral device while the host device is electrically coupled to the peripheral device, the indication being received via the onboard detector of the peripheral device; determining by the controller of the host device, in response to the indication of the impending loss of wired electrical connectivity, whether there is a data flow between the host device and the peripheral device; determining by a detachment controller of the host device whether the detected impending loss of wired electrical connectivity presents a risk to data in the data flow; triggering a damage reduction process in response to determining that the detected impending loss of wired electric connectivity presents a risk to the data; providing a user alert at the host device indicating the impending loss of wired electrical connectivity in response to a combination of the indication of the detected impending loss of wired electrical connectivity and determining that there is the data flow between the host device and the peripheral device; and ceasing, by the onboard detector of the peripheral device, a monitoring of the impending loss of wired electrical connectivity when there is no data flow between the host device and the peripheral device.