First commit

Mode button only switches once. A reboot is needed to reset it to auto
mode from sound  mode