Minicom Advanced Systems CMG-DCM Network Card User Manual


 
Operator's guide
the port's Linux device name, and
the baud rate currently in operation on the port.
You can query a single port by using the port number or key as arguments to the
gnblocks command:
gnblocks 2
gnblocks 0x7002
gnblocks 28674
(In the last example, 28674 is the key ID 0x7002 expressed in decimal: hex
7002 = 7 × 16
3
+ 2 = 28674.)
Another way to find out the index, key ID, name or device name of a particular
serial port is to issue the command serialmap. A line will be output for each
serial port, in the form
Port 0, Key 7000, name tts0, device /dev/ttyS0, baud 115200
where port and baud are in decimal, and Key in hexadecimal. The related
command serialmap -k returns the key ID in decimal.
Digitizer status
The Güralp DM24mk3 digitizer outputs status information as a separate stream.
If you have a DM24mk3, you can monitor this stream with the command
dm24mk3cds -s port-number
Whilst this program is running, it will output any status blocks it receives on
that port directly onto your terminal:
HPA1CD: Wed Jun 30 14:51:13 2004
gps_fix=2 (0x32)
gps_mode=A (0x41)
gps_control=255 (on)
gps_power=255 (on)
gps_offset=167 ticks
busy_counter=0 ticks
locking=0 unlocking=0 centering=0
calibration V N E
The information given, after the stream ID (which will always end in CD), is as
follows:
a time-stamp for the status block;
December 2005 89