Reading the undocumented MEMS accelerometer on Apple Silicon MacBooks via iokit

github.com

85 points by todsacerdoti 9 hours ago


seductivebarry - 6 hours ago

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.

krackers - 7 hours ago

>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?

1e1a - 3 hours ago

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

userbinator - 7 hours ago

undocumented

The one thought that comes to mind is this: "Your warranty claim was denied because we determined that the laptop was subjected to a sudden shock."

greyface- - 7 hours ago

https://osxdaily.com/2006/12/06/macsaber-turn-your-mac-into-...

thenthenthen - 29 minutes ago

This is so cool thank you!

47282847 - an hour ago

I would like an app to lock my screen on sudden movement; optionally disable TouchID for next login.

JSR_FDED - 6 hours ago

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.

- 3 hours ago
[deleted]
1e1a - 4 hours ago

I've been wondering about this for a while, glad someone's finally managed to access it.

ggm - 6 hours ago

Could this be used as "shake your mac for highly random seed" bits?

LoganDark - 4 hours ago

I wonder if this sensor is used for Vision Pro display mirroring.

baybal2 - 7 hours ago

[dead]