I experimented with an ultra-sonic rodent device in a milking parlour some years ago (several tons of cattle feed in the loft overhead). It was interesting to watch the cows' reaction when I switched it on, those waiting at the door to enter took a step back and seemed 'puzzled'. Their desire for the feed overcame their anxiety in most cases, but I switched it off during milking because it unsettled them. It was the type that sweeps the ultrasonic range and I could just hear/sense it, presumably at the lowest frequency.
There was no significant decrease in the rodent population during the few months I tried it. Poison seems the only reliable control and we use the local authority pest control service, paid for as we are a business but worth every penny. Some authorities still provide a free service for private houses so might be worth asking.