New devices may help prevent overventilation