Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[9fans] 9P via serial links or USB

5 views
Skip to first unread message

Enrico Weigelt

unread,
Nov 24, 2009, 8:11:47 PM11/24/09
to

Hi folks,


did anyone already do some research on running 9P directly via
serial or USB links as interface for embedded devices, eg. digicams ?

I'm currently advertising an students project for developing an
gphoto2-fileserver, so a wide range of digicams (which do not
support usb mass storage protocol) can be mounted directly.
This project should also include a small study on using 9P
directly as the camera's protocol.

cu
--
----------------------------------------------------------------------
Enrico Weigelt, metux IT service -- http://www.metux.de/

phone: +49 36207 519931 email: wei...@metux.de
mobile: +49 174 7066481 icq: 210169427 skype: nekrad666
----------------------------------------------------------------------
Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------

hiro

unread,
Nov 24, 2009, 8:11:25 PM11/24/09
to
There already is a gphoto2 fs for fuse if I remember correctly. Though
I haven't heard of any camera with 9p yet.
But it's late and perhaps I misunderstand you.

Latchesar Ionkov

unread,
Nov 24, 2009, 9:32:38 PM11/24/09
to
there is gphoto2 for 9p -- it was in the npfs repository for more than
4 years. I haven't checked it recently so I don't know if it still
compiles.

Lucho

Enrico Weigelt

unread,
Nov 26, 2009, 6:09:47 PM11/26/09
to
* hiro <23h...@googlemail.com> wrote:
> There already is a gphoto2 fs for fuse if I remember correctly.

Last time I heared, it was just planned.
Perhaps I'm not up2date and you've got a pointer for me ?

> Though I haven't heard of any camera with 9p yet.

Yep, that would be the next step: provide a toolkit for embedded
developers and encourage them to use it instead of the bogus
pptp+proprietary stuff.


Meanwhile I've made up another front:
I'm negotiating with an developer/producer of power meters and
similar products, which log their data to SD cards and have an
ethernet/IP interface.

At this point I'm thinking about an more thin approach for those
devices: put 9P on the lowest level possible, no IP, but a very
thin protocol (eg. somethink like IL, but directly ontop of eth ?),
just enough to carry 9P messages. Just an error-correcting (not
necessarily in-order) datagram protocol, which does not need an
explicit address assignment (eg. builtin 64bit device addresses ?).
These devices essentially just speak 9P - multiple devices on
the same network interface are represented within the fs hierachy.

Latchesar Ionkov

unread,
Nov 26, 2009, 6:31:45 PM11/26/09
to
http://www.sourceforge.net/projects/npfs

On Thu, Nov 26, 2009 at 3:54 PM, Enrico Weigelt <wei...@metux.de> wrote:
> * Latchesar Ionkov <lu...@ionkov.net> wrote:
>> there is gphoto2 for 9p -- it was in the npfs repository for more than
>> 4 years. I haven't checked it recently so I don't know if it still
>> compiles.
>

> hmm, google doesnt show up anything on that.
> do you have a pointer to it ?

Enrico Weigelt

unread,
Nov 26, 2009, 6:32:07 PM11/26/09
to
* Latchesar Ionkov <lu...@ionkov.net> wrote:
> there is gphoto2 for 9p -- it was in the npfs repository for more than
> 4 years. I haven't checked it recently so I don't know if it still
> compiles.

hmm, google doesnt show up anything on that.
do you have a pointer to it ?

Enrico Weigelt

unread,
Nov 26, 2009, 6:44:04 PM11/26/09
to
* Latchesar Ionkov <lu...@ionkov.net> wrote:
> http://www.sourceforge.net/projects/npfs

hmm, the only available download I see here is spfs, which
doesnt seem to contain any SANE-related stuff.
did i miss something ?

Latchesar Ionkov

unread,
Nov 26, 2009, 6:53:58 PM11/26/09
to
you can get npfs from the subversion repository. there is gphotofs.c in fs/.

hiro

unread,
Nov 27, 2009, 2:28:15 AM11/27/09
to
There was some stuff available even before 2004
I think I've used once one of these:
http://intr.overt.org/gphotofs/
http://www.hep.phy.cam.ac.uk/~lester/gphoto2-fuse-fs/
0 new messages