Jump to content

User:LongnoseRob/hexagonrpcd debugging

From postmarketOS Wiki

If you want to use hexagonrpcd and libssc to interface Qcom sdsp with iio-sensor-proxy, here are some helping steps.


  1. make sure you have the slpi_pas node in your DT active and pointing to the correct fw-file.
  2. install hexagonrpcd and the neede firmware(s)
  3. create a folder /var/log/fastrpc
  4. run sudo chown fastrpc:fastrpc /var/log/fastrpc
  5. edit the /etc/init.d/hexagonrpcd* files and add entries like:
    1. outout_log="/var/log/fastrpc/hexagon_sdsp_output"
    2. error_log="/var/log/fastrpc/hexagon_sdsp_error"
  6. enable the wanted hexagonrpcd... service by using rc-update
  7. reboot the device
  8. look at the logs and debug