Now test if hardware is avalible and returns zero if that isn't the case.