Re: Kernel wishlist item: Better IIO API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2014-11-04 at 10:56 +0200, Daniel Baluta wrote:
> On Tue, Nov 4, 2014 at 10:45 AM, Bastien Nocera <hadess@xxxxxxxxxx> 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@xxxxxxxxxx> 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@xxxxxxxxxx> 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.

--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux