News for hackers. Stuff that matters.
Re:The MacBook has a sensor that knows the exact angle of th... by userbinator on Sunday September 07, 2025 @09:47PM (#45164005)
Interesting but that proves the point even more --- it's hardly "calibration" when it effectively does nothing more than write constants to the EEPROM. They certainly have enough processing power in the machine to do that automatically too without needing anything more, but instead they make everyone go through a whole song-and-dance to do this trivial process; which doesn't even require Apple's involvement.

"Set the angle to 0 (closed) and press Enter. Open 10 degrees and press Enter. Repeat for every 10 degrees from 0 to 170" would be an example of actual calibration.

Re:The MacBook has a sensor that knows the exact angle of th... by lsaferite on Sunday September 07, 2025 @11:47PM (#45164473)
Pressing enter while closed might be a little difficult.
Re:The MacBook has a sensor that knows the exact angle of th... by awesome_dude on Monday September 08, 2025 @12:33AM (#45164648)
3rd party keyboard :)
Re:The MacBook has a sensor that knows the exact angle of th... by userbinator on Monday September 08, 2025 @01:12AM (#45164823)
Apple even makes a suitable one themselves... but the point is that a calibration procedure involves adjustment and measurement, and not merely reading some data from the sensor and writing it back. If Apple weren't deliberately trying to be hostile and sneaky, they would not have bothered with this roundabout, obfuscated process which no doubt increases their production cost too.
Re:The MacBook has a sensor that knows the exact angle of th... by nomel on Monday September 08, 2025 @12:35AM (#45164656)
Minimum angle seen during a full motion would be perfectly reasonable.
Re:The MacBook has a sensor that knows the exact angle of th... by mproud on Monday September 08, 2025 @01:18AM (#45164842)
The calibration measures only when the screen is open and closed. There is a grace period of a few seconds to allow you to close the screen.

But yes, if you don’t do it correctly, you will burn the service part and have to replace it again.

Re:The MacBook has a sensor that knows the exact angle of th... by theginger on Monday September 08, 2025 @02:35AM (#45165225)
That seems an extreme measure to ensure the security/integrity of a screen hinge sensor input ( or protect this tiny revenue stream )
Re:The MacBook has a sensor that knows the exact angle of th... by arcticbull on Monday September 08, 2025 @02:39AM (#45165252)
It does actually perform a security function. The lid angle sensor is used to know when the device is open or closed, and when closed, it physically disconnects the microphone. If you were to be able to recalibrate it at any time, you would leave your device vulnerable to having the microphone enabled when the lid is closed. You can argue whether that justifies the practice, but it's not as simple as just burning the EEPROM serial number in that tells it to turn the display on or off. It defends the user against an attack vector.

From that perspective making it one-time programmable is not unreasonable.

Re:The MacBook has a sensor that knows the exact angle of th... by raverbashing on Monday September 08, 2025 @03:14AM (#45165430)
I agree with you

Though it could be simpler if it was something like a magnet on the lid that activates a magnetic switch on the bottom part (and it would be harder to have a false negative result). But Apple is going to Apple

Re:The MacBook has a sensor that knows the exact angle of th... by arcticbull on Monday September 08, 2025 @04:29AM (#45165903)
Yes, it could be done with a Hall effect sensor or something like they used to. The cool thing about this approach is they actually use a different angle to turn the screen off as you close the lid than they do for turning it on when you open the lid, to create a better experience. Since it is a security feature, then the "open" vs "closed" state should use the same source of truth. So it's a trade-off of complexity and experience.
Re:The MacBook has a sensor that knows the exact angle of th... by KurSix on Monday September 08, 2025 @06:43AM (#45166703)
It feels like Apple's implementation leans more toward vendor lock-in than purely user protection
Re:The MacBook has a sensor that knows the exact angle of th... by hnaccount_rng on Monday September 08, 2025 @12:28PM (#45170302)
It should also be relevant for triggering the "closed let's lock the device" event, right?
Re:The MacBook has a sensor that knows the exact angle of th... by eviks on Monday September 08, 2025 @03:39AM (#45165568)
Trivial with a delay, press enter and close, after 5 seconds it calibrates
Re:The MacBook has a sensor that knows the exact angle of th... by lupusreal on Monday September 08, 2025 @06:20AM (#45166549)
You don't even need that, just ask the user to close the lid and see what the sensor settles on.
Re:The MacBook has a sensor that knows the exact angle of th... by eviks on Monday September 08, 2025 @06:25AM (#45166580)
How would you know the user is ready to perform the command?
Re:The MacBook has a sensor that knows the exact angle of th... by FinnKuhn on Monday September 08, 2025 @06:32AM (#45166628)
You could use the camera to estimate if the laptop is closed.
Re:The MacBook has a sensor that knows the exact angle of th... by eviks on Monday September 08, 2025 @06:39AM (#45166675)
Exactly my thought, but this might not be precise enough in low light conditions? So maybe best used as a fail safe (if camera is lit don't calibrate even if the user pressed confirmed)
Re:The MacBook has a sensor that knows the exact angle of th... by cortesoft on Monday September 08, 2025 @11:14AM (#45169340)
It wouldn’t matter… just tell the user to close and open the lid before pressing enter again, and get the maximum (or minimum) value as the lid being close all the way.
Re:The MacBook has a sensor that knows the exact angle of th... by begemotz on Monday September 08, 2025 @12:13PM (#45170101)
like the answer to any other similar question, with a prompt?
Re:The MacBook has a sensor that knows the exact angle of th... by eviks on Monday September 08, 2025 @12:15PM (#45170125)
Prompt for what? A Key press?
Re:The MacBook has a sensor that knows the exact angle of th... by NuclearPM on Wednesday September 10, 2025 @06:00AM (#45195476)
You really can’t solve this on your own?
Re:The MacBook has a sensor that knows the exact angle of th... by account42 on Monday September 08, 2025 @07:48AM (#45167148)
Do Macs not support USB-keyboards?
Re:The MacBook has a sensor that knows the exact angle of th... by tveyben on Monday September 08, 2025 @10:09AM (#45168499)
USB keyboard?
Re:The MacBook has a sensor that knows the exact angle of th... by corgihamlet on Monday September 08, 2025 @12:37PM (#45170421)
Just plug in an external keyboard.
Re:The MacBook has a sensor that knows the exact angle of th... by raverbashing on Monday September 08, 2025 @01:50AM (#45164985)
> it's hardly "calibration" when it effectively does nothing more than write constants to the EEPROM

What do you think calibration of digital devices entails?

It does involve exactly that. Whereas in an analog device you would be adjusting a potentiometer or something similar

Re:The MacBook has a sensor that knows the exact angle of th... by userbinator on Monday September 08, 2025 @02:14AM (#45165123)
You're forgetting (or purposely omitting) the measurement aspect.
Re:The MacBook has a sensor that knows the exact angle of th... by raverbashing on Monday September 08, 2025 @02:47AM (#45165300)
The measurement aspect is obvious to anyone who thinks two seconds about the point I'm making

The measurement happening on the lid is the "lid closed" point

Re:The MacBook has a sensor that knows the exact angle of th... by userbinator on Monday September 08, 2025 @11:27PM (#45177051)
That's not something that needs to be measured externally.

Also, one wonders just how horrible their production tolerances must be if something like this even needs that sort of calibration in the first place. No other company does this. Nonetheless, even if one accepts this bizarre excuse at face value, it doesn't take a genius to realise that the firmware can "self-calibrate" trivially: If the EEPROM in the sensor is uninitialised, then it just needs to record the max/min value the first time it's closed, and save that as the "lid closed" point.

The only plausible explanation for doing all this extra work is that this isn't merely incompetence; it's intentional malice. Given how much Apple spends on lobbying and other hostile activities, this is not surprising.