Re: [PATCH] usb: gadget: f_fs: add "zombie" mode

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

 



>> -----Original Message-----
>> From: Mike Nazarewicz [mailto:mpn@xxxxxxxxxx]
>> I don't really see that happening.  For the gadget to start all
>> descriptors need to be known.  Functionfs will know the descriptors
>> only once the user space daemon provides them.  Therefore, with the
>> current features (or even with addition of Robert's feature) there is
>> no way to let the gadget start without having the daemon running.

On Wed, Oct 08 2014, Krzysztof Opasiak <k.opasiak@xxxxxxxxxxx> wrote:
> Well, to be honest we do some lazy daemon startup in gadgetd. The idea
> is to provide functionality quite similar to inet. So we have divided
> functionfs services into two parts:
> - Descriptors - provided in configuration file
> - function implementation - provided in binary

Sure, and I'm not surprised to hear that has been implemented, but from
kernel point of view, the daemon is there and running.  Furthermore,
such behaviour is possible with or without the zombie feature, and in
fact kernel isn't able to prevent it, so it's immaterial to discussion
of the zombie feature.

-- 
Best regards,                                         _     _
.o. | Liege of Serenely Enlightened Majesty of      o' \,=./ `o
..o | Computer Science,  Michał “mina86” Nazarewicz    (o o)
ooo +--<mpn@xxxxxxxxxx>--<xmpp:mina86@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