The red tab indicates the awning is not locked in place. Check the other end of the awning - does the red tab hang down? If not then that end is locked in place. From your photos, I am not seeing anything broken or in need of replacement. See if this technical library post helps:
https://www.trailmanorowners.com/for...ead.php?t=8737
Dick