From: Peter Meerwald <pmeerw-jW+XmwGofnusTnJN9+BGXg@public.gmane.org>
To: "Robin Müller-Bady"
<mueller-bady-vYTEC60ixJUAvxtiuMwx3w@public.gmane.org>
Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Writing I2C Sensor Kernel Modules
Date: Thu, 27 Jun 2013 16:41:32 +0200 (CEST) [thread overview]
Message-ID: <alpine.DEB.2.01.1306271637020.26658@pmeerw.net> (raw)
In-Reply-To: <CACRdhnDOKdfFSPKmBZ=BoEfp4Tk3dur539b+eHw_bxm23H0rsQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
Hello Robin,
> wiringPi/ioctl, e.g. the barometric pressure with the MPL115A2 sensor.
> I now had the idea to write the software directly in kernel space,
> providing a device, e.g. /dev/mpl115a2, for polling the sensor data.
> Does this idea fit into the architectural design of the I2C subsystem
> / the sensors ? Or should code for handling I2C clients stay in
have a look at the IIO subsystem which provides an interface for various
sensors (adc, light, accelerometer) attached via spi or i2c; pressure was
very recently added
regards, p.
--
Peter Meerwald
+43-664-2444418 (mobile)
next prev parent reply other threads:[~2013-06-27 14:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-27 14:33 Writing I2C Sensor Kernel Modules Robin Müller-Bady
[not found] ` <CACRdhnDOKdfFSPKmBZ=BoEfp4Tk3dur539b+eHw_bxm23H0rsQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-27 14:41 ` Peter Meerwald [this message]
2013-06-27 14:56 ` Sylwester Nawrocki
[not found] ` <51CC52BB.5000302-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2013-06-27 18:12 ` Robin Müller-Bady
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=alpine.DEB.2.01.1306271637020.26658@pmeerw.net \
--to=pmeerw-jw+xmwgofnustnjn9+bgxg@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mueller-bady-vYTEC60ixJUAvxtiuMwx3w@public.gmane.org \
/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;
as well as URLs for NNTP newsgroup(s).