×

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

Bi-monthly release with minor bug fixes and improvements

INDI and Sony A7s

  • Posts: 4
  • Thank you received: 1

Replied by Julien Ciclet on topic INDI and Sony A7s

Hello,

I tried several time but it looks like problem in the configuration file.
Here is the log.
Thanks for your help,
Julien
6 years 2 months ago #22131
Attachments:

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

  • Posts: 314
  • Thank you received: 95

Replied by Oleg on topic INDI and Sony A7s

"Ubuntu Astronomy 16.04" contains libgphoto2 v.2.5.13 without libgphoto2 PPA.
You can try my open project Astronomy Linux
6 years 2 months ago #22137

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

  • Posts: 4
  • Thank you received: 1

Replied by Julien Ciclet on topic INDI and Sony A7s

Hello,

I followed this here
The result of my console showed me this :

astronom@ubuntu:~$ sudo apt-get -o Dpkg::Options::="--force-overwrite" install libgphoto2-port12
Reading package lists... Done
Building dependency tree
Reading state information... Done
libgphoto2-port12 is already the newest version (2.5.17+201801012117~ubuntu16.04.1).
0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.


Thank you,
Julien
6 years 2 months ago #22148

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

Replied by Jasem Mutlaq on topic INDI and Sony A7s

Is this issue relevant to you? github.com/indilib/indi/issues/251
6 years 2 months ago #22158

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

  • Posts: 11
  • Thank you received: 0
Hello,

I'm trying to take some pictures with INDI with my A7S, in fact, it looks like the shutterspeed is not properly sent to the Sony.

If I set the shutterspeed using gphoto2, it works but not through INDI.
root@bruno-rpi:~# gphoto2 --camera="Sony Alpha-A7S (Control)" --set-config shutterspeed=10/10 sets correctly to 1s

If I set 5 seconds exposure in INDI, the shutterspeed stays at 1s since it was settled at the last setting done using the command line before starting indi.
the log throws [ERROR] Failed to set widget shutterspped configuration (Bad parameter)

Attachment not found


Am I missing something in the config ?

Bruno
5 years 10 months ago #26069

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

Replied by Jasem Mutlaq on topic INDI and Sony A7s

Please attach the full debug logging (Make sure INDI & CCD are checked in the logs before you connect).
5 years 10 months ago #26070

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

  • Posts: 11
  • Thank you received: 0
hello,

Thanks for fast reply !!
Here is the log, please tell me if more debug is needed.

Bruno
Last edit: 5 years 10 months ago by DE LA FOUCHARDIERE Bruno.
5 years 10 months ago #26071
Attachments:

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

  • Posts: 11
  • Thank you received: 0
Hello,

in the meantime, I have changed into the xml config file for Sony A7S the CCD_FRAME section which was popping in the logfile as an error.

2018-05-18T16:26:17.078 CEST DEBG ][ org.kde.kstars.indi] - Sony DSLR Alpha-A7S (Control) : "Error: Invalid range for Max. Width (CCD_MAX_X). Valid range is from 1 to 16000. Requested value is 0 "
[2018-05-18T16:26:17.083 CEST INFO ][ org.kde.kstars.indi] - Sony DSLR Alpha-A7S (Control) : "[INFO] Upload settings set to client only. "
[2018-05-18T16:26:17.084 CEST DEBG ][ org.kde.kstars.indi] - Sony DSLR Alpha-A7S (Control) : "Error: Invalid range for Left (X). Valid range is from 0 to -1. Requested value is 0 "


Section of Sony DSLR Alpha-A7S (Control)_config.xml file in .indi directory

<newNumberVector device='Sony DSLR Alpha-A7S (Control)' name='CCD_FRAME'>
<oneNumber name='X'>
1
</oneNumber>
<oneNumber name='Y'>
1
</oneNumber>
<oneNumber name='WIDTH'>
4240
</oneNumber>
<oneNumber name='HEIGHT'>
2832
</oneNumber>
</newNumberVector>

Bruno
5 years 10 months ago #26072

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

Replied by Jasem Mutlaq on topic INDI and Sony A7s

Please attach the complete config.xml file as well. The problem with the speed shutter widget is this:
Sony DSLR Alpha-A7S (Control) :  "[WARNING] Shutter speed widget does not have any valid data (count=0) "

So for other cameras, the shutter speed list is given for all possible supported shutter speeds. I suspect because Sony A7 support is new in libgphoto2 and they haven't gotten around to doing that. Is there a way to convert the requested time to the shutter speed? 1 second = 10/10, how about 5 seconds? 50/10 ? how about 1/4000, or 1/8000 ...etc?
5 years 10 months ago #26081

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

  • Posts: 11
  • Thank you received: 0
Hello,

This is correct, 10/10 is for 1 seconds, please find attached the mapping for all the shutter speeds

Best regards,
bruno
5 years 10 months ago #26091
Attachments:

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

Replied by Jasem Mutlaq on topic INDI and Sony A7s

How did you get this list? from gphoto2 itself??
5 years 10 months ago #26093

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

  • Posts: 11
  • Thank you received: 0
I took all the shutter speed of the A7S and found the relevant command in gphoto2 to match the speed in CLI.
In fact, what you found out is that the XML file should be populated with an array containing all the shutterspeed like the ISO_SPEED SwitchVector ?

Bruno
5 years 10 months ago #26097

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

Time to create page: 0.588 seconds