You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sensors (gyro, acceleration, ...) seem to be managed via the SCSS/SLPI subsystems (qcsubsys8180.sys, qcslpi8180.mbn, libsdsprpc.dll, qcSensors8180.dll). Add support for that.
Enabling remoteproc@2400000 (qcom,sc8180x-slpi-pas, firmware qcom/msft/surface/pro-x-sq2/qcslpi8180.mbn) with fastrpc and hexagonrpcd-sdsp exposes the IMU and compass through libssc / iio-sensor-proxy (building on @tawheedmm's SLPI DT setup).
For natural GNOME auto-rotation in all 4 orientations, the lid accelerometer uses ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, -1 in udev (81-surface-pro-x-sensors.rules).
Activity
robertijtsma commentedon Nov 20, 2026
Status update for sensors on Surface Pro X (tested on SQ2 /
7.3.1-1-surface):LSM6DSOAccel/Gyro +AK0991xMagnetometer):remoteproc@2400000(qcom,sc8180x-slpi-pas, firmwareqcom/msft/surface/pro-x-sq2/qcslpi8180.mbn) withfastrpcandhexagonrpcd-sdspexposes the IMU and compass throughlibssc/iio-sensor-proxy(building on @tawheedmm's SLPI DT setup).ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, -1in udev (81-surface-pro-x-sensors.rules).TCS3430oni2c2/0-0039):TCS3430XYZ/IR ambient light sensor sits oni2c@888000at0x39. Addingals@39 { compatible = "ams,tcs3430"; reg = <0x39>; };and thespx_tcs3430IIO driver exposes/sys/bus/iio/devices/iio:device*/in_illuminance_inputdirectly to userspace.SW_LIDon TLMM GPIO 121):gpio-keys-lidon TLMM GPIO 121 (GPIO_ACTIVE_LOW, internal pull-up): https://github.com/robertijtsma/surface-pro-x-sq2-linux/blob/main/dts/sc8180x-surface-pro-x-sq2-lid.dtsi