Patent ID: 8819301

Claim:
An apparatus for charging a defective Universal Serial Bus (USB) device according to an optimal charging mode, the apparatus comprising: a charging module, configured to obtain a descriptor of the defective USB device upon detection of the defective USB device on a USB bus, the charging module comprising: a memory, storing one or more descriptor entries, the one or more descriptor entries comprising: descriptor data, being arranged for matching the descriptor to a specific descriptor entry; charging data, being arranged for specifying the optimal charging mode for the USB device; and defect data, being arranged to indicate commands to be transmitted to the defective USB device to control internal hardware states in order to force a power saving state; and a controller, coupled to said memory, configured to compare the descriptor to the specific descriptor entry, and configured to initiate the optimal charging mode on the USB bus according to the charging data, wherein the charging module is disposed within a USB hub, and wherein the USB hub is coupled to a USB host, and wherein the charging module issues a reset command to be transmitted to the defective USB device after obtaining the descriptor, thereby allowing for normal enumeration procedures by the USB host.