Hi,

On Feb 18, 2008 5:02 PM, Alan Stern <[EMAIL PROTECTED]> wrote:
> On Mon, 18 Feb 2008, Felipe Balbi wrote:
>
> > Hi all,
> >
> > after we attach a usb device we get a hub_port_connect event which
> > call usb_new_device. But after that, which function is called to
> > create device nodes and configure the device so we can use it ?
> >
> > sorry, if it's a stupid question but I couldn't find such method
> > tracing the function call :-s
>
> Configuration is handled in generic.c:generic_probe().
>
> Device nodes are created by udev, not by the kernel.  But maybe you are
> referring to the code in devio.c:usb_classdev_add().

Thanks Alan for the quick reply :-)
what I really wanna know is when we match/bind drivers to usb_interfaces.

-- 
Best Regards,

Felipe Balbi
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to