lkml.org 
[lkml]   [2012]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [RFC 0/2] USB gadget - configfs
Date
Hello Sebastian, Hello Joel,

On Friday, August 17, 2012 11:22 AM Sebastian Andrzej Siewior wrote:

<snip>

> There is a separation between "setting myself up" and "seeing that a host
> wants to talk to me". You are a woman. And if you not done yet done you
ignore
> the host until you are ready. Can also be ready before the host wants to
talk
> to you. It depends on your mood / use case (give the use the choice
between
> storage & network and offer always both because we are self powered).
>

You never know when she is ready... ;)

Please note, that in the example implementation it is userspace
who needs to explicitly store "1" into the "connect" attribute;
if it is not set, connecting the cable will have no effect and,
conversely, if the cable is connected but the "1" is not stored,
the gadget will not be seen by the host.

Andrzej




\
 
 \ /
  Last update: 2012-08-17 13:21    [W:0.107 / U:0.400 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site