I was recently trying to figure out whether the microphone is usable when using my notebook in clamshell-mode. Turns out Apple added a privacy/safety feature to all Apple silicon-based Mac notebooks and Intel-based Mac notebooks with the Apple T2 Security Chip. It will hardware disconnect the microphone when the lid is closed, based on the lid sensors.
Pretty cool safety feature!! Even though I'm sad I can't use my mic in clamshell mode
In case you or anyone else needs to disable the MacBook screen and still use the mic, camera, keyboard, trackpad etc. I added a feature called BlackOut in my Lunar app that can do that (https://lunar.fyi/#blackout).
This allows "clamshell mode" without closing the lid. (although some people might want to close the lid for desk aesthetics, this feature is not for them)
On Apple Silicon with macOS Ventura the feature can really disconnect the screen by Command-clicking the power button: https://shots.panaitiu.com/x52NJxpR
The microphone is located inside the left speaker grille anyways, so it would be terribly muffled in clamshell mode anyways.
Note this is in contrast to previous models where the microphone had a tiny hole on the left edge (next to USB-C ports) and it could be used in clamshell mode.
Which at first I thought felt like a downgrade... but the reality is that your laptop isn't usually in a good position for mic pickup when it's closed anyways -- people often keep it off to the side or something, under a monitor riser, etc. While the speaker grille location, being front-facing rather than side-facing, is far better for picking up voice when using the laptop normally. And that anybody using a mic in clamshell mode usually already has one in their webcam or AirPods or headset or a dedicated mic anyways.
The 2015 pro model i have is an absolute nightmare for the fan as the mic was picking up the noise of the fan and so the CPU was working overtime to cancel the noise leading to cascading fan and heat noise.
Ended up just disabling it completely permanently. Was a particularly bad design i think.
I recently got an M2 Macbook Pro to replace my 2017 Macbook Pro (with that awful keyboard and the touch bar), and my biggest take away is that I'm glad Jony Ive left. The new one is less "elegant", but it approaches and in some case exceeds "functional". It's crazy the number he did on the hardware designs at the end.
> The microphone is located inside the left speaker grille anyways, so it would be terribly muffled in clamshell mode anyways
I don't think the hardware disable is meant as a UX convenience ("let's always disable it in clamshell mode because it sounds terrible"), as that could have just been done in software. It's meant for people privacy-conscious people who want to see a closed laptop and be able to assume it's not recording.
Meanwhile, I'm looking at this throwaway aside in the article:
> (The camera isn’t disconnected in hardware, because its field of view is completely obstructed with the lid closed.)
and thinking to myself that somebody is going to figure out how to record audio given just the "completely obstructed" view of the camera.
There's a long history of attackers reliably detecting logging keys with audio using just inter-keystroke latency and some histograms, or easily figuring out PINs tapped out on a phone screen because the OS doesn't bother putting access to accelerometers or gyroscopes behind an app permission. Attackers get very creative, especially when they're told that something is "impossible".
Recording sound from a video-only device that has been covered, with no hardware modifications would be a really really neat trick! Using Van Eck phreaking against all sorts of hardware is fascinating to me. FM radio broadcast from how RAM gets accessed and things like that. Maybe noise in the camera sensor can be used to pick up noise from the microphone on the motherboard (which is where the microphone is on Apple Silicon devices). I'm not going to say it's impossible, but it seems highly unlikely given everything else in play.
> There's a long history of attackers reliably detecting logging keys with audio using just inter-keystroke latency and some histograms
I wrote some fiction about this. The cosmic microwave background is hiding an audio signal. It's the sound of a keyswitch. Humanity uses the radio astronomy equivalent of these techniques to discover which keystroke caused the big bang.
What does "silicon-based" - mean? What other computer is not 'silicon-based'?
--
Is there a way to mechanize the HW detachment of microphone connections at will while using the machine open?
That would be great - if you had a physical switch on the side of machine, which physicall moves the mic wire a mm away from the contact.
---
Weird thing - I put tape over my webcam at all times, unless in use, obv.
After some time I received a pop-up alert on windows 11 and it lasted briefly, and went away - but freaked me out: "You should unblock your webcam" or something to that effect, I dont have the exact wording - but it was an alert telling me to unblock visibility of my webcam - I think it may have mentioned something about UX reasons - but it happened so quick I missed all the wording.
Yeah - tape over your cams.
----
It would be cool to have a phone case where is the case screen-facing-flap is closed, it pulls the wool over the eyes of the front-facing cams, so even in 'sleep' mode when the case is closed, the phones cams are all covered... but the mic is a different creature.
------
Remember when NSA was intercepting cisco equipment to install HW back doors in devices shipped to 'enemy' states.
We have known forever about NSA HW backdoors...
but a case that can manipulate the HW MIC switchoff mechanism of a phone with such capability would be cool.
Else ; we need 100% trustworthy ability to disable our Spy-Pilots.
And how are we supposed to trust Apple that this is in fact what's happening?
With a Framework laptop I have a hardware physical switch and I can actually open it up and see the PCB trace and verify that it disconnects the microphone.
At the point that you're opening up the laptop and chasing traces, you can do the same thing with Apple devices (with a bit more difficulty). It's not like they're made with rainbows and moonbeams. If you're at that level of paranoia (no judgement if it's justified or not) and have the skill to, just open up the Apple device and chase PCB traces. If you go down that route, iFixit's a good resource with lots of helpful pictures. (But still sometimes not enough.)
If it's in-chip, it won't be with PCB traces, it would be solid state inside the chip and you wouldn't be able to verify without inspecting the wafer, which is way outside my area of expertise. It doesn't sound like there's a mechanical relay that they are using for this.
There's also that if it's inside the chip, there is a risk that malicious software or buggy firmware can still enable it against your permission.
With a Framework laptop you can peel back the bezel and it's right there in plain sight. If the switch is in the off position it's a hard physical break to the microphone circuit. There is no possible software that can enable the microphone.
Nothing can beat a physical switch but even if it's solid state, unless it's in the CPU itself (it isn't) there still need to be traces in/on the PCB to bring the data from the microphone to the rest of the system, so just probe those traces when the lid is open vs closed. Or learn how to decap chips. There are some really awesome videos out there about that on YouTube!
More importantly though, Apple learned their lesson with the iSight which had a software-based activation LED. They assumed a random script kiddie wouldn't have the smarts to be able to hack the kext kernel module to turn the camera on without also turning the LED on. Unfortunately they learned about the Internet shortly thereafter where random script kiddies were able to get instructions on how to modify that kext, leading to some embarrassing moments, for some (possibly naked) high school teens, and for Apple.
Thats why the linked article is very careful to specifically mention that even having root and being able to manipulate kexts is not enough to silently use the microphone while closed.
I did just peel back the bezel on my Framework here. It looks like those hardware disconnects use some sort of blade that interrupts what I'm assuming to be an optical switch of some sort, one for the mic and one for the camera.
I would really like to know why this comment was down voted. It is a perfectly valid question with a rational explanation. Indeed, I was surprised to have needed to scroll down so far to find it, as it was the very first question that popped into my head as well.
A lot of my comments get downvoted these days. Sometimes the mods even side with the downvoters and ask me to stop. If they ban me, oh well, their loss.
Agreed. But Framework does seem to prove there is _some_ interest. Regardless. I find it strange that people flock to Apple products when Microsoft clearly embraces open source in more ways than Apple.
Hardware physical switches are a gimmick feature - if you can’t trust your OS to that degree, then you surely have bigger problems than your microphone.
Of course I can never trust a closed source OS like MacOS.
Linux is a little better. But it's not just the OS. I might be in a Google Meet call where I have given microphone access, but can I trust the mute button? I'd rather have a physical mute.
Just use a headset or external mic. If you're in clamshell you're probably at your desk/home office so that's quite reasonable.
Also nice - if I'm WFH and one of my family walks in with some drama, I close the lid, go clamshell mode, and I am quite sure any corporate spyware isn't listening in.
I wish there were good quality webcams without microphones. My external microphone has a mute switch but my Streamcam mic is still available to any corporate spyware.
This might seem like I am an Apple fanboy but I am not, I have plenty issues with Apple products but when it comes to Privacy Apple is the only company amongst the big tech we can trust.
Microsoft, Google, Facebook are all anti-privacy and just about using dar patterns to steal users info. It’s disgusting.
It is still the correct solution. A sensible default doesn't conflict here, but hardware switched are the only solution where you can be entirely sure.
How would a microphone work with the lid closed anyways? It’d be muffled. If you’re docking your laptop closed, you’ve got an external webcam / mic if you need those inputs.
The same way it used to work, by putting the input on the external facing portion of the case. Or even better, have both so that it can optimize for the current clamshell mode.
The position of the mic on the newer laptops is unmuffled. It's actually a very high-quality signal that can't be muffled. The only way to quiet it is to "kill" it; disconnect it.
The laptop microphone will pick up whatever noise is in the room. It's easier to filter out background noise with a microphone that is closer to your mouth.
For the same reason you might have other external peripherals. A laptop, realistically, can only fit something so decent inside of it. The 2020+ MacBooks do have surprisingly OK internal mics, but that's about all they are: OK.
Maybe I'm just an extra-big baby about it all. But what I find a little annoying with the COVID-era of work-from-home and distance learning is how few people seem to care about audio. Even as a teenager on TeamSpeak, rather than getting a more expensive graphics card or whatever, I spent my money on an SM7B. Now it is more important than ever.
Maybe this isn't reasonable, but I feel like if not for yourself, to prevent "sorry, can you repeat that?" moments, you kind of owe it to the people who have to listen to you. Like as an autistic person, hearing a dozen people's overlapping background static, tinny compressed audio, etc, it really, truly slowly drives me nuts. I can't deal with that level of auditory sensory stuff all day. If someone has a bad microphone, I want out of the call ASAP.
A Shure SM58 will last you a lifetime, fit on your desk, cost <$100, and no one will ever complain about sound again.
People don't know how bad they sound. It's as simple as that I think, there is no easy monitor functionality in Teams and friends like the preview image for camera, so there is no urgency.
A cool feature on laptops would be a jumper you could physically disconnect, and a tiny window (on say, the bottom of the laptop) to verify it hasn't been reconnected.
Would it be possible to mix multiple people/voices in a training set? Or does that confuse the AI? Could be interesting to create a real but kind of not real model. If that makes sense…
Today, I am happy to share the vue-notion library with you – it is now possible to use Notion as a CMS for Vue (e.g. a statically generated Nuxt blog).
As Notion fans we always wanted to be able to use Notion as a CMS for Nuxt. React has had this for a bit. So, we decided to port the react-notion project to Vue and are introducing the same functionality to Vue!
I hope there are some Vue & Notion fans here, we would love to get some feedback on this new package!
Let us know what you think – Have a great day everybody!
That‘s a very good question! I am not sure how easy it is to do in a agnostic way. If we want to utilize the static generation features and other framework features, it‘s necessary to use some framework specific components (e.g. Next and Nuxt both have their own version of the „link“ that allows for smarter page loading after an initial render. It might be possible to just replace these parts somehow and leave the rest agnostic. But I don‘t think that‘s an easy task and you might lose some features when switching to a „dangerous setting inner html“ approach that isn‘t very well optimized in the compilation steps of the frameworks.
Btw, I love your content!
Every time I start a new project/repository, I need a .gitignore file. And every time I missed something that had to be added later—often after unstashing/reverting, because of those pesky git add --all I love so dearly. Then came https://gitignore.io and made my life a lot easier. Sadly, not too long ago, Toptal decided to rebrand the site a bit (not too much, but we developers are purists). So, the next time I spun up a new repository, I started procrastinating. I no longer wanted to have to leave the terminal to setup a .gitignore file. And thus git-ignore was born. You can now utilize battle-tested ignore templates right from your terminal.