Jean-Luc replied to the topic 'Alt-Az mode for EQmod' in the forum. 4 years ago

At least one of the driver has succeded in opening and writing to the mount:

[2020-09-11T13:18:05.060 CEST DEBG ][           org.kde.kstars.indi] - Skywatcher Alt-Az Wedge : "[DEBUG] Connecting to /dev/ttyUSB0 @ 115200 "
[2020-09-11T13:18:05.061 CEST DEBG ][           org.kde.kstars.indi] - Skywatcher Alt-Az Wedge : "[DEBUG] Port FD 3 "
[2020-09-11T13:18:05.061 CEST DEBG ][           org.kde.kstars.indi] - Skywatcher Alt-Az Wedge : "[DEBUG] Connection successful, attempting handshake... "
[2020-09-11T13:18:05.061 CEST DEBG ][           org.kde.kstars.indi] - Skywatcher Alt-Az Wedge : "[SCOPE] SkywatcherAltAzSimple::Handshake "
[2020-09-11T13:18:05.061 CEST DEBG ][           org.kde.kstars.indi] - Skywatcher Alt-Az Wedge : "[SCOPE] InitMount "
[2020-09-11T13:18:05.062 CEST DEBG ][           org.kde.kstars.indi] - Skywatcher Alt-Az Wedge : "[SCOPE] CheckIfDCMotor "
...
[2020-09-11T13:18:06.415 CEST DEBG ][           org.kde.kstars.indi] - Skywatcher Alt-Az Wedge : "[DEBUG] Handshake failed. "
[2020-09-11T13:18:06.532 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2020-09-11T11:18:06: Driver indi_skywatcherAltAzSimple: SkywatcherAltAzSimple::ISGetProperties"
`CheckifDCMotor` sends a ':' which is not a valid command for AZEQ5/6 mounts, and they return '!1'. This is what I test, exactly '!1' as this is what my AZEQ5 replies. Maybe the AZEQ6 returns another error code and the function returns false. You may test that using picocom if you have it installed: `picocom -b 115200 /dev/ttyUSB0`, hit ':' followed with ctrl-M (there is no echo), and look at the reply. You may close picocom with ctrl-A then ctrl-X. Don't send other commands if you are not sure of what you do (never send ':Q'....).
Concerning EQMod, as we change the indi core library without recompiling it, it may explain the connection issue. But usually this implies a crash when the API has changed and the dynamic loader fails and aborts. Otherwise EQMod should be able to work as usual. I wonder if you actually run the hand compiled binaries. May you try to check if they have been installed in `/usr`:
ls -l `which indiserver indi_eqmod_telescope indi_skywatcherAltAzMount`
If their date are correct, you may try to launch them by hand and connect kstars directly to that indiserver (on localhost port 7624):
indiserver indi_skywatcherAltAzMount
Actually I don't exactly know your setup.

Read More...