Re: [PATCH] FunctionFS based PTP-Gadget driver

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

 



On Friday, January 28, 2011 11:15 AM Guennadi Liakhovetski wrote:
If both of them are stayingm then it makes even more sense to
support both!

Well, this depends on the Linux-USB maintainers. I don't want to speak
about gadgetfs future on behalf of them :)

Both will probably stay for a long time though.

Since functionfs is superior,

It's still relatively new though so it may be more buggy then
GadgetFS thus some could prefer to stick to GadgetFS.

On Fri, 28 Jan 2011 11:37:08 +0100, Marek Szyprowski <m.szyprowski@xxxxxxxxxxx> wrote:
we could make it the default
choice, if both are available on the system (is it possible to have
both?).

You can insmod both, but only one can be active at the same time.

It may change if Linux starts supporting multiple UDCs in which case one
could have both -- GadgetFS and FunctionFS.

(As a side note, it is worth remembering that there can be several
FunctionFS mount points so it's important not to hard code the path.)

Otherwise fall back to gadgetfs. Maybe also provide a parameter to
force the use of gadgetfs even if both are available.

Right, that should be possible.

One can detect what's in by checking if "ep0" file exists.

--
Best regards,                                       _     _
.o. | Liege of Serenly Enlightened Majesty of     o' \,=./ `o
..o | Computer Science,  Michal "mina86" Nazarewicz  (o o)
ooo +-<email/jid: mnazarewicz@xxxxxxxxxx>--------ooO--(_)--Ooo--
--
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