Re: Linux USB Documentation

Oliver Neukum <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
Am Freitag 16 November 2007 schrieb Srinivas G.:
> as HCD? Suppose, how the HCD driver intimates the stack about when a new
> device attached to the host controller? I think, it is through some
> event mechanism, but I need code flow.

New devices are handled by the hub driver. HCD drivers are involved only
so far as they contain an emulation of a hub known as the virtual root hub.
Usbcore has helpers which lift part of that burden from the HCD drivers.

Generally, the URB callback of the hub driver will be called and it'll
queue an event for khubd, which will eventually call usb_new_device()

	HTH
		Oliver


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.