×

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

Bi-monthly release with minor bug fixes and improvements

[SOLVED] Meade DSI driver won't start

  • Posts: 85
  • Thank you received: 3
Hi.
I wanted to test the newest DSI driver on my Raspberry Pi and I have the latest indilib and all 3rdparty drivers built from source.

When running indiserver -vv indi_dsi_ccd I get the following error:
2015-09-28T18:20:48: Driver indi_dsi_ccd: ERROR: Logger not configured!
2015-09-28T18:20:48: Driver indi_dsi_ccd: stderr EOF
2015-09-28T18:20:48: Driver indi_dsi_ccd: restart #148
2015-09-28T18:20:48: Driver indi_dsi_ccd: pid=10255 rfd=0 wfd=6 efd=7
2015-09-28T18:20:48: Driver indi_dsi_ccd: sending <getProperties version='1.7'/>

And it then restarts and throws the same error again.

When I tried connecting the dsi directly to my laptop it started ok, if I run indiserver directly from terminal.
However when trying to start indiserver locally from within KStars/Ekos I get an error saying It can't connect to indiserver locally. (See attached image)
On the laptop, indilib and KStars are installed from PPA.



This is the output from KStars.log
2015-09-28T20:38:58.669 - DEBG - I just prevented a recursive / concurrent draw!
2015-09-28T20:38:58.672 - WARN - "Star HD61421 not found."
2015-09-28T20:38:58.673 - WARN - "Star HD10700 not found."
2015-09-28T20:38:58.676 - WARN - "Star HD20794 not found."
2015-09-28T20:38:58.678 - WARN - "Star HD2151 not found."
2015-09-28T20:38:58.681 - WARN - "Star HD190248 not found."
2015-09-28T20:38:58.683 - WARN - "Star HD142860 not found."
2015-09-28T20:38:58.684 - WARN - "Star HD1581 not found."
2015-09-28T20:38:58.684 - WARN - "Star HD1581 not found."
2015-09-28T20:38:58.685 - WARN - "Star HD98230 not found."
2015-09-28T20:39:04.702 - DEBG - Stopping INDI services.
2015-09-28T20:39:05.813 - DEBG - Adding a new client manager to INDI listener..
2015-09-28T20:39:05.852 - DEBG - Calling notify on "Sound"
2015-09-28T20:39:05.853 - DEBG - Changing audio state from  Phonon::StoppedState  to  Phonon::LoadingState 
2015-09-28T20:39:05.853 - DEBG - Changing audio state from  Phonon::LoadingState  to  Phonon::StoppedState 
2015-09-28T20:39:05.907 - DEBG - Changing audio state from  Phonon::StoppedState  to  Phonon::LoadingState 
2015-09-28T20:39:05.907 - DEBG - Changing audio state from  Phonon::LoadingState  to  Phonon::BufferingState 
2015-09-28T20:39:05.907 - DEBG - Changing audio state from  Phonon::BufferingState  to  Phonon::PlayingState 
2015-09-28T20:39:05.907 - DEBG - Changing audio state from  Phonon::PlayingState  to  Phonon::BufferingState 
2015-09-28T20:39:05.907 - DEBG - Changing audio state from  Phonon::BufferingState  to  Phonon::PlayingState 
2015-09-28T20:39:07.298 - DEBG - Changing audio state from  Phonon::PlayingState  to  Phonon::StoppedState 
2015-09-28T20:39:37.726 - DEBG - OBEST= "1978 T1 (Seargent)"  -  ""
2015-09-28T20:39:55.062 - DEBG - OBEST= "1947 V1 (Honda)"  -  ""
2015-09-28T20:40:01.120 - DEBG - OBEST= "NGC 6533"  -  ""
2015-09-28T20:40:29.660 - DEBG - OBEST= "1931 O1 (Nagata)"  -  ""
2015-09-28T20:41:38.808 - DEBG - OBEST= "2009 K3 (Beshore)"  -  ""
2015-09-28T20:41:54.766 - DEBG - Stopping INDI services.
2015-09-28T20:41:55.739 - DEBG - Adding a new client manager to INDI listener..
2015-09-28T20:41:55.767 - DEBG - Calling notify on "Sound"
2015-09-28T20:41:55.785 - DEBG - Changing audio state from  Phonon::StoppedState  to  Phonon::LoadingState 
2015-09-28T20:41:55.785 - DEBG - Changing audio state from  Phonon::LoadingState  to  Phonon::StoppedState 
2015-09-28T20:41:55.810 - DEBG - Changing audio state from  Phonon::StoppedState  to  Phonon::LoadingState 
2015-09-28T20:41:55.814 - DEBG - Changing audio state from  Phonon::LoadingState  to  Phonon::BufferingState 
2015-09-28T20:41:55.841 - DEBG - Changing audio state from  Phonon::BufferingState  to  Phonon::PlayingState 
2015-09-28T20:41:55.844 - DEBG - Changing audio state from  Phonon::PlayingState  to  Phonon::BufferingState 
2015-09-28T20:41:55.847 - DEBG - Changing audio state from  Phonon::BufferingState  to  Phonon::PlayingState 
2015-09-28T20:41:57.250 - DEBG - Changing audio state from  Phonon::PlayingState  to  Phonon::StoppedState 
2015-09-28T20:42:46.056 - DEBG - OBEST= "1806 V1 (Pons)"  -  ""
2015-09-28T20:43:03.306 - DEBG - OBEST= "2014 S3 (PANSTARRS)"  -  ""

Any Ideas?

/Daniel
8 years 6 months ago #5257
Attachments:

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

  • Posts: 153
  • Thank you received: 29
Hi Daniel,
Do other drivers work?

-Ben
8 years 6 months ago #5260

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

  • Posts: 85
  • Thank you received: 3

Hi Ben.
Yes, I tried to start the ccd simulator, indi_sx_ccd and indi_qsi_ccd driver and they all started without any problems.

/Daniel
8 years 6 months ago #5261

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

  • Posts: 153
  • Thank you received: 29
I think what you're seeing is what happens when the driver is crashing. Could you try getting a backtrace? I think this is spelled out in section 3 at www.indilib.org/forum/general/571-read-b...support-request.html

Thanks,
Ben
8 years 6 months ago #5263

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

I get the same problem in Ekos VM but not on my local machine, could be a PPA build issue, will investigate tomorrow.
The following user(s) said Thank You: Daniel Franzén
8 years 6 months ago #5267

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

  • Posts: 193
  • Thank you received: 46
I am testing here today with a dsi, and it's working fine. Setup

Meade dsipro, one of the really old cheapies, mounted in a 127mak. I've got an extender and reducer in now, finally got it to reach focus correctly. The big 'under stars' test will happen later this evening, but it's taking frames of some distant trees right now, and working well.

The computer in my case is an atom based netbook, running 32 bit install of ubuntu vivid. The indi is all built from source, fresh updates earlier today.
8 years 6 months ago #5269

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

  • Posts: 85
  • Thank you received: 3

Hello again.
This is what I managed to get when debugging indiserver
Starting program: /usr/bin/indiserver -v indi_dsi_ccd
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
2015-09-29T06:59:05: startup: /usr/bin/indiserver -v indi_dsi_ccd
[New process 16170]
2015-09-29T06:59:05: Driver indi_dsi_ccd: pid=16170 rfd=7 wfd=10 efd=11
2015-09-29T06:59:05: listening to port 7624 on fd 8
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
process 16170 is executing new program: /usr/local/bin/indi_dsi_ccd
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
2015-09-29T06:59:06: Driver indi_dsi_ccd: ERROR: Logger not configured!
 
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x76ff7000 (LWP 16170)]
0x76acaca0 in strncpy () from /lib/arm-linux-gnueabihf/libc.so.6
(gdb) backtrace
#0  0x76acaca0 in strncpy () from /lib/arm-linux-gnueabihf/libc.so.6
#1  0x76ee16f0 in INDI::BaseDevice::setDeviceName (this=0x60a30,
    dev=0xffffffff <Address 0xffffffff out of bounds>)
    at /home/pi/Projects/libindi/libs/indibase/basedevice.cpp:1177
#2  0x76ee63a8 in INDI::DefaultDevice::ISGetProperties (this=0x60a30, dev=0x0)
    at /home/pi/Projects/libindi/libs/indibase/defaultdevice.cpp:469
#3  0x76eeb6b4 in INDI::CCD::ISGetProperties (this=0x60a30, dev=0x0)
    at /home/pi/Projects/libindi/libs/indibase/indiccd.cpp:550
#4  0x00031d68 in ISGetProperties ()
#5  0x76ed8c44 in dispatch (root=0x608a0, msg=0x7effede4 "")
    at /home/pi/Projects/libindi/indidriver.c:1096
#6  0x76ed778c in clientMsgCB (fd=0, arg=0x0)
    at /home/pi/Projects/libindi/indidriver.c:804
#7  0x76edd250 in callCallback (rfdp=0x7efff628)
    at /home/pi/Projects/libindi/eventloop.c:346
#8  0x76edd688 in oneLoop () at /home/pi/Projects/libindi/eventloop.c:432
#9  0x76edc53c in eventLoop () at /home/pi/Projects/libindi/eventloop.c:105
#10 0x76edc404 in main (ac=0, av=0x7efff844)
    at /home/pi/Projects/libindi/indidrivermain.c:97
#11 0x76a6b81c in __libc_start_main () from /lib/arm-linux-gnueabihf/libc.so.6
#12 0x00031b94 in _start ()

Hope this helps.

/Daniel
8 years 6 months ago #5272

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

  • Posts: 85
  • Thank you received: 3

I'm also running Kubuntu virtually on my macbook using vmware.
Yesterday I tried to connect using only simulators but got the same error, so it seems that the local connect problem is not related to the DSI driver.

/Daniel
8 years 6 months ago #5302

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

  • Posts: 85
  • Thank you received: 3
The latest KStars seems to have fixed the local connect error while running on a virtual machine. I could connect to it locally now.

So, back to the problem why indi_dsi_ccd won't start on RPi...
Does anyone else have the same problem or is it just on my Raspberry that this happens?
8 years 6 months ago #5364

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

It's working fine here on the Raspberry PI. Are you using the latest Raspberry PI package from the download section?
8 years 6 months ago #5365

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

  • Posts: 85
  • Thank you received: 3
Hi. No I'm building from source.
I'll have to try the precompiled package and see it that works instead. Could there be a dependency problem? There are no build errors when I compile indilib and 3rdparty drivers.

/Daniel
8 years 6 months ago #5366

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

Try the packages and let's see.. the package are daily-built anyway so you won't miss any changes.
8 years 6 months ago #5367

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

Time to create page: 0.479 seconds