×

INDI Library v1.9.3 Released (11 Nov 2021)

Bimonthly Stable INDI Library release introduces new drivers and fixes for existing ones. Some highlights:

indi-nexstarevo issues and questions

  • Posts: 27
  • Thank you received: 2
Hi!
My first post on the forum!

@Paweł T. Jochym, I'm justr trying out your driver indi-nexstarevo. Thank you for adding that support!!

I have Celestron Nexstar Evolution 6" and Dell laptop with Fedora 27.
First, I am connecting to Nexstar using Wifi SkyQlink 1.2.3.4:2000 and there seems to be connection between indi and mount.

But when I am trying to make any movement (left/right etc) nothing happens.
Not sure if there is any specific step I should make ?
any suggestions how could i debug it?

I was also hoping that I could try Nexstar Celestron driver (from Jasem Mutlaq) and AUX-Serial-USB cable that I have but, I have hard time connecting to that usb. (sudo adduser $USER dialout) might be a trick for Ubuntu but on Fedora it's just giving me help output for "adduser" command.

On other hand, is there any other method of connecting to the mount? At this moment If I have to use Nexstar wifi then I won't be able to have any other connections (lets say I won't be able to connect raspberry to mount and laptop remotely as wifi will be busy connecting to my mount)

Cheers and Thank you!
4 years 5 days ago #21213
Attachments:

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

  • Posts: 171
  • Thank you received: 41
gpasswd -a $USER dialout
4 years 5 days ago #21218

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

  • Posts: 27
  • Thank you received: 2
Thanks!
I did run it, I've added myself to the group. Unfortunately this is not helping me with connection. Not sure if this is pure connection related or just this driver won't work with Nexstar Evolution ?

I can confirm that it is ttyUSB0 as it is only dev that appears after connecting usb.
>  sudo gpasswd -a $USER dialout
[sudo] password for ats: 
Adding user ats to group dialout
 
2017-11-22T08:53:59: Failed to connect to port (/dev/ttyUSB0). Error: Port failure Error: Permission denied. Try adding your user to the dialout group and restart (sudo adduser $USER dialout) 
2017-11-22T08:53:59: Communication with /dev/ttyUSB0 @ 9600 failed. Starting Auto Search... 
2017-11-22T08:53:59: Failed to connect to port (/dev/ttyUSB0). Error: Port failure Error: Permission denied. Try adding your user to the dialout group and restart (sudo adduser $USER dialout) 
2017-11-22T08:53:46: Scan complete. Found 1 port(s).

>lsusb -vv
[ 6201.463655] usb 1-2: new full-speed USB device number 6 using xhci_hcd
[ 6201.632737] usb 1-2: New USB device found, idVendor=067b, idProduct=2303
[ 6201.632745] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6201.632750] usb 1-2: Product: USB-Serial Controller D
[ 6201.632754] usb 1-2: Manufacturer: Prolific Technology Inc. 
[ 6201.637538] pl2303 1-2:1.0: pl2303 converter detected
[ 6201.638268] usb 1-2: pl2303 converter now attached to ttyUSB0
>dmesg
Bus 001 Device 006: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x067b Prolific Technology, Inc.
  idProduct          0x2303 PL2303 Serial Port
  bcdDevice            4.00
  iManufacturer           1 
  iProduct                2 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           39
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x000a  1x 10 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
Last edit: 4 years 5 days ago by Albert Szostkiewicz.
4 years 5 days ago #21220

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

  • Posts: 171
  • Thank you received: 41
Did you re-login after adding you to the group?
4 years 5 days ago #21223

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

  • Posts: 27
  • Thank you received: 2
Ha! I should but I did not :) Ok, works! ... well sort of. I ended up with same issue as nexstar_evo wifi connection:
- It does not move my mount :( . I'm trying to move any direction (as I would do with manual pad) but I am not getting any response from the mount


Thanks!
4 years 4 days ago #21233
Attachments:

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

  • Posts: 180
  • Thank you received: 50
@tmdag - I am glad you are trying to make my driver work.
First - it is not going to work via the cable (yet). The other ways of communication are not implemented but planned. Unfortunately the AUX protocol is a bit tricky.
So wifi-only for now.
Regarding the connection: what is the sequence of blinking of your mount wifi-light. It should be fast (not connected, waiting for client) - slow (Client assigned IP, no connection yet) - constant (Client connected).
If wifi light is constant please run the driver with debugging (you can also run indiserver with extra -v to get even more debugging) and upload the log. We will se what is wrong. If you are running on linux and have python3.6 available you can also run it against the simulator from the source directory to eliminate problems with your network/ap/etc.
Also check if you have alignment system active - sometimes this could be a problem. Make also sure that you have your position correctly entered. Evo is an alt-az mount and really needs to know your position.
P.
4 years 4 days ago #21246

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

  • Posts: 180
  • Thank you received: 50
One more thing - The celestron-nexstar driver will not work with the usb-aux cable. I hope you do not mean usb-serial cable. The AUX socket is different and *must not* be connected to regular serial line (actually it is serial with different voltages and wiring). I hope you did not fry your mount!
Furthermore, this is completely different protocol. For the celestron-nexstar driver you need a correct usb-serial adaptor with small RJ plug at the end.
You can connect it to the base of the hand-controller and use it that way. It is quite straightforward and should work if you get permissions right.
The nexstarevo driver uses low-level AUX protocol which is present in the WiFi transmission and in AUX sockets on the mount.
P.
4 years 4 days ago #21247

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

  • Posts: 27
  • Thank you received: 2
Hey Johym! Witam witam! :)

As for the cable:
I have bought from Amazon two cables:
- "Celestron Nexstar RS 232 PC Interface" cable
- "RS 232 to usb"
I have connected those to my USB and Celestron Hand control AUX output. (Nothing fried just yet, Hand control, controls mount as expected)
Is that correct procedure?

As for Wifi debugging, I will let you know asap :)
4 years 4 days ago #21254

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

  • Posts: 27
  • Thank you received: 2
>"Regarding the connection: what is the sequence of blinking of your mount wifi-light. It should be fast (not connected, waiting for client) - slow (Client assigned IP, no connection yet) - constant (Client connected)."
It seems to be contected, it's constant. And driver confirms it.

>you can also run indiserver with extra -v to get even more debugging
In configuration of Kstars/Indi I did not found any option to enter additional flags. I've tried to modify settings to run indi server as '/usr/bin/indiserver -v' but that didn't worked. What would be proper procedure to do so ?

Unfortunately I didn't got much of an info from debug option in driver:
2017-11-23T05:27:57: [INFO] NexStar Evolution is offline. 
2017-11-23T05:26:42: [INFO] Telescope aborted. 
2017-11-23T05:26:23: [INFO] NexStar Evolution is online. 
2017-11-23T05:26:15: [INFO] Connecting to 1.2.3.4@2000 ... 
2017-11-23T05:21:42: [INFO] Debug is enabled. 
2017-11-23T05:21:37: [INFO] NexStar Evolution is offline. 
2017-11-23T05:20:07: [INFO] NexStar Evolution is online. 
2017-11-23T05:20:04: [INFO] Connecting to 1.2.3.4@2000 ... 
2017-11-23T05:20:02: [INFO] NexStar Evolution is offline. 
2017-11-23T05:18:23: [INFO] Device configuration applied. 
2017-11-23T05:18:23: [INFO] Debug is disabled. 
2017-11-23T05:18:23: [INFO] Loading device configuration... 
2017-11-23T05:18:23: [INFO] NexStar Evolution is online. 
2017-11-23T05:18:18: [INFO] Connecting to 1.2.3.4@2000 ... 
2017-11-23T05:18:03: [ERROR] Error! Server address is missing or invalid. 
2017-11-23T05:17:59: [INFO] Debug is enabled. 

I did not enter anything under alignment system. I am afraid I would need to ask for some help here or docs. I am not even sure where and how would I get such info ?
From Hand control I managed to get info from MENU/Utilities/Get Axis Postion (as Azm/Alt)

4 years 4 days ago #21255
Attachments:

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

  • Posts: 27
  • Thank you received: 2
I haven't tested your driver from source, altho I am comfortable with python, I will have to spend some more time to get my head around what is where and what should i run. Lots of docs to go thorough! :)
Maybe I should do 2 steps back and highlight here that I am total beginner in this field.
4 years 4 days ago #21256

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

  • Posts: 180
  • Thank you received: 50
I will gladly help you make it work. Do not worry - we may get a decent docs out of this. The beginner is actually perfect for such exercise.

1) The cable: Please do not connect *ANYTHING* (except Hand Controller) to the AUX ports in the mount unless it is clearly marked as intended for the AUX ports. These are *NOT* RS232 ports at all. The RS232 port you can use is the one at the base of the HC. Unfortunately, my driver does not implement the serial connection yet - sorry.

2) The connection - thanks for the logs I am bothered by the online-offline flipping messages. Are you sure your network settings are not messed up by the auto-connect features of your OS. The 1.2.3.4 IP selected by celestron is really stupid - this is a real routable IP not assigned at the moment but not intended for such use and network stacks expect it to be a regular internet IP. That is why I am using my mount in the infrastructure mode with a portable access point - much less connectivity problems. If you cannot switch to infrastructure mode we will keep fighting with AP mode - do not worry. It is supposed to work in both modes.

3) The settings looks fine. I'll try to reproduce the problem on my end. Which version of the indi distro you are you using? The os is Fedora 27 I understand but indi is from this page or from the fedora distro?
P.
4 years 4 days ago #21261

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

  • Posts: 180
  • Thank you received: 50
I assume you are using the 1.6 distro for fedora 27 as described in the download section of the site
I have installed:
  • kstars-bleeding
  • indi-nexstarevo-bleeding
The fedora is an upgraded clean install and running in virtualbox. In this config all was working with the simulator.
On the other hand it is not working with the actual mount - so the problem is not yours!
Thanks for the heads up. Something broke recently. I'll try to fix it ASAP.
P.
4 years 4 days ago #21264

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

Time to create page: 0.739 seconds