Code:
###################################################################
# #
# Script to read the releveant parameters to build a more recent #
# database for linuxcnc pc hardware #
# #
# I provide the script as is. No warrenties are granted, not #
# even that the script is fit for the intended purpose. #
# #
# I put it under the LGPL Version 3. a copy of this license can #
# found here: https://www.gnu.org/licenses/lgpl-3.0.html #
# #
###################################################################
# #
# Targets, I hope to meet: #
# . Comparability: hopefully this proposal leads to comparable #
# latency test data. #
# . Repeatabilty: given the fast change in PC hard/software #
# probably hard to achieve, if asked to be consistent. #
# . Still, we intend to run cnc machines with potential of #
# danger using stock pc hardware. Therefore we should at least #
# try to figure out what suits, is acceptable and/or reliable #
# enough. Could result in a potential conflict of goals though. #
# #
# V 20200624 #
# added lookup for sound/pcspkr chipset #
# Message when CTRL-C is pressed to standby for a graceful exit #
# Some info on progress when installing software #
# clearer output when doing latency test #
# I put the script under LGPL license #
# #
# V 20200619-c #
# general rework, using functions instead of spaghetti code, #
# with the help of"dialog" added : #
# choice of base thread or no base thread #
# choice of time to run #
# option for base thread at 100000 #
# firefox as default browser #
# option to quit by pressing ^C #
# #
# V 20200615 #
# initial version #
# #
###################################################################