Return 0 if device if compatible else return 1