From 9720369548deb31910c6addabad74886653444bc Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Wed, 6 Nov 2019 16:14:57 -0500 Subject: Update LIN demo to use lin-config Changes include: - Add patch to fix lin-config recipe build QA error. - Tweak lin-config recipe to install lin_config as executable. - Rework sllin-demo systemd unit and start_lin_demo.sh script to use lin_config with an appropriate configuration file that enables polling of the steering wheel adapter instead of just using ldattach. Bug-AGL: SPEC-2918 Change-Id: I3258b7e34cecbbb1cfb93ea6f63a44f0bbb2c06f Signed-off-by: Scott Murray --- recipes-kernel/sllin/files/sllin-demo.service | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'recipes-kernel/sllin/files/sllin-demo.service') diff --git a/recipes-kernel/sllin/files/sllin-demo.service b/recipes-kernel/sllin/files/sllin-demo.service index 7eb6cfac4..2f2f5ac23 100644 --- a/recipes-kernel/sllin/files/sllin-demo.service +++ b/recipes-kernel/sllin/files/sllin-demo.service @@ -1,13 +1,13 @@ [Unit] -Description = LIN DEMO startup +Description=LIN demo configuration +ConditionPathExists=/dev/ttyUSB0 After=afm-system-daemon.service [Service] Type=forking -PIDFile=/var/run/lin_ldattach +PIDFile=/var/run/lin_config.pid ExecStart=/usr/bin/start_lin_demo.sh RemainAfterExit=yes - [Install] WantedBy=multi-user.target -- cgit 1.2.3-korg