1
linux/drivers/usb
Michael Hund 2824bd250f [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>
2005-07-12 11:52:57 -07:00
..
atm [PATCH] USB ATM: fix line resync logic 2005-07-12 11:52:55 -07:00
class [PATCH] USB: fix usb reference count bug in cdc-acm driver 2005-07-12 11:52:57 -07:00
core [PATCH] USB: export usb_get_intf() and usb_put_intf() 2005-07-12 11:52:57 -07:00
gadget [PATCH] USB: omap_udc tweaks 2005-07-12 11:52:56 -07:00
host [PATCH] USB: fix ohci merge glitch 2005-07-12 11:52:57 -07:00
image [PATCH] USB: Spelling fixes for drivers/usb. 2005-05-03 23:31:52 -07:00
input [PATCH] USB: add LD devices to hid blacklist 2005-07-12 11:52:56 -07:00
media [PATCH] USB: SN9C10x driver updates 2005-07-12 11:52:56 -07:00
misc [PATCH] USB: add ldusb driver 2005-07-12 11:52:57 -07:00
mon [PATCH] USB: Patch to make usbmon to print control setup packets 2005-07-12 11:52:55 -07:00
net [PATCH] USB: Fix kmalloc's flags type in USB 2005-07-12 11:52:56 -07:00
serial [PATCH] USB: fix ftdi_sio compiler warnings 2005-07-12 11:52:55 -07:00
storage [PATCH] USB Storage: Remove unneeded SC/P 2005-07-12 11:52:54 -07:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [PATCH] USB: add ldusb driver 2005-07-12 11:52:57 -07:00
README Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
usb-skeleton.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00

To understand all the Linux-USB framework, you'll use these resources:

    * This source code.  This is necessarily an evolving work, and
      includes kerneldoc that should help you get a current overview.
      ("make pdfdocs", and then look at "usb.pdf" for host side and
      "gadget.pdf" for peripheral side.)  Also, Documentation/usb has
      more information.

    * The USB 2.0 specification (from www.usb.org), with supplements
      such as those for USB OTG and the various device classes.
      The USB specification has a good overview chapter, and USB
      peripherals conform to the widely known "Chapter 9".

    * Chip specifications for USB controllers.  Examples include
      host controllers (on PCs, servers, and more); peripheral
      controllers (in devices with Linux firmware, like printers or
      cell phones); and hard-wired peripherals like Ethernet adapters.

    * Specifications for other protocols implemented by USB peripheral
      functions.  Some are vendor-specific; others are vendor-neutral
      but just standardized outside of the www.usb.org team.

Here is a list of what each subdirectory here is, and what is contained in
them.

core/		- This is for the core USB host code, including the
		  usbfs files and the hub class driver ("khubd").

host/		- This is for USB host controller drivers.  This
		  includes UHCI, OHCI, EHCI, and others that might
		  be used with more specialized "embedded" systems.

gadget/		- This is for USB peripheral controller drivers and
		  the various gadget drivers which talk to them.


Individual USB driver directories.  A new driver should be added to the
first subdirectory in the list below that it fits into.

image/		- This is for still image drivers, like scanners or
		  digital cameras.
input/		- This is for any driver that uses the input subsystem,
		  like keyboard, mice, touchscreens, tablets, etc.
media/		- This is for multimedia drivers, like video cameras,
		  radios, and any other drivers that talk to the v4l
		  subsystem.
net/		- This is for network drivers.
serial/		- This is for USB to serial drivers.
storage/	- This is for USB mass-storage drivers.
class/		- This is for all USB device drivers that do not fit
		  into any of the above categories, and work for a range
		  of USB Class specified devices. 
misc/		- This is for all USB device drivers that do not fit
		  into any of the above categories.