public inbox for linux-iio@vger.kernel.org
 help / color / mirror / Atom feed
From: Bastien Nocera <hadess@hadess.net>
To: Daniel Baluta <daniel.baluta@gmail.com>
Cc: Lars-Peter Clausen <lars@metafoo.de>, linux-iio@vger.kernel.org
Subject: Re: Kernel wishlist item: Better IIO API
Date: Thu, 06 Nov 2014 15:55:07 +0100	[thread overview]
Message-ID: <1415285707.7630.36.camel@hadess.net> (raw)
In-Reply-To: <CAEnQRZArfFXnyRkRfM7bSO8o=hpQx1i3FhJy7SCmaZpBzgmGXQ@mail.gmail.com>

On Tue, 2014-11-04 at 10:56 +0200, Daniel Baluta wrote:
> On Tue, Nov 4, 2014 at 10:45 AM, Bastien Nocera <hadess@hadess.net> wrote:
> > On Tue, 2014-11-04 at 10:37 +0200, Daniel Baluta wrote:
> >> On Tue, Nov 4, 2014 at 10:27 AM, Bastien Nocera <hadess@hadess.net> wrote:
> >> > On Tue, 2014-11-04 at 10:18 +0200, Daniel Baluta wrote:
> >> >> On Tue, Nov 4, 2014 at 1:01 AM, Bastien Nocera <hadess@hadess.net> wrote:
<snip>
> >> >> > Finally, there's some documentation, and it's not quite finished, or
> >> >> > there's something fishy on this device:
> >> >> > $ ls /sys//devices/platform/80860F41:04/i2c-12/i2c-SMO8500:00/iio:device0/events
> >> >> > in_accel_x_thresh_thresh_en      in_accel_x_thresh_thresh_value
> >> >> > in_accel_y_thresh_thresh_period  in_accel_z_thresh_thresh_en
> >> >> > in_accel_z_thresh_thresh_value
> >> >> > in_accel_x_thresh_thresh_period  in_accel_y_thresh_thresh_en
> >> >> > in_accel_y_thresh_thresh_value   in_accel_z_thresh_thresh_period
<snip>
> I forgot that SMO8500 is KXCJ9.
> 
> Should work with https://lkml.org/lkml/2014/10/10/249 :).

$ ls events/
in_accel_x_thresh_either_en      in_accel_x_thresh_either_value
in_accel_y_thresh_either_period  in_accel_z_thresh_either_en
in_accel_z_thresh_either_value
in_accel_x_thresh_either_period  in_accel_y_thresh_either_en
in_accel_y_thresh_either_value   in_accel_z_thresh_either_period

Yeah, better.


  reply	other threads:[~2014-11-06 14:55 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-29 14:30 Kernel wishlist item: Better IIO API Bastien Nocera
2014-10-29 17:21 ` Lars-Peter Clausen
2014-10-29 17:33   ` Bastien Nocera
2014-10-29 17:39     ` Lars-Peter Clausen
2014-10-29 17:47       ` Bastien Nocera
2014-10-29 18:30         ` Lars-Peter Clausen
2014-11-03 23:01           ` Bastien Nocera
2014-11-04  7:52             ` Jonathan Cameron
2014-11-04  8:18             ` Daniel Baluta
2014-11-04  8:27               ` Bastien Nocera
2014-11-04  8:37                 ` Daniel Baluta
2014-11-04  8:45                   ` Bastien Nocera
2014-11-04  8:56                     ` Daniel Baluta
2014-11-06 14:55                       ` Bastien Nocera [this message]
2014-11-13 20:05           ` Bastien Nocera
2014-11-16 22:12             ` Jonathan Cameron
2014-11-16 22:42               ` Bastien Nocera
2014-11-17 13:34                 ` Jonathan Cameron
2015-03-21 16:08               ` Elad Alfassa

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=1415285707.7630.36.camel@hadess.net \
    --to=hadess@hadess.net \
    --cc=daniel.baluta@gmail.com \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.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