×
INDI Library v1.8.1 Released (09 Sep 2019)

Monthly maintenance release INDI v1.8.1

QHY5 - [ERROR] GetQHYCCDSingleFrame error (-1)

1 month 3 weeks ago
jerry
Expert Boarder
Expert Boarder
Posts: 117
Karma: 1
More
QHY5 - [ERROR] GetQHYCCDSingleFrame error (-1) #43789

jerry wrote: replaced the Sept 13th version of /lib/udev/rules.d with this one. Unplugged and replugged -> no qhy camera detected.
rebooted, and tried again. This time the qhy camera appears in the Indi Control Panel as a device, but it is yellow rather than green (connected).
I will fiddle a bit.


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. :)

10" Meade SCT on Celestron CGEM DX HC: GEM 5.29.7137 MC: 6.50 6.50,
QHY-5L-II-M 1280x960 3.75um guiding,
Nikon Z7 8256 x 5504, 35.9 x 23.9mm 4.34 um pixel size.
StellarMate OS on RPI4 using kstars-bleeding and Kstars on Odroid-N2.
The following user(s) said Thank You bowmangotti

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

1 month 3 weeks ago
Darfe
Fresh Boarder
Fresh Boarder
Posts: 4
More
QHY5 - [ERROR] GetQHYCCDSingleFrame error (-1) #43792
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'"

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

1 month 3 weeks ago 1 month 3 weeks ago by Barlov.
Barlov
Fresh Boarder
Fresh Boarder
Posts: 4
More
QHY5 - [ERROR] GetQHYCCDSingleFrame error (-1) #43797
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

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

1 month 3 weeks ago
Darfe
Fresh Boarder
Fresh Boarder
Posts: 4
More
QHY5 - [ERROR] GetQHYCCDSingleFrame error (-1) #43803

Barlov wrote: 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)


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'"

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

1 month 3 weeks ago
Barlov
Fresh Boarder
Fresh Boarder
Posts: 4
More
QHY5 - [ERROR] GetQHYCCDSingleFrame error (-1) #43818
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

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

1 month 3 weeks ago
knro
Administrator
Administrator
Posts: 7353
Karma: 51
QHY5 - [ERROR] GetQHYCCDSingleFrame error (-1) #43819
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 Barlov, dm2208

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

1 month 3 weeks ago
dm2208
Fresh Boarder
Fresh Boarder
Posts: 2
More
QHY5 - [ERROR] GetQHYCCDSingleFrame error (-1) #43821
Excellent, QHY5L, QHY PoleMaster, and QHY 168C all working now with the new 85-qhyccd.rules file. Thanks

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

1 month 3 weeks ago
jerry
Expert Boarder
Expert Boarder
Posts: 117
Karma: 1
More
QHY5 - [ERROR] GetQHYCCDSingleFrame error (-1) #43827
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.

10" Meade SCT on Celestron CGEM DX HC: GEM 5.29.7137 MC: 6.50 6.50,
QHY-5L-II-M 1280x960 3.75um guiding,
Nikon Z7 8256 x 5504, 35.9 x 23.9mm 4.34 um pixel size.
StellarMate OS on RPI4 using kstars-bleeding and Kstars on Odroid-N2.

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

1 month 3 weeks ago
terryfitz
Fresh Boarder
Fresh Boarder
Posts: 6
More
QHY5 - [ERROR] GetQHYCCDSingleFrame error (-1) #43834
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

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

1 month 2 weeks ago
Tim Roske
Fresh Boarder
Fresh Boarder
Posts: 5
More
QHY5 - [ERROR] GetQHYCCDSingleFrame error (-1) #44057
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?

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

1 month 2 weeks ago
knro
Administrator
Administrator
Posts: 7353
Karma: 51
QHY5 - [ERROR] GetQHYCCDSingleFrame error (-1) #44061
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 Darfe, Tim Roske

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

1 month 2 weeks ago
knro
Administrator
Administrator
Posts: 7353
Karma: 51
QHY5 - [ERROR] GetQHYCCDSingleFrame error (-1) #44121
There is an updated libqhy in INDI Nightly repo that should fix the QHY/SSAG issue. Can you please update and test?

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info

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

Time to create page: 1.231 seconds