If no devices are specified, use all.