Mine is connected to the amp with trigger cable. So, when the amp starts, the sub starts, when the amp is tyrning off it turns off the sub. A cheap 5 EUR mono jack cable from amazon.
Concerning the humming, check that the sub cable to be far from a power source. If it is not properly shielded can induce humm.