Set device resoluiton in devices