Most likely a ground loop problem.
Try plugging all the components into a multiplug which is pluged into the wall socket, That way they are all connected to the same ground, not different ground.
If the ground has noise on it caused by other equipment like the sky box mentioned above or a home computer or fridge freezer, etc... Then using a two pin plug might remove the problem, but maybe inadvisable on safety grounds.
Possible that the amp is causing the hum, if your amp has a display and the sub is connected by low level, line inputs and the cutoff frequency on the sub is set to full range or processor, try setting the cutoff frequency to something other than full range. This was a known fault with my Sony STRD930DB AV receiver, do not know if any current amps suffer from this oversight.