Script for automated testing of computer latency.

More
22 Sep 2020 21:07 #183347 by tommylight
The following user(s) said Thank You: seuchato

Please Log in or Create an account to join the conversation.

More
23 Sep 2020 06:37 #183412 by seuchato
Just one little thing to watch, observed on a official 2.8.0 iso buster install:

if you start the script in a root shell using "su" (like me), then make sure you get root by doing "su -". Just "su" (without the "-") will leave the path not properly set.

greez
chris

Please Log in or Create an account to join the conversation.

More
27 Sep 2020 01:51 #183910 by txtrone
I cannot get this to run on a Raspberry Pi4. This is the error msg:
pi@linuxcnc:~/Downloads $ sudo bash lcnc-hw
ls: cannot access '/proc/sys/dev/parport': No such file or directory
dpkg-query: no packages found matching xdotool*
dpkg-query: no packages found matching lshw*
dpkg-query: no packages found matching bc*
Cannot proceed, need missing packages to be installed:
for example: apt-get install  dialog xdotool lshw firefox lm-sensors bc
Want me to install it for you now? [Y/n]y
Standby, I am going to install the required packages.
you will be prompted when cpmpleted, this may take a while...
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package firefox is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'firefox' has no installation candidate
Installation failed

Please Log in or Create an account to join the conversation.

More
27 Sep 2020 02:54 #183916 by BeagleBrainz
try
sudo apt-get install firefox-esr
The following user(s) said Thank You: seuchato, txtrone

Please Log in or Create an account to join the conversation.

More
27 Sep 2020 03:12 #183921 by txtrone
Thanks! My bad, I should have found that on google. Anyhow, I have the script running now.
The following user(s) said Thank You: seuchato

Please Log in or Create an account to join the conversation.

More
28 Sep 2020 05:52 #184108 by seuchato

I cannot get this to run on a Raspberry Pi4. This is the error msg:
pi@linuxcnc:~/Downloads $ sudo bash lcnc-hw
ls: cannot access '/proc/sys/dev/parport': No such file or directory
dpkg-query: no packages found matching xdotool*
dpkg-query: no packages found matching lshw*
dpkg-query: no packages found matching bc*
...


txtrone
I lack a pi4 - yet. I might get one soon. The errors you got. Afaik the stock pi4 is based on debian buster, which is exactly what I am using as my test pc (dell 980) for "lcnc-hw" script. I will look into that on a fresh install however.

Greez
chris

PS: Thx beaglebrainz for pointing the handish install

Please Log in or Create an account to join the conversation.

More
28 Sep 2020 11:23 #184139 by txtrone
After I got firefox installed everything was fine.
The following user(s) said Thank You: seuchato

Please Log in or Create an account to join the conversation.

More
28 Sep 2020 18:53 #184199 by seuchato
The problem is, I had deliberately removed all required packages including firefox to test whether the script would recognize and successfully install those. On my machine it worked, not on yours. So I am not satisfied or happy.

Has to work.

But Thanks for the reply anyway.
greez
chris

Please Log in or Create an account to join the conversation.

More
30 Sep 2020 16:26 - 30 Sep 2020 16:27 #184392 by seuchato
Hi all

Attached is an updated version. what's different?
  • (hopefully better info on desktop environment, window manager and display manager
    If what you have, is not what is evaluated, kindl post pstree here and give some hints on what you use. I might be able to fix it later.
  • if "snd" modules are detected, a script to "fake" install and thus avoid them from being loaded is added
  • some bugs eleiminated and also typos. If you find others, kindly nitfy me.

Greez
chris

File Attachment:

File Name: lcnc-hw_20...9-30.zip
File Size:9 KB

@tommylight: I know, you know the drill ;) : kindly update the link in your first post in this thread
Attachments:
Last edit: 30 Sep 2020 16:27 by seuchato.
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
30 Sep 2020 17:07 #184393 by tommylight
Will do that as soon as i get out of the hospital, bro had an OP.
The following user(s) said Thank You: seuchato

Please Log in or Create an account to join the conversation.

Time to create page: 0.102 seconds
Powered by Kunena Forum