detect duplicate devid in adapter.xml