This is yet another garden myth. We can not recommend the use of sonic/ultra sonic devices for mole control. Effective mole control is difficult at best and requires persistence and the use of traps and/or poison baits.
Please refer to the following Oregon State University Extension service publication: Controlling Moles EC 987