Re: [RFCv4 PATCH 02/13] usb: gadget: Add USB Functions Gadget

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

 



On 11/27/2012 10:19 AM, Andrzej Pietrasiewicz wrote:

ALIAS() to have a string which can be referred to in adapters, which
provide the old modprobe + parameters (+ e.g. sysfs) interface and
should be able to request_module("usb_functions"); The string could be
defined in some header file included both by this module and adapter
modules. Simpler solutions welcome.

I don't get. No ever did "modprobe usb_functions" at least on an mainline
kernel so I don't understand "old modprobe + prameters"
interface. So why again?


I meant adapter modules, like this:
http://www.spinics.net/lists/linux-usb/msg74871.html

please see the msg_init function there. When adapter modules go away,
which is the ultimate goal, any support for them can be removed.
In what I proposed the "support" is the alias in question and the
exported configfs subsystem UFG_SUBSYSTEM.

So in the end we need this because we also have to configure a bunch of
gadgets as compatibility. Starting those commands a shell script from
within the kernel would probably work but I guess most people would
hate me for that.
Okay.

What about we start small and add those things while we go? For now
what means we can't have interfaceXX but everything else should work,
right?


Andrzej

Sebastian
--
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