Detect device model and platform, for compatibility.