×

INDI Library v2.0.0 Released (01 Feb 2023)

Bi-monthly release with major changes to INDI properties and client API in addition to new drivers and improvements.

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
5 years 2 months ago #20862

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

  • Posts: 125
  • Thank you received: 15
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

Skywatcher 190MN + 150PDS, AZ-EQ6 GT + EQ3-2 Goto, ZWO ASI294MM Pro + ZWO ASI174MM-Cool, Raspberry Pi4 with Astroberry + Rock64 x 2 with INDI & PHD2

www.astrobin.com/users/wimvb/
5 years 2 months ago #20863

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

  • Posts: 285
  • Thank you received: 43
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.
RPi4, Ubuntu Server 20.04.3 LTS x64, and many Arduinos..
5 years 2 months ago #20867

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

  • Posts: 125
  • Thank you received: 15
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

Skywatcher 190MN + 150PDS, AZ-EQ6 GT + EQ3-2 Goto, ZWO ASI294MM Pro + ZWO ASI174MM-Cool, Raspberry Pi4 with Astroberry + Rock64 x 2 with INDI & PHD2

www.astrobin.com/users/wimvb/
5 years 2 months ago #20874

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

  • Posts: 125
  • Thank you received: 15
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

Skywatcher 190MN + 150PDS, AZ-EQ6 GT + EQ3-2 Goto, ZWO ASI294MM Pro + ZWO ASI174MM-Cool, Raspberry Pi4 with Astroberry + Rock64 x 2 with INDI & PHD2

www.astrobin.com/users/wimvb/
Last edit: 5 years 2 months ago by Wim van Berlo.
5 years 2 months ago #20949
Attachments:

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

  • Posts: 333
  • Thank you received: 24
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.
5 years 2 months ago #20950

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

  • Posts: 125
  • Thank you received: 15
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

Skywatcher 190MN + 150PDS, AZ-EQ6 GT + EQ3-2 Goto, ZWO ASI294MM Pro + ZWO ASI174MM-Cool, Raspberry Pi4 with Astroberry + Rock64 x 2 with INDI & PHD2

www.astrobin.com/users/wimvb/
5 years 2 months ago #20951

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

  • Posts: 125
  • Thank you received: 15
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

Skywatcher 190MN + 150PDS, AZ-EQ6 GT + EQ3-2 Goto, ZWO ASI294MM Pro + ZWO ASI174MM-Cool, Raspberry Pi4 with Astroberry + Rock64 x 2 with INDI & PHD2

www.astrobin.com/users/wimvb/
5 years 2 months ago #21133
Attachments:

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

  • Posts: 125
  • Thank you received: 15
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

Skywatcher 190MN + 150PDS, AZ-EQ6 GT + EQ3-2 Goto, ZWO ASI294MM Pro + ZWO ASI174MM-Cool, Raspberry Pi4 with Astroberry + Rock64 x 2 with INDI & PHD2

www.astrobin.com/users/wimvb/
5 years 2 months ago #21144

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

  • Posts: 41
  • Thank you received: 7
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.
5 years 2 months ago #21231

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

  • Posts: 125
  • Thank you received: 15
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

Skywatcher 190MN + 150PDS, AZ-EQ6 GT + EQ3-2 Goto, ZWO ASI294MM Pro + ZWO ASI174MM-Cool, Raspberry Pi4 with Astroberry + Rock64 x 2 with INDI & PHD2

www.astrobin.com/users/wimvb/
5 years 2 months ago #21236

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

  • Posts: 7
  • Thank you received: 3
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: Jasem Mutlaq, Wim van Berlo
5 years 2 months ago #21464

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

Time to create page: 0.880 seconds