android - What happened to USB MTP gadget driver in mainline Linux kernel? -
i'm trying make embedded device work mtp device, using usb gadget driver.
i know have android switched mass storage gadget mtp gadget quite while, , found source code mtp gadget driver in few android repositories.
however in mainline kernel code didn't find particular file, nor equivalents.
but did find patches mtp gadget driver submitted rfc in 2010.
question:
why mainline kernel not accept patch, , doesn't provide other implementation of mtp gadget, either, android kernel provides it?
is because of technical difficulty or other reasons, there better way it?
if want enable usb mtp gadget on devices(one ti omap3730 soc running 2.6.37 kernel , nxp/freescale imx6 soc, running 3.14 kernel), version of mtp gadget shall use backport?
why mainline kernel not accept patch, , doesn't provide other implementation of mtp gadget, either, android kernel provides it?
it mentioned in this thread mtp responder should implemented user-space daemon, not kernel usb gadget. , implementations mentioned.
on pc mtp initiator works via user-space implementation already. today have kernel 4.3 on debian , still lacks of mtp gadget. managed run mtp between pc , phone anyway, using user-space tools (based on libmtp, probably, it's not point).
android kernel known have disputable technical decisions (from point of view of mainline kernel developers), android fast grown project , things ought implemented fast. of course, there attempts upstream stuff can. mtp gadget seems 1 of things couldn't make drivers/staging
. agrees mtp must implemented in user-space.
if want enable usb mtp gadget on devices(one ti omap3730 soc running 2.6.37 kernel , nxp/freescale imx6 soc, running 3.14 kernel), version of mtp gadget shall use backport?
if need in kernel (probably needed android), should android kernel versions close can find yours. doesn't matter soc using, mtp implementation common platforms, kernel version.
for example, take @ these repos:
Comments
Post a Comment