lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20251018183238.05b60ac7@jic23-huawei>
Date: Sat, 18 Oct 2025 18:32:38 +0100
From: Jonathan Cameron <jic23@...nel.org>
To: Petre Rodan <petre.rodan@...dimension.ro>
Cc: David Lechner <dlechner@...libre.com>, Nuno Sá
 <nuno.sa@...log.com>, Andy Shevchenko <andy@...nel.org>,
 linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 6/6] iio: accel: bma220: add any-motion detection

On Tue, 14 Oct 2025 19:43:02 +0300
Petre Rodan <petre.rodan@...dimension.ro> wrote:

> Add support for what Bosch calls "any-motion (slope)" detection.

Slope is normally rate of change in IIO ABI terms. See the _roc_
event types.

The slight wrinkle here is that we have it based on the magnitude
and, whilst it has been a while since most of the sensors using
_roc_ were added I think they were typically signed. So it was
acceleration is getting higher at x rate, rather than what I think
we have here which is that the acceleration is either growing or shrinking
at x rate.  (kind of _rocmag_, similar to _mag_ relationship to _thresh_
events)

What this has to do with 'any motion' I have no idea - I'm just
looking at the graphs.  If I read them right we need something new.
Or it's entirely possible I've forgotten some part of existing ABI
that can handle this.

Jonathan


> 
> Signed-off-by: Petre Rodan <petre.rodan@...dimension.ro>
> ---
> I think Jonathan remarked that this might be improper use of the iio API?
> please advise.



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ