×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

ZWO EFWmini (filter wheel)

  • Posts: 85
  • Thank you received: 40

Replied by Hans on topic ZWO EFWmini (filter wheel)

Hi All,

I made my own udev rules which also create a symlink with a logical name so that I can check for the presence of this named link to see if the system recognizes the device or not. This may help in determining if the udev rules are applied.
# ZWO filterwheel
SUBSYSTEMS=="usb", ATTRS{idVendor}=="03c3", ATTRS{idProduct}=="1f01", MODE="0666", SYMLINK+="ZWO_EFW"

which then looks like this in /dev/
lrwxrwxrwx   1 root root    15 Nov 18 22:44 ZWO_EFW -> bus/usb/002/011

This symlink is not used by the driver, it's just intended for Humans :)
7 years 4 months ago #12312

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

  • Posts: 14
  • Thank you received: 0

Replied by BREGOU on topic ZWO EFWmini (filter wheel)

Hy everybody,
Thank you for all your answers.
Unfortunately i miss time to test what you told about.
I keep you inform when i have done it.

This week end I tested the setup on a laptop runing kubuntu 16.04 and everything is the same : EFW recognize only in server mode (as on the RPI).

Best regards, and once more Thanks a lot
David
7 years 4 months ago #12548

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

  • Posts: 41
  • Thank you received: 7
Hi,
I puchased a EFW and tested it immediately. It worked right from the beginning without any problems on my Ubuntu LTS 16.04. Cool stuff, thanks a lot!

Best regards,
Klaus
7 years 4 months ago #12587

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

  • Posts: 14
  • Thank you received: 0

Replied by BREGOU on topic ZWO EFWmini (filter wheel)

Hello, thanks for this information,
So I don't know what hapened to all of my 3 computers runing kubuntu and ubuntu mate ! :(
Best regards
David
7 years 4 months ago #12602

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

  • Posts: 79
  • Thank you received: 23

Replied by rumen on topic ZWO EFWmini (filter wheel)

David,
Can you verify that you have your rules in only one of the following locations:

/etc/udev/rules.d/99-sx.rules
/lib/udev/rules.d/99-sx.rules

if in both please remove one of them, probably this one /etc/udev/rules.d/99-sx.rules

if this does not help can you move the file from /lib/... to /etc/...
and verify you have this rule:
KERNEL=="hidraw*", ATTRS{idVendor}=="03c3", ATTRS{idProduct}=="1f01", GROUP="users", MODE="0666"

There is some udev problem, but I have no idea what...

David, please try this and let me know, I am curious :)
good luck!

Rumen

p.s. Klaus, thanks for the positive report of the driver :)
7 years 4 months ago #12603

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

  • Posts: 14
  • Thank you received: 0

Replied by BREGOU on topic ZWO EFWmini (filter wheel)

Hello Rumen,
I have tested what you talk about.
I had 2 rules files in the folder "/etc/udev/rules.d"
They were :
60-ssd-sheduler.rules
99-meadedsi.rules

I remove them, reboot, lauch kstars and indi in local mode : the same as before : EFW not recognized

I copy/paste all the files from /lib/... to /etc/... reboot lauch kstars, indi in local mode : the same as before : EFW not recognized

Moreover I have the rule you talk about at the end of the 99-asi.rules file.
KERNEL=="hidraw*", ATTRS{idVendor}=="03c3", ATTRS{idProduct}=="1f01", GROUP="users", MODE="0666"

As Klaus have good result using ubuntu, i'll try to install ubuntu and not kubuntu on one of my computer (i have a free hard drive somhere :-) ).
I don't know when i will be able to do it, I miss time.
Next week i go for one week in the professionnal observatory "PIC DU MIDI" in the south of France.
If the sky is clear i will be realy busy :-) I hope il will be so.

Hope those new infos help you Rumen.

Best Regards
David
7 years 4 months ago #12629

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

  • Posts: 79
  • Thank you received: 23

Replied by rumen on topic ZWO EFWmini (filter wheel)

David,
Pic du Midi is a nice place i love it :)
We have a collaboration with the people there, if you meet Eric Joselin (the current director of TBL) or Remi Cabanac (the former) say Hi to them from me :)
Eric was here 2 weeks ago.

Are you a professional Astronomer?

best
Rumen
Last edit: 7 years 4 months ago by rumen.
7 years 4 months ago #12639

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

  • Posts: 14
  • Thank you received: 0

Replied by BREGOU on topic ZWO EFWmini (filter wheel)

Rumen,
It is so unexpected, you know people of the Pic du Midi !!!
I have met Remi Cabanac when i went to the Pic two years ago.
He makes us visiting "his" 2m telescope :-)
Unfortunately I'm not a professional astronomer but an "amateur".
I go to the Pic as an amateur. There is an old professional telescope, we call the "T60", that we can use.
You have some delail here : www.astrosurf.com/t60/
I also kow the professional that use the 1m telescope.

The goal of our week at the Pic du midi is to do some spectroscopy.
A friend and I, we are working with a professionnal on some targets that we study in spectoscopy.

Of course I also do love the Pic, it's a so wonderful place (especialy in winter with the snow !)

It's my turn to ask you, you are a professional astronomer ? what kind of collaboration do you have with the TBL ?
Here is my mail : dbregou at gmail dot com
Regards
David
7 years 4 months ago #12651

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

  • Posts: 79
  • Thank you received: 23

Replied by rumen on topic ZWO EFWmini (filter wheel)

Hi David
I am only part time professional astronomer :)
We use TBL to obtain data to study the magnetic structure of giant stars.

Enjoy at the Pic :)
Rumen
7 years 4 months ago #12655

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

  • Posts: 89
  • Thank you received: 16

Replied by Adrian on topic ZWO EFWmini (filter wheel)

I am using Arch Linux with libindi 1.3.1-1
libindi-3rdparty 1.3.1-1-x86_64
kstars 16.12.0-1 (Version 2.7.2)

asi1600mm-cool connects and talks nicely to kstars
So I tried to get the EFWmini filterwheel working

I am having some problems with the wheel.

Kstars gives me;
2016-12-23T17:22:43 Unable to establish:
+ ASI Wheel
Please ensure the device is connected and powered on.

I edited the udev/rules.d/99-asi.rules as suggested
# FILTER WHEELS
#ATTR{product}=="ZWO EFW" ATTR{idVendor}=="03c3" ATTR{idProduct}=="1f01" GROUP="users", MODE="0666"
KERNEL=="hidraw*",ATTRS{idVendor}=="03c3",ATTRS{idProduct}=="1f01",GROUP="users",MODE="0666"

Threw in
$ sudo udevadm control --reload-rules
and even rebooted to be absolutely sure

Same thing.


I then tried to get more information about the problem, started indiserver locally and then asked kstarts to connect to that instance.
indiserver -vv indi_asi_wheel
2016-12-23T17:19:10: startup: indiserver -vv indi_asi_wheel
2016-12-23T17:19:10: Driver indi_asi_wheel: pid=1405 rfd=3 wfd=6 efd=7
2016-12-23T17:19:10: listening to port 7624 on fd 4
2016-12-23T17:19:10: Driver indi_asi_wheel: sending <getProperties version='1.7'/>

2016-12-23T17:19:10: Driver indi_asi_wheel: read <defSwitchVector device='EFW' name='CONNECTION'>
2016-12-23T17:19:10: Driver indi_asi_wheel: read <defTextVector device='EFW' name='DRIVER_INFO'>
2016-12-23T17:19:10: Driver indi_asi_wheel: read <defSwitchVector device='EFW' name='DEBUG'>
2016-12-23T17:19:10: Driver indi_asi_wheel: read <defSwitchVector device='EFW' name='SIMULATION'>
2016-12-23T17:19:10: Driver indi_asi_wheel: read <defSwitchVector device='EFW' name='CONFIG_PROCESS'>
2016-12-23T17:19:25: Client 0: new arrival from 127.0.0.1:42554 - welcome!
2016-12-23T17:19:25: Client 0: read <getProperties device='' name=''>
2016-12-23T17:19:25: Driver indi_asi_wheel: queuing responsible for <getProperties device='' name=''>
2016-12-23T17:19:25: Driver indi_asi_wheel: sending <getProperties version="1.7"/>

2016-12-23T17:19:25: Driver indi_asi_wheel: read <defSwitchVector device='EFW' name='CONNECTION'>
2016-12-23T17:19:25: Client 0: queuing <defSwitchVector device='EFW' name='CONNECTION'>
2016-12-23T17:19:25: Driver indi_asi_wheel: read <defTextVector device='EFW' name='DRIVER_INFO'>
2016-12-23T17:19:25: Client 0: queuing <defTextVector device='EFW' name='DRIVER_INFO'>
2016-12-23T17:19:25: Driver indi_asi_wheel: read <defSwitchVector device='EFW' name='DEBUG'>
2016-12-23T17:19:25: Client 0: queuing <defSwitchVector device='EFW' name='DEBUG'>
2016-12-23T17:19:25: Driver indi_asi_wheel: read <defSwitchVector device='EFW' name='SIMULATION'>
2016-12-23T17:19:25: Client 0: queuing <defSwitchVector device='EFW' name='SIMULATION'>
2016-12-23T17:19:25: Driver indi_asi_wheel: read <defSwitchVector device='EFW' name='CONFIG_PROCESS'>
2016-12-23T17:19:25: Client 0: queuing <defSwitchVector device='EFW' name='CONFIG_PROCESS'>
2016-12-23T17:19:25: Client 0: sending <defSwitchVector device="EFW" name="CONNECTION" la
2016-12-23T17:19:25: Client 0: sending <defTextVector device="EFW" name="DRIVER_INFO" lab
2016-12-23T17:19:25: Client 0: sending <defSwitchVector device="EFW" name="DEBUG" label="
2016-12-23T17:19:25: Client 0: sending <defSwitchVector device="EFW" name="SIMULATION" la
2016-12-23T17:19:25: Client 0: sending <defSwitchVector device="EFW" name="CONFIG_PROCESS
2016-12-23T17:19:25: Client 0: read <enableBLOB device='EFW' name=''>
2016-12-23T17:19:31: Client 0: read <newSwitchVector device='EFW' name='CONNECTION'>
2016-12-23T17:19:31: Driver indi_asi_wheel: queuing responsible for <newSwitchVector device='EFW' name='CONNECTION'>
2016-12-23T17:19:31: Driver indi_asi_wheel: sending <newSwitchVector device="EFW" name="CONNECTION">

2016-12-23T17:19:31: Driver indi_asi_wheel: read <message device='EFW' name=''>
2016-12-23T17:19:31: Client 0: queuing <message device='EFW' name=''>
2016-12-23T17:19:31: Client 0: sending <message device="EFW" timestamp="2016-12-23T17:19:
2016-12-23T17:19:31: Driver indi_asi_wheel: read <setSwitchVector device='EFW' name='CONNECTION'>
2016-12-23T17:19:31: Client 0: queuing <setSwitchVector device='EFW' name='CONNECTION'>
2016-12-23T17:19:31: Client 0: sending <setSwitchVector device="EFW" name="CONNECTION" st
2016-12-23T17:20:17: Client 0: read <newSwitchVector device='EFW' name='CONNECTION'>
2016-12-23T17:20:17: Driver indi_asi_wheel: queuing responsible for <newSwitchVector device='EFW' name='CONNECTION'>
2016-12-23T17:20:17: Driver indi_asi_wheel: sending <newSwitchVector device="EFW" name="CONNECTION">

2016-12-23T17:20:17: Driver indi_asi_wheel: read <setSwitchVector device='EFW' name='CONNECTION'>
2016-12-23T17:20:17: Client 0: queuing <setSwitchVector device='EFW' name='CONNECTION'>
2016-12-23T17:20:17: Client 0: sending <setSwitchVector device="EFW" name="CONNECTION" st

Any ideas?
7 years 3 months ago #13295

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

  • Posts: 89
  • Thank you received: 16

Replied by Adrian on topic ZWO EFWmini (filter wheel)

Following up on the above.

I have tried using indiserver on my raspberry Pi 3. Using the latest snap shot.

When I plug the USB cable from the EFW straight into my pi the electric shock symbol (low voltage appears) on the pi screen,
while the filter wheel is homeing back to its position.

It rotates nicely. :-)

indiserver -v indi_asi_wheel indi_simulator_ccd
2016-12-23T21:59:31: startup: indiserver -v indi_asi_wheel indi_simulator_ccd
2016-12-23T21:59:31: Driver indi_asi_wheel: pid=1497 rfd=3 wfd=6 efd=7
2016-12-23T21:59:31: Driver indi_simulator_ccd: pid=1498 rfd=4 wfd=9 efd=10
2016-12-23T21:59:31: listening to port 7624 on fd 5
2016-12-23T21:59:31: Driver indi_simulator_ccd: snooping on Telescope Simulator.EQUATORIAL_EOD_COORD
2016-12-23T21:59:31: Driver indi_simulator_ccd: snooping on Telescope Simulator.TELESCOPE_INFO
2016-12-23T21:59:31: Driver indi_simulator_ccd: snooping on CCD Simulator.FILTER_SLOT
2016-12-23T21:59:31: Driver indi_simulator_ccd: snooping on CCD Simulator.FILTER_NAME
2016-12-23T21:59:31: Driver indi_simulator_ccd: snooping on SQM.SKY_QUALITY
2016-12-23T21:59:31: Driver indi_simulator_ccd: snooping on Telescope Simulator.EQUATORIAL_PE
2016-12-23T21:59:31: Driver indi_simulator_ccd: snooping on Focuser Simulator.FWHM
2016-12-23T21:59:34: Client 0: new arrival from 192.168.1.1:55494 - welcome!
2016-12-23T22:00:40: Client 0: read EOF
2016-12-23T22:00:40: Client 0: shut down complete - bye!

I then tried kstars on my desktop and connected to the pi indiserver.
When I try to connect to the EFW I get;
Connect():EFWOpen()=4

From 3rdparty/indi-asi/EFW_Filter.h I see;
typedef enum _EFW_ERROR_CODE{
EFW_SUCCESS = 0,
EFW_ERROR_INVALID_INDEX,
EFW_ERROR_INVALID_ID,
EFW_ERROR_INVALID_VALUE,
EFW_ERROR_REMOVED, //failed to find the filter wheel, maybe the filter wheel has been removed
EFW_ERROR_MOVING,//filter wheel is moving
EFW_ERROR_ERROR_STATE,//filter wheel is in error state
EFW_ERROR_GENERAL_ERROR,//other error
EFW_ERROR_NOT_SUPPORTED,
EFW_ERROR_CLOSED,
EFW_ERROR_END = -1
}EFW_ERROR_CODE;

So presumably this means kstars thinks my filter wheel has error code EFW_ERROR_REMOVED

I will try to find a powered hub and see if it works with that.
7 years 3 months ago #13297

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

  • Posts: 79
  • Thank you received: 23

Replied by rumen on topic ZWO EFWmini (filter wheel)

Yes most likely the lack of power is the problem. Good powered USB hub should work. I am saying "good" because my experience is that the cheap powered hubs usually do the things worse...

Rumen
The following user(s) said Thank You: Adrian
7 years 3 months ago #13300

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

Time to create page: 1.321 seconds