May be an earth loop, may be some interference being picked up on the subwoofer cable.
Things to try:
- Turn down the gain control on the sub, and boost up the subwoofer channel output on the receiver to compensate. If the hum is being picked up on the cable, this will increase the signal to noise and make the hum a lot less obvious.
- Try moving the subwoofer cable and see whether that reduces the hum. If the sub cable runs alongside other signal cables or mains cables, it can pick up hum – moving it away may make all the difference.
- Try a different subwoofer cable, preferably one with better shielding.
If none of that helps, it may be that the hum is being picked up on one of the signal cables going into the Onkyo. That would tend to be noticable by the hum being louder on one particular source/input, but that isn't always the case. The only way to track this is to disconnect all your source components and the Tv from the receiver, see whether that cures the hum, and then connect them again one by one until the hum returns. It's a pain to do – I know, I've done it one more systems than I care to remember – but you'll usually get to the root of the problem this way.
Hope all this helps...