×

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

Bi-monthly release with minor bug fixes and improvements

Issue with ZWO ASI120MM

  • Posts: 130
  • Thank you received: 11

Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.

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

what are the differences in the udev files?
9 years 5 months ago #4008

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

  • Posts: 130
  • Thank you received: 11

Replied by Klaus on topic Issue with ZWO ASI120MM

From ZWO:

ATTR{product}=="ASI120MM" ATTR{idVendor}=="03c3" ATTR{idProduct}=="120a" GROUP="users", MODE="0666"

From INDI repo:

SUBSYSTEMS=="usb", ATTRS{product}=="ASI120MM", ATTRS{idVendor}=="03c3", ATTRS{idProduct}=="120b", GROUP="users", MODE="0666"

Well, the syntax is a bit different, more commas and a SUBSYSTEM. It doesn't look wrong but made the difference.
9 years 5 months ago #4009

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

  • Posts: 171
  • Thank you received: 41

Replied by Christian on topic Issue with ZWO ASI120MM

I can confirm the wrong udev file, same here with ASI120MM and MC.
9 years 5 months ago #4011

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

The udev file fixed (120b ==> 120a) and I added more debug statement to check value of image type on startup, maybe this will fix it.
9 years 5 months ago #4012

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

  • Posts: 130
  • Thank you received: 11

Replied by Klaus on topic Issue with ZWO ASI120MM

The udev rules issue is now solved.

Suggestion about the ASISetROIFormat issue:
Read the Format value from a config file and set it. Perhaps the frame and image settings can be done afterwards without error.
If no config file is loaded choose the first format value you can get.

BTW: On the Controls tab the Set Auto settings are not stored in the config file while BandWidth is checked at startup. Why not store these settings in config file?

CS
Klaus
9 years 4 months ago #4046

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

Time to create page: 0.647 seconds