I've had issues with my Logitech Gamepad being bound to either dev/input/js0 or dev/input/js1. So I made a udev rule to bind it to /dev/gamepad.
I started the INDI device manager, started the Joystick service, and the control panel came up with a Joystick tab. In the Options tab I change Port to /dev/gamepad, Set it, go to Main Control, hit Connect and boom it's there. Now I save the profile, close the control panel, stop the Joystick service in device manager, restart the service, look at options in the control panel, and...
The port is back to /dev/input/js0.
I load the configuration and it's still /dev/input/js0.
Saving the configuration appears to have no effect.
Found the file manually, and there is no reference to Port. The only thing it appears to be saving is debug info.
contents of /home/.indi/Joystick_config.xml:
<INDIDriver><newSwitchVector device="Joystick" name="DEBUG"><oneSwitch name="ENABLE">
Off
</oneSwitch><oneSwitch name="DISABLE">
On
</oneSwitch></newSwitchVector><newSwitchVector device="Joystick" name="DEBUG_LEVEL"><oneSwitch name="DBG_ERROR">
On
</oneSwitch><oneSwitch name="DBG_WARNING">
On
</oneSwitch><oneSwitch name="DBG_SESSION">
On
</oneSwitch><oneSwitch name="DBG_DEBUG">
Off
</oneSwitch></newSwitchVector><newSwitchVector device="Joystick" name="LOGGING_LEVEL"><oneSwitch name="LOG_ERROR">
On
</oneSwitch><oneSwitch name="LOG_WARNING">
On
</oneSwitch><oneSwitch name="LOG_SESSION">
On
</oneSwitch><oneSwitch name="LOG_DEBUG">
Off
</oneSwitch></newSwitchVector><newSwitchVector device="Joystick" name="LOG_OUTPUT"><oneSwitch name="CLIENT_DEBUG">
On
</oneSwitch><oneSwitch name="FILE_DEBUG">
Off
</oneSwitch></newSwitchVector></INDIDriver>
Any way to include Port information in this so it can be persistent also?