David Allmon replied to the topic 'Per driver configurable delay?' in the forum. 2 years ago

Jasem,

Sorry it took so long, but I I had to build Kstars, indi, and the 3rd party drivers. It takes a while on the Raspberry Pi.

Editing the lx200autostar, I put a 30 second pre delay, then a bash script, with no post delay. It seems by the log file that it waited 30 seconds and then loaded the lx200autostar and the other 7 drivers. I'm not sure if that is what it is supposed to do.

Then I added a 10 second delay with no script to the pegasus_flatmaster driver, leaving the 30 second delay in the lx200autostar. That changed the load order, but not the behavior. It loaded the pegasus_flatmaster driver after 10 seconds, but also loaded the other drivers in the same second. It was as if the only delay it was seeing was the shortest one. I'm going by the log file - I can't actually verify that the 30 second delay did or did not happen. I also can't verify that the script actually ran. Does it wait until the script finishes before loading the driver?

I have attached the log file from the run where the Raspberry Pi was running Kstars and the indiserver.

File Attachment:

File Name: log_15-31-41.txt
File Size: 27 KB


Read More...