Head insertion into the port was monitored by an IR beam and photodiode (Figure 1B).