Changes in / [6f8f808:e778543] in mainline


Ignore:
Files:
31 added
6 deleted
8 edited

Legend:

Unmodified
Added
Removed
  • .bzrignore

    r6f8f808 re778543  
    8484./uspace/drv/test1/test1
    8585./uspace/drv/test2/test2
    86 ./uspace/drv/uhci/uhci
     86./uspace/drv/uhci-hcd/uhci-hcd
     87./uspace/drv/uhci-rhd/uhci-rhd
    8788./uspace/drv/usbhub/usbhub
    8889./uspace/drv/usbhid/usbhid
  • boot/arch/amd64/Makefile.inc

    r6f8f808 re778543  
    4343        isa \
    4444        ns8250 \
    45         uhci \
     45        uhci-hcd \
     46        uhci-rhd \
    4647        usbhub \
    4748        usbhid \
  • uspace/Makefile

    r6f8f808 re778543  
    117117                srv/hw/irc/apic \
    118118                srv/hw/irc/i8259 \
    119                 drv/uhci \
     119                drv/uhci-hcd \
     120                drv/uhci-rhd \
    120121                drv/usbhid \
    121122                drv/usbhub \
     
    131132                srv/hw/irc/apic \
    132133                srv/hw/irc/i8259 \
    133                 drv/uhci \
     134                drv/uhci-hcd \
     135                drv/uhci-rhd \
    134136                drv/usbhid \
    135137                drv/usbhub \
  • uspace/app/bdsh/cmds/modules/cat/cat.c

    r6f8f808 re778543  
    144144                        return CMD_SUCCESS;
    145145                case 'H':
    146                         printf(cat_oops);
     146                        printf("%s", cat_oops);
    147147                        return CMD_FAILURE;
    148148                case 't':
    149                         printf(cat_oops);
     149                        printf("%s", cat_oops);
    150150                        return CMD_FAILURE;
    151151                case 'b':
    152                         printf(cat_oops);
     152                        printf("%s", cat_oops);
    153153                        break;
    154154                case 'm':
    155                         printf(cat_oops);
     155                        printf("%s", cat_oops);
    156156                        return CMD_FAILURE;
    157157                }
  • uspace/app/bdsh/cmds/modules/rm/rm.c

    r6f8f808 re778543  
    227227                }
    228228                memset(buff, 0, sizeof(buff));
    229                 snprintf(buff, len, argv[i]);
     229                snprintf(buff, len, "%s", argv[i]);
    230230
    231231                scope = rm_scope(buff);
  • uspace/drv/rootvirt/devices.def

    r6f8f808 re778543  
    2323#endif
    2424/* Virtual USB host controller. */
     25/*
    2526{
    2627        .name = "usbhc",
    2728        .match_id = "usb&hc=vhc"
    2829},
     30*/
  • uspace/drv/usbhid/main.c

    r6f8f808 re778543  
    5656#include "layout.h"
    5757
    58 #define BUFFER_SIZE 32
     58#define BUFFER_SIZE 8
    5959#define NAME "usbhid"
    6060
     
    262262}
    263263
     264# if 0
    264265/*
    265266 * Kbd functions
     
    297298        return EOK;
    298299}
    299 
    300300static int usbkbd_process_descriptors(usb_hid_dev_kbd_t *kbd_dev)
    301301{
     
    363363        return EOK;
    364364}
    365 
     365#endif
    366366static usb_hid_dev_kbd_t *usbkbd_init_device(device_t *dev)
    367367{
     
    404404         */
    405405
     406
    406407        // 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);
    408411
    409412
     
    467470
    468471        while (true) {
    469                 async_usleep(1000 * 1000 * 2);
     472                async_usleep(1000 * 10);
    470473
    471474                sess_rc = usb_endpoint_pipe_start_session(&kbd_dev->poll_pipe);
  • uspace/lib/usb/include/usb/devreq.h

    r6f8f808 re778543  
    7070        /** Main parameter to the request. */
    7171        union {
     72                uint16_t value;
    7273                /* FIXME: add #ifdefs according to host endianess */
    7374                struct {
     
    7576                        uint8_t value_high;
    7677                };
    77                 uint16_t value;
    7878        };
    7979        /** Auxiliary parameter to the request.
Note: See TracChangeset for help on using the changeset viewer.