Is he breathing okay or still congested?
Also, is he perhaps teething on top of everything else? Try some pain meds a bit before bedtime and see if it helps - if it does, you know the issue is likely pain, whether from teething or congested ears that still haven't completely cleared or whatever.