Re: [PATCH 2/2] usb: gadget: convert all users to the new udc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 09, 2011 at 05:25:10PM +0300, Felipe Balbi wrote:
> Hi,
> 
> > > Alan Stern wrote:
> > > > How do you deal with the fact that after this change,
> > > > 
> > > > 	modprobe gadget_driver
> > > > 
> > > > will fail if the UDC driver isn't already loaded?  This could break 
> > > > some userspace scripts.
> > > 
> > > The driver should be loaded by udev. There could be some breakage if
> 
> I like the idea of depending on udev. I remember I had a discussion with
> Greg before and he told me we should rely on udev for these things.

Yes, we should rely on udev for automatically loading the correct
drivers when the hardware is found.

But, how are we telling userspace that this driver is needed?  That
needs to be in place for modprobe (which is what udev calls) to be able
to know which module to load.  I don't see that change here, but I might
be missing it.

Any ideas?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux