Open procras2 opened 4 years ago
Might be because camera is too new for the asi driver included.
I think that's the case; see e.g. this thread: https://indilib.org/forum/ccds-dslrs/7452-zwo-asi462mc-error-error-connecting-to-the-ccd-16-fixed-with-new-asi-sdk.html?start=12
It seems support for 462 was added in driver version 1.15.0617 2020.6.17, while PlanetaryImager still references 1.14. (Unfortunately I'm not familiar with how this dependency is handled; it could be the case that just updating the two add_sdk
calls at the beginning of https://github.com/GuLinux/PlanetaryImager/blob/master/src/drivers/zwo_asi/CMakeLists.txt will suffice.)
Thanks GreatAttractor, I did as you suggested and updated the CMakeLists.txt file to point to the newer SDK.
Line 3 of src/drivers/zwo_asi/CMakeLists.txt becomes
add_sdk(NAME ASI_Linux_Mac MAJOR 1 MINOR 15 PATCH 0915 URL "http://astronomy-imaging-camera.com/software/ASI_linux_mac_SDK_V\${ASI_Linux_Mac_SDK_VERSION}.tar.bz2" HASH_ALGO MD5 HASH ccaa3ab78ccfa5bc25fb9b18803c9629)
The SDK is downloaded, build works fine and program runs Camera is detected and shows image when loaded, yippee!
I have built PlanetaryImager on Archlinux and I am having trouble getting my camera to show up!
I followed the instructions to build it, which went fine and I start it from the build directory with src/PlanetaryImager --drivers .
The ZWO ASI 462MC camera is not shown in the drop down menu. Relevant line from .cache/PletaryImager/PlanetaryImager.log includes
DEBUG - std::shared_ptr SupportedDriver::driver() Initializing driver "./src/drivers/zwo_asi/driver_zwo_asi_imager.so"
INFO - (ASI) Driver initialised, version 1, 14, 0315
DEBUG - std::shared_ptr SupportedDriver::driver() Loaded driver address: 140081096571072
DEBUG - std::shared_ptr SupportedDriver::driver() Driver loaded: true
DEBUG - std::shared_ptr SupportedDriver::driver() Driver loaded: true
DEBUG - (ASI) Driver: detected 0 cameras
PlanetaryImager.log
lsusb shows the camera Bus 004 Device 003: ID 03c3:462b ASUS TEK. ASM107x
The camera works on this box with kstars, libindi_3rdparty 1.8.6-1, /usr/bin/indi_asi_ccd
When the camera is plugged in I see from the journal.
Nov 03 19:45:50 aoife kernel: usb 4-2.2: new SuperSpeed Gen 1 USB device number 4 using xhci_hcd Nov 03 19:45:50 aoife kernel: usb 4-2.2: New USB device found, idVendor=03c3, idProduct=462b, bcdDevice= 0.00 Nov 03 19:45:50 aoife kernel: usb 4-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 Nov 03 19:45:50 aoife kernel: usb 4-2.2: Product: ASI462MC Nov 03 19:45:50 aoife kernel: usb 4-2.2: Manufacturer: ZWO
The errors log 2> errors.log is attached below.
errors.log