$ dd iflag=fullblock if=/dev/ttyUSB0 of=fg2.bin
2405758+0 records in
2405758+0 records out
1231748096 bytes (1.2 GB) copied, 168674 s, 7.3 kB/s

$ ent fg2.bin
Entropy = 8.000000 bits per byte.

Optimum compression would reduce the size
of this 1231748096 byte file by 0 percent.

Chi square distribution for 1231748096 samples is 220.88, and randomly
would exceed this value 90.00 percent of the times.

Arithmetic mean value of data bytes is 127.4986 (127.5 = random).
Monte Carlo value for Pi is 3.141593482 (error 0.00 percent).
Serial correlation coefficient is 0.000009 (totally uncorrelated = 0.0).

$ dieharder -a -g 201 -f fg2.bin
#=============================================================================#
# dieharder version 3.31.1 Copyright 2003 Robert G. Brown #
#=============================================================================#
rng_name | filename |rands/second|
file_input_raw| fg2.bin| 3.46e+07 |
#=============================================================================#
test_name |ntup| tsamples |psamples| p-value |Assessment
#=============================================================================#
diehard_birthdays| 0| 100| 100|0.49937781| PASSED
diehard_operm5| 0| 1000000| 100|0.97647343| PASSED
diehard_rank_32x32| 0| 40000| 100|0.98002796| PASSED
diehard_rank_6x8| 0| 100000| 100|0.87714969| PASSED
# The file file_input_raw was rewound 1 times
diehard_bitstream| 0| 2097152| 100|0.81458311| PASSED
# The file file_input_raw was rewound 1 times
diehard_opso| 0| 2097152| 100|0.75399018| PASSED
# The file file_input_raw was rewound 2 times
diehard_oqso| 0| 2097152| 100|0.67170307| PASSED
# The file file_input_raw was rewound 2 times
diehard_dna| 0| 2097152| 100|0.59599670| PASSED
# The file file_input_raw was rewound 2 times
diehard_count_1s_str| 0| 256000| 100|0.39655656| PASSED
# The file file_input_raw was rewound 2 times
diehard_count_1s_byt| 0| 256000| 100|0.40521271| PASSED
# The file file_input_raw was rewound 2 times
diehard_parking_lot| 0| 12000| 100|0.16680695| PASSED
# The file file_input_raw was rewound 2 times
diehard_2dsphere| 2| 8000| 100|0.73108314| PASSED
# The file file_input_raw was rewound 2 times
diehard_3dsphere| 3| 4000| 100|0.46056984| PASSED
# The file file_input_raw was rewound 3 times
diehard_squeeze| 0| 100000| 100|0.39131507| PASSED
# The file file_input_raw was rewound 3 times
diehard_sums| 0| 100| 100|0.19497280| PASSED
# The file file_input_raw was rewound 3 times
diehard_runs| 0| 100000| 100|0.92151495| PASSED
diehard_runs| 0| 100000| 100|0.99263257| PASSED
# The file file_input_raw was rewound 4 times
diehard_craps| 0| 200000| 100|0.54092666| PASSED
diehard_craps| 0| 200000| 100|0.95251536| PASSED
# The file file_input_raw was rewound 10 times
marsaglia_tsang_gcd| 0| 10000000| 100|0.00002945| WEAK
marsaglia_tsang_gcd| 0| 10000000| 100|0.47264885| PASSED
# The file file_input_raw was rewound 10 times
sts_monobit| 1| 100000| 100|0.33458258| PASSED
# The file file_input_raw was rewound 10 times
sts_runs| 2| 100000| 100|0.37303114| PASSED
# The file file_input_raw was rewound 10 times
sts_serial| 1| 100000| 100|0.40164203| PASSED
sts_serial| 2| 100000| 100|0.41725521| PASSED
sts_serial| 3| 100000| 100|0.89559285| PASSED
sts_serial| 3| 100000| 100|0.33144207| PASSED
sts_serial| 4| 100000| 100|0.73885203| PASSED
sts_serial| 4| 100000| 100|0.70173965| PASSED
sts_serial| 5| 100000| 100|0.59960667| PASSED
sts_serial| 5| 100000| 100|0.71686050| PASSED
sts_serial| 6| 100000| 100|0.99539725| WEAK
sts_serial| 6| 100000| 100|0.25207423| PASSED
sts_serial| 7| 100000| 100|0.47414457| PASSED
sts_serial| 7| 100000| 100|0.99136904| PASSED
sts_serial| 8| 100000| 100|0.32650736| PASSED
sts_serial| 8| 100000| 100|0.56806108| PASSED
sts_serial| 9| 100000| 100|0.96914530| PASSED
sts_serial| 9| 100000| 100|0.39299911| PASSED
sts_serial| 10| 100000| 100|0.56495814| PASSED
sts_serial| 10| 100000| 100|0.23713257| PASSED
sts_serial| 11| 100000| 100|0.73581339| PASSED
sts_serial| 11| 100000| 100|0.33091420| PASSED
sts_serial| 12| 100000| 100|0.94401664| PASSED
sts_serial| 12| 100000| 100|0.98160818| PASSED
sts_serial| 13| 100000| 100|0.81509733| PASSED
sts_serial| 13| 100000| 100|0.13245498| PASSED
sts_serial| 14| 100000| 100|0.28386027| PASSED
sts_serial| 14| 100000| 100|0.20268836| PASSED
sts_serial| 15| 100000| 100|0.48376557| PASSED
sts_serial| 15| 100000| 100|0.49599630| PASSED
sts_serial| 16| 100000| 100|0.79585999| PASSED
sts_serial| 16| 100000| 100|0.23777620| PASSED
# The file file_input_raw was rewound 10 times
rgb_bitdist| 1| 100000| 100|0.75370770| PASSED
# The file file_input_raw was rewound 10 times
rgb_bitdist| 2| 100000| 100|0.85803619| PASSED
# The file file_input_raw was rewound 11 times
rgb_bitdist| 3| 100000| 100|0.64156771| PASSED
# The file file_input_raw was rewound 11 times
rgb_bitdist| 4| 100000| 100|0.81677060| PASSED
# The file file_input_raw was rewound 11 times
rgb_bitdist| 5| 100000| 100|0.84414546| PASSED
# The file file_input_raw was rewound 12 times
rgb_bitdist| 6| 100000| 100|0.61626201| PASSED
# The file file_input_raw was rewound 12 times
rgb_bitdist| 7| 100000| 100|0.61047256| PASSED
# The file file_input_raw was rewound 13 times
rgb_bitdist| 8| 100000| 100|0.39296922| PASSED
# The file file_input_raw was rewound 13 times
rgb_bitdist| 9| 100000| 100|0.73171740| PASSED
# The file file_input_raw was rewound 14 times
rgb_bitdist| 10| 100000| 100|0.63771005| PASSED
# The file file_input_raw was rewound 14 times
rgb_bitdist| 11| 100000| 100|0.14600640| PASSED
# The file file_input_raw was rewound 15 times
rgb_bitdist| 12| 100000| 100|0.96361407| PASSED
# The file file_input_raw was rewound 15 times
rgb_minimum_distance| 2| 10000| 1000|0.61102544| PASSED
# The file file_input_raw was rewound 15 times
rgb_minimum_distance| 3| 10000| 1000|0.14861549| PASSED
# The file file_input_raw was rewound 16 times
rgb_minimum_distance| 4| 10000| 1000|0.05097262| PASSED
# The file file_input_raw was rewound 16 times
rgb_minimum_distance| 5| 10000| 1000|0.02199174| PASSED
# The file file_input_raw was rewound 16 times
rgb_permutations| 2| 100000| 100|0.24069002| PASSED
# The file file_input_raw was rewound 16 times
rgb_permutations| 3| 100000| 100|0.15992086| PASSED
# The file file_input_raw was rewound 16 times
rgb_permutations| 4| 100000| 100|0.94811045| PASSED
# The file file_input_raw was rewound 16 times
rgb_permutations| 5| 100000| 100|0.74211271| PASSED
# The file file_input_raw was rewound 16 times
rgb_lagged_sum| 0| 1000000| 100|0.59464070| PASSED
# The file file_input_raw was rewound 17 times
rgb_lagged_sum| 1| 1000000| 100|0.74755800| PASSED
# The file file_input_raw was rewound 18 times
rgb_lagged_sum| 2| 1000000| 100|0.80189250| PASSED
# The file file_input_raw was rewound 19 times
rgb_lagged_sum| 3| 1000000| 100|0.46569832| PASSED
# The file file_input_raw was rewound 21 times
rgb_lagged_sum| 4| 1000000| 100|0.88089034| PASSED
# The file file_input_raw was rewound 23 times
rgb_lagged_sum| 5| 1000000| 100|0.60298723| PASSED
# The file file_input_raw was rewound 25 times
rgb_lagged_sum| 6| 1000000| 100|0.33235944| PASSED
# The file file_input_raw was rewound 28 times
rgb_lagged_sum| 7| 1000000| 100|0.31297472| PASSED
# The file file_input_raw was rewound 31 times
rgb_lagged_sum| 8| 1000000| 100|0.34465673| PASSED
# The file file_input_raw was rewound 34 times
rgb_lagged_sum| 9| 1000000| 100|0.79245499| PASSED
# The file file_input_raw was rewound 38 times
rgb_lagged_sum| 10| 1000000| 100|0.62591993| PASSED
# The file file_input_raw was rewound 41 times
rgb_lagged_sum| 11| 1000000| 100|0.45669657| PASSED
# The file file_input_raw was rewound 46 times
rgb_lagged_sum| 12| 1000000| 100|0.69147988| PASSED
# The file file_input_raw was rewound 50 times
rgb_lagged_sum| 13| 1000000| 100|0.85932982| PASSED
# The file file_input_raw was rewound 55 times
rgb_lagged_sum| 14| 1000000| 100|0.94966106| PASSED
# The file file_input_raw was rewound 60 times
rgb_lagged_sum| 15| 1000000| 100|0.24513001| PASSED
# The file file_input_raw was rewound 66 times
rgb_lagged_sum| 16| 1000000| 100|0.70366056| PASSED
# The file file_input_raw was rewound 72 times
rgb_lagged_sum| 17| 1000000| 100|0.28951933| PASSED
# The file file_input_raw was rewound 78 times
rgb_lagged_sum| 18| 1000000| 100|0.16182640| PASSED
# The file file_input_raw was rewound 84 times
rgb_lagged_sum| 19| 1000000| 100|0.73758322| PASSED
# The file file_input_raw was rewound 91 times
rgb_lagged_sum| 20| 1000000| 100|0.77096110| PASSED
# The file file_input_raw was rewound 98 times
rgb_lagged_sum| 21| 1000000| 100|0.99575462| WEAK
# The file file_input_raw was rewound 106 times
rgb_lagged_sum| 22| 1000000| 100|0.90643380| PASSED
# The file file_input_raw was rewound 114 times
rgb_lagged_sum| 23| 1000000| 100|0.58033966| PASSED
# The file file_input_raw was rewound 122 times
rgb_lagged_sum| 24| 1000000| 100|0.93378174| PASSED
# The file file_input_raw was rewound 130 times
rgb_lagged_sum| 25| 1000000| 100|0.99981997| WEAK
# The file file_input_raw was rewound 139 times
rgb_lagged_sum| 26| 1000000| 100|0.45418354| PASSED
# The file file_input_raw was rewound 148 times
rgb_lagged_sum| 27| 1000000| 100|0.82452133| PASSED
# The file file_input_raw was rewound 157 times
rgb_lagged_sum| 28| 1000000| 100|0.47942108| PASSED
# The file file_input_raw was rewound 167 times
rgb_lagged_sum| 29| 1000000| 100|0.94118015| PASSED
# The file file_input_raw was rewound 177 times
rgb_lagged_sum| 30| 1000000| 100|0.17207587| PASSED
# The file file_input_raw was rewound 188 times
rgb_lagged_sum| 31| 1000000| 100|0.00919842| PASSED
# The file file_input_raw was rewound 198 times
rgb_lagged_sum| 32| 1000000| 100|0.23650877| PASSED
# The file file_input_raw was rewound 198 times
rgb_kstest_test| 0| 10000| 1000|0.49355091| PASSED
# The file file_input_raw was rewound 199 times
dab_bytedistrib| 0| 51200000| 1|0.97791126| PASSED
# The file file_input_raw was rewound 199 times
dab_dct| 256| 50000| 1|0.47303841| PASSED
Preparing to run test 207. ntuple = 0
# The file file_input_raw was rewound 199 times
dab_filltree| 32| 15000000| 1|0.59537985| PASSED
dab_filltree| 32| 15000000| 1|0.00405268| WEAK
Preparing to run test 208. ntuple = 0
# The file file_input_raw was rewound 199 times
dab_filltree2| 0| 5000000| 1|0.89135173| PASSED
dab_filltree2| 1| 5000000| 1|0.90662245| PASSED
Preparing to run test 209. ntuple = 0
# The file file_input_raw was rewound 200 times
dab_monobit2| 12| 65000000| 1|0.30748464| PASSED