Re: [linux-usb-devel] Re: [ANNOUNCE] RNDIS Gadget Driver
From: David Brownell
Date: Sun Mar 28 2004 - 10:36:28 EST
A host driver "USB PTP Storage" would be really nice too. First
as a generic camera interface, second to access a gadget with the
There isn't one. There are two. No need to be embarrassed ... ;)
They're both user-mode drivers. "gPhoto2", and "jPhoto". The
author of jPhoto (moi) hasn't had time to update that code in
These are applications, not file system interfaces like USB Mass Storage.
I want to mount the camera or gadget file system and access it from any
program, not run a separate app to fetch files like Mass Stor. mounts
a memory device.
As Andrew Zabolotny commented, NFS _does_ work today from those
devices. Except that it doesn't work to MS-Windows hosts, unless
they've been taught other parts of the protocol stack.
Presumably Samba over RNDIS would work from Windows, but that
would need extra work from many Linux hosts. Tradeoffs...
Why create a dedicated app like a camera interface instead of using your
favorite image browser on some files?
Well, PTP should take less memory inside the device/gadget than
a network stack, though it'd be less flexible. And there's
also something to be said for less code in the kernel, and a
simpler device setup model ... especially for the kinds of
products that'd be considering something like PTP.
But I think the basic answer to your question is probably just
that nobody's yet written, or at least submitted, PTP client
or server kernel code for Linux.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/