×

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

Bi-monthly release with minor bug fixes and improvements

QHY5 - [ERROR] GetQHYCCDSingleFrame error (-1)

  • Posts: 5
  • Thank you received: 2
:-(

Is there any way to revert to an older QHY driver while we wait for the fix?
KStars/Ekos running on OdroidXU4 Ubuntu Mate on the Mount and RDP from laptop for remote access
Telescopes: Skywatcher ED80 & Altair Astro RC6
Mount: Skywatcher HEQ5
CCD: Atik 414EX
Guider: QHY5 on Skywatcher ST80
4 years 6 months ago #43309

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

  • Posts: 64
  • Thank you received: 9
Having the same issue after updating driver. Any update? Anyway to revert back to previous driver?
4 years 6 months ago #43631

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

I just emailed QHY to see if they have an ETA for the fix. If it will take them a while, then I will revert to QHYSDK 5.1.0
The following user(s) said Thank You: Jerry Black, Hans, Terry Fitzpatrick, David Moon
4 years 6 months ago #43632

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

  • Posts: 460
  • Thank you received: 69

So if I was impatient, could I download and run the install script from 5.1.0 on the qhy website www.qhyccd.com/file/repository/latestSof...yccd_V20190628_0.tgz to revert back in advance ? [on my Odroid-N2]

Thanks

[EDIT:} WELL I TRIED THIS AND IT DIDN'T WORK. In fact I messed things up a fair amount by fiddling.
Last edit: 4 years 6 months ago by Jerry Black.
4 years 6 months ago #43733

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

  • Posts: 5
  • Thank you received: 0
Sharing Jerry's impatiance ;-) ...

Or is it possible to (re)install indilib 1.8.0 and use it with Kstars 3.3.6? If yes where to get the .deb file of 1.8.0? (my /var/cache/apt/archives only contains indillib 1.8.1)

Many thanks, Hans.
4 years 6 months ago #43736

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

I also updated the 85-qhyccd.rules file.. does this help? Looks like QHY is still working on the QHY5 issue.
4 years 6 months ago #43754

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

  • Posts: 460
  • Thank you received: 69
FYI If the updated 85-qhyccd.rules file is in KStars build: Build: 2019-09-22T09:43:47Z (I didn't check) then it did not help my config (Odroid-N2).

Thanks
4 years 6 months ago #43779

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

Can you try this attached file? Unplug and replug the camera afterwards.

File Attachment:

File Name: 85-qhyccd.rules.zip
File Size:2 KB
The following user(s) said Thank You: Bowman
Last edit: 4 years 6 months ago by Jasem Mutlaq.
4 years 6 months ago #43782
Attachments:

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

  • Posts: 460
  • Thank you received: 69
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.
4 years 6 months ago #43785

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

  • Posts: 460
  • Thank you received: 69
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
[
Last edit: 4 years 6 months ago by Jerry Black. Reason: typo
4 years 6 months ago #43787

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

  • Posts: 460
  • Thank you received: 69

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. :)
The following user(s) said Thank You: Bowman
4 years 6 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'"
4 years 6 months ago #43792

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

Time to create page: 1.351 seconds