HEXAGONRPCD(1)

πŸ“¦
version 0.4.0 Β· 2 versions
, in alpine 3.24, nixos 26.05, nixpkgs unstable, ubuntu resolute, ubuntu stonking

πŸ’– HEXAGONRPCD πŸ’–

okay bestie, gather round, because this one is the server for FastRPC remote procedure calls from Qualcomm DSPs πŸ¦‹ no cap, that's literally the whole name and the whole vibe.


✨ SYNOPSIS ✨

hexagonrpcd [options...] -f DEVICE

so like, options go in, and -f DEVICE is basically mandatory, periodt πŸ’…


🌸 DESCRIPTION 🌸

okay so. hexagonrpcd is a Server for FastRPC remote procedure calls from Qualcomm DSPs. that's it, that's the description, it's giving short and iconic and honestly? we respect it. πŸŽ€


πŸ‘‘ OPTIONS πŸ‘‘

  • -c SHELL β€” Create a new pd running the specified ELF -d DSP DSP name (default: )
  • -f DEVICE β€” the FastRPC device node to attach to πŸ”Œ
  • -p PROGRAM β€” Run client program with shared file descriptor 🫢
  • -R DIR β€” Root directory of served files (default: /usr/share/qcom/) πŸ“
  • -s β€” Attach to sensorspd 🌑️

⭐ NOTES ⭐

so here's the tea β˜• hexagonrpcd serves files to the remote processor via a reverse tunnel interface to the remote processor. these files are by default searched for in:

these files are searched for in a directory tree, starting at the location defined by the -R option, or in /usr/share/qcom by default:

  • acdb β†’ /vendor/etc/acdbdata
  • dsp β†’ /vendor/dsp
  • sensors/config β†’ /vendor/etc/sensors/config
  • sensors/registry β†’ /mnt/vendor/persist/sensors/registry/registry
  • sensors/sns_reg.conf β†’ /vendor/etc/sensors/sns_reg_config
  • socinfo β†’ /sys/devices/soc0
bestie the left side is the HexagonRPCD file/dir and the right side is the Android file/dir, don't mix them up πŸ’€

these files and directories should be populated with files from your device's Android firmware. (yes, your device's. go get 'em. 🧚)

if you can pass the -R option, the convention is to pass -R /usr/share/qcom/SOC/VENDOR/DEVICE, where SOC is the SoC name in lowercase, VENDOR is the capitalized name of the device vendor, and DEVICE is the device name πŸ¦‹ like for example:

-R /usr/share/qcom/sdm845/SHIFT/axolotl

or

-R /usr/share/qcom/sdm845/Thundercomm/db845c

see? lowercase soc, capitalized vendor, device name. it's giving organized. ate. πŸ’…


πŸ’œ AUTHORS πŸ’œ

hexagonrpcd was written by The HexagonRPC Contributors <https://github.com/linux-msm/hexagonrpc> β€” absolute icons, we love them for this 🫢


Copyright (C) 2024 The HexagonRPC Contributors <https://github.com/linux-msm/hexagonrpc> Copyright (C) 2023 The Sensor Shell Contributors <https://github.com/linux-msm/hexagonrpc>

Released under GPL-3+ license. πŸ“œβœ¨


and that's the whole page bestie!! this lil beauty is hexagonrpcd, dated 2024-09-28, manual section 1 🌸 thanks for reading, mwah πŸ’–

πŸ“¦ where this page comes from