Changes in uspace/drv/usbhid/main.c [fbefd0e:48d2765] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhid/main.c
rfbefd0e r48d2765 39 39 #include <usb/debug.h> 40 40 #include <errno.h> 41 #include <str_error.h>42 41 43 42 #include "kbddev.h" … … 65 64 66 65 if (rc != EOK) { 67 usb_log_warning("Device is not a supported keyboard.\n"); 68 usb_log_error("Failed to add HID device: %s.\n", 69 str_error(rc)); 70 return rc; 66 usb_log_info("Device is not a supported keyboard.\n"); 67 usb_log_error("Failed to add HID device.\n"); 68 return EREFUSED; 71 69 } 72 70 73 usb_log_info("Keyboard `%s' ready to use.\n", dev->name);74 75 71 return EOK; 76 72 } … … 93 89 int main(int argc, char *argv[]) 94 90 { 95 printf(NAME ": HelenOS USB HID driver.\n"); 96 97 usb_log_enable(USB_LOG_LEVEL_DEFAULT, NAME); 98 91 usb_log_enable(USB_LOG_LEVEL_DEBUG, NAME); 99 92 return ddf_driver_main(&kbd_driver); 100 93 }
Note:
See TracChangeset
for help on using the changeset viewer.