Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Pressing enter while closed might be a little difficult.


Minimum angle seen during a full motion would be perfectly reasonable.


Trivial with a delay, press enter and close, after 5 seconds it calibrates


You don't even need that, just ask the user to close the lid and see what the sensor settles on.


How would you know the user is ready to perform the command?


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.


like the answer to any other similar question, with a prompt?


Prompt for what? A Key press?


You really can’t solve this on your own?


You could use the camera to estimate if the laptop is closed.


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)


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.


That seems an extreme measure to ensure the security/integrity of a screen hinge sensor input ( or protect this tiny revenue stream )


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.


It feels like Apple's implementation leans more toward vendor lock-in than purely user protection


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


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.


It should also be relevant for triggering the "closed let's lock the device" event, right?


Just plug in an external keyboard.


3rd party keyboard :)


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.


USB keyboard?


Do Macs not support USB-keyboards?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: