PureOS Crimson on the Librem 5, where can I get read from the motion and tilt sensors. Are there any apps other than screen rotation I can look at for reference?
The magic terminal command is monitor-sensor (although it only shows change, not raw). You can find old related threads with more info, like Testing proximity/ambient-sensor
that is a nice test, but the reports are too gross to be usable for my needs
Waiting for iio-sensor-proxy to appear
+++ iio-sensor-proxy appeared
=== Has accelerometer (orientation: undefined)
=== Has ambient light sensor (value: 0.000000, unit: lux)
=== Has proximity sensor (near: 0)
Accelerometer orientation changed: right-up
Accelerometer orientation changed: normal
Accelerometer orientation changed: right-up
Accelerometer orientation changed: left-up
Accelerometer orientation changed: bottom-up
Light changed: 0.900000 (lux)
Light changed: 1.900000 (lux)
Accelerometer orientation changed: right-up
Light changed: 3.400000 (lux)
Light changed: 0.000000 (lux)
Accelerometer orientation changed: left-up
Accelerometer orientation changed: right-up
At least the light sensor gives a number but left right up down is not enough I want numerical outputs for
-gyro
-acceleration on all axises
-hall(compass) sensor
monitor-sensor --help just launches the monitor-sensor.
Hence the additional link that will lead you deeper in to the rabbithole of dev tools…
got it
leading to here:
I have something running but etx (extreme-tuxracer) is not really set up for touchscreen as it comes from apt, I will have to play around but I have a working (as in outputting numbers and I think a 2-axis joystick device) but untested as I dont have a game yet.
Forgot also the wiki: Ambient Light and Proximity · Wiki · Librem5 / docs / Librem 5 Community Wiki · GitLab