https://bugs.kde.org/show_bug.cgi?id=463749

            Bug ID: 463749
           Summary: GPhoto CCD shutter release string too short
    Classification: Applications
           Product: kstars
           Version: 3.6.2
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: mutla...@ikarustech.com
          Reporter: thomas.mackenha...@gmail.com
  Target Milestone: ---

SUMMARY
Please extend the maximum length of the string that is used for the Shutter
release in the driver GPhoto CCD. This string can’t be saved
/dev/serial/by-id/usb-FTDI_USB__-__Serial_Converter_FTVQ0UZN-if00-port0.
Problem is that the last part (7 characters) of the string is cut of when
saving.


STEPS TO REPRODUCE
1.  In the Indi control panel select tab GPhoto and hit disconnect 
2. Select tab Main Control
3. Set the Shutter release parameter to
/dev/serial/by-id/usb-FTDI_USB__-__Serial_Converter_FTVQ0UZN-if00-port0
4. Now it looks like is is correctly set
5. Go to options tab and hit save
6. Close
7. Disconnect and restart entire system
8. Start the profile
9. Check the Shutter release setting 

OBSERVED RESULT
After step 9. Shutter release is set to
/dev/serial/by-id/usb-FTDI_USB__-__Serial_Converter_FTVQ0UZN-if0
Missing the last 7 characters.

EXPECTED RESULT
Shutter release should be
/dev/serial/by-id/usb-FTDI_USB__-__Serial_Converter_FTVQ0UZN-if00-port0

SOFTWARE/OS VERSIONS
Windows: 10
macOS: 
Linux/KDE Plasma: Stellarmate 1.7.4
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
My normal setup is a stellarmate on a RPI3 and Kstars running on a Windows PC.
But when using the Kstars installed on the stellarmate under Linux I see the
same issue.

Using FTDI USB-Serial converter to control Nikon DSLR vi the shutter connector.
In some cases if I use Shutter = /dev/ttyUSB0 the shutter doesn’t “fire” . I
found out that this problem is because sometimes the FTDI USB-serial chip is
assigned randomly to either /dev/ttyUSB1 or /dev/ttyUSB0. In which case I have
to disable the Gphoto CCD driver and reconfigure the shutter setting to the
other value /dev/ttyUSB0 or /dev/ttyUSB1 and then it works fine. I have tried
to solve this by using the reference
/dev/serial/by-id/usb-FTDI_USB__-__Serial_Converter_FTVQ0UZN-if00-port0 instead
which should not change. However the last part of the string is cut off when
saving it. Which results in a wrong reference to the FTDI converter.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to