See:
ui0detect