×

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

Bi-monthly release with minor bug fixes and improvements

Issue with ZWO ASI120MM

  • Posts: 130
  • Thank you received: 11
I'm curently setting up an old Asus EEE PC to drive indiserver and my equipment remotely. The PC runs Debian wheezy. For indi I downloaded indi-code-2211-trunk, compiled indi and the drivers I need, namely EQMod,SBIG CCD and ZWO ASI120MM. Now I'm facing some issues with the ASI CCD. As you can see from the log it gets an "ASISetROIFormat (1280x960 @ 1) error (9)" and the indidator lights for frame and binning are red. When I set the video format myself, e.g. Raw 8, then I can set frame and binning and the lights go green. After all I get an image but i'm sure you can eliminate the error at startup.

BTW: The udev rules file provided with the source didn't work on this Debian wheezy machine. I changed it with the one provided by the ZWO development kit and that worked.

CS
Klaus
2015-04-19T11:56:28: Download complete. 
2015-04-19T11:56:28: Exposure done, downloading image... 
2015-04-19T11:56:28: Taking a 0,001 seconds frame... 
2015-04-19T11:56:28: Exposure shorter than minimum duration 0 s requested. Setting exposure time to 0,001 s. 
2015-04-19T11:56:04: Download complete. 
2015-04-19T11:55:59: Exposure done, downloading image... 
2015-04-19T11:55:59: Taking a 0,001 seconds frame... 
2015-04-19T11:55:59: Exposure shorter than minimum duration 0 s requested. Setting exposure time to 0,001 s. 
2015-04-19T11:55:24: Setting frame buffer size to 2458112 bytes. 
2015-04-19T11:55:18: Setting frame buffer size to 2458112 bytes. 
2015-04-19T11:55:18: Requested CCD Frame is (  0,  0) (1280 x 960) 
2015-04-19T11:55:01: 16 bit bayer format RGGB it not supported by the SER recorder. 
2015-04-19T11:55:01: Setting frame buffer size to 2458112 bytes. 
2015-04-19T11:54:43: Setting frame buffer size to 1229312 bytes. 
2015-04-19T11:53:52: Configuration successfully loaded. 
2015-04-19T11:53:52: Device configuration applied. 
2015-04-19T11:53:52: ASISetROIFormat (1280x960 @ 1) error (9) 
2015-04-19T11:53:52: ASISetROIFormat (1280x960 @ 1) error (9) 
2015-04-19T11:53:52: Requested CCD Frame is (  0,  0) (1280 x 960) 
2015-04-19T11:53:52: Upload settings set to client only. 
2015-04-19T11:53:52: Loading device configuration... 
2015-04-19T11:53:52: Supported Video Format: ASI_IMG_RAW16 
2015-04-19T11:53:52: Supported Video Format: ASI_IMG_RAW8 
2015-04-19T11:53:52: Control #5: name (Temperature), Descp (Sensor temperature(degrees Celsius)), Min (-50), Max (100), Default Value (20), IsAutoSupported (False), isWritale (False)  
2015-04-19T11:53:52: Adding above control as auto control number 2 
2015-04-19T11:53:52: Adding above control as writable control number 4 
2015-04-19T11:53:52: Control #4: name (BandWidth), Descp (USB bandwidth percentage), Min (40), Max (100), Default Value (50), IsAutoSupported (True), isWritale (True)  
2015-04-19T11:53:52: Adding above control as writable control number 3 
2015-04-19T11:53:52: Control #3: name (Brightness), Descp (Brightness), Min (0), Max (20), Default Value (0), IsAutoSupported (False), isWritale (True)  
2015-04-19T11:53:52: Adding above control as writable control number 2 
2015-04-19T11:53:52: Control #2: name (Gamma), Descp (Gamma), Min (1), Max (100), Default Value (50), IsAutoSupported (False), isWritale (True)  
2015-04-19T11:53:52: Control #1: name (Exposure), Descp (Exposure Time(us)), Min (64), Max (999000000), Default Value (33000), IsAutoSupported (True), isWritale (True)  
2015-04-19T11:53:52: Adding above control as auto control number 1 
2015-04-19T11:53:52: Adding above control as writable control number 1 
2015-04-19T11:53:52: Control #0: name (Gain), Descp (Gain), Min (0), Max (100), Default Value (50), IsAutoSupported (True), isWritale (True)  
2015-04-19T11:53:52: CCD is online. Retrieving basic data. 
2015-04-19T11:53:51: Attempting to open ZWO ASI120MM... 
2015-04-19T11:53:45: Toggle Logging Level -- Driver Debug 
2015-04-19T11:53:44: Toggle Debug Level -- Driver Debug 
2015-04-19T11:53:42: Simulation is disabled. 
2015-04-19T11:53:41: Simulation is enabled. 
2015-04-19T11:53:39: Debug is enabled. 
The following user(s) said Thank You: Jasem Mutlaq
8 years 11 months ago #4005

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

what are the differences in the udev files?
8 years 11 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.
8 years 11 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.
8 years 11 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.
8 years 11 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
8 years 11 months ago #4046

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

Time to create page: 0.754 seconds