[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-usb-devel
Subject:    Re: [linux-usb-devel] USB Still Image Capture device class driver &
From:       Alan Stern <stern () rowland ! harvard ! edu>
Date:       2008-01-30 15:25:08
Message-ID: Pine.LNX.4.44L0.0801301019200.4337-100000 () iolanthe ! rowland ! org
[Download RAW message or body]

On Wed, 30 Jan 2008, praveen koduru wrote:

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

> 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-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic