×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

focuser and lx90 crash

  • Posts: 18
  • Thank you received: 0

Replied by jon on topic focuser and lx90 crash

Thanks for showing me how to use the logs. Here is one from today’s attempts.
Jon
7 years 4 months ago #12604
Attachments:

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

Replied by Jasem Mutlaq on topic focuser and lx90 crash

Thanks for the logs. It appears the focuser might be causing a conflict with the LX90, are they using different ports? If you use the focuser alone, or the mount alone, then everything works fine?
The following user(s) said Thank You: jon
7 years 4 months ago #12610

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

  • Posts: 18
  • Thank you received: 0

Replied by jon on topic focuser and lx90 crash

Prior to adding the focuser the telescope and cameras worked fine. If I only connect the focuser without connecting the telescope it also works fine. The telescope uses the autostar handbox connected to the computer via a usb/serial converter cord and utilized either ttyusb0 or ttyusb1. I do not seem to have any control over which port it uses. The focuser connects to the computer through a powered hub and a different physical usb port. Again it connects using either ttyusb0 or ttyusb1. I do not know if they always connect via the same ttyusb port at the same time but I do know that sometimes they do not. So, yes either alone work fine.
7 years 4 months ago #12626

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

Replied by Jasem Mutlaq on topic focuser and lx90 crash

You might want to try Persistent serial port mappings tutorial in order to assign a permanent name to them. This way you can avoid such conflict and it might resolve your issue.
7 years 4 months ago #12627

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

  • Posts: 18
  • Thank you received: 0

Replied by jon on topic focuser and lx90 crash

Jasem:

Thanks. I will try it and see what happens.

Jon
7 years 4 months ago #12635

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

  • Posts: 18
  • Thank you received: 0

Replied by jon on topic focuser and lx90 crash

Jasem:

i finally was able to try out the persistent port mapping per the link you supplied. I was not able to get that to work for me.

This is the example shown on the linked page I received from you. As I said it did not work for me. I do not know why.
# MoonLite Focuser
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", ATTRS{serial}=="A501T0P9", MODE="0666", SYMLINK+="focuser"

This is an example I found on the Linux Mint forum. It did work as shown once I inserted the ids for my devices. The only difference I see is this part ENV{DEVTYPE}=="usb_device"

# Moonlight Focuser

SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="7523", MODE="0666", SYMLINK+="focuser"

I do not know why the first one did not work, possibly something changed in Mint 18 that prevented it as numerous examples on the net are identical to your version.

Now for a clear night and I can try it all together. The only problem I still have is that I have to manually change the permissions of ttyusb0 and ttyusb1 each time I start up EKOS even though they both show the group as dialout.

Thanks for the help
Jon
7 years 4 months ago #12802

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

  • Posts: 72
  • Thank you received: 21

Replied by Philippe on topic focuser and lx90 crash

Jon.
You wrote both tty interfaces are in dialout group that correct but what about your user account?
Did you add your user account in the dialout group?
If I'm correct the command is :
sudo usermod -a -G dialout yourusername

For udev are you sure the serial number of your connected unit is "A501T0P9" ? That could be your issue.
Regards
Philippe
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: jon
7 years 4 months ago #12807

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

  • Posts: 18
  • Thank you received: 0

Replied by jon on topic focuser and lx90 crash

Philippe :

I just checked again and my user name is listed in the dialout group.
I did not use a serial number for either my focuser or mount in rules.d as both were identical and would not serve to identify one from the other. Many examples I saw on the internet including those already installed by EKOS in rules.d did not list a serial number. But I can try that even though they are identical and see if it makes a difference.

Right now, if I plug in both usb devices plugs one after the other, with the computer running, and set my permissions manually for ttyusb0 and ttyusb1both devices function correctly.
The rules.d file is in at least two places on my computer, once under /etc/udev/rules.d and a second under /lib/udev/rules.d/. Do I need to install a new "my observatory-rules.d " in each place? Right now I only put the new file in lib/udev/rules.d/.
Thanks
Jon
7 years 4 months ago #12818

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

  • Posts: 72
  • Thank you received: 21

Replied by Philippe on topic focuser and lx90 crash

Hi Jon.
Looks strange you're in dialout group and have to change the permission. I don't have enough knowledge to guess what could occur. No clue.

Related to the udev's folder, I had an issu within Ubuntu 16.10 and I've copied the rules files in /etc/udev/rules.d and then it works, but no idea why. I've don't find explanation about that.
Unfortunatelly I don't have other suggestion for you.

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
7 years 4 months ago #12819

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

  • Posts: 18
  • Thank you received: 0

Replied by jon on topic focuser and lx90 crash

Philippe :
I agree that it is strange. I had the same thoughts about the rules.d. Jasem and most of the sources for the format of the rule I needed to write were in agreement on a working syntex but I could not get it to work for me. I love linux but still don't have a good knowledge of what works and what does not work, so I try different things until something works for me. I will go back to the Linux Mint forum and put in a question regarding the permissions and see what I can find.

Thanks
Jon
7 years 4 months ago #12822

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

  • Posts: 18
  • Thank you received: 0

Replied by jon on topic focuser and lx90 crash

Philippe :

I finally got the persistent port mapping to work. I removed the user (me)from the dialout group and then did a adduser to the dialout group and it worked. Don't know why but I am happy with it. Unfortunate things are still not working right. Prior to adding the Moonlight focuser clone, my system : LX90 scope, DSI2 guider camera, and ATIK 314L main imager , all worked well. Problems only started with the addition of the Moonlight focuser clone.

Now, with the persistent port issue fixed the scope , focuser and the DSI2 work fine together. But when I connect the ATIK camera I get a warning that the scope driver has crashed. It also does something interesting. Connect the ATIK and the ports the scope and focuser are connected to try to change.

I still think the EKOS system is worth the effort but unfortunately I am not a great computer person. I can't look at the logs and figure out what is wrong.

Maybe Jasem can look at the log and give me some guidance.

Jon
7 years 4 months ago #12866
Attachments:

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

Replied by Jasem Mutlaq on topic focuser and lx90 crash

Yes issue is that ATIK was built against a slightly out-of-date libindi. I asked Peter to build it against a newer build.

EDIT: Peter updated the builds, please download the updated ATIK driver.
The following user(s) said Thank You: jon
Last edit: 7 years 4 months ago by Jasem Mutlaq.
7 years 4 months ago #12867

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

Time to create page: 1.863 seconds