How do I interface a dual supply (AC and DC inputs)?
A simple solution is to automatically switch inputs using a mains-powered relay. The AC/DC converter does not mind having a DC voltage on its output when it is not powered up (this is a useful feature that enables, for example, a board to be powered up and tested on a bench using a safe DC supply and then only plugged into the mains when the unit has been reassembled into its case).