Re: composite gadget with _real_ USB device

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

 



> How about setting up USBIP, using the same machine as both the server
> and the client?

That’s an interesting idea, I’ll check it out. Thanks for the tip!

And thanks Felipe for your input too, I really appreciate the help.


> On May 20, 2016, at 9:38 AM, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:
> 
> On Fri, 20 May 2016, Felipe Balbi wrote:
> 
>> 
>> Hi,
>> 
>> Shea Ako <hackingsma@xxxxxxxxx> writes:
>>> I’ve been learning about and playing with configfs and functionfs to
>>> create composite user space USB gadgets. My objective is to create a
>>> composite USB gadget that incorporates a custom functionfs function of
>>> my own creation along with some _real_ USB devices connected to my
>>> linux platform.
>>> 
>>> Is there an easy existing way to bundle _real_ USB devices into a
>>> composite gadget like this or am I looking at writing my own user
>>> space functionfs functions which handle wrapping and forwarding the
>>> interfaces/endpoints/data of the connected _real_ USB devices?
>> 
>> heh, you're really on your own. Sounds pretty interesting but you're
>> gonna spend a lot of time with this :p
>> 
>>> I haven’t found any documented existing way to do this, but I thought
>>> I should ask before I go off an implement it myself as it seems that
>>> this might be a use case which isn’t entirely off the wall and there
>>> could already be support for this somewhere that I haven’t yet
>>> encountered.
>> 
>> I don't think anybody has done anything like this yet. The closest I got
>> was to attach some USB sticks to host port via HUB, setup RAID and use
>> that RAID as backing store for g_mass_storage, then connect
>> g_mass_storage back to same host which has the RAID of several USB
>> sticks (same machine has host and peripheral controllers).
> 
> How about setting up USBIP, using the same machine as both the server
> and the client?
> 
> Alan Stern
> 

--
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