Skip to content

Conversation

@quic-vkatoch
Copy link
Contributor

@quic-vkatoch quic-vkatoch commented Dec 8, 2025

Create systemd service files for DSP RPC daemons (aDSP, cDSP, gDSP, sDSP) with device-conditional startup.

Each service uses After directives to ensure proper ordering with corresponding device units (dev-fastrpc-*-device and dev-fastrpc-*-secure.device),and ConditionPathExists directives to conditionally start only when at least one of the device paths exists (/dev/fastrpc-* or /dev/fastrpc-*-secure). Includes automatic restart on failure with 5-second delay between attempts. Services are enabled for multi-user.target.

Fixes: #245

@quic-vkatoch quic-vkatoch marked this pull request as ready for review December 17, 2025 12:17
ekanshibu
ekanshibu previously approved these changes Dec 22, 2025
Chennak-quic
Chennak-quic previously approved these changes Dec 22, 2025
Copy link
Contributor

@ekanshibu ekanshibu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check the CI failures.

@ekanshibu ekanshibu dismissed their stale review December 22, 2025 08:42

CI is failing

@quic-vkatoch quic-vkatoch force-pushed the systemd-services branch 2 times, most recently from 64ea2c2 to 35a0cff Compare December 22, 2025 10:12
@quic-vkatoch
Copy link
Contributor Author

Please check the CI failures.

Will Update

Create systemd service files for DSP RPC daemons (aDSP, cDSP,
gDSP, sDSP) with device-conditional startup.

Each service uses After directives to ensure proper ordering with
corresponding device units (dev-fastrpc-*-device and
dev-fastrpc-*-secure.device),and ConditionPathExists directives to
conditionally start only when at least one of the device paths
exists (/dev/fastrpc-* or /dev/fastrpc-*-secure). Includes
automatic restart on failure with 5-second delay between attempts.
Services are enabled for multi-user.target.

Signed-off-by: Vinayak Katoch <vkatoch@qti.qualcomm.com>
@quic-vkatoch quic-vkatoch force-pushed the systemd-services branch 3 times, most recently from e2c675f to ed0938b Compare December 24, 2025 11:10
Configure systemd unit directory through DISTCHECK_CONFIGURE_FLAGS
to avoid permission denied errors during distcheck.

Signed-off-by: Vinayak Katoch <vkatoch@qti.qualcomm.com>
@ekanshibu ekanshibu enabled auto-merge December 29, 2025 05:35
@ekanshibu ekanshibu merged commit 9b45b68 into qualcomm:development Dec 31, 2025
21 checks passed
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.

Add services and udev rules file to fastrpc project

4 participants