Problems connecting to ZWO efw (Rock64)

Replied by knro on topic Problems connecting to ZWO efw (Rock64)

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?
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
1 year 1 month ago #20862

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

  • Posts: 97
  • Thank you received: 15

Replied by wimvb on topic Problems connecting to ZWO efw (Rock64)

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.
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, Rock64 x 2 with INDI & PHD2, cloud cover

www.astrobin.com/users/wimvb/
1 year 1 month ago #20863

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

  • Posts: 203
  • Karma: 1
  • Thank you received: 28

Replied by maxer on topic Problems connecting to ZWO efw (Rock64)

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
EQ8, Small scope SW200, Big scope SW300, Xagyl FW, Guidescope Celestron 80mm, SX LodestarX2, SXVR-H9.
RPi3, Ubuntu Mate, and many Arduinos..
1 year 1 month ago #20867

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

  • Posts: 97
  • Thank you received: 15

Replied by wimvb on topic Problems connecting to ZWO efw (Rock64)

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.
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, Rock64 x 2 with INDI & PHD2, cloud cover

www.astrobin.com/users/wimvb/
1 year 1 month ago #20874

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

  • Posts: 97
  • Thank you received: 15

Replied by wimvb on topic Problems connecting to ZWO efw (Rock64)

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.
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, Rock64 x 2 with INDI & PHD2, cloud cover

www.astrobin.com/users/wimvb/
Last edit: 1 year 1 month ago by wimvb.
1 year 1 month ago #20949
Attachments:

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

  • Posts: 353
  • Karma: 2
  • Thank you received: 25

Replied by maudy on topic Problems connecting to ZWO efw (Rock64)

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.
1 year 1 month ago #20950

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

  • Posts: 97
  • Thank you received: 15

Replied by wimvb on topic Problems connecting to ZWO efw (Rock64)

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
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, Rock64 x 2 with INDI & PHD2, cloud cover

www.astrobin.com/users/wimvb/
1 year 1 month ago #20951

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

  • Posts: 97
  • Thank you received: 15

Replied by wimvb on topic Problems connecting to ZWO efw (Rock64)

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_i...rash.zip
File Size:122 KB
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, Rock64 x 2 with INDI & PHD2, cloud cover

www.astrobin.com/users/wimvb/
1 year 3 weeks ago #21133
Attachments:

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

  • Posts: 97
  • Thank you received: 15

Replied by wimvb on topic Problems connecting to ZWO efw (Rock64)

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.
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, Rock64 x 2 with INDI & PHD2, cloud cover

www.astrobin.com/users/wimvb/
1 year 3 weeks ago #21144

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

  • Posts: 41
  • Karma: 1
  • Thank you received: 7

Replied by kkretzsch on topic Problems connecting to ZWO efw (Rock64)

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.
1 year 3 weeks ago #21231

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

  • Posts: 97
  • Thank you received: 15

Replied by wimvb on topic Problems connecting to ZWO efw (Rock64)

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.
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, Rock64 x 2 with INDI & PHD2, cloud cover

www.astrobin.com/users/wimvb/
1 year 3 weeks ago #21236

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

  • Posts: 7
  • Thank you received: 3

Replied by yang on topic Problems connecting to ZWO efw (Rock64)

It's bug of our EFW SDK, I've rebuilt one that can run on aarch64 platform:
astronomy-imaging-camera.com/software/EF...ac_SDK_V0.3.1205.tar
The following user(s) said Thank You: knro, wimvb
1 year 1 week ago #21464

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

Time to create page: 0.771 seconds