From: Jonathan Cameron <jic23@kernel.org>
To: "Getz, Robin" <robin.getz@analog.com>
Cc: Jonathan Cameron <jic23@cam.ac.uk>,
Lars-Peter Clausen <lars-peter.clausen@analog.com>,
"Hennerich, Michael" <Michael.Hennerich@analog.com>,
"linux-iio@vger.kernel.org" <linux-iio@vger.kernel.org>
Subject: Re: Userspace libs
Date: Sat, 16 Feb 2013 12:46:29 +0000 [thread overview]
Message-ID: <511F7FA5.7060805@kernel.org> (raw)
In-Reply-To: <201302131412.58742.robin.getz@analog.com>
On 02/13/2013 07:12 PM, Getz, Robin wrote:
> Jonathan:
>
> We made an "iio-scope" - a real time visualiser which runs natively on the
> embedded hardware. The application supports plotting of the captured data in
> three different modes (time domain, frequency domain and constatation).
>
> Description (and screen shots) are at:
> http://wiki.analog.com/resources/eval/user-guides/ad-fmcomms1-ebz/software/linux/applications/iio_scope
>
> Source is at:
> https://github.com/analogdevicesinc/iio-oscilloscope
>
> As you can see, it includes some of your code:
> https://github.com/analogdevicesinc/iio-oscilloscope/blob/master/iio_utils.h
> Which (I think) is still in ./staging/iio/Documentation/ [1]
>
> We build on some of that:
> https://github.com/analogdevicesinc/iio-oscilloscope/blob/master/iio_utils.c
>
> Which really isn't specific to the scope, and could be pushed to where ever we
> decide the .h file lives (this is a question/suggestion).
>
> We also have a network stack for IIO.
> http://wiki.analog.com/resources/tools-software/linux-software/iio_cmdsrv
>
> https://github.com/analogdevicesinc/iio-cmdsrv
>
> I would like to re-write some of the existing iio-utils.h (so iio device
> context is managed by the application), to become a little more thread
> friendly, and also merge in some of the networking piece - so when using a
> headless embedded device - userspace doesn't need to change/manage things
> much.
All the above looks good and it is very nice to have some non trivial
userspace support. I'll be happy to see any updates/cleanups to iio-utils.h
but keep in mind that it is only really meant to be a trivial in kernel
tree example. The original plan was to have a separately maintained
userspace library to do things 'properly'. I guess it depends on exactly
what changes you are thinking of. The networking stuff in particular
might introduce some non kernel dependencies that may or may not be a
problem.
>
> Is there a list of other things people want to see from userspace? [2]
>
Nope. Probably should be though. Well volunteered!
Right now we don't really have a clean list of what people want on the
kernel side, just a lot of randomly scattered mailing list threads.
> -Robin
>
> [1] Which reminds me - is this planned on moving out
> of ./drivres/staging/iio/Documentation into ./Documentation/iio ?
err. Yes. Keep forgetting to do it. Ah well next cycle ;)
Lots of stuff still to move in general.
>
> [2] I have been going through:
> - zio-dump http://www.ohwr.org/projects/zio/wiki/Readme
> - Comedilib various
> ?
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-iio" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next prev parent reply other threads:[~2013-02-16 12:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-13 19:12 Userspace libs Getz, Robin
2013-02-16 12:46 ` Jonathan Cameron [this message]
2013-02-18 20:15 ` Getz, Robin
2013-02-19 8:38 ` Manuel Stahl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=511F7FA5.7060805@kernel.org \
--to=jic23@kernel.org \
--cc=Michael.Hennerich@analog.com \
--cc=jic23@cam.ac.uk \
--cc=lars-peter.clausen@analog.com \
--cc=linux-iio@vger.kernel.org \
--cc=robin.getz@analog.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox