summary refs log tree commit diff
path: root/bin/man
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-11-07 21:28:37 -0500
committerJune McEnroe <june@causal.agency>2018-11-07 21:28:37 -0500
commit507aced2e116a6acb6ffb83acddfab5545d40116 (patch)
treecb08651b4f4f9ae6cc672cebc31b32ac28942810 /bin/man
parentAdd Low — Double Negative (diff)
downloadsrc-507aced2e116a6acb6ffb83acddfab5545d40116.tar.gz
src-507aced2e116a6acb6ffb83acddfab5545d40116.zip
Implement all of MSR606
Diffstat (limited to 'bin/man')
-rw-r--r--bin/man/msr606.1105
1 files changed, 105 insertions, 0 deletions
diff --git a/bin/man/msr606.1 b/bin/man/msr606.1
new file mode 100644
index 00000000..fc18635b
--- /dev/null
+++ b/bin/man/msr606.1
@@ -0,0 +1,105 @@
+.Dd November 7, 2018
+.Dt MSR606 1
+.Os "Causal Agency"
+.
+.Sh NAME
+.Nm msr606
+.Nd magnetic stripe card reader/writer
+.
+.Sh SYNOPSIS
+.Nm
+.Op Fl RTWchiltwz
+.Op Fl L Ar led
+.Op Fl Z Ar zero
+.Op Fl b Ar bpc
+.Op Fl e Ar track
+.Op Fl f Ar tty
+.
+.Sh DESCRIPTION
+.Nm
+operates the MSR606 magnetic stripe card reader/writer.
+.
+.Pp
+The arguments are as follows:
+.Bl -tag -width Ds
+.
+.It Fl L Ar led
+Set LEDs.
+The values for
+.Ar led
+are:
+.Sy n
+for none,
+.Sy a
+for all,
+.Sy g
+for green,
+.Sy y
+for yellow,
+.Sy r
+for red.
+.
+.It Fl R
+Read raw data from a card to standard output.
+.
+.It Fl T
+Perform a sensor test.
+.
+.It Fl W
+Write raw data to a card from standard input.
+.
+.It Fl Z Ar zero
+Set leading zero.
+.Ar zero
+is a comma-separated list of two numbers
+indicating the leading zero setting
+for tracks 1 & 3
+and track 2,
+respectively.
+.
+.It Fl b Ar bpc
+Set bits per character for each track.
+.Ar bpc
+is a comma-separated list of 3 numbers
+indicating the BPC for each track.
+Valid values range from 5 to 8.
+.
+.It Fl c
+Print the coercivity status.
+.
+.It Fl e Ar track
+Erase a card.
+.Ar track
+is a number from 1 to 7
+representing a 3-bit set
+of tracks to erase.
+.
+.It Fl f Ar tty
+Open the device
+.Ar tty .
+The default device is
+.Pa /dev/ttyUSB0 .
+.
+.It Fl h
+Set high coercivity.
+.
+.It Fl i
+Reset the device.
+.
+.It Fl l
+Set low coercivity.
+.
+.It Fl r
+Read ISO format data from card to standard output.
+.
+.It Fl t
+Perform communication and RAM tests.
+Print the hardware model and firmware version.
+This is the default operation.
+.
+.It Fl w
+Write ISO format data to card from standard input.
+.
+.It Fl z
+Print the leading zero setting.
+.El