hardware detection for com0-3