From 2b918b887507f368cdca15a822639b17dd92f0f5 Mon Sep 17 00:00:00 2001 From: Links Date: Sat, 16 Apr 2022 16:22:13 +0200 Subject: [PATCH] latest hamlib has TCP support for the X6100 see https://github.com/Hamlib/Hamlib/issues/1009 --- userpatches/customize-image.sh | 1 - .../overlay/etc/systemd/system/rigctld.service | 3 +-- .../overlay/etc/systemd/system/rigctld_socat.service | 12 ------------ 3 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 userpatches/overlay/etc/systemd/system/rigctld_socat.service diff --git a/userpatches/customize-image.sh b/userpatches/customize-image.sh index 8d1a19b..43618b1 100644 --- a/userpatches/customize-image.sh +++ b/userpatches/customize-image.sh @@ -81,7 +81,6 @@ Main() { chmod +x /root/x6100_cat_mux systemctl enable x6100_cat_mux.service - systemctl enable rigctld_socat.service systemctl enable rigctld.service systemctl enable usbc_port_cat.service diff --git a/userpatches/overlay/etc/systemd/system/rigctld.service b/userpatches/overlay/etc/systemd/system/rigctld.service index 1eb5bc8..8fb9518 100644 --- a/userpatches/overlay/etc/systemd/system/rigctld.service +++ b/userpatches/overlay/etc/systemd/system/rigctld.service @@ -1,13 +1,12 @@ [Unit] Description=Hamlib rigctld Requires=x6100_socat_cat.service -Requires=rigctld_socat.service Requires=x6100_cat_mux.service Requires=x6100_app.service [Service] User=root -ExecStart=/usr/bin/rigctld --model=3087 --rig-file=/dev/ttyX6100Cat +ExecStart=/usr/bin/rigctld --model=3087 --rig-file=127.0.0.1:9090 Restart=on-failure [Install] diff --git a/userpatches/overlay/etc/systemd/system/rigctld_socat.service b/userpatches/overlay/etc/systemd/system/rigctld_socat.service deleted file mode 100644 index 99b05cb..0000000 --- a/userpatches/overlay/etc/systemd/system/rigctld_socat.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=Hamlib rigctld socat -Requires=x6100_socat_cat.service -Requires=x6100_cat_mux.service - -[Service] -User=root -ExecStart=/usr/bin/socat pty,link=/dev/ttyX6100Cat,raw,echo=0 tcp:127.0.0.1:9090 -Restart=on-failure - -[Install] -WantedBy=multi-user.target \ No newline at end of file