I've had hubs go bad before, they would loose individual ports. Since I had other unused hubs available, I never bothered to try and diagnose it.
I also have had switches from Linksys/Cisco and Dell fail due to power supply issues. I replaced the bad capacitors and they worked again. However...