×

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

Bi-monthly release with minor bug fixes and improvements

Issues with ASI1600MM-Cool [SOLVED - Laptop power issue]

  • Posts: 205
  • Thank you received: 19
I've built a new INDI setup based off the git sources (under Gentoo, using the overlay) on my laptop to get things going again.

I had some success tonight getting the Mount (G11), Dome (maxdome), Filter Wheel (Xagyl) and Camera (ASI1600MM-Cool) connected. the first 3 seemed to be working fine as well.

The camera however, had problems. It would not set a temperature, and would not take a preview image:
org.kde.kstars.ekos.capture: "Capturing image..."
org.kde.kstars.indi: ZWO CCD ASI1600MM-Cool :  "[ERROR] Exposure failed after 3 attempts. "
org.kde.kstars.ekos.capture: "Capture failed. Check INDI Control Panel for details."
org.kde.kstars.ekos.capture: "Restarting capture attempt #1"
org.kde.kstars.ekos.capture: "Capturing image..."
org.kde.kstars.indi: ZWO CCD ASI1600MM-Cool :  "[ERROR] Exposure failed after 3 attempts. "
org.kde.kstars.ekos.capture: "Capture failed. Check INDI Control Panel for details."
org.kde.kstars.ekos.capture: "Restarting capture attempt #2"
org.kde.kstars.ekos.capture: "Capturing image..."
org.kde.kstars.indi: ZWO CCD ASI1600MM-Cool :  "[ERROR] Exposure failed after 3 attempts. "
org.kde.kstars.ekos.capture: "Capture failed. Check INDI Control Panel for details."

I tried to enable debugging for the driver, but when I hit the button it would flick to enable and then flick back to disable immediately - you could see the options/checkboxes appear briefly lower on the panel during this time. I tried another device, but its debug worked fine.

So, to be able to give better information on the other problems, I need to get a fix for this debug problem. Any ideas?
Last edit: 6 years 2 months ago by Chris Ryan.
6 years 3 months ago #22483

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

  • Posts: 1957
  • Thank you received: 420
Some ASI USB2 cameras are known to violate the USB2 protocol by using a too large bandwidth. This means that these camera's don't work on Linux distros with too new kernels. Not sure if your camera is affected as well. Can you capture an image with it using some other application than KStars/Ekos?
6 years 2 months ago #22511

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

  • Posts: 205
  • Thank you received: 19
I will look for something to try to use the camera under linux besides ekos to see what happens. This should be USB3 btw.

(I dual boot with windows, and that captures fine, so the hardware link should be ok, so this is linux specific).
6 years 2 months ago #22513

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

  • Posts: 1957
  • Thank you received: 420
If it is USB3 then, indeed, it should work with Linux. I use an ASI120MC-S (USB3) camera on Linux for guiding without any problems whatsoever. FYI the USB2 doesn't manifest itself on Windows.
6 years 2 months ago #22514

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

  • Posts: 205
  • Thank you received: 19
I rebuilt the driver and noticed there was some code updates.

It's working better now - I can set the temperature. And I think preview is not giving an error. I can't see the image though so I must have something wrong with the viewer setup.
6 years 2 months ago #22517

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

  • Posts: 205
  • Thank you received: 19
No, it didn't work, the preview is doing this:
org.kde.kstars.indi: ZWO CCD ASI1600MM-Cool : "[DEBUG] ASIGetExpStatus failed. Restarting exposure... "
org.kde.kstars.indi: ZWO CCD ASI1600MM-Cool : "[DEBUG] StartExposure->setexp : 1.000s "

Here's some output from dmesg:
[ 8666.004716] ftdi_sio ttyUSB1: FTDI USB Serial Device converter now disconnected from ttyUSB1
[ 8666.004728] ftdi_sio 3-1.3:1.0: device disconnected
[ 8670.741054] usb 3-2: new high-speed USB device number 32 using xhci_hcd
[ 8670.868317] usb 3-2: New USB device found, idVendor=04b4, idProduct=6572
[ 8670.868319] usb 3-2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 8670.868320] usb 3-2: Product: USB2.0 Hub
[ 8670.868868] hub 3-2:1.0: USB hub found
[ 8670.869224] hub 3-2:1.0: 4 ports detected
[ 8670.981070] usb 4-2: new SuperSpeed USB device number 10 using xhci_hcd
[ 8670.994070] usb 4-2: New USB device found, idVendor=03c3, idProduct=1603
[ 8670.994072] usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 8670.994073] usb 4-2: Product: ASI1600MM-Cool
[ 8670.994074] usb 4-2: Manufacturer: ZWO
[ 8671.143054] usb 3-2.2: new high-speed USB device number 33 using xhci_hcd
[ 8672.048059] usb 3-2.3: new full-speed USB device number 34 using xhci_hcd
[ 8672.131480] usb 3-2.3: New USB device found, idVendor=0403, idProduct=6015
[ 8672.131482] usb 3-2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 8672.131483] usb 3-2.3: Product: FT230X Basic UART
[ 8672.131484] usb 3-2.3: Manufacturer: FTDI
[ 8672.131485] usb 3-2.3: SerialNumber: DN016YC8
[ 8672.134863] ftdi_sio 3-2.3:1.0: FTDI USB Serial Device converter detected
[ 8672.134881] usb 3-2.3: Detected FT-X
[ 8672.135108] usb 3-2.3: FTDI USB Serial Device converter now attached to ttyUSB1
[ 8673.415065] usb 3-2.2: new high-speed USB device number 35 using xhci_hcd
[ 8673.491216] usb 3-2.2: config 1 interface 0 altsetting 0 bulk endpoint 0x81 has invalid maxpacket 64
[ 8673.491218] usb 3-2.2: config 1 interface 0 altsetting 0 bulk endpoint 0x1 has invalid maxpacket 64
[ 8673.491560] usb 3-2.2: New USB device found, idVendor=0d97, idProduct=0102
[ 8673.491562] usb 3-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 8673.491563] usb 3-2.2: Product: USBI-CAM Engine
[ 8673.491564] usb 3-2.2: Manufacturer: SBIG
[ 8801.117250] usb 4-2: reset SuperSpeed USB device number 10 using xhci_hcd
[ 8802.488243] usb 4-2: reset SuperSpeed USB device number 10 using xhci_hcd
[ 8803.868241] usb 4-2: reset SuperSpeed USB device number 10 using xhci_hcd

That last line is repeated a lot.

Ekos output:
org.kde.kstars.ekos: Ekos received a new device:  ZWO CCD ASI1600MM-Cool
org.kde.kstars.indi: < ZWO CCD ASI1600MM-Cool >: < CONNECTION >
org.kde.kstars.indi: < ZWO CCD ASI1600MM-Cool >: < DRIVER_INFO >
org.kde.kstars.indi: < ZWO CCD ASI1600MM-Cool >: < DEBUG >
org.kde.kstars.indi: < ZWO CCD ASI1600MM-Cool >: < SIMULATION >
org.kde.kstars.indi: < ZWO CCD ASI1600MM-Cool >: < CONFIG_PROCESS >
org.kde.kstars.indi: ZWO CCD ASI1600MM-Cool :  "[INFO] Debug is enabled. "
org.kde.kstars.indi: < ZWO CCD ASI1600MM-Cool >: < DEBUG_LEVEL >
org.kde.kstars.indi: < ZWO CCD ASI1600MM-Cool >: < LOGGING_LEVEL >
org.kde.kstars.indi: < ZWO CCD ASI1600MM-Cool >: < LOG_OUTPUT >
org.kde.kstars.indi: < ZWO CCD ASI1600MM-Cool >: < ACTIVE_DEVICES >
UdevQt: unhandled device action "bind"
org.kde.kstars.indi: ZWO CCD ASI1600MM-Cool :  "[INFO] Setting intital bandwidth to AUTO on connection. "
org.kde.kstars.indi: ZWO CCD ASI1600MM-Cool :  "[INFO] CCD is online. Retrieving basic data. "
org.kde.kstars.ekos: ZWO CCD ASI1600MM-Cool is connected.
org.kde.kstars.ekos: 1  devices connected out of  4
org.kde.kstars.indi: < ZWO CCD ASI1600MM-Cool >: < CCD_EXPOSURE >
org.kde.kstars.ekos.focus: "Idle."
org.kde.kstars.ekos.align: "Idle."
org.kde.kstars.ekos: "ZWO CCD ASI1600MM-Cool is online."
org.kde.kstars.indi: < ZWO CCD ASI1600MM-Cool >: < CCD_ABORT_EXPOSURE >
org.kde.kstars.indi: < ZWO CCD ASI1600MM-Cool >: < CCD_FRAME >
org.kde.kstars.indi: < ZWO CCD ASI1600MM-Cool >: < CCD_BINNING >
org.kde.kstars.indi: < ZWO CCD ASI1600MM-Cool >: < FITS_HEADER >
org.kde.kstars.indi: < ZWO CCD ASI1600MM-Cool >: < CCD_TEMPERATURE >
org.kde.kstars.indi: < ZWO CCD ASI1600MM-Cool >: < CCD_INFO >
org.kde.kstars.indi: < ZWO CCD ASI1600MM-Cool >: < CCD_COMPRESSION >
org.kde.kstars.indi: < ZWO CCD ASI1600MM-Cool >: < CCD1 >
org.kde.kstars.indi: < ZWO CCD ASI1600MM-Cool >: < TELESCOPE_TIMED_GUIDE_NS >
org.kde.kstars.indi: < ZWO CCD ASI1600MM-Cool >: < TELESCOPE_TIMED_GUIDE_WE >
org.kde.kstars.ekos: "Guider port from ZWO CCD ASI1600MM-Cool is ready."
org.kde.kstars.indi: < ZWO CCD ASI1600MM-Cool >: < CCD_FRAME_TYPE >
org.kde.kstars.indi: < ZWO CCD ASI1600MM-Cool >: < CCD_FRAME_RESET >
org.kde.kstars.indi: < ZWO CCD ASI1600MM-Cool >: < CCD_RAPID_GUIDE >
org.kde.kstars.indi: < ZWO CCD ASI1600MM-Cool >: < TELESCOPE_TYPE >
org.kde.kstars.indi: < ZWO CCD ASI1600MM-Cool >: < WCS_CONTROL >
org.kde.kstars.indi: < ZWO CCD ASI1600MM-Cool >: < UPLOAD_MODE >
org.kde.kstars.indi: < ZWO CCD ASI1600MM-Cool >: < UPLOAD_SETTINGS >
org.kde.kstars.indi: < ZWO CCD ASI1600MM-Cool >: < CCD_VIDEO_STREAM >
org.kde.kstars.indi: < ZWO CCD ASI1600MM-Cool >: < STREAM_OPTIONS >
org.kde.kstars.indi: < ZWO CCD ASI1600MM-Cool >: < FPS >
org.kde.kstars.indi: < ZWO CCD ASI1600MM-Cool >: < RECORD_STREAM >
org.kde.kstars.indi: < ZWO CCD ASI1600MM-Cool >: < RECORD_FILE >
org.kde.kstars.indi: < ZWO CCD ASI1600MM-Cool >: < RECORD_OPTIONS >
org.kde.kstars.indi: < ZWO CCD ASI1600MM-Cool >: < CCD_STREAM_FRAME >
org.kde.kstars.indi: < ZWO CCD ASI1600MM-Cool >: < CCD_STREAM_ENCODER >
org.kde.kstars.indi: < ZWO CCD ASI1600MM-Cool >: < CCD_STREAM_RECORDER >
org.kde.kstars.indi: < ZWO CCD ASI1600MM-Cool >: < CCD_COOLER_POWER >
org.kde.kstars.indi: < ZWO CCD ASI1600MM-Cool >: < CCD_COOLER >
org.kde.kstars.indi: ZWO CCD ASI1600MM-Cool :  "[INFO] The CCD Temperature is 0.000000 "
org.kde.kstars.indi: < ZWO CCD ASI1600MM-Cool >: < CCD_CONTROLS >
org.kde.kstars.indi: < ZWO CCD ASI1600MM-Cool >: < CCD_CONTROLS_MODE >
org.kde.kstars.indi: < ZWO CCD ASI1600MM-Cool >: < CCD_VIDEO_FORMAT >
org.kde.kstars.indi: ZWO CCD ASI1600MM-Cool :  "[WARNING] Warning: 16bit RAW is not supported on all hardware platforms. "
org.kde.kstars.indi: ZWO CCD ASI1600MM-Cool : "[DEBUG] Toggle Debug Level -- Driver Debug "
org.kde.kstars.indi: ZWO CCD ASI1600MM-Cool :  "[INFO] Loading device configuration... "
org.kde.kstars.indi: ZWO CCD ASI1600MM-Cool :  "[INFO] Upload settings set to client only. "
org.kde.kstars.indi: ZWO CCD ASI1600MM-Cool :  "[WARNING] Warning: 16bit RAW is not supported on all hardware platforms. "
org.kde.kstars.indi: ZWO CCD ASI1600MM-Cool :  "[INFO] Device configuration applied. "
org.kde.kstars.indi: ZWO CCD ASI1600MM-Cool :  "[INFO] Setting CCD temperature to +00.00 C "
 
Last edit: 6 years 2 months ago by Chris Ryan.
6 years 2 months ago #22518

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

I just rebuilt the driver code on 16.04 and tried it and it worked with 120 and 172 cameras. Try using a different USB port or cable.
6 years 2 months ago #22531

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

  • Posts: 205
  • Thank you received: 19
Will do. I had a thought about that after I finished last night. Although it's fine under Windows, maybe it's a bit more finicky under Linux.
6 years 2 months ago #22533

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

  • Posts: 205
  • Thank you received: 19
Ok, I got it working without changing the cable at all.

I had forgot one thing that tripped me up in the past: when using the laptop on battery power, it does something to the USB ports that reduces their effectiveness. I had to do something special in Windows to stop that happening. I'll search to see if their is something similar for Linux.

Giving the laptop AC power - problem went away - at least with the camera. Will mark as solved.
6 years 2 months ago #22535

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

Time to create page: 0.206 seconds