×

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

Bi-monthly release with minor bug fixes and improvements

[SOLVED] eqmod not working

  • Posts: 83
  • Thank you received: 9
I am running the latest Ubuntu with KStars nleeding and have done a software update
I get an error when connecting to the EQ8 mount with EGMOD driver
2015-08-27T01:41:21: Error: -> Error connecting to port /dev/ttyUSB0: Port failure Error: Permission denied. Try adding your user to the dialout group and restart (sudo adduser $USER dialout)
2015-08-27T01:41:21: connecting to port /dev/ttyUSB
I have done the dialout user and still no improvement
My mount connects to the windows ascom eqmod no problem

Any ideas??
,,, Bruce
8 years 7 months ago #4882

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

Replied by Jasem Mutlaq on topic eqmod not working

Did you restart?
8 years 7 months ago #4884

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

  • Posts: 83
  • Thank you received: 9

Replied by Bruce Morrell on topic eqmod not working

Jasem,
I did do a reset. no luck. It occurred to me last night that the serial port may be running at 115kbs instead of the default 9600. I remembered that when I first hooked it up to ascom it would not work unless I changed the default port speed. Is that even an option in EKOS?

...Thanks for all your help.... Bruce
8 years 7 months ago #4892

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

Replied by Jasem Mutlaq on topic eqmod not working

It's hard-coded to 9600. You can change it by editing skywatcher.cpp line #99 and recompiling the source.
8 years 7 months ago #4893

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

  • Posts: 83
  • Thank you received: 9

Replied by Bruce Morrell on topic eqmod not working

Jasem,
This is probably the problem. I also just received another high end mount the RST-400 from Rainbowastro that uses a USB port as well. It is also is set for 115kbs from the factory.

I want to suggest that you make these user definable in device manger. This is going to be more the norm going forward.

What are the steps to recompile the file??

Thanks... Bruce
8 years 7 months ago #4894

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

Replied by Jasem Mutlaq on topic eqmod not working

You can't change the serial port speed?
8 years 7 months ago #4897

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

  • Posts: 83
  • Thank you received: 9

Replied by Bruce Morrell on topic eqmod not working

Not a word in the manual on how to do that. I will try hooking it up through the hand controller, that probably is set for 9600. Just as a future request, either let the os determine the baud rate or give it a user control. The evolution of serial ports is toward high speed usb, so hard coding probably has a limited lifespan...

Ok so I have read how to compile it. I assume the cpp file is title skywatcher, what is the out put file and where does it go??... Bruce
8 years 7 months ago #4898

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

  • Posts: 72
  • Thank you received: 21

Replied by Philippe on topic eqmod not working

Hello.

If you follow the point 2 of this explanation you should be able to easly compile your modified files; And others one in the futures...
For your information the driver is installed in /usr/bin, and /usr/share/indi for XML definition, when used by the driver.

INDI Howto

Regards
Philippe Besson
Skywatcher HEQ5, Televue 101-IS, Takahashi FS-60CB
Focus Boss II with OptecInc TCF-S focuser and Starlight Instruments HSM20 handy stepper motor
Guiding camera ZWO ASI120MM
Filterwheel OptecInc IFW
Camera not set yet
Switzerland
8 years 7 months ago #4900

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

Replied by Jasem Mutlaq on topic eqmod not working

You don't need to compile, I just added baud rate selection in INDI::Telescope, so by tomorrow hopefully you'll get the update.
8 years 7 months ago #4901

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

  • Posts: 83
  • Thank you received: 9

Replied by Bruce Morrell on topic eqmod not working

You're a good man Jasem!! Thank you for being so responsive. Bruce
8 years 7 months ago #4905

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

  • Posts: 83
  • Thank you received: 9

Replied by Bruce Morrell on topic eqmod not working

Jasem,
I was able to connect to the EQ8! My next question Is there a config file that it creates that I could edit for remote indi server? or do I have to start kstars on the remote and configure from there??... Bruce
8 years 7 months ago #4906

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

  • Posts: 72
  • Thank you received: 21

Replied by Philippe on topic eqmod not working

H

If I correcly undestand your question, no problem. the config file of the drivers are not saved by Kstars but by the drivers themselves. If your run the drivers on a remote PC or RPI, when you click save your config, like port and speed, it would be save on the remote PC.

@Jasem: am I correct?

I've seen on EKOS VM that the new fiel for speed selection is present. That quite nice. Thanks to the creator of this topics for this good request, and for your implementation of it.

Then my second question, Is this change only apply on KStars-bleeding or it is present on svn for compiling too?
Philippe Besson
Skywatcher HEQ5, Televue 101-IS, Takahashi FS-60CB
Focus Boss II with OptecInc TCF-S focuser and Starlight Instruments HSM20 handy stepper motor
Guiding camera ZWO ASI120MM
Filterwheel OptecInc IFW
Camera not set yet
Switzerland
The following user(s) said Thank You: Jasem Mutlaq
Last edit: 8 years 7 months ago by Philippe. Reason: Complementary questions
8 years 7 months ago #4907

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

Time to create page: 1.401 seconds