check return value for driver_event