Do ultrasonic devices work?
No research has been able to show that the expensive devices intended to repel cockroaches, other insects, and rodents work. There are effective repellers for birds.
For more information, see the StopPests Blog post on the topic.