drivers/misc/lis3lv02d

STMicroelectronics LIS3LV02Dx and LIS331DLH motion sensors

Small STMicroelectronics 3-axis accelerometers attached over I2C or SPI that detect motion, tilt, and sudden drops. They were famously used in mid-2000s ThinkPads and other laptops for hard-drive shock protection (HDAPS), and similar parts still ship in embedded gear today.

keep-annotate conf=0.84 deploy=low replacement=none subsystem=misc category=sensor-iio
84%

recommendation

Worth keeping but its niche should be documented. The chips are still sold new by ST in 2025, and the code is being actively maintained upstream (a March 2026 fix and a 2025 conversion to the faux_device API both landed), so it is not abandoned. However, real-world Linux use today is mostly legacy laptops like older ThinkPads with HDAPS, so a note about its legacy and embedded niche would help future maintainers judge its importance.</recommendation_summary> </invoke>

repository signals

6 files
2,007 source lines
21 commits, 5y
+85 / −89 lines added / removed, 5y
13 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 21 total · active in 19/61 months
2021 2022 2023 2024 2025 2026 2021-04: 1 commit · +1 −0 2021-05: 0 commits · +0 −0 2021-06: 0 commits · +0 −0 2021-07: 0 commits · +0 −0 2021-08: 1 commit · +0 −1 2021-09: 0 commits · +0 −0 2021-10: 1 commit · +5 −4 2021-11: 0 commits · +0 −0 2021-12: 0 commits · +0 −0 2022-01: 1 commit · +1 −3 2022-02: 0 commits · +0 −0 2022-03: 0 commits · +0 −0 2022-04: 0 commits · +0 −0 2022-05: 0 commits · +0 −0 2022-06: 0 commits · +0 −0 2022-07: 0 commits · +0 −0 2022-08: 1 commit · +1 −2 2022-09: 0 commits · +0 −0 2022-10: 0 commits · +0 −0 2022-11: 1 commit · +2 −3 2022-12: 0 commits · +0 −0 2023-01: 0 commits · +0 −0 2023-02: 0 commits · +0 −0 2023-03: 2 commits · +33 −33 2023-04: 0 commits · +0 −0 2023-05: 1 commit · +1 −1 2023-06: 0 commits · +0 −0 2023-07: 1 commit · +1 −1 2023-08: 0 commits · +0 −0 2023-09: 0 commits · +0 −0 2023-10: 0 commits · +0 −0 2023-11: 0 commits · +0 −0 2023-12: 1 commit · +1 −0 2024-01: 0 commits · +0 −0 2024-02: 1 commit · +13 −8 2024-03: 0 commits · +0 −0 2024-04: 0 commits · +0 −0 2024-05: 0 commits · +0 −0 2024-06: 0 commits · +0 −0 2024-07: 0 commits · +0 −0 2024-08: 1 commit · +2 −2 2024-09: 1 commit · +0 −1 2024-10: 0 commits · +0 −0 2024-11: 0 commits · +0 −0 2024-12: 0 commits · +0 −0 2025-01: 0 commits · +0 −0 2025-02: 1 commit · +12 −18 2025-03: 0 commits · +0 −0 2025-04: 0 commits · +0 −0 2025-05: 1 commit · +2 −2 2025-06: 0 commits · +0 −0 2025-07: 1 commit · +2 −2 2025-08: 0 commits · +0 −0 2025-09: 0 commits · +0 −0 2025-10: 1 commit · +2 −4 2025-11: 0 commits · +0 −0 2025-12: 0 commits · +0 −0 2026-01: 0 commits · +0 −0 2026-02: 2 commits · +2 −2 2026-03: 1 commit · +4 −2 2026-04: 0 commits · +0 −0

sources

  1. lore.kernel.org

    The driver received a recent upstream maintenance fix in March 2026, showing it is still live code rather than abandoned.

  2. lore.kernel.org

    The driver was updated in 2025 for core infrastructure changes (conversion to faux_device), indicating continuing adaptation to current kernel internals.

  3. st.com

    ST lists LIS331DLH as an active product in volume production; this is one of the sensor variants handled by the driver family.

  4. estore.st.com

    ST's store showed LIS331DLHTR as active and in stock, supporting that at least part of the supported hardware family was still sold new in 2025/2026.

  5. thinkwiki.org

    A documented real-world Linux deployment niche for this class of accelerometer support is older ThinkPad HDAPS-era laptops, pointing to legacy rather than mainstream new deployments.

codex reasoning notes (technical)

Local source inspection via exec_command shows a real SPI/I2C accelerometer driver supporting legacy LIS3 variants including LIS331DLH. lore_file_timeline and lore_activity show steady recent upkeep through 2025-2026 and no visible removal-oriented subjects in recent traffic, so removal/deprecate is not justified. Web search plus open/find on ST pages shows LIS331DLH still marketed as active and sold new; ThinkWiki was obtained via web search and supports the legacy-laptop deployment story. Net: hardware family is not fully obsolete, but Linux deployments today look niche/low and mostly legacy or embedded, so keep the driver but annotate its legacy/niche status.