On 08/21/2012 10:19 AM, Andrzej Pietrasiewicz wrote:
@Joel:
However, I am wondering if it would make sense to get rid of the "connect"
(or "ready", if you will) attribute altogether and instead use symlinks:
when a user wants to make the gadget ready, they do an ln -s, when they want
to unbind th
Hello Joel,
On Monday, August 20, 2012 8:00 AM Joel Becker wrote:
> I think what you want here is a symlink. Create a directory high in
> the tree called 'ready' or 'available', and when you want to lock the
> device in place, symlink it into that directory. This will pin the item.
> Yo
Hello Sebastian,
On Monday, August 20, 2012 1:01 PM Sebastian Andrzej Siewior wrote
>
> That would be something like
>
>$ ln -s /cfg/usb-function-gadget/G1 \
> /cfg/usb-function-gadget/udcs/udc1/
>
> Where we "bind" the complete gadget (G1) including the mass storage
> configura
On Mon, Aug 20, 2012 at 01:01:03PM +0200, Sebastian Andrzej Siewior wrote:
> On 08/20/2012 07:59 AM, Joel Becker wrote:
> > I think what you want here is a symlink. Create a directory
> >high in the tree called 'ready' or 'available', and when you want to
> >lock the device in place, symlink i
On Mon, Aug 20, 2012 at 10:53:42AM +0200, Andrzej Pietrasiewicz wrote:
> Hello Joel,
>
> Thanks for your reply.
>
> On Monday, August 20, 2012 8:00 AM Joel Becker wrote:
> >
> > I think what you want here is a symlink. Create a directory
> > high in the tree called 'ready' or 'available', a
On 08/20/2012 07:59 AM, Joel Becker wrote:
I think what you want here is a symlink. Create a directory
high in the tree called 'ready' or 'available', and when you want to
lock the device in place, symlink it into that directory. This will pin
the item. You can also make use of the ->a
Hello Joel,
Thanks for your reply.
On Monday, August 20, 2012 8:00 AM Joel Becker wrote:
>
> I think what you want here is a symlink. Create a directory
> high in the tree called 'ready' or 'available', and when you want to
> lock the device in place, symlink it into that directory. This
On Fri, Aug 17, 2012 at 12:34:11PM +0200, Sebastian Andrzej Siewior wrote:
> On 08/17/2012 12:30 PM, Andrzej Pietrasiewicz wrote:
> >>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
> >>t
On 08/17/2012 12:30 PM, Andrzej Pietrasiewicz wrote:
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. I
Hello Sebastian, Hello Joel,
On Friday, August 17, 2012 11:22 AM Sebastian Andrzej Siewior wrote:
> 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
On 08/17/2012 03:46 AM, Joel Becker wrote:
The configuration has to remain unchanged until the "connect" attribute
is changed (i.e. unconnected). That means the gadget can only be
reconfigured once it is not active.
Yes, that's my understanding of the driver code. What I'm
trying to un
On Thu, Aug 16, 2012 at 03:47:15PM +0200, Sebastian Andrzej Siewior wrote:
> On 08/16/2012 03:17 PM, Andrzej Pietrasiewicz wrote:
> >A lun is "opened" on storing the "file" attribute of the lun, it is in
> >fsg_lun_store_file, storage_common.c. So, again, this is a configfs
> >callback.
> >
> >On s
On 08/16/2012 03:17 PM, Andrzej Pietrasiewicz wrote:
A lun is "opened" on storing the "file" attribute of the lun, it is in
fsg_lun_store_file, storage_common.c. So, again, this is a configfs
callback.
On storing the connect attribute, the following happens: a composite driver
is probed, then al
Hello Joel,
Thank you for your reply. Please find comments inline.
On Wednesday, August 15, 2012 10:14 AM Joel Becker wrote:
> > So, the config item corresponding to the lun becomes depended on during
> > the write file operation, the same with undepend. Can this be expressed
> > with configfs
On Tue, Jul 10, 2012 at 10:54:44AM +0200, Andrzej Pietrasiewicz wrote:
> Dear Joel,
>
> Thank you for your review.
>
> @Sebastian, Alan, Felipe: Thank you, too.
>
> On Monday, July 02, 2012 11:09 AM Joel Becker wrote:
>
>
>
> >
> > > As a prerequisite it adds an operation to configfs. The op
Dear Joel,
Thank you for your review.
@Sebastian, Alan, Felipe: Thank you, too.
On Monday, July 02, 2012 11:09 AM Joel Becker wrote:
>
> > As a prerequisite it adds an operation to configfs. The operation allows
> > checking if it is ok to remove a pseudo directory corresponding to a
> > con
16 matches
Mail list logo