]> pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] USB: add ldusb driver
authorMichael Hund <mhund@ld-didactic.de>
Mon, 27 Jun 2005 20:44:22 +0000 (22:44 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 12 Jul 2005 18:52:57 +0000 (11:52 -0700)
commit2824bd250f0be1551747cc3ed5ae07facc285b57
tree1dc604385c5324cc1175f86d0e87fab5dd3b5f8e
parent83ef344a7539aa55a787790bc036f0bf3466e191
[PATCH] USB: add ldusb driver

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: Michael Hund <mhund@ld-didactic.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/Makefile
drivers/usb/misc/Kconfig
drivers/usb/misc/Makefile
drivers/usb/misc/ldusb.c [new file with mode: 0644]