Simply hardware detection logic