frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Reading the undocumented MEMS accelerometer on Apple Silicon MacBooks via iokit

https://github.com/olvvier/apple-silicon-accelerometer
38•todsacerdoti•3h ago

Comments

greyface-•1h ago
https://osxdaily.com/2006/12/06/macsaber-turn-your-mac-into-...
userbinator•1h 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."

sysguest•56m ago
idk you can just use simple liquid-container or sticker?

maybe apple was preparing for "carrying-around laptop experience"?

XorNot•51m ago
That's an entirely different product build path compared to the electronics production line though.

If a pick and place machine can drop it on and reflow it, that's what you want.

sysguest•31m ago
well it would be hardened when contact with air or something

see "Shipping Damage Indicators"

altairprime•56m ago
Did it park the drive heads?
consp•53m ago
Back in the days this was to lock up the hard disk read/write head. Maybe a relic from those times instead?
userbinator•42m ago
Apple is not known for backwards-compatibility, and they were already using SSDs in their laptops long before switching to ARM.
krackers•55m 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?

rustyhancock•45m ago
The presence of the sensor is well documented as part of Apples Sudden Motion Sensor hard drive protection system.

How to access it is undocumented.

future10se•32m ago
Aaackshually, the Sudden Motion Sensor was introduced on 2005 in the PowerBook G4, and continued through the intel MacBooks with hard drives.

While officially undocumented, people figured out how to access it back then, with novel uses like smacking your MacBook to change spaces (virtual desktops) or swinging the Mac around to make lightsaber noises.

- https://www.youtube.com/watch?v=6uvQTTPr9Rw

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

(I should know, I was in university back then and swung my Mac around like an idiot, lol.)

On the first Retina MacBook Pro 15" in 2012, and moving forward with all MacBooks that were SSD-only, they removed the SMS as it was not needed.

To my knowledge, this is the first time we're hearing that Apple Silicon machines have an accelerometer on the SoC, officially or otherwise. It's also certainly not branded or marketed as the SMS was. (https://support.apple.com/en-us/100871)

Happy to be corrected on this!

nerdsniper•24m ago
Given that current drives don't have moving parts, what function is this serving today?
saagarjha•17m ago
> the sensor lives under AppleSPUHIDDevice in the iokit registry, on vendor usage page 0xFF00, usage 3. the driver is AppleSPUHIDDriver which is part of the sensor processing unit.
seductivebarry•38m 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.
ggm•1m ago
Could this be used as "shake your mac for highly random seed" bits?

Defer available in gcc and clang

https://gustedt.wordpress.com/2026/02/15/defer-available-in-gcc-and-clang/
100•r4um•4d ago•47 comments

Consistency diffusion language models: Up to 14x faster, no quality loss

https://www.together.ai/blog/consistency-diffusion-language-models
71•zagwdt•4h ago•17 comments

Gemini 3.1 Pro

https://blog.google/innovation-and-ai/models-and-research/gemini-models/gemini-3-1-pro/
710•MallocVoidstar•16h ago•784 comments

Reading the undocumented MEMS accelerometer on Apple Silicon MacBooks via iokit

https://github.com/olvvier/apple-silicon-accelerometer
38•todsacerdoti•3h ago•15 comments

Pi for Excel: AI sidebar add-in for Excel

https://github.com/tmustier/pi-for-excel
58•rahimnathwani•5h ago•9 comments

FreeCAD

https://www.freecad.org/index.php
92•doener•2d ago•27 comments

Show HN: Micasa – track your house from the terminal

https://micasa.dev
526•cpcloud•16h ago•173 comments

An ARM Homelab Server, or a Minisforum MS-R1 Review

https://sour.coffee/2026/02/20/an-arm-homelab-server-or-a-minisforum-ms-r1-review/
60•neelc•6h ago•47 comments

An AI Agent Published a Hit Piece on Me – The Operator Came Forward

https://theshamblog.com/an-ai-agent-wrote-a-hit-piece-on-me-part-4/
327•scottshambaugh•5h ago•273 comments

Almost Every infrastructure decision I endorse or regret after 4 years

https://cep.dev/posts/every-infrastructure-decision-i-endorse-or-regret-after-4-years-running-inf...
215•Meetvelde•3d ago•93 comments

US plans online portal to bypass content bans in Europe and elsewhere

https://www.reuters.com/world/us-plans-online-portal-bypass-content-bans-europe-elsewhere-2026-02...
282•c420•1d ago•414 comments

A beginner's guide to split keyboards

https://www.justinmklam.com/posts/2026/02/beginners-guide-split-keyboards/
108•thehaikuza•4d ago•118 comments

Mystery donor gives Japanese city $3.6M in gold bars to fix water system

https://www.bbc.com/news/articles/c3ew5jlqz87o
75•tartoran•3h ago•37 comments

America vs. Singapore: You can't save your way out of economic shocks

https://www.governance.fyi/p/america-vs-singapore-you-cant-save
275•guardianbob•17h ago•400 comments

Micropayments as a reality check for news sites

https://blog.zgp.org/micropayments-as-a-reality-check-for-news-sites/
156•speckx•12h ago•325 comments

A terminal weather app with ASCII animations driven by real-time weather data

https://github.com/Veirt/weathr
210•forinti•14h ago•35 comments

Paged Out Issue #8 [pdf]

https://pagedout.institute/download/PagedOut_008.pdf
374•SteveHawk27•20h ago•58 comments

MuMu Player (NetEase) silently runs 17 reconnaissance commands every 30 minutes

https://gist.github.com/interpiduser5/547d8a7baec436f24b7cce89dd4ae1ea
256•interpidused•6h ago•99 comments

Show HN: Fostrom, an IoT Cloud Platform built for developers

https://fostrom.io/
6•arjunbajaj•1h ago•1 comments

Fast KV Compaction via Attention Matching

https://arxiv.org/abs/2602.16284
12•cbracketdash•3h ago•0 comments

Lindenmayer.jl: Defining recursive patterns in Julia

https://cormullion.github.io/Lindenmayer.jl/stable/
47•WillMorr•3d ago•2 comments

Archaeologists find possible first direct evidence of Hannibal's war elephants

https://www.smithsonianmag.com/smart-news/archaeologists-unearthed-a-2200-year-old-bone-they-say-...
104•bryanrasmussen•13h ago•28 comments

A Famous Enigma: On Alexandre Kojève

https://clereviewofbooks.com/isabel-jacobs-boris-groys-marco-filoni/
9•Caiero•2d ago•0 comments

Pebble Production: February Update

https://repebble.com/blog/february-pebble-production-and-software-updates
283•smig0•19h ago•132 comments

Debugging Kernel Oops (2024)

https://lfhernandez.com/posts/debugging-kernel-oops/
4•linolevan•3d ago•0 comments

Show HN: A small, simple music theory library in C99

https://github.com/thelowsunoverthemoon/mahler.c
34•lowsun•9h ago•11 comments

My 1981 adventure game is now a multimedia extravaganza

https://technologizer.com/home/2026/02/16/arctic-adventure-2026/
103•vontzy•3d ago•33 comments

Show HN: Ghostty-based terminal with vertical tabs and notifications

https://github.com/manaflow-ai/cmux
128•lawrencechen•10h ago•59 comments

Don't Trust the Salt: AI Summarization, Multilingual Safety, and LLM Guardrails

https://royapakzad.substack.com/p/multilingual-llm-evaluation-to-guardrails
206•benbreen•3d ago•80 comments

Measuring AI agent autonomy in practice

https://www.anthropic.com/research/measuring-agent-autonomy
101•jbredeche•18h ago•48 comments