1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
.\"
.\" Copyright © 2016 Keith Packard <keithp@keithp.com>
.\"
.\" This program is free software; you can redistribute it and/or modify
.\" it under the terms of the GNU General Public License as published by
.\" the Free Software Foundation; either version 2 of the License, or
.\" (at your option) any later version.
.\"
.\" This program is distributed in the hope that it will be useful, but
.\" WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
.\" General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with this program; if not, write to the Free Software Foundation, Inc.,
.\" 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
.\"
.\"
.TH AO-LOAD 1 "ao-chaosread" ""
.SH NAME
ao-chaosread \- read raw noise source from chaoskey
.SH SYNOPSIS
.B "ao-chaosread"
.SH DESCRIPTION
.I ao-chaosread
reads ADC values from the noise source on the attached ChaosKey device.
.SH OPTIONS
.TP
\-s serial | --serial serial
This selects a ChaosKey by serial number instead of using the first
one found.
.TP
\-l length | --length length
Set the amount of data to read. Suffixes 'k', 'M' and 'G' are
supported. The default is 1k.
.TP
\-i | --infinite
Read an unlimited amount of data.
.TP
\-b | --bytes
For each 16-bit value read, output bits 1-8 as a byte, don't output
bit 0 or bits 9-15 at all.
.TP
\-c | --cooked
Read whitened data from the device. The default is to read raw data
from the noise source.
.TP
\-r | --raw
Read raw data from the noise source. This is the default.
.TP
\-f | --flash
Read the contents of flash memory on the device. This loops through
flash memory, so you can read the contents more than once, but there's
no way to reset the pointer back to the start other than making sure
you read the whole contents.
.SH USAGE
.I ao-chaosread
reads noise data.
.SH AUTHOR
Keith Packard
|