Belt driven generator for truck