Discussion:
USB Still Image Capture device class driver & USb
praveen koduru
2008-01-30 11:52:34 UTC
Permalink
Hai,
I have a question related to your PTP device driver ( Picture
Transfer Protocol ).

Can USB Still Image Capture Class driver and USB Mass Storage class
driver co- exists in the gadget?

If yes How to synchronize the calls between these two with the below
DCD (Devcie Controler Driver ), do we need a middle layer ( Core
driver like in Host side ) ?

Please let me know the solution, Thanks in advance..

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
linux-usb-***@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
Alan Stern
2008-01-30 15:25:08 UTC
Permalink
Post by praveen koduru
Hai,
I have a question related to your PTP device driver ( Picture
Transfer Protocol ).
Can USB Still Image Capture Class driver and USB Mass Storage class
driver co- exists in the gadget?
In theory they can. However the current version of the g_file_storage
driver is not designed to coexist with other gadget drivers. There has
been some progress in that direction, but you'll have to search through
the mailing list archives to find it.
Post by praveen koduru
If yes How to synchronize the calls between these two with the below
DCD (Devcie Controler Driver ), do we need a middle layer ( Core
driver like in Host side ) ?
You do need a middle layer, but not to synchronize calls. The middle
layer is needed to allocate resources such as endpoints, interface
numbers, descriptors, and so on.

Another issue you will face is that the two drivers cannot share the
same storage medium unless they both are set to read-only access.

Alan Stern


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
linux-usb-***@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
Guennadi Liakhovetski
2009-01-02 10:51:54 UTC
Permalink
Post by Alan Stern
Post by praveen koduru
Hai,
I have a question related to your PTP device driver ( Picture
Transfer Protocol ).
Can USB Still Image Capture Class driver and USB Mass Storage class
driver co- exists in the gadget?
In theory they can. However the current version of the g_file_storage
driver is not designed to coexist with other gadget drivers. There has
been some progress in that direction, but you'll have to search through
the mailing list archives to find it.
Just checking if this emanation of PTP/MTP/Still Image Capture software
has any material backing or is as much of a phyntom as all others - whose
"yours" driver is meant here and where can it be found?

Thanks
Guennadi
Post by Alan Stern
Post by praveen koduru
If yes How to synchronize the calls between these two with the below
DCD (Devcie Controler Driver ), do we need a middle layer ( Core
driver like in Host side ) ?
You do need a middle layer, but not to synchronize calls. The middle
layer is needed to allocate resources such as endpoints, interface
numbers, descriptors, and so on.
Another issue you will face is that the two drivers cannot share the
same storage medium unless they both are set to read-only access.
Alan Stern
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Guennadi Liakhovetski
2009-01-02 13:33:37 UTC
Permalink
Post by Guennadi Liakhovetski
Post by Alan Stern
Post by praveen koduru
Hai,
I have a question related to your PTP device driver ( Picture
Transfer Protocol ).
Can USB Still Image Capture Class driver and USB Mass Storage class
driver co- exists in the gadget?
In theory they can. However the current version of the g_file_storage
driver is not designed to coexist with other gadget drivers. There has
been some progress in that direction, but you'll have to search through
the mailing list archives to find it.
Just checking if this emanation of PTP/MTP/Still Image Capture software
has any material backing or is as much of a phyntom as all others - whose
"yours" driver is meant here and where can it be found?
No backing yet. I don't know what PTP device driver the original
message refers to. I've never written such a thing.
Hm, well, maybe you did without knowing about it?:-) Ok, thanks for the
info.

Regards
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Loading...