From 268527992fbb15ad9a95def89bb81944263abe90 Mon Sep 17 00:00:00 2001 From: Craig McDaniel Date: Wed, 8 Oct 2025 15:59:13 -0500 Subject: [PATCH] updates --- .../templates/ft991a-rigctld.service.j2 | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 ansible/roles/scanner_ft991a/templates/ft991a-rigctld.service.j2 diff --git a/ansible/roles/scanner_ft991a/templates/ft991a-rigctld.service.j2 b/ansible/roles/scanner_ft991a/templates/ft991a-rigctld.service.j2 new file mode 100644 index 0000000..6c957e5 --- /dev/null +++ b/ansible/roles/scanner_ft991a/templates/ft991a-rigctld.service.j2 @@ -0,0 +1,24 @@ +# This file is managed by BusNet Ansible. +# +# This service starts rigctld when the Yeasu FT-991A radio USB is connected to this computer. +# This uses port 4000 +# +# There is a corresponding udev rule that triggers this service automatically when it detects that +# the radio's USB devices are connected. There is also a udev rule that shuts it down when the USB +# is disconnected. +# + +[Unit] +Description=rigctld for Yaesu FT-991a + +[Service] +ExecStartPre=/bin/sleep 4 +# It uses device symlink /dev/radio/ft991a-00 which is the radio's CAT USB interface +ExecStart=/usr/local/bin/rigctld -m 1035 -r /dev/radio/ft991a-00 -t 4000 -s 38400 --set-conf=data_bits=8, stop_bits=1, serial_parity=None, serial_handshake=None, dtr_state=OFF, rts_state=ON +Restart=on-failure +RestartSec=5 +User=busnet +Group=busnet + +[Install] +WantedBy=multi-user.target \ No newline at end of file