19 comments

[ 3.2 ms ] story [ 45.6 ms ] thread
>have a hard to find mems accelerometer managed by the sensor processing unit

How did OP even know that an accelerometer exists in the first place?

Way back in ~2008 I wrote the Newton Virus https://www.everita.com/how-the-newton-virus-was-made + https://www.youtube.com/watch?v=eh75j6OHhRc (sorry for the broken images, need to update that site). Between that and using a hidden API to take screenshots of each individual element on your desktop (from icons, to taskbar, to windows) the effect was pretty believable. One of the most fun (and frustrating) projects I ever worked on.
Could this be used as "shake your mac for highly random seed" bits?
If it can read your heartbeat from your wrists resting next to the trackpad, maybe it can use that as a user satisfaction signal for gratuitous UI changes.
I wonder if this sensor is used for Vision Pro display mirroring.
I've been wondering about this for a while, glad someone's finally managed to access it.
On my M4 14-inch MacBook Pro, it looks like there are two accelerometers: One with {"DeviceUsagePage"=0xff00,"DeviceUsage"=3}, and one with {"DeviceUsagePage"=0xff00,"DeviceUsage"=9} - They both identify as Bosch BMI286
(comment deleted)
I would like an app to lock my screen on sudden movement; optionally disable TouchID for next login.
I remember that existed way back then.

And MacSaber... MacSaber!!!

author here, quick update: the sensor code is now a standalone pip package

    pip install macimu

    from macimu import IMU
    with IMU() as imu:
        print(imu.latest_accel())  # Sample(x, y, z) in g
        print(imu.latest_gyro())   # Sample(x, y, z) in deg/s
requires sudo. details: https://github.com/olvvier/apple-silicon-accelerometer