Modify the argument of openDevicesBySerialNum.