I implemented a simple change to the asi_wheel.cpp file that allows one to use the existing "Tools->Devices->Custom Drivers..." mechanism in conjunction with creating symbolic links back to the standard driver (indi_asi_wheel).
I will create and submit a PR later today and hopefully you will find it benign enough to accept it into the source base.
I'll play around with the asi_wheel driver for my own purposes and see what I learn.
Not a problem - I appreciate your help.
Basically any driver that shows up in the pull-down menu on the Custom Driver screen can be aliased as you described.
However, the code explicitly suppresses from that drop-down drivers marked by mdpd="true" in those XML files you mentioned (in this case indi_asi.xml).
I am not actually trying to use two filter wheels at the same time. I basically have one with color-related filters attached to my color camera and one with mono-related filters attached to my mono camera, so depending on what camera I am using on a night I need to distinguish between the color or mono filter wheel.
However, to answer your specific question, I just plugged them both in at the same time and one shows up as "ASI EFW 0" and the other shows up as "ASI EFW 1".
Well, let me update: I still thank you, but it actually did not work. It only works in some cases. Apparently MDPD drivers cannot be aliased. I am not 100% sure what a MDPD driver is, but I am guessing it is one supplied as an object file rather than as source. Anyhow, the 'ASI EFW' driver is supplied by ZWO and it tagged as MDPD so it cannot be aliased and I cannot do what I had hoped to do using aliases.
That is where things currently stand.
Can anyone confirm what an MDPD driver is and why it cannot be aliased?
Thanks so much. That worked!
I could not find this discussed, so posting this question.
I have two ASI EFWs. I use one with my monochrome camera and one with my color camera. I have separate profiles for monochrome and color, but I don't know how to have two ASI EFW config files (namely ~/.indi/'ASI EFW_config.xml'). Consequently I have to re-enter filter names for the filter slots whenever I switch between color and monochrome.
Since the "ASI EFW" name seems to be determined via selecting it from the pull-down menu for filter-wheels when building a profile, what is the proper technique to allow for distinct config files?
The skies were not clear as had been forecast last night, but I was able to at least exercise it enough to feel it will be OK.
I submitted a pull request here: github.com/indilib/indi/pull/1540
Definitely not just baud rate.
I was planning to give a complete report once I know that it is truly working in the field, which will be tonight, hopefully.
However, since you ask, there were definitely at least two bugs: