Rogier Wolff wrote: > On Tue, Dec 04, 2007 at 10:21:58AM -0500, Alan Stern wrote: > >> A less clumsy approach might be to avoid being a mass-storage device. >> But I don't know what other protocol would be more suitable. Does PTP >> support dynamic updating? >> > > Yes. You could send an "objectadded" event. > > > Thanks for the idea. From what I've read, however, PTP seems to be designed to transfer data to and from the host. It looks like most hosts will open a photo oriented transfer applet to handle a PTP device (rather than a file-system view). So unless I missed something, I don't see how that could work.
Other ideas: -OBEX over USB looks like it would work, but it doesn't seem to be natively supported by most OSes at the user-space level. -What I really want is an "http over usb" device class that is natively supported by OSes and browsers. Really seems like that would useful for many devices: Anything that needed to be controlled from the host or display information. Devices could provide a custom UI through html without installing anything, just plug it in and a browser opens. OBEX over USB seems to encompass this idea, but its not the focus and is missing some key elements (like a URI definition for browsers). I'll probably be forced to do the device reset trick with mass-storage for now. Anyone feel like working on a "http over usb" proposal for the future? Seems like it could be a fairly straight forward CDC subclass. -Brad ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users