×

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

Bi-monthly release with minor bug fixes and improvements

Updating after 6 months, indi server won't start

  • Posts: 86
  • Thank you received: 5
Hi there. I've just updated Indi, both client (on Ubuntu) and server (on ArchLinux) after 6 months of absence. Before I updated all was working fine, after update I can't start the Indi server, the error (for the simplest configuration of just starting the eqmod mount driver ) is shown below. I know the mount is there because I can talk to it on the expected port via minicom. I will keep looking, of course, but any pointers as to what might have changed are welcomed. I don't recall having to specify INDIDEV previously.

2016-12-29T20:58:30: startup: indiserver indi_eqmod_telescope 
2016-12-29T20:58:30: Driver indi_eqmod_telescope: Connecting to port INDIDEV at speed 76
2016-12-29T20:58:30: Driver indi_eqmod_telescope: Error:  -> Error connecting to port INDIDEV: Port failure Error: No such file or directory. Check if device is connected to this port.
2016-12-29T20:58:30: Driver indi_eqmod_telescope: stdin EOF
2016-12-29T20:58:30: Driver indi_eqmod_telescope: restart #1
Child process 318 died
2016-12-29T20:58:30: select(8): Interrupted system call
2016-12-29T20:58:30: good bye
7 years 3 months ago #13384

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

  • Posts: 89
  • Thank you received: 16
I have my main desktop on Arch. I usually use this as the client machine and have my raspberry Pi out with the scope.

However, I have recently been testing my main desktop as a server, for convience to see if my hardware was working nicely.
I recently upgraded libindi from the main repos I am on libindi 1.3.1-1
I have installed libindi_3rdparty from the AUR and from upstream.

I tested my guide camera QHY5 II -M and it would not work properly via indi although I could use it easily with lin_guider. There has been no end of problems with the QHY CCDs in the forums and I have read that one guy sold his and bought another camera.

I tested my new camera ZWO ASI 1600MM -Cooled and this worked.
I tested my new filter wheel ZWO EFWmini and it would not work unless I started indi as root, see other thread.

I have an EQ Direct cable (UART) that I use to control the mount using indi_eqmod_telescope. I usually use a raspberry PI to control that outside.
Bus 001 Device 006: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port

I will bring it in and try it on the desktop here and let you know what it says.
7 years 3 months ago #13387

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

  • Posts: 89
  • Thank you received: 16
Geez that mount is heavy :-).
It appears to be working here for me.

The journal when I plug in the cable
Dec 29 22:17:34 aoife kernel: usb 8-1: new full-speed USB device number 2 using uhci_hcd
Dec 29 22:17:35 aoife mtp-probe[7567]: checking bus 8, device 2: "/sys/devices/pci0000:00/0000:00:1d.0/usb8/8-1"
Dec 29 22:17:35 aoife mtp-probe[7567]: bus: 8, device: 2 was not an MTP device
Dec 29 22:17:35 aoife kernel: usbcore: registered new interface driver usbserial
Dec 29 22:17:35 aoife kernel: usbcore: registered new interface driver usbserial_generic
Dec 29 22:17:35 aoife kernel: usbserial: USB Serial support registered for generic
Dec 29 22:17:35 aoife kernel: usbcore: registered new interface driver pl2303
Dec 29 22:17:35 aoife kernel: usbserial: USB Serial support registered for pl2303
Dec 29 22:17:35 aoife kernel: pl2303 8-1:1.0: pl2303 converter detected
Dec 29 22:17:35 aoife kernel: usb 8-1: pl2303 converter now attached to ttyUSB0
Dec 29 22:17:35 aoife systemd[1]: Listening on GPS (Global Positioning System) Daemon Sockets.
Dec 29 22:17:35 aoife systemd[1]: Created slice system-gpsdctl.slice.
Dec 29 22:17:35 aoife systemd[1]: Starting Manage ttyUSB0 for GPS daemon...
Dec 29 22:17:35 aoife gpsdctl[7593]: gpsd_control(action=add, arg=/dev/ttyUSB0)
Dec 29 22:17:35 aoife systemd[1]: Started GPS (Global Positioning System) Daemon.
Dec 29 22:17:35 aoife gpsdctl[7593]: reached a running gpsd
Dec 29 22:17:35 aoife systemd[1]: Started Manage ttyUSB0 for GPS daemon
 

My relevant USB port
adrian@aoife:~$ lsusb
Bus 008 Device 002: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
 
adrian@aoife:~$ ls -l /dev/ttyUSB*
crw-rw---- 1 root uucp 188, 0 Dec 29 22:17 /dev/ttyUSB0
 

I am in the uucp group
adrian@aoife:~$ groups
sys wheel uucp lock scanner input users vboxusers adrian
 

I have eqmod_telescope
adrian@aoife:~$ pacman -Qo /usr/bin/indi_eqmod_telescope
/usr/bin/indi_eqmod_telescope is owned by [b]libindi_3rdparty 1.3.1-1[/b]
 

libindi_3rdparty came from the AUR/Pastebin link.
adrian@aoife:~$ indiserver -v indi_eqmod_telescope indi_simulator_ccd
2016-12-29T22:25:51: startup: indiserver -v indi_eqmod_telescope indi_simulator_ccd 
2016-12-29T22:25:51: Driver indi_eqmod_telescope: pid=7855 rfd=3 wfd=6 efd=7
2016-12-29T22:25:51: Driver indi_simulator_ccd: pid=7856 rfd=4 wfd=9 efd=10
2016-12-29T22:25:51: listening to port 7624 on fd 5
2016-12-29T22:25:51: Driver indi_simulator_ccd: snooping on Telescope Simulator.EQUATORIAL_EOD_COORD
2016-12-29T22:25:51: Driver indi_simulator_ccd: snooping on Telescope Simulator.TELESCOPE_INFO
2016-12-29T22:25:51: Driver indi_simulator_ccd: snooping on CCD Simulator.FILTER_SLOT
2016-12-29T22:25:51: Driver indi_simulator_ccd: snooping on CCD Simulator.FILTER_NAME
2016-12-29T22:25:51: Driver indi_simulator_ccd: snooping on Telescope Simulator.EQUATORIAL_PE
2016-12-29T22:25:51: Driver indi_simulator_ccd: snooping on Focuser Simulator.FWHM
2016-12-29T22:25:51: Driver indi_eqmod_telescope: snooping on GPS Simulator.GEOGRAPHIC_COORD
2016-12-29T22:25:51: Driver indi_eqmod_telescope: snooping on GPS Simulator.TIME_UTC
2016-12-29T22:25:51: Driver indi_eqmod_telescope: EnumeratePlugins - found plugin SVD Math Plugin
 

Here is the log from EKOS in kstars
2016-12-29T22:27:17: updateLocation: long = -8.483 lat = 51.8997 
2016-12-29T22:27:17: Setting UTC Time to 2016-12-29T22:27:15, Offset 0 
2016-12-29T22:27:17: Error loading user configuration. Unable to read user config file. Error loading file /home/adrian/.indi/EQMod Mount_config.xml: No such file or directory. To save user configuration, click Save under the Configuration property in the Options tab.  
2016-12-29T22:27:17: Can not load Align Data File ~/.indi/AlignData.xml: No such file or directory 
2016-12-29T22:27:17: Mount is unparked. 
2016-12-29T22:27:17: InitPark: No Park data in file ~/.indi/ParkData.xml: No such file or directory 
2016-12-29T22:27:17: Successfully connected to EQMod Mount. 
2016-12-29T22:27:17: Connecting to port /dev/ttyUSB0 at speed 9600 
 

I am not sure why it is not working for you. How did you upgrade your indi_eqmod_telescope?

I always set my option for the port for the telescope in the Options tab of EQMod Mount. In this case I typed in /dev/ttyUSB0 and clicked set, then used connect in the main control tab.
Last edit: 7 years 3 months ago by Adrian. Reason: How to set option for port in indi
7 years 3 months ago #13388

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

  • Posts: 86
  • Thank you received: 5
Thanks for doing all this checking. I updated the Indi server stuff by pulling the code from git and building it for my devices (EQMOD mount, QHY and ASI CCDs, Moonlight focuser). My mount is in /dev/ttyUSB1 rather than USB0 but it is mapped to /dev/heq5 and sending "e1" to /dev/heq5 produces the response "=020401", so I know it's there. However there seems to be a need to set INDIDEV, which I guess wasn't there before. There must be a configuration file that I need to tweak somewhere... Mind you, connecting at speed 76 seems a tad strange.

2016-12-30T00:04:29: startup: indiserver -v indi_eqmod_telescope 
2016-12-30T00:04:29: Driver indi_eqmod_telescope: pid=395 rfd=3 wfd=6 efd=7
2016-12-30T00:04:29: listening to port 7624 on fd 4
2016-12-30T00:04:29: Driver indi_eqmod_telescope: Connecting to port INDIDEV at speed 76
2016-12-30T00:04:29: Driver indi_eqmod_telescope: Error:  -> Error connecting to port INDIDEV: Port failure Error: No such file or directory. Check if device is connected to this port.
Last edit: 7 years 3 months ago by Rob Meades.
7 years 3 months ago #13392

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

  • Posts: 86
  • Thank you received: 5
S'OK, sussed it. I noticed that the date/time of the indi_eqmod_telescope binary file in /usr/bin was in June this year, then I remembered that when building libindi I'd forgotten to do the final sudo make install step until after I'd built one or two of the drivers. I suspect the version of indi_eqmod_telescope was an old one that came with libindi, building and installing indi_eqmod_telescope again did the trick, the time and date is now today and the indi server starts correctly.

Working again :-).
Last edit: 7 years 3 months ago by Rob Meades.
7 years 3 months ago #13411

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

  • Posts: 89
  • Thank you received: 16
7 years 3 months ago #13418

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

Time to create page: 0.411 seconds