add simple hardware auto detection module