Changeset 1f383dde in mainline
- Timestamp:
- 2011-01-07T13:54:52Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d99120f
- Parents:
- 82122f3
- Location:
- uspace
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/virtusbkbd/virtusbkbd.c
r82122f3 r1f383dde 271 271 printf("%s: Simulating keyboard events...\n", NAME); 272 272 fibril_sleep(10); 273 while (1) {273 //while (1) { 274 274 kb_process_events(&status, keyboard_events, keyboard_events_count, 275 275 on_keyboard_change); 276 }276 //} 277 277 278 278 printf("%s: Terminating...\n", NAME); -
uspace/drv/usbhub/utils.c
r82122f3 r1f383dde 691 691 target.address = hub_info->usb_device->address; 692 692 target.endpoint = 1;/// \TODO get from endpoint descriptor 693 printf("[usb_hub] checking changes for hub at addr %d\n",694 target.address);693 // printf("[usb_hub] checking changes for hub at addr %d\n", 694 // target.address); 695 695 696 696 size_t port_count = hub_info->port_count; -
uspace/drv/usbkbd/descparser.c
r82122f3 r1f383dde 222 222 * sizeof(usb_standard_hid_class_descriptor_info_t); 223 223 224 size_t tmp = (size_t)(pos - data); 225 printf("Parser position: %d, remaining: %d\n", 226 pos - data, size - tmp); 227 228 /* 229 * TODO: this is not good, only 7 bytes remaining, 230 * something is wrong! 231 */ 232 224 233 hid_i = 0; 225 234 … … 241 250 uint16_t length = 242 251 actual_iface->class_desc_info[hid_i].length; 252 253 printf("Saving class-specific descriptor #%d\n", hid_i); 243 254 244 255 actual_iface->class_descs[hid_i] = … … 379 390 { 380 391 printf("Class-specific descriptor #%d (type: %u)\n", index, type); 392 assert(d != NULL); 381 393 dump_buffer("", d, size); 382 394 } … … 398 410 dump_standard_hid_descriptor_header(&iface_d->hid_desc); 399 411 printf("\n"); 412 // printf("%d class-specific descriptors\n", 413 // iface_d->hid_desc.class_desc_count); 400 414 for (j = 0; j < iface_d->hid_desc.class_desc_count; ++j) { 401 415 dump_standard_hid_class_descriptor_info( -
uspace/drv/usbkbd/main.c
r82122f3 r1f383dde 100 100 free(descriptors); 101 101 102 //usbkbd_print_config(kbd_dev->conf); 103 102 104 return rc; 103 105 } -
uspace/drv/vhc/hcd.c
r82122f3 r1f383dde 104 104 sleep(5); 105 105 106 usb_dprintf_enable(NAME, 0);106 usb_dprintf_enable(NAME, -1); 107 107 108 108 printf(NAME ": virtual USB host controller driver.\n"); -
uspace/srv/devman/main.c
r82122f3 r1f383dde 477 477 } 478 478 479 printf(NAME ": devman_forward: forward connection to device %s to "480 "driver %s.\n", dev->pathname, driver->name);479 // printf(NAME ": devman_forward: forward connection to device %s to " 480 // "driver %s.\n", dev->pathname, driver->name); 481 481 ipc_forward_fast(iid, driver->phone, method, dev->handle, 0, IPC_FF_NONE); 482 482 }
Note:
See TracChangeset
for help on using the changeset viewer.