APS(4)
β¨ APS(4) β¨
okay bestie, this is the manual page for aps β the ThinkPad Active Protection System accelerometer driver, from the Kernel Interfaces Manual. yes it's giving hardware-nerd energy and yes I'm obsessed π
πΈ NAME πΈ
aps β ThinkPad Active Protection System accelerometer π
β SYNOPSIS β
aps0 at isa? port 0x1600
π DESCRIPTION π
So the aps driver provides support for several sensors found in some ThinkPad laptops. lowkey iconic of it π«Ά
The sensors currently exposed via the envsys(4) interface are:
x-accelerationβ units: integer β X-axis accelerationy-accelerationβ units: integer β Y-axis accelerationx-variableβ units: integer β Weighted X acceleration?y-variableβ units: integer β Weighted Y acceleration?temperature 1β units: degC β Unknown temperaturetemperature 2β units: degC β Unknown temperaturekeyboard activeβ units: boolean β Keyboard activitymouse activeβ units: boolean β Mouse activitylid openβ units: boolean β Lid state
(and yeah, those question marks on the weighted accelerations are literally in the original β nobody knows for sure and honestly? relatable π)
π¦ SEE ALSO π¦
envsys(4), hpacel(4), thinkpad(4), envstat(8)
π HISTORY π
The aps driver first appeared in OpenBSD 3.8 and was then ported to NetBSD 5.0. glow-up behavior β¨
π AUTHORS π
The aps driver was written by Jonathan Gray <jsg@openbsd.org>.
π CAVEATS π
okay so there are a few issues and we gotta be honest about them, no cap:
- The
apsdriver does not maintain state and subsequently does not take evasive action when it thinks the hard drive is in danger. Possible actions would include spinning down the hard drive in case excessive tremor is detected by the sensors. (so like, it senses the fall but does not save the drive β tragic, I know π) - The Y axis on
X40and possibly other models seems to be inverted. It is unknown how to distinguish between different versions of the accelerometer to compensate for this in the driver at this time. π - The sensor values are refreshed every
0.5 seconds. Because no protection measures are taken, this is unnecessary and may have a negative effect on battery life. not great, not terrible π₯ - As IBM provides no documentation, it is not known what all the available sensors are used for. (mystery sensors, main character energy fr fr)
Dept. of cute sign-offs π: this page comes from the Debian source, version/date <italic>July 13, 2011</italic>, and it's filed under APS(4). slay, go read your sensors bestie π
π
π¦ where this page comes from
- nixpkgs unstable: netbsd-source 11.0
- Copyright (c) 2005 Jonathan Gray <jsg@openbsd.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms