Welcome, Guest
Username: Password: Remember me
20 Aug 2017
INDI development team is happy to announce the release of INDI Library v1.5.0. This new exciting release builds on the maturity of INDI Library and comes with many new supported devices and fixes for existing drivers.
Read More...

TOPIC: Problems connecting to ZWO efw (Rock64)

Problems connecting to ZWO efw (Rock64) 1 week 3 days ago #20862

Build libindi from source and then compile the driver and see if that makes a difference. The drivers contains a blob that was compiled for arm64 but I wonder if this is what causing the issue somehow?

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

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?

Problems connecting to ZWO efw (Rock64) 1 week 3 days ago #20863

  • wimvb
  • wimvb's Avatar Topic Author
  • Away
  • Junior Boarder
  • Junior Boarder
  • Posts: 37
  • Thank you received: 3
Thanks, will do. But not tonight, because tonight is going to be clear. I'll use my trusty raspberry pi until I got this solved.
Will report back here when I have more to share.

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

Wim

Opticron Oregon 15*70, Skywatcher 150PDS + ST80, AZ-EQ6 GT + EQ3-2 Goto, ZWO ASI174MM-Cool + Pentax K20D (retired) + ZWO ASI120MM, homemade ditherbox, PixInsight, Raspberry Pi with INDI & PHD2, cloud cover

www.astrobin.com/users/wimvb/

Problems connecting to ZWO efw (Rock64) 1 week 3 days ago #20867

Hi guys..
I don't have the Rock64 board but I found this looking around in the forums..
forum.pine64.org/showthread.php?tid=5137&pid=32215
Br
/Markku

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

Problems connecting to ZWO efw (Rock64) 1 week 2 days ago #20874

  • wimvb
  • wimvb's Avatar Topic Author
  • Away
  • Junior Boarder
  • Junior Boarder
  • Posts: 37
  • Thank you received: 3
Thanks for the link.
The board itself doedn't crash. Rather the indi filter wheel driver does. My ASI camera and az eq6 mount function very well.

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

Wim

Opticron Oregon 15*70, Skywatcher 150PDS + ST80, AZ-EQ6 GT + EQ3-2 Goto, ZWO ASI174MM-Cool + Pentax K20D (retired) + ZWO ASI120MM, homemade ditherbox, PixInsight, Raspberry Pi with INDI & PHD2, cloud cover

www.astrobin.com/users/wimvb/

Problems connecting to ZWO efw (Rock64) 1 week 1 hour ago #20949

  • wimvb
  • wimvb's Avatar Topic Author
  • Away
  • Junior Boarder
  • Junior Boarder
  • Posts: 37
  • Thank you received: 3
Latest update:

Clouds tonight, so I cleared the sd-card of my Rock64.
Installed Ubuntu (xenial) pre-release 0.5.15 (not the latest, because that came with some stability warnings).

Compiled indilib as per this thread:

indilib.org/forum/general/210-howto-buil...st-libindi-ekos.html

started indiserver on the rock64, and ekos/kstars on windows
Connection to the simulators (telescope and ccd) worked well, so the build seems good.

Then compiled and installed eqmod and asi-ccd and asi-filter wheel.
No errors during compilation/build.

Started indiserver with indi_asi_ccd and indi_asi_wheel. Started ok and both devices are visible on lsusb

Tried connecting to ekos/kstars on windows:

2017-11-16T20:20:21: [ERROR] Connect(): EFWOpen() = 4

2017-11-16T20:21:20: [ERROR] Error connecting to the CCD (5)

Here's the log, showing the same error code:

File Attachment:

File Name: log_21-24-06.zip
File Size: 2 KB


Any ideas?

Btw, running indiserver with the -l switch to create a log didn't result in any more details.
Attachments:

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

Wim

Opticron Oregon 15*70, Skywatcher 150PDS + ST80, AZ-EQ6 GT + EQ3-2 Goto, ZWO ASI174MM-Cool + Pentax K20D (retired) + ZWO ASI120MM, homemade ditherbox, PixInsight, Raspberry Pi with INDI & PHD2, cloud cover

www.astrobin.com/users/wimvb/
Last Edit: by wimvb.

Problems connecting to ZWO efw (Rock64) 6 days 23 hours ago #20950

  • maudy
  • maudy's Avatar
  • Away
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 323
  • Karma: 2
  • Thank you received: 23
This error (Error connecting to the CCD (5)) I used to have to resolve not he RPI3/Ubuntu-mate, by:

1. Running INDISERVER via command line and sudo
2. Connect Ekos to the remote server 127.0.0.1 (localhost)

The CCD (5) error was caused by my ASI224MC-C.

The Connect(): EFWOpen() = 4, was also resolved with this combination of sudo and 127.0.0.1.

In my case both ASI224 and EFW were connected to the ASI1600 USB hub.

I was running everything on RPI3, and using VNC to connect to the RPI3.

I know we covered some of this before, and just mention it in case it helps.

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

Problems connecting to ZWO efw (Rock64) 6 days 23 hours ago #20951

  • wimvb
  • wimvb's Avatar Topic Author
  • Away
  • Junior Boarder
  • Junior Boarder
  • Posts: 37
  • Thank you received: 3
Thanks, Maudy.

Running indiserver as root got me back to the original issue:
indiserver connects to the ASI174 camera, but the driver process for the wheel dies when trying to connect to it.

Here's a quick screen dump from the command console

Child process 2253 died
2017-11-16T22:12:10: Driver indi_asi_wheel: restart #1
2017-11-16T22:12:10: Driver indi_asi_wheel: pid=2398 rfd=4 wfd=10 efd=11
2017-11-16T22:12:16: Driver indi_asi_ccd: recorder: setpixelformat 1195528775
2017-11-16T22:12:23: Driver indi_asi_wheel: stderr EOF
Child process 2398 died
2017-11-16T22:12:23: Driver indi_asi_wheel: restart #2
2017-11-16T22:12:23: Driver indi_asi_wheel: pid=2470 rfd=4 wfd=10 efd=11
Child process 2470 died

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

Wim

Opticron Oregon 15*70, Skywatcher 150PDS + ST80, AZ-EQ6 GT + EQ3-2 Goto, ZWO ASI174MM-Cool + Pentax K20D (retired) + ZWO ASI120MM, homemade ditherbox, PixInsight, Raspberry Pi with INDI & PHD2, cloud cover

www.astrobin.com/users/wimvb/

Problems connecting to ZWO efw (Rock64) 2 days 22 hours ago #21133

  • wimvb
  • wimvb's Avatar Topic Author
  • Away
  • Junior Boarder
  • Junior Boarder
  • Posts: 37
  • Thank you received: 3
I opened a thread on the ZWO user forum regarding this.

zwoug.org/viewtopic.php?f=17&t=7552

Tonight I started from a fresh ubuntu install (xenial-mate). Installed INDI full & Kstars from the PPA, and tried running everything locally (even using Remote with server localhost:8624). Still no luck. But I did get a ubuntu crash report for the wheel driver.
I'm totally out of ideas, so if I don't get any more input here or on the ZWO forum, I'm writing this off and will wait for Raspberry Pi to come out with a usb3 device.
Btw, the issue is with the zwo mini filter wheel. The ASI174MM works with the Rock64. So, if anyone wants to use the Rock with an ASI osc, that should work just fine.

File Attachment:

File Name: _usr_bin_indi_asi_wheel.0.crash.zip
File Size: 122 KB
Attachments:

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

Wim

Opticron Oregon 15*70, Skywatcher 150PDS + ST80, AZ-EQ6 GT + EQ3-2 Goto, ZWO ASI174MM-Cool + Pentax K20D (retired) + ZWO ASI120MM, homemade ditherbox, PixInsight, Raspberry Pi with INDI & PHD2, cloud cover

www.astrobin.com/users/wimvb/

Problems connecting to ZWO efw (Rock64) 2 days 15 hours ago #21144

  • wimvb
  • wimvb's Avatar Topic Author
  • Away
  • Junior Boarder
  • Junior Boarder
  • Posts: 37
  • Thank you received: 3
Tiny bit of progress. ZWO have identified the problem to be in the driver. From the crash report that I submitted, they could figure out where in the code the crash occurs. They just don't know yet how to fix it.

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

Wim

Opticron Oregon 15*70, Skywatcher 150PDS + ST80, AZ-EQ6 GT + EQ3-2 Goto, ZWO ASI174MM-Cool + Pentax K20D (retired) + ZWO ASI120MM, homemade ditherbox, PixInsight, Raspberry Pi with INDI & PHD2, cloud cover

www.astrobin.com/users/wimvb/

Problems connecting to ZWO efw (Rock64) 1 day 8 hours ago #21231

The dump contains a stacktrace:

Stacktrace:
#0 0x00000055645b2528 in CEFW::clearError() ()
No symbol table info available.
#1 0x00000055645b2628 in CEFW::getSlotNum(int*) ()
No symbol table info available.
#2 0x00000055645b1550 in ASIWHEEL::Connect() ()
No symbol table info available.
#3 0x0000007faf2772ac in INDI::DefaultDevice::ISNewSwitch(char const*, char const*, ISState*, char**, int) () from /usr/lib/aarch64-linux-gnu/libindidriver.so.1
No symbol table info available.
#4 0x0000007faf2a91e8 in INDI::FilterWheel::ISNewSwitch(char const*, char const*, ISState*, char**, int) () from /usr/lib/aarch64-linux-gnu/libindidriver.so.1
No symbol table info available.
#5 0x00000055645b0990 in ISNewSwitch ()
No symbol table info available.
#6 0x0000007faf26a9f8 in dispatch () from /usr/lib/aarch64-linux-gnu/libindidriver.so.1
No symbol table info available.
#7 0x0000007faf26afe8 in clientMsgCB () from /usr/lib/aarch64-linux-gnu/libindidriver.so.1

So the problem is within the ZWO SDK which is called by the INDI driver. I think this can only be fixed by the zwo folks.

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

Problems connecting to ZWO efw (Rock64) 1 day 5 hours ago #21236

  • wimvb
  • wimvb's Avatar Topic Author
  • Away
  • Junior Boarder
  • Junior Boarder
  • Posts: 37
  • Thank you received: 3
I got the same info (just not as detailed as your reply) from the ZWO driver developer. They see that the cause is the driver, but they don't have a solution yet. I just hope they're working on one. From the reactions I have received, there are enough people interested to see it work. The Rock64 sbc is a viable alternative to the RPi, because of the usb3 port.

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

Wim

Opticron Oregon 15*70, Skywatcher 150PDS + ST80, AZ-EQ6 GT + EQ3-2 Goto, ZWO ASI174MM-Cool + Pentax K20D (retired) + ZWO ASI120MM, homemade ditherbox, PixInsight, Raspberry Pi with INDI & PHD2, cloud cover

www.astrobin.com/users/wimvb/
Time to create page: 0.391 seconds

Login

3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!


Gallery

Replica

Why INDI

Replica