Repository navigation
feat(gyro): KONKR Pocket FIT Elite gyro through the Snapdragon Sensor Core - #907
Open
Sunbrella114514 wants to merge 1 commit into
Open
Sunbrella114514 wants to merge 1 commit into
Sunbrella114514 wants to merge 1 commit into
Conversation
… 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-sscexits 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
konkr-pocket-fit-elite.tar.gz, captured withpackages/armada-ssc/capture.shfrom the board's stock Android 15vendor_aandpersistpartitions (mounted read-only). It was captured against the ADSP firmware this image already ships inqcom/sm8750/konkr/pfe, and the hashes inSOURCEmatch the files onmain.pakalasensor config and the same SM8750 s2idle path.50-konkr_pocket_fit_elite.yaml.sscclireports a TDK-Invensenseicm4x6xx, 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-heapon this board.How it was tested
On a KONKR Pocket FIT Elite running
20261109.dfed5d6, with these files staged under/etcand/var(same content as this PR):armada-sscstartshexagonrpcd, and InputPlumber logsSSC sensors openedandGyro bias learnedssccli: X≈1.7, Y≈0.1, Z≈9.8 m/s²)SSC sensors disabled for sleep/enabled after sleepeach time, the device wakes normally, gyro keeps working after resume, and there is no ADSP crashNote: 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