Changes in / [458e40c:400575c5] in mainline
- Files:
-
- 31 added
- 6 deleted
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
.bzrignore
r458e40c r400575c5 84 84 ./uspace/drv/test1/test1 85 85 ./uspace/drv/test2/test2 86 ./uspace/drv/uhci/uhci 86 ./uspace/drv/uhci-hcd/uhci-hcd 87 ./uspace/drv/uhci-rhd/uhci-rhd 87 88 ./uspace/drv/usbhub/usbhub 88 89 ./uspace/drv/usbhid/usbhid -
boot/arch/amd64/Makefile.inc
r458e40c r400575c5 43 43 isa \ 44 44 ns8250 \ 45 uhci \ 45 uhci-hcd \ 46 uhci-rhd \ 46 47 usbhub \ 47 48 usbhid \ -
uspace/Makefile
r458e40c r400575c5 117 117 srv/hw/irc/apic \ 118 118 srv/hw/irc/i8259 \ 119 drv/uhci \ 119 drv/uhci-hcd \ 120 drv/uhci-rhd \ 120 121 drv/usbhid \ 121 122 drv/usbhub \ … … 131 132 srv/hw/irc/apic \ 132 133 srv/hw/irc/i8259 \ 133 drv/uhci \ 134 drv/uhci-hcd \ 135 drv/uhci-rhd \ 134 136 drv/usbhid \ 135 137 drv/usbhub \ -
uspace/app/bdsh/cmds/modules/cat/cat.c
r458e40c r400575c5 144 144 return CMD_SUCCESS; 145 145 case 'H': 146 printf( cat_oops);146 printf("%s", cat_oops); 147 147 return CMD_FAILURE; 148 148 case 't': 149 printf( cat_oops);149 printf("%s", cat_oops); 150 150 return CMD_FAILURE; 151 151 case 'b': 152 printf( cat_oops);152 printf("%s", cat_oops); 153 153 break; 154 154 case 'm': 155 printf( cat_oops);155 printf("%s", cat_oops); 156 156 return CMD_FAILURE; 157 157 } -
uspace/app/bdsh/cmds/modules/rm/rm.c
r458e40c r400575c5 227 227 } 228 228 memset(buff, 0, sizeof(buff)); 229 snprintf(buff, len, argv[i]);229 snprintf(buff, len, "%s", argv[i]); 230 230 231 231 scope = rm_scope(buff); -
uspace/drv/rootvirt/devices.def
r458e40c r400575c5 23 23 #endif 24 24 /* Virtual USB host controller. */ 25 /* 25 26 { 26 27 .name = "usbhc", 27 28 .match_id = "usb&hc=vhc" 28 29 }, 30 */ -
uspace/drv/usbhid/main.c
r458e40c r400575c5 56 56 #include "layout.h" 57 57 58 #define BUFFER_SIZE 3258 #define BUFFER_SIZE 8 59 59 #define NAME "usbhid" 60 60 … … 262 262 } 263 263 264 # if 0 264 265 /* 265 266 * Kbd functions … … 297 298 return EOK; 298 299 } 299 300 300 static int usbkbd_process_descriptors(usb_hid_dev_kbd_t *kbd_dev) 301 301 { … … 363 363 return EOK; 364 364 } 365 365 #endif 366 366 static usb_hid_dev_kbd_t *usbkbd_init_device(device_t *dev) 367 367 { … … 404 404 */ 405 405 406 406 407 // TODO: get descriptors, parse descriptors and save endpoints 407 usbkbd_process_descriptors(kbd_dev); 408 //usbkbd_process_descriptors(kbd_dev); 409 usb_drv_req_set_configuration( 410 kbd_dev->device->parent_phone, kbd_dev->address, 1); 408 411 409 412 … … 467 470 468 471 while (true) { 469 async_usleep(1000 * 10 00 * 2);472 async_usleep(1000 * 10); 470 473 471 474 sess_rc = usb_endpoint_pipe_start_session(&kbd_dev->poll_pipe); -
uspace/lib/usb/include/usb/devreq.h
r458e40c r400575c5 70 70 /** Main parameter to the request. */ 71 71 union { 72 uint16_t value; 72 73 /* FIXME: add #ifdefs according to host endianess */ 73 74 struct { … … 75 76 uint8_t value_high; 76 77 }; 77 uint16_t value;78 78 }; 79 79 /** Auxiliary parameter to the request.
Note:
See TracChangeset
for help on using the changeset viewer.