I worked on some old networking equipment a while back that had a physical fail over switch. If you opened the cover you could watch the connection switch, fun stuff. Also very effective.
Thinking how a hall-effect sensor works, perhaps it would be possible to embed it in a wafer with some gates and you're done.
https://www.businessinsider.com/lenovo-thinkshutter-laptops-...
I read some time ago that the LED used to be hardware controlled, but switched to being software controlled at some point.
Kind of like this: http://news.mit.edu/2014/algorithm-recovers-speech-from-vibr...
In some of their experiments, the researchers used a high-speed camera that captured 2,000 to 6,000 frames per second..
I haven't checked, but I would be surprised if Apple uses cameras that are capable of that as normal user-facing webcams in their laptops ...
Recovering meaningful audio signal (which usually has lots of data above 1 kHz) from the <100 Hz sampling done by a camera seems difficult, Nyquist and all, right?
In other experiments, however, they used an ordinary digital camera. Because of a quirk in the design of most cameras’ sensors, the researchers were able to infer information about high-frequency vibrations even from video recorded at a standard 60 frames per second.
I don't have a Mac so maybe that isn't a valid use anyway, but I do that with PCs all the time.
The white/black MacBooks, I believe, placed it near the iSight camera.
https://www.ifixit.com/Guide/MacBook+Pro+13-Inch+Retina+Disp...
And someone felt the need to down vote a reply simply containing evidence that proves a commenter correct? I despair sometimes.
Granted, I get that for security ... can't be bending the rules or it would just be the method use to circumvent it.
Are you speculating here or do you have some kind of insight?
Cracking it open makes it spring back to life.
So yes, the microphone is disabled in clamshell mode if connected to displays.
I also wonder what implications on features like the mentioned microphone disconnect that'd have. My guess is that the T2 chip which also acts as audio controller, simply doesn't forward audio signals received from the microphone to macOS if the lid is closed.
Edit: Never mind. After reading further it becomes clear that it's really disconnected in hardware:
> This disconnect is implemented in hardware alone, and therefore > prevents any software, even with root or kernel privileges in macOS, and even > the software on the T2 chip, from engaging the microphone when the lid is > closed.
Laptop closed -> microphone cut off does not need complex logic. It's just simple switch.
Do you have schematics of your laptop?