Well. It's not specifically the same as your problem but it's sort of similar.

I tried plugging my laptop into the aux input of the empeg once and I had terrible ground loop problems. There was a really nasty hum when ever the laptop was plugged into the mains. It did stop once I used battery power.

In the end I just plugged the laptop directly into the amp.

- Trevor