×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Moonlite clone focuser not work on MacOS

  • Posts: 7
  • Thank you received: 1
Hi all, I build this focuser github.com/fehlfarbe/arduino-motorfocus
It worked ok on linux machine, but when I try to use it on a MacBook, kstars can't connect to it and print this message:
2017-11-20T05:52:32: [INFO] Error retreiving data from MoonLite, please ensure MoonLite controller is powered and the port is correct. 
2017-11-20T05:52:32: [ERROR] updatePostion error: Timeout error.
I read the log file, it seems that kstars can't open the serial port. After I replug the focuser, log shows that connection is ok, but handshake failed.
At the same time, I use another computer connect to the focuser's debug serial, it shows that the focuser dose not receive any thing from kstars.
But I can use Arduino ide's terminal connect to the focuser on MacBook , and it deal the commands correct.
So what can I do to identify where is the problem? thx
6 years 4 months ago #21068
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 13
  • Thank you received: 5
The log says:
[2017-11-20T13:58:02.175 CST INFO ][           org.kde.kstars.indi] - MoonLite :  "[INFO] Error retreiving data from MoonLite, please ensure MoonLite controller is powered and the port is correct. "
[...]
[2017-11-20T13:58:07.455 CST DEBG ][           org.kde.kstars.indi] - MoonLite : "[DEBUG] Connecting to /dev/cu.wchusbserial1410 "
[2017-11-20T13:58:07.457 CST INFO ][           org.kde.kstars.indi] - MoonLite :  "[ERROR] Failed to connect to port (/dev/cu.wchusbserial1410). Error: Port failure Error: Resource busy. Check if device is connected to this port. "
[...]
[2017-11-20T13:58:07.455 CST DEBG ][           org.kde.kstars.indi] - MoonLite : "[DEBUG] Connecting to /dev/cu.wchusbserial1410 "
[2017-11-20T13:58:07.457 CST INFO ][           org.kde.kstars.indi] - MoonLite :  "[ERROR] Failed to connect to port (/dev/cu.wchusbserial1410). Error: Port failure Error: Resource busy. Check if device is connected to this port. "

I think something else opened the serial port before the indi driver, have you disconnected the arduino serial monitor before starting indi/kstars?

Riccardo
6 years 3 months ago #21547

Please Log in or Create an account to join the conversation.

Time to create page: 0.882 seconds