I’m getting a loud humm, possibly due to a ground loop, when I plug the Ethernet cable from the router into the RPi. What could I do to get rid of that noise?
If you have to devices with ground connected to shield and a shielded cable. you can have ground loops.
in this cases use a unshielded cable.
discussion about it :