OS and Device family detection