Company EE was loaded with product at the mine. EE attempted to close trailer tarp via cab control. Cab control did not work, EE exited cab to use trailer mounted tarp control when the swing arm broke from motor and struck EEs hard hat and left hand. EE was transported to local ER where sutures were applied to head.