• Michael Hund's avatar
    [PATCH] USB: add ldusb driver · 2824bd25
    Michael Hund authored
    The following driver provides complete interrupt-in and interrupt-out
    reports (raw data) to a user program. Until now it uses the
    HIDIOCGDEVINFO ioctl call, because I don't know better :-(. Perhaps, it
    will be ok for you - and I will be happy, if you assign 8 minor numbers.
    
    I have tested it in several environments and it works very well for me.
    However, it has a problem with two or more devices at the same hub, if
    the two or more devices need 1 ms interrupt-in transfers. Unfortunately
    more than one interrupt-in transfer every ms isn't possible (ehci
    driver?). This is why the min_interrupt_in_interval and
    min_interrupt_out_interval are increased to 2 ms (see the corresponding
    module parameters). This way, I can use two devices simultaneously at
    the same hub.
    Signed-off-by: default avatarMichael Hund <mhund@ld-didactic.de>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    2824bd25
Makefile 2.18 KB