Re: composite gadget with _real_ USB device

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

 



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

-- 
balbi

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux