Changeset 78445be8 in mainline
- Timestamp:
- 2020-06-24T22:48:37Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- de19d4a
- Parents:
- 8630748
- Location:
- uspace/srv/hid/display
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/display/ddev.c
r8630748 r78445be8 100 100 if (rc != EOK) { 101 101 log_msg(LOG_DEFAULT, LVL_ERROR, 102 "Error resolving name of service %lu. \n",102 "Error resolving name of service %lu.", 103 103 (unsigned long) svc_id); 104 104 return rc; … … 108 108 if (rc != EOK) { 109 109 log_msg(LOG_DEFAULT, LVL_ERROR, 110 "Error opening display device '%s'. \n", name);110 "Error opening display device '%s'.", name); 111 111 free(name); 112 112 return rc; … … 116 116 if (rc != EOK) { 117 117 log_msg(LOG_DEFAULT, LVL_ERROR, 118 "Error getting information for display device '%s'. \n",118 "Error getting information for display device '%s'.", 119 119 name); 120 120 free(name); … … 124 124 125 125 log_msg(LOG_DEFAULT, LVL_DEBUG, "Device rectangle for '%s': " 126 "%d,%d,%d,%d \n", name, info.rect.p0.x, info.rect.p0.y,126 "%d,%d,%d,%d", name, info.rect.p0.x, info.rect.p0.y, 127 127 info.rect.p1.x, info.rect.p1.y); 128 128 … … 130 130 if (rc != EOK) { 131 131 log_msg(LOG_DEFAULT, LVL_ERROR, 132 "Error getting device context for '%s'. \n", name);132 "Error getting device context for '%s'.", name); 133 133 ddev_close(dd); 134 134 free(name); -
uspace/srv/hid/display/input.c
r8630748 r78445be8 153 153 errno_t rc = loc_service_get_id(svc, &dsid, 0); 154 154 if (rc != EOK) { 155 log_msg(LOG_DEFAULT, LVL_ERROR, "Input service %s not found \n",155 log_msg(LOG_DEFAULT, LVL_ERROR, "Input service %s not found", 156 156 svc); 157 157 return rc; … … 161 161 if (sess == NULL) { 162 162 log_msg(LOG_DEFAULT, LVL_ERROR, 163 "Unable to connect to input service %s \n", svc);163 "Unable to connect to input service %s", svc); 164 164 return EIO; 165 165 } … … 170 170 async_hangup(sess); 171 171 log_msg(LOG_DEFAULT, LVL_ERROR, 172 "Unable to communicate with service %s (%s) \n",172 "Unable to communicate with service %s (%s)", 173 173 svc, str_error(rc)); 174 174 return rc; -
uspace/srv/hid/display/output.c
r8630748 r78445be8 64 64 if (rc != EOK) { 65 65 log_msg(LOG_DEFAULT, LVL_ERROR, 66 "Error looking up category 'display-device'. \n");66 "Error looking up category 'display-device'."); 67 67 return EIO; 68 68 } … … 74 74 if (rc != EOK) { 75 75 log_msg(LOG_DEFAULT, LVL_ERROR, 76 "Error getting list of display devices. \n");76 "Error getting list of display devices."); 77 77 return EIO; 78 78 } … … 93 93 if (rc != EOK) { 94 94 log_msg(LOG_DEFAULT, LVL_ERROR, 95 "Error adding display device. \n");95 "Error adding display device."); 96 96 continue; 97 97 } … … 100 100 101 101 log_msg(LOG_DEFAULT, LVL_NOTE, 102 "Added display device '%lu' \n",102 "Added display device '%lu'", 103 103 (unsigned long) svcs[i]); 104 104 } … … 155 155 if (rc != EOK) { 156 156 log_msg(LOG_DEFAULT, LVL_ERROR, 157 "Failed registering callback for device discovery. \n");157 "Failed registering callback for device discovery."); 158 158 return rc; 159 159 } -
uspace/srv/hid/display/window.c
r8630748 r78445be8 561 561 562 562 log_msg(LOG_DEFAULT, LVL_DEBUG, 563 "ds_window_post_pos_event type=%d pos=%d,%d \n", event->type,563 "ds_window_post_pos_event type=%d pos=%d,%d", event->type, 564 564 (int) event->hpos, (int) event->vpos); 565 565 … … 612 612 errno_t ds_window_post_focus_event(ds_window_t *wnd) 613 613 { 614 log_msg(LOG_DEFAULT, LVL_DEBUG, "ds_window_post_focus_event \n");614 log_msg(LOG_DEFAULT, LVL_DEBUG, "ds_window_post_focus_event"); 615 615 616 616 return ds_client_post_focus_event(wnd->client, wnd); … … 623 623 errno_t ds_window_post_unfocus_event(ds_window_t *wnd) 624 624 { 625 log_msg(LOG_DEFAULT, LVL_DEBUG, "ds_window_post_unfocus_event \n");625 log_msg(LOG_DEFAULT, LVL_DEBUG, "ds_window_post_unfocus_event"); 626 626 627 627 return ds_client_post_unfocus_event(wnd->client, wnd);
Note:
See TracChangeset
for help on using the changeset viewer.