Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset ef354b6 in mainline


Ignore:
Timestamp:
2011-04-17T17:24:34Z (11 years ago)
Author:
Matej Klonfar <maklf@…>
Branches:
lfn, master
Children:
e50cd7f
Parents:
dc9f122
Message:

new report structure fix

Location:
uspace
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbkbd/kbddev.c

    rdc9f122 ref354b6  
    289289       
    290290        usb_log_debug("Creating output report.\n");
    291        
     291
     292        usb_hid_report_output_set_data(kbd_dev->parser, kbd_dev->led_path,
     293                                       USB_HID_PATH_COMPARE_END , kbd_dev->led_data,
     294                                       kbd_dev->led_output_size);
    292295        int rc = usb_hid_report_output_translate(kbd_dev->parser, 0,
    293296            kbd_dev->output_buffer, kbd_dev->output_size);
     
    612615
    613616        int rc = usb_hid_parse_report(kbd_dev->parser, buffer, actual_size);
     617        usb_hid_descriptor_print (kbd_dev->parser);
    614618
    615619        usb_hid_report_path_free (path);
     
    837841         * Set Idle rate
    838842         */
    839         usb_kbd_set_led(kbd_dev);
     843        usb_kbd_set_led(kbd_dev);       
    840844       
    841845        usbhid_req_set_idle(&kbd_dev->usb_dev->ctrl_pipe,
  • uspace/lib/usb/src/hidparser.c

    rdc9f122 ref354b6  
    660660                usb_log_debug("\t\tUSAGEMAX: %X\n", report_item->usage_maximum);
    661661
     662                usb_log_debug("\t\tVALUE: %X\n", report_item->value);
    662663                usb_log_debug("\t\ttUSAGE: %X\n", report_item->usage);
    663664                usb_log_debug("\t\tUSAGE PAGE: %X\n", report_item->usage_page);
    664665                                               
    665                 usb_log_debug("\n");           
     666//              usb_log_debug("\n");           
    666667
    667668        }
Note: See TracChangeset for help on using the changeset viewer.