Changeset 7f2e33a in mainline for uspace/drv
- Timestamp:
- 2011-04-07T21:48:37Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- dd10e07
- Parents:
- fee6381
- Location:
- uspace/drv
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhid/kbd/kbddev.c
rfee6381 r7f2e33a 636 636 usb_hid_report_path_t *path = usb_hid_report_path(); 637 637 usb_hid_report_path_append_item(path, USB_HIDUT_PAGE_KEYBOARD, 0); 638 usb_hid_report_path_set_report_id(path, 1);638 usb_hid_report_path_set_report_id(path, 0); 639 639 640 640 int rc = usb_hid_parse_report(hid_dev->parser, buffer, … … 733 733 usb_hid_report_path_append_item(path, USB_HIDUT_PAGE_KEYBOARD, 0); 734 734 735 usb_hid_report_path_set_report_id(path, 1);735 usb_hid_report_path_set_report_id(path, 0); 736 736 737 737 kbd_dev->key_count = usb_hid_report_input_length( -
uspace/drv/usbhid/usbhid.c
rfee6381 r7f2e33a 40 40 #include <usb/classes/hidparser.h> 41 41 #include <usb/classes/hidreport.h> 42 #include <usb/classes/hidreq.h> 42 43 #include <errno.h> 43 44 … … 117 118 size_t buffer_size, void *arg) 118 119 { 120 usb_log_debug("Dummy polling callback.\n"); 119 121 return false; 120 122 } … … 177 179 rc = usb_hid_process_report_descriptor(hid_dev->usb_dev, 178 180 hid_dev->parser); 181 179 182 if (rc != EOK) { 180 183 usb_log_warning("Could not process report descriptor.\n"); … … 240 243 break; 241 244 default: 245 // usbhid_req_set_idle(&hid_dev->usb_dev->ctrl_pipe, 246 // hid_dev->usb_dev->interface_no, 0); 242 247 break; 243 248 } -
uspace/drv/usbhid/usbhid.ma
rfee6381 r7f2e33a 1 100 0usb&interface&class=HID&subclass=0x01&protocol=0x022 100 0usb&interface&class=HID1 100 usb&interface&class=HID&subclass=0x01&protocol=0x02 2 100 usb&interface&class=HID -
uspace/drv/usbkbd/kbddev.c
rfee6381 r7f2e33a 614 614 usb_hid_report_path_t *path = usb_hid_report_path(); 615 615 usb_hid_report_path_append_item(path, USB_HIDUT_PAGE_KEYBOARD, 0); 616 usb_hid_report_path_set_report_id(path, 1);616 usb_hid_report_path_set_report_id(path, 0); 617 617 618 618 int rc = usb_hid_parse_report(kbd_dev->parser, buffer, … … 768 768 usb_hid_report_path_append_item(path, USB_HIDUT_PAGE_KEYBOARD, 0); 769 769 770 usb_hid_report_path_set_report_id(path, 1);770 usb_hid_report_path_set_report_id(path, 0); 771 771 772 772 kbd_dev->key_count = usb_hid_report_input_length( -
uspace/drv/usbkbd/usbkbd.ma
rfee6381 r7f2e33a 1 10 usb&interface&class=HID&subclass=0x01&protocol=0x011 1000 usb&interface&class=HID&subclass=0x01&protocol=0x01
Note:
See TracChangeset
for help on using the changeset viewer.