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