Skip to content

feat(gyro): KONKR Pocket FIT Elite gyro through the Snapdragon Sensor Core - #907

Open
Sunbrella114514 wants to merge 1 commit into
armada-os:mainfrom
Sunbrella114514:feat/konkr-pocket-fit-elite-gyro
Open

Sunbrella114514 wants to merge 1 commit into
armada-os:mainfrom
Sunbrella114514:feat/konkr-pocket-fit-elite-gyro

Conversation

@Sunbrella114514

Copy link
Copy Markdown

What's wrong

The KONKR Pocket FIT Elite (SM8750) has no gyro: there is no SSC data for the board and its InputPlumber config has no IMU source, so armada-ssc exits at boot and Armada Control offers no gyro setting. The SM8650 Pocket FIT got gyro in #795; the Elite was left out. Reported in #756.

What this changes

  • armada-ssc data: konkr-pocket-fit-elite.tar.gz, captured with packages/armada-ssc/capture.sh from the board's stock Android 15 vendor_a and persist partitions (mounted read-only). It was captured against the ADSP firmware this image already ships in qcom/sm8750/konkr/pfe, and the hashes in SOURCE match the files on main.
  • armada-ssc patch: turn off SSC island mode. It is the same change as the Odin 3's, because the board uses the same pakala sensor config and the same SM8750 s2idle path.
  • InputPlumber 0010: add a FastRPC IMU source to 50-konkr_pocket_fit_elite.yaml. ssccli reports a TDK-Invensense icm4x6xx, the same part as the SM8650 Pocket FIT, so it uses the same mount matrix. The ADSP exposes only the secure node (/dev/fastrpc-adsp-secure), as on the Odin 3.

No kernel or device-tree change was needed. The ADSP FastRPC node already gets adsp-rpc-remote-heap on this board.

How it was tested

On a KONKR Pocket FIT Elite running 20261109.dfed5d6, with these files staged under /etc and /var (same content as this PR):

  • armada-ssc starts hexagonrpcd, and InputPlumber logs SSC sensors opened and Gyro bias learned
  • Lying flat, the accelerometer reads gravity on +Z (raw ssccli: X≈1.7, Y≈0.1, Z≈9.8 m/s²)
  • On the Steam Deck controller type, pitch, yaw and roll all read the right way in Steam's controller test and in game
  • Several s2idle cycles: InputPlumber logs SSC sensors disabled for sleep / enabled after sleep each time, the device wakes normally, gyro keeps working after resume, and there is no ADSP crash

Note: DualSense roll

On the DualSense controller type, roll reads reversed, while the Steam Deck type is correct. InputPlumber's Deck target negates z when it writes the report, but the DualSense target writes the axes unchanged. So this looks target-wide rather than specific to this board's matrix, and the Pocket FIT and Odin 3 use the same matrix. I left it out of this PR.

Closes #756

🤖 Generated with Claude Code

… Core

The SM8750 Pocket FIT Elite fits the same TDK ICM-4x6xx as the SM8650
Pocket FIT, but had no SSC data and no IMU source, so armada-ssc never
started and Armada Control offered no gyro setting.

- armada-ssc: data captured with capture.sh from the board's stock
  Android 15 vendor and persist partitions, against the ADSP firmware
  already shipped in qcom/sm8750/konkr/pfe (hashes match)
- armada-ssc: turn off SSC island mode, the same change as the Odin 3,
  which shares this pakala sensor config
- InputPlumber 0010: IMU source on the secure ADSP FastRPC node with the
  Pocket FIT's ICM-4x6xx mount matrix

Tested on a KONKR Pocket FIT Elite (build 20261109.dfed5d6): InputPlumber
logs "SSC sensors opened" and learns a gyro bias, motion reads correctly
on the Steam Deck target, flat on the table the accelerometer reads
gravity on +Z, and repeated s2idle cycles disable and re-enable the
sensors without an ADSP crash.

Closes armada-os#756

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Gyro Not Working

1 participant