Hi Rick

I've cloned your repository and built it. It all seems to work well (on a RaspberryPi 4) However when starting KSTars and connecting to the CGX the driver indi-celestron-cgx crashes. I have the latest KStar and indi installed. It looks like the problem is the Celestron Focuser. When I remove the aux cable it works. This is what I found in the log files:

[2021-05-24T21:28:09.925 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2021-05-24T19:28:09: Driver indi_celestron_cgx: unknown command 0xf0 MSG: 3b 04 00 11 f0 f0 0b "
[2021-05-24T21:28:09.926 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2021-05-24T19:28:09: Driver indi_celestron_cgx: unknown command 0xf0 MSG: 3b 04 00 10 f0 f0 0c "
[2021-05-24T21:28:09.926 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2021-05-24T19:28:09: Driver indi_celestron_cgx: unknown command 0xf0 MSG: 3b 04 00 11 f0 f0 0b "
[2021-05-24T21:28:09.927 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2021-05-24T19:28:09: Driver indi_celestron_cgx: unknown command 0xf0 MSG: 3b 04 00 10 f0 47 b5 "
[2021-05-24T21:28:09.927 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2021-05-24T19:28:09: Driver indi_celestron_cgx: Checksum error: 24 vs. 00MSG: 3b 3b 04 11 00 f0 f0 0b 3b 04 10 00 f0 f0 0c 3b 07 10 00 fe 07 11 00 19 ba 3b 04 11 00 f0 f0 0b 3b 04 11 00 f0 f0 0b 3b 04 10 00 f0 f0 0c 3b 04 11 00 f0 f0 0b 3b 04 10 00 f0 f0 0c 04 00 "
[2021-05-24T21:28:09.928 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2021-05-24T19:28:09: Driver indi_celestron_cgx: unknown command 0x00 MSG: 3b 3b 04 11 00 f0 f0 0b 3b 04 10 00 f0 f0 0c 3b 07 10 00 fe 07 11 00 19 ba 3b 04 11 00 f0 f0 0b 3b 04 11 00 f0 f0 0b 3b 04 10 00 f0 f0 0c 3b 04 11 00 f0 f0 0b 3b 04 10 00 f0 f0 0c 04 24 "
[2021-05-24T21:28:09.928 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2021-05-24T19:28:09: Driver indi_celestron_cgx: *** stack smashing detected ***: <unknown> terminated"
[2021-05-24T21:28:09.929 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2021-05-24T19:28:09: Driver indi_celestron_cgx: stderr EOF"
[2021-05-24T21:28:09.930 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "<delProperty device=\"Celestron CGX USB\"/>"
[2021-05-24T21:28:09.931 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "Child process 4781 died"

Any idea what this could be?

Thx
Hansli

Read More...