×

INDI Library v1.9.0 Released (23 Apr 2021)

Major INDI Library release v1.9.0 bring significant internal changes championed by @pawel-soja to modernize core INDI Library drivers and clients. New drivers for DeepSkyDad Flat Panel & Pegasus devices plus further improvements to PCM8 drivers.

QHY5 - [ERROR] GetQHYCCDSingleFrame error (-1)

  • Posts: 276
  • Thank you received: 37
This is from dmesg

12.110345] usb 1-2.4: config 1 interface 0 altsetting 0 bulk endpoint 0x81 has invalid maxpacket 64
[ 12.110352] usb 1-2.4: config 1 interface 0 altsetting 0 bulk endpoint 0x1 has invalid maxpacket 64
[ 12.110543] usb 1-2.4: New USB device found, idVendor=1618, idProduct=0921
[ 12.110547] usb 1-2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 12.110550] usb 1-2.4: Product: QHY5-II
[ 12.110552] usb 1-2.4: Manufacturer: QHY-CCD
[ 12.112625] usb 1-2.4: Unsupported device
[
120 MM Skywatcher Esprit on Celestron CGX, ZWO ASI 224MC guiding, Pegasus FocusCube v2
Nikon Z7 8256 x 5504, 35.9 x 23.9mm 4.34 um. Triad Ultra Quad NB Filter
1) Odroid-N2 Ubuntu-mate 20.04 2) StellarMate on RPI4 8G
The good, the bad, the ugly at sciencedowneast.no-ip.ca/zenphoto/
Last edit: 1 year 8 months ago by Jerry Black. Reason: typo
1 year 8 months ago #43787

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

  • Posts: 276
  • Thank you received: 37

So I rebooted a 2nd time, and low and behold it was there connected (green). I was able to take both a Nikon primary camera test, and a QHY5IIM test image. Will try to break it now, by further dummy image tests. :)
120 MM Skywatcher Esprit on Celestron CGX, ZWO ASI 224MC guiding, Pegasus FocusCube v2
Nikon Z7 8256 x 5504, 35.9 x 23.9mm 4.34 um. Triad Ultra Quad NB Filter
1) Odroid-N2 Ubuntu-mate 20.04 2) StellarMate on RPI4 8G
The good, the bad, the ugly at sciencedowneast.no-ip.ca/zenphoto/
The following user(s) said Thank You: Bowman
1 year 8 months ago #43789

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

  • Posts: 4
  • Thank you received: 0
I still have the " GetQHYCCDSingleFrame error (-1)" error with the new 85-qhyccd.rules

Orion StarShot Autoguider

dmesg
[ 105.788136] usb 1-1: new high-speed USB device number 4 using xhci_hcd
[ 105.936724] usb 1-1: New USB device found, idVendor=1856, idProduct=0011, bcdDevice= 0.00
[ 105.936740] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 106.029494] usb 1-1: USB disconnect, device number 4
[ 107.759853] wlp1s0: deauthenticating from e0:46:9a:4e:9a:ac by local choice (Reason: 3=DEAUTH_LEAVING)
[ 107.827689] usb 1-1: new high-speed USB device number 5 using xhci_hcd
[ 107.975822] usb 1-1: config 1 interface 0 altsetting 0 bulk endpoint 0x1 has invalid maxpacket 64
[ 107.976095] usb 1-1: New USB device found, idVendor=16c0, idProduct=296d, bcdDevice= 0.00
[ 107.976104] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 107.976111] usb 1-1: Product: QHY5-CMOS
[ 107.976143] usb 1-1: Manufacturer: QHY_CAMS



INDI Control Panel
2019-09-23T18:08:12: [INFO] World Coordinate System is enabled.
2019-09-23T18:08:11: [INFO] Device configuration applied.
2019-09-23T18:08:11: [INFO] Gain updated to 10
2019-09-23T18:08:11: [INFO] Upload settings set to client only.
2019-09-23T18:08:11: [INFO] Loading device configuration...
2019-09-23T18:08:10: [INFO] Gain Settings: Value: 10 Min: 0 Max: 100 Step 1
2019-09-23T18:08:10: [INFO] Current read mode: 0
2019-09-23T18:08:10: [INFO] Camera exposure limits: Min: 0.001000s Max: 3600s Step 0s
2019-09-23T18:08:10: [INFO] Number of read modes: 1



Ekos CCD module
2019-09-23T20:08:49 CCD capture aborted
2019-09-23T20:08:49 Capture failed. Check INDI Control Panel for details.
2019-09-23T20:08:49 Capturing 1,000-second image...



INDI Control Panel
2019-09-23T18:08:49: [INFO] Exposure aborted.
2019-09-23T18:08:49: [INFO] Exposure aborted.
2019-09-23T18:08:49: [ERROR] GetQHYCCDSingleFrame error (-1)
2019-09-23T18:08:10: [INFO] Connected to QHY5-M-.



cat /lib/udev/rules.d/85-qhyccd.rules
#===============================================================================
# Udev rules for QHYCCD cameras
#===============================================================================
# Initial Release
# Add rules for QHY2, QHY5, QHY6, QHY8
# Clive Rogers. 2 May 2009#
#
# Update 1
# Add rules for QHY10 and modified for libqhyccd
# YANG Xudong 21 Oct 2010
#
# Update 2
# Changed udev rules to get QHY163 and other FX3 cams working.
# Kept original rules at the end of rule's file.
# Jan Soldan, 2017-07-11
#
# Update 3
# Add usbfs memory limit
# Jasem Mutlaq 2019-09-21

#===============================================================================
# 1. Increase usbfs memory limit
#===============================================================================
# QHY-Based camera by other vendors
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="16c0", RUN+="/bin/sh -c '/bin/echo 256 >/sys/module/usbcore/parameters/usbfs_memory_mb'"
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="1856", RUN+="/bin/sh -c '/bin/echo 256 >/sys/module/usbcore/parameters/usbfs_memory_mb'"
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="1781", RUN+="/bin/sh -c '/bin/echo 256 >/sys/module/usbcore/parameters/usbfs_memory_mb'"
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="04b4", RUN+="/bin/sh -c '/bin/echo 256 >/sys/module/usbcore/parameters/usbfs_memory_mb'"
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="0547", RUN+="/bin/sh -c '/bin/echo 256 >/sys/module/usbcore/parameters/usbfs_memory_mb'"
# QHYCCD
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="1618", RUN+="/bin/sh -c '/bin/echo 256 >/sys/module/usbcore/parameters/usbfs_memory_mb'"
1 year 8 months ago #43792

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

  • Posts: 4
  • Thank you received: 0
My QHY5 seems to work as it should!
Looping and capturing works without errors.

I'm very pleased, thanks for the good work!

(in dmesg my QHY5 shows up with idVendor=1618, idProduct=0921, that number is not in 85-qhyccd.rules but it still works)
EQ6 - WO80mm - C8 - Atik 383L - Atik EFW2 - QHYCCD 5Lii-m - Laptop with UB18.04
Last edit: 1 year 8 months ago by Hans.
1 year 8 months ago #43797

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

  • Posts: 4
  • Thank you received: 0

Your camera is in the rules :)

# QHYCCD
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="1618", RUN+="/bin/sh -c '/bin/echo 256 >/sys/module/usbcore/parameters/usbfs_memory_mb'"
1 year 8 months ago #43803

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

  • Posts: 4
  • Thank you received: 0
Sorry, I had to be more specific; the idvendor (1618, QHYCCD) is clear, but my idproduct (0921) is not in the rules file to load a .HEX firmware file.

I expected something like this:
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="1618", ATTRS{idProduct}=="0920", RUN+="/sbin/fxload -t fx2 -I /lib/firmware/qhy/QHY5II.HEX -D $env{DEVNAME}"

but than with {idproduct}=="0921"
EQ6 - WO80mm - C8 - Atik 383L - Atik EFW2 - QHYCCD 5Lii-m - Laptop with UB18.04
1 year 8 months ago #43818

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

That's because it is 9020 and after the firmware is loaded, it becomes 9021.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
The following user(s) said Thank You: Hans, David Moon
1 year 8 months ago #43819

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

  • Posts: 9
  • Thank you received: 1
Excellent, QHY5L, QHY PoleMaster, and QHY 168C all working now with the new 85-qhyccd.rules file. Thanks
1 year 8 months ago #43821

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

  • Posts: 276
  • Thank you received: 37
The only issue I have now is that Phd2 (for those so inclined) sees the camera via indi, but not with a direct connection (on an Odroid-N2 Ubuntu 18.04.3 LTS kernel 4.9.180-62 aarch64). Not sure I want to break things by tinkering this time.
120 MM Skywatcher Esprit on Celestron CGX, ZWO ASI 224MC guiding, Pegasus FocusCube v2
Nikon Z7 8256 x 5504, 35.9 x 23.9mm 4.34 um. Triad Ultra Quad NB Filter
1) Odroid-N2 Ubuntu-mate 20.04 2) StellarMate on RPI4 8G
The good, the bad, the ugly at sciencedowneast.no-ip.ca/zenphoto/
1 year 8 months ago #43827

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

  • Posts: 6
  • Thank you received: 1
That seems to have dome the trick on my laptop running Linux, the Canon 100D and QHY5LII-M running happily together once again. Not had a chance to test it on the TinkerBoard yet - rain stops play :-(
Equipment:
EQ6R-Pro with SW 190MN, ATIK 383L+ and ATIK EFW2, guiding with QHY5LII-M on an Orion GuideScope (run from a PC in the observatory running SGPro)
EQ6R with SW 150PDS, Canon 100D (astro mod), guiding with with QHY5LII-M on an Orion GuideScope (run from a TinkerBoard S)

Terry
1 year 8 months ago #43834

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

  • Posts: 12
  • Thank you received: 0
I am still getting this error on the latest 1.4.4 Rpi3 and Rpi4 versions. I ran software updater today, Sept. 29, on both machines and the rules file in lib\udev\rules.d was updated with the 9/28/2019 85-QHYCCD.rules. I have rebooted both machines a number of times.

My camera is the Orion SSAG. It has worked well in the past connected as a QHY. On Stellarmate, the camera is listed as QHY-M-. In the rules file, under SSAG, it says stuff like idproduct "0011" and QHY5Loader.hex.

It connects with no problems, but will not take a picture. In the camera module it says capture aborted and in another place it says GetQHYCCDSingleFrame error (-1)

Do I need to run a firmware update or downgrade on the camera somehow?

What else should I be doing to make this work?
1 year 8 months ago #44057

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

QHY confirmed the issue in the SDK and are working on a fix.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
The following user(s) said Thank You: Jerker B, Tim Roske
1 year 8 months ago #44061

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

Time to create page: 1.264 seconds