From 014b5b2799368cbfd917a92733d1154a286b6e56 Mon Sep 17 00:00:00 2001 From: Daniel Schaefer Date: Wed, 22 Oct 2025 10:26:43 +0800 Subject: [PATCH] framework12/debugging: Add framework_tool debugging Signed-off-by: Daniel Schaefer --- framework12/debugging.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/framework12/debugging.md b/framework12/debugging.md index adeeffa..a9f7a5b 100644 --- a/framework12/debugging.md +++ b/framework12/debugging.md @@ -88,6 +88,20 @@ forwards it to GNOME/KDE via dbus. If no, likely your kernel is older than 6.12. +### Check that the sensor is working + +Run the below command and check that the lid angle and sensor data responds +correctly when you move the device or bend the lid at the hinge. + +``` + +> sudo watch -n1 framework_tool --sensors +Accelerometers: + Lid Angle: 118 Deg + Lid Sensor: X=+0.00G Y=+0.86G, Z=+0.53G + Base Sensor: X=-0.03G Y=-0.07G, Z=+1.02G +``` + ### Check that the kernel exposes accelerometer data ```