made devdetect script and made autodetect code
dev detect discovers usb serial devices