summaryrefslogtreecommitdiff
path: root/ham/yaesu/patches
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2002-05-08 00:02:39 +0000
committerhubertf <hubertf@pkgsrc.org>2002-05-08 00:02:39 +0000
commit8bf629ffe53e3b9e98cc91167413f0f76a295eff (patch)
treeface94dc60cd84f78b18289f80c7afed473653b2 /ham/yaesu/patches
parent33157995eed13d0e79760d2db1a623ddc3cd1fe1 (diff)
downloadpkgsrc-8bf629ffe53e3b9e98cc91167413f0f76a295eff.tar.gz
Add yaesu-0.12: control interface for Yaesu FT-890 HF transceiver
Archaic program to control a Yaesu FT-890 HF transceiver off of a serial port. (This is of interest to a ham radio operator or SWL.) Author: kg0cq@amsat.org (Emarit Ranu) Submitted by Dawid SzymaƱski <dawszy@arhea.net> in PR 16378
Diffstat (limited to 'ham/yaesu/patches')
-rw-r--r--ham/yaesu/patches/patch-aa12
-rw-r--r--ham/yaesu/patches/patch-ab15
-rw-r--r--ham/yaesu/patches/patch-ac17
-rw-r--r--ham/yaesu/patches/patch-ad42
4 files changed, 86 insertions, 0 deletions
diff --git a/ham/yaesu/patches/patch-aa b/ham/yaesu/patches/patch-aa
new file mode 100644
index 00000000000..ca9772672c6
--- /dev/null
+++ b/ham/yaesu/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/05/08 00:02:39 hubertf Exp $
+
+--- main.c.orig Sat Apr 13 21:01:49 2002
++++ main.c
+@@ -5,7 +5,6 @@
+ #include <stdlib.h>
+ #include <termios.h>
+ #include <signal.h>
+-#include <asm/io.h>
+ #include <config.h>
+ float freq_to_change_to;
+ char flag_data_return[5];
diff --git a/ham/yaesu/patches/patch-ab b/ham/yaesu/patches/patch-ab
new file mode 100644
index 00000000000..46dff3a5f72
--- /dev/null
+++ b/ham/yaesu/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/05/08 00:02:39 hubertf Exp $
+
+--- README.orig Sat Apr 13 21:05:20 2002
++++ README
+@@ -34,8 +34,8 @@
+ to make a note of it. Off to usage...
+
+ Using my program is very simple, to execute it you must provide the com port
+-as an argument to the command line. Remember, com1 is /dev/ttyS0 and com2
+-is /dev/ttyS1, etc. As an example, my box is on com4 (/dev/tty3), so I must
++as an argument to the command line. Remember, com1 is /dev/ttyE0 and com2
++is /dev/ttyE1, etc. As an example, my box is on com4 (/dev/ttyE3), so I must
+ type in the following...
+
+ 'yaesu 3'
diff --git a/ham/yaesu/patches/patch-ac b/ham/yaesu/patches/patch-ac
new file mode 100644
index 00000000000..2c7a8fe8597
--- /dev/null
+++ b/ham/yaesu/patches/patch-ac
@@ -0,0 +1,17 @@
+$NetBSD: patch-ac,v 1.1.1.1 2002/05/08 00:02:39 hubertf Exp $
+
+--- config.h.orig Sat Apr 13 21:06:53 2002
++++ config.h
+@@ -1,10 +1,10 @@
+ /*
+ * This is the port the interface will be on.
+- * Remember, ttyS0 is DOS' com1, ttyS1 is com2 and so on.
++ * Remember, ttyE0 is DOS' com1, ttyE1 is com2 and so on.
+ * This will be configurable at runtime via a config file.
+ */
+
+-/* #define PORT "/dev/ttyS3" */
++/* #define PORT "/dev/ttyE3" */
+
+ /*
+ * This should never have to be changed, it is the pacing byte.
diff --git a/ham/yaesu/patches/patch-ad b/ham/yaesu/patches/patch-ad
new file mode 100644
index 00000000000..21a1968d3d1
--- /dev/null
+++ b/ham/yaesu/patches/patch-ad
@@ -0,0 +1,42 @@
+$NetBSD: patch-ad,v 1.1.1.1 2002/05/08 00:02:39 hubertf Exp $
+
+--- main.c.orig Sat Apr 13 21:07:41 2002
++++ main.c
+@@ -100,29 +100,29 @@
+ if (argc == 2) {
+ switch(argv[1][0]) {
+ case '0':
+- if ((fdSer = open("/dev/ttyS0", O_RDWR )) < 0) {
+- perror("open of /dev/ttyS0 failed!!!\n");
++ if ((fdSer = open("/dev/ttyE0", O_RDWR )) < 0) {
++ perror("open of /dev/ttyE0 failed!!!\n");
+ exit(3);
+ }
+ break;
+
+ case '1':
+- if ((fdSer = open("/dev/ttyS1", O_RDWR )) < 0) {
+- perror("open of /dev/ttyS1 failed!!!\n");
++ if ((fdSer = open("/dev/ttyE1", O_RDWR )) < 0) {
++ perror("open of /dev/ttyE1 failed!!!\n");
+ exit(3);
+ }
+ break;
+
+ case '2':
+- if ((fdSer = open("/dev/ttyS2", O_RDWR )) < 0) {
+- perror("open of /dev/ttyS2 failed");
++ if ((fdSer = open("/dev/ttyE2", O_RDWR )) < 0) {
++ perror("open of /dev/ttyE2 failed");
+ exit(3);
+ }
+ break;
+
+ case '3':
+- if ((fdSer = open("/dev/ttyS3", O_RDWR )) < 0) {
+- perror("open of /dev/ttyS3 failed");
++ if ((fdSer = open("/dev/ttyE3", O_RDWR )) < 0) {
++ perror("open of /dev/ttyE3 failed");
+ exit(3);
+ }
+ break;