I have encountered a strange problem while setting up profiles in Ekos with a custom driver, which are not listed in Ekos dropdowns.
XML file for the driver is located in /usr/share/indi and it has proper syntax. The problem does not appear in new installations but pops up in case of updated systems with a new version of the driver. Among a few changes in the driver's binary (connection plugins) the XML was updated to reflect driver's name change i.e.
Before update:
<devGroup group="Auxiliary">
<device label="AstroHub">
<driver name="AstroHub">indi_astrohub</driver>
<version>0.1</version>
</device>
</devGroup>
After update:
<devGroup group="Auxiliary">
<device label="Jolo AstroHub">
<driver name="Jolo AstroHub">indi_jolohub</driver>
<version>0.2</version>
</device>
</devGroup>
Installing the driver on new system works OK, it appears on the Ekos list and works as designed.
Installing the driver on a system where previous version was installed results in the drivers does not appear on the Ekos list. This applies also for full removal and reinstallation of INDI/KStars/Ekos BUT removing local configuration files for KStars.
When I manually edit the driver's XML and change the label and name to e.g. "Test Driver" it appears on the Ekos list and works OK. If I reedit this file in the next step and change "Test Driver" to anything else it disappears from the Ekos list.
The above suggests that a driver name is somehow cached by KStars/Ekos (where?) and changing XML label/name for a driver results in kind of conflict between cache and source XML. As the result the driver does not appear on the list.
Now the question is where this cache is sitting so I can purge it.