×

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

Bi-monthly release with minor bug fixes and improvements

Moonlite focuser doesn't move with 3.4.3 KStars MacOS

  • Posts: 216
  • Thank you received: 120
Fair enough. Definitely safer to only add it to the Moonlite drivers, or others that do multiple writes in quick succession.
3 years 9 months ago #54880

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

Sure, fix pushed for Moonlite.
3 years 9 months ago #54881

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

  • Posts: 554
  • Thank you received: 138
I've had a quick look and taking the strict view that any driver that sends a command but does not wait for a reply is vulnerable then it is quite a lot. All the LX200 based drivers to start with. Some of the drivers don't use a sendCommand() subroutine, the serial writes and maybe reads are embedded in each command. The Moonlite DRO driver is like that.

I spent quite a lot too much of my professional career fighting ths sort of thing on electron microscopes - just the same except that the hardware was more expensive. I had almost no say in what was implemented and one manufacturer seemed to use a different intern to do the external control for each microscope model.
3 years 9 months ago #54883

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

Maybe then tcdrain should be added to tty_write ? Any side-effects for that?
3 years 9 months ago #54886

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

  • Posts: 194
  • Thank you received: 20
It would, as has been said, slow the writes down some amount, based on the baudrate and length of message. 7mS for ":SNnnnn#" at 9600 baud.
3 years 9 months ago #54887

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

  • Posts: 216
  • Thank you received: 120
The only side-effect should be a slight delay as the kernel driver waits for the data to be handed off to the hardware.
The following user(s) said Thank You: David Allmon
3 years 9 months ago #54888

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

  • Posts: 527
  • Thank you received: 139
Did this ever get fixed? I'm trying to image, but can't focus....
3 years 9 months ago #55333

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

  • Posts: 194
  • Thank you received: 20
Jasem fixed it a bit over a week ago. I used the source to build one and it works great.
3 years 9 months ago #55334

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

  • Posts: 527
  • Thank you received: 139
How do I get the updated driver? I'm probably not capable of building one from source.
Last edit: 3 years 9 months ago by Andrew Burwell.
3 years 9 months ago #55335

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

  • Posts: 194
  • Thank you received: 20
I could send you a copy of the one I compiled, although that should raise trust issues. MacOS Catalina 10.15.4 or newer required.
3 years 9 months ago #55348

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

  • Posts: 527
  • Thank you received: 139
That would be awesome. If you don't mind send it to Andrew at macobservatory dot com. I'm on Catalina 10.15.5. Where is the driver where I would drop it?

Thanks!
3 years 9 months ago #55350

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

  • Posts: 194
  • Thank you received: 20
I'll send detailed instructions with the file. It isn't too involved.
3 years 9 months ago #55351

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

Time to create page: 1.049 seconds