With the awning extended, look for a label on the inside of the cover (the part that moves in/out.)
Call Carefree with that number and they will tell you the motor part number.
They do not sell direct, only through dealers, of which one is Amazon.com.
My motor number was R00189, but I couldn't tell from the awning picture at
Amazon.com as the motor fits more than one style.
$83.05
Motor with new style metal end.
The included guide walks you through the replacement/adjustment process. You will need to remove the awning assemble first.