Henk Aling replied to the topic 'QHY 5-III 200M (Ver. 2)' in the forum. 9 months ago

The build completed. I can now run KStars/Ekos. The aforementioned script is fantastic (thank you so much!)

I was still unable to use the camera. I realized that I had not run the fxload build/install that is part of the suite. Did that, and wow,

henk@raspberrypi:~ $ lsusb
Bus 002 Device 002: ID 1618:0201 QHYCCD QHY200U3G20-20230106
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 004: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Note that the PID is 0201, and not 0200 as rules.d says. I had noticed in Windows' device manager that the PID was 0201 on Windows as well. At least we are consistent now. Note also that the QHYCCD info shows up clearly. I suspect that ZWO changed the PID to 0201 because it upped the version explicitly in the product name "QHY 5-III 200M (Ver. 2)".

Next, running /usr/bin/qhy_video_test works, see the listing below. Basically, it works at a pretty good level!

It still does not work in Ekos though - because its rules.d wants a PID of 0200. I edited 85-qhyccd.rules and changed 0200 to 0201 but this did not work. It made lsusb show 0200 again, and the qhy tests failed. So I reverted back to 0200 and the qhy tests work again. I think I just need a new driver that works with PID 0201. At this point I may ask ZWO for help.


henk@raspberrypi:~ $ /usr/bin/qhy_video_test
|QHYCCD|qhyccd.cpp|EnableQHYCCDLogFile start
QHYCCD||EnableQHYCCDMessage| set gl_msgEnable from: 1 to: 0
QHY Video Test using VideoFrameMode, Version: 1.00
SDK resources initialized.
Number of QHYCCD cameras found: 1
Application connected to the following camera from the list: Index: 1, cameraID = QHY5III200M-6aa43543b04c23dba
Open QHYCCD success.
GetQHYCCDOverScanArea:
Overscan Area startX x startY : 0 x 0
Overscan Area sizeX x sizeY : 0 x 0
GetQHYCCDEffectiveArea:
Effective Area startX x startY: 0 x 0
Effective Area sizeX x sizeY : 0 x 0
GetQHYCCDChipInfo:
Effective Area startX x startY: 0 x 0
Chip size width x height : 7.680 x 4.320 [mm]
Pixel size width x height : 4.000 x 4.000 [um]
Image size width x height : 1920 x 1080
This is a mono camera.
SetQHYCCDParam CONTROL_EXPOSURE set to: 1 us, success.
InitQHYCCD success.
SetQHYCCDParam CONTROL_USBTRAFFIC set to: 20, success.
SetQHYCCDParam CONTROL_GAIN set to: 1, success
SetQHYCCDParam CONTROL_GAIN set to: 180, success.
SetQHYCCDResolution roiStartX x roiStartY: 0 x 0
SetQHYCCDResolution roiSizeX x roiSizeY : 1920 x 1080
SetQHYCCDBinMode set to: binX: 1, binY: 1, success.
Allocated memory for frame: 9534400 [uchar].
Press any key to exit...
Frames: 54 Duration: 3.029 seconds FPS: 17.829
Frames: 55 Duration: 3.018 seconds FPS: 18.224
Frames: 55 Duration: 3.014 seconds FPS: 18.245
Frames: 55 Duration: 3.016 seconds FPS: 18.233
Frames: 55 Duration: 3.016 seconds FPS: 18.235
Frames: 55 Duration: 3.016 seconds FPS: 18.234
Frames: 55 Duration: 3.017 seconds FPS: 18.233
Frames: 55 Duration: 3.016 seconds FPS: 18.235
Frames: 55 Duration: 3.018 seconds FPS: 18.222
Frames: 55 Duration: 3.014 seconds FPS: 18.247

Close QHYCCD success.
SDK resources released.

Read More...