Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhid/main.c

    rfbefd0e r48d2765  
    3939#include <usb/debug.h>
    4040#include <errno.h>
    41 #include <str_error.h>
    4241
    4342#include "kbddev.h"
     
    6564       
    6665        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;
    7169        }
    7270       
    73         usb_log_info("Keyboard `%s' ready to use.\n", dev->name);
    74 
    7571        return EOK;
    7672}
     
    9389int main(int argc, char *argv[])
    9490{
    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);
    9992        return ddf_driver_main(&kbd_driver);
    10093}
Note: See TracChangeset for help on using the changeset viewer.