You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
open remote serial shutter port blocked when I set a 40 seconds exposure on Ekos (set Force BULB ON on INDI Control Panel),
then it blocked forever except I restart the KSTARS
I did a test via CLion, then found that:
open() can not be written like : open(gphoto->bulb_port, O_RDWR, O_NONBLOCK);
must be written as: open(gphoto->bulb_port, O_RDONLY | O_NONBLOCK);
The text was updated successfully, but these errors were encountered:
Describe the bug
open remote serial shutter port blocked when I set a 40 seconds exposure on Ekos (set Force BULB ON on INDI Control Panel),
then it blocked forever except I restart the KSTARS
CPU:Intel Core i7
OS: MacOS Monterey 12.3.1 (21E258)
KSTARS: Version 3.5.8 Stable
KDE Frameworks Version 5.92.0
DSLR: Nikon D5100
USBtoTTL chip: FT232R, Driver: https://www.ftdichip.com/Drivers/VCP/MacOSX/FTDIUSBSerialDextInstaller_1_4_7.zip
To Reproduce
Exact steps to reproduce the behavior.
Expected behavior**
the shutter opens,then close after 40 seconds
Screenshots
If applicable, add screenshots to help explain your problem.
MacBookPro (please complete the following information):
CPU:Intel Core i7
OS: MacOS Monterey 12.3.1 (21E258)
KSTARS: Version 3.5.8 Stable
KDE Frameworks Version 5.92.0
DSLR: Nikon D5100
USBtoTTL chip: FT232R, Driver: https://www.ftdichip.com/Drivers/VCP/MacOSX/FTDIUSBSerialDextInstaller_1_4_7.zip
Log Files
INFO 20.704069 sec : Force BULB is enabled. All expsures shall be captured in BULB mode except for subsecond captures.
INFO 64.539492 sec : Starting 40 seconds exposure.
DEBUG 64.539565 sec : Starting exposure (exptime: 40 secs, mirror lock: 0, force bulb: true, exposure index: 1)
DEBUG 64.539613 sec : Mutex locked
DEBUG 64.539681 sec : Setting radio/menu widget iso: 0 (100)
DEBUG 64.540377 sec : Setting new configuration OK.
DEBUG 64.540442 sec : Setting radio/menu widget imagequality: 3 (NEF (Raw))
DEBUG 64.541012 sec : Setting new configuration OK.
DEBUG 64.541064 sec : Setting exposure widget bulb index: 52
DEBUG 64.541085 sec : Setting radio/menu widget shutterspeed2: 52 (Bulb)
DEBUG 64.541832 sec : Setting new configuration OK.
DEBUG 64.541882 sec : Opening remote serial shutter port: /dev/tty.usbserial-xxxx ...
Finally I searched the source code at:
indi-3rdparty/indi-gphoto/gphoto_driver.cpp
Line 1063 in a70b152
I did a test via CLion, then found that:
open() can not be written like : open(gphoto->bulb_port, O_RDWR, O_NONBLOCK);
must be written as: open(gphoto->bulb_port, O_RDONLY | O_NONBLOCK);
The text was updated successfully, but these errors were encountered: