Skip to content

Commit 617a180

Browse files
authored
Merge pull request #73 from FrameworkComputer/sensor-hw-debugging
framework12/debugging: Add framework_tool debugging
2 parents 9744ef8 + 014b5b2 commit 617a180

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

framework12/debugging.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,20 @@ forwards it to GNOME/KDE via dbus.
8888

8989
If no, likely your kernel is older than 6.12.
9090

91+
### Check that the sensor is working
92+
93+
Run the below command and check that the lid angle and sensor data responds
94+
correctly when you move the device or bend the lid at the hinge.
95+
96+
```
97+
98+
> sudo watch -n1 framework_tool --sensors
99+
Accelerometers:
100+
Lid Angle: 118 Deg
101+
Lid Sensor: X=+0.00G Y=+0.86G, Z=+0.53G
102+
Base Sensor: X=-0.03G Y=-0.07G, Z=+1.02G
103+
```
104+
91105
### Check that the kernel exposes accelerometer data
92106

93107
```

0 commit comments

Comments
 (0)