Changeset 4bfe063 in mainline
- Timestamp:
- 2012-12-16T18:57:09Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ddab093
- Parents:
- 395bb79
- Location:
- uspace
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbhid/kbd/kbddev.c
r395bb79 r4bfe063 264 264 265 265 if (rc != EOK) { 266 usb_log_warning(" Error translating LED output to output report"267 " .\n");266 usb_log_warning("Could not translate LED output to output" 267 "report.\n"); 268 268 return; 269 269 } -
uspace/drv/bus/usb/usbhid/usbhid.c
r395bb79 r4bfe063 485 485 &hid_dev->report, buffer, buffer_size, &hid_dev->report_id); 486 486 if (rc != EOK) { 487 usb_log_warning(" Errorin usb_hid_parse_report():"487 usb_log_warning("Failure in usb_hid_parse_report():" 488 488 "%s\n", str_error(rc)); 489 489 } -
uspace/lib/usbhid/src/hidreq.c
r395bb79 r4bfe063 182 182 uint16_t value = duration << 8; 183 183 184 rc = usb_control_request_set(ctrl_pipe, 185 USB_REQUEST_TYPE_CLASS, USB_REQUEST_RECIPIENT_INTERFACE, 184 rc = usb_control_request_set(ctrl_pipe, 185 USB_REQUEST_TYPE_CLASS, USB_REQUEST_RECIPIENT_INTERFACE, 186 186 USB_HIDREQ_SET_IDLE, value, iface_no, NULL, 0); 187 187 188 188 if (rc != EOK) { 189 usb_log_warning(" Error sending Set Idle request to the device: "189 usb_log_warning("Device did not accept Set Idle request: " 190 190 "%s.\n", str_error(rc)); 191 191 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.