}
DD_LIST_FOREACH_SAFE(head, n, next, node) {
- _D("Handle(%d) play=%dms and Wait=%dms %s type. (level=%d, intensity=%d, frequency=%d)",
+ _I("Handle(%d) play=%dms and Wait=%dms %s type. (level=%d, intensity=%d, frequency=%d)",
cur_h_data.handle, node->duration, node->wait,
cur_h_data.unlimit ? "Unlimit" : "Once", cur_h_data.level, node->intensity, node->frequency);
if ((node->duration + node->wait) <= 0) {
return ret;
}
+ _I("Play vibration. Handle %d effect id : %d %dms", device_handle, info->effect.id, duration);
+
/* register timer */
if (duration) {
info->timer = g_timeout_add(duration, timer_cb, info);
_E("Handle %d failed to add timer callback", device_handle);
}
- _D("Handle %d effect id : %d %dms", device_handle, info->effect.id, duration);
-
return 0;
}
if (r < 0)
_E("failed to stop effect(id:%d) : %d", info->effect.id, r);
else
- _D("succeed to stop effect");
+ _I("Stop vibration by request. id(%d)", info->effect);
/* unregister existing timer */
if (r >= 0 && info->timer) {