Re: What to use for usb transfer from gadget to host?

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

 



>>> I am familiar with USB on the host side, but not the gadget side.
>>> What's the best/easiest way to implement a simple 2 endpoints
>>> communication with high data rates?
>>> During my search I came across functionfs, gadgetfs, configfs and
>>> libusbg. Can you recommend one of them that suits my needs?
>>> Thank you so much!

Can anybody help out here?
Thanks!

regards,
tzippy

On Fri, Mar 21, 2014 at 9:07 AM,  <tzippy@xxxxxx> wrote:
> On Fri, Mar 21, 2014 at 4:58 AM, Pratyush Anand <pratyush.anand@xxxxxx> wrote:
>> How is your image sensor driver implemented?
>> If it is in v4l2 framework, then you can send your data to USB host
>> using uvc framework. See: drivers/usb/gadget/webcam.c
>>
>> The above would be be the standard way of doing such application.
>>
>> Regards
>> Pratyush
>
> Actually I have developed my own kernel module since the application
> of the video
> sensor is very specific.
> I would just need a fast way for image data to be transfered to the host.
>
> regards,
> tzippy
>
>
>
>>> I am familiar with USB on the host side, but not the gadget side.
>>> What's the best/easiest way to implement a simple 2 endpoints
>>> communication with high data rates?
>>> During my search I came across functionfs, gadgetfs, configfs and
>>> libusbg. Can you recommend one of them that suits my needs?
>>> Thank you so much!
>>> --
>>> 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
--
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