DE LA FOUCHARDIERE Bruno replied to the topic 'INDI and Sony A7s' in the forum. 6 years ago

hello,

Sure. I will try to open a case in the libgphoto2 project, if the issue is not in indi driver, its not worth tweaking the code for bad reasons.
Will come back to you when progress will be done on the libgphoto2 side.

Bruno

Read More...

DE LA FOUCHARDIERE Bruno replied to the topic 'INDI and Sony A7s' in the forum. 6 years ago

hello,

This doesn't solve the issue. I have enclosed logfile.

Bruno

Read More...

DE LA FOUCHARDIERE Bruno replied to the topic 'INDI and Sony A7s' in the forum. 6 years ago

I've compiled the code for indi gphoto driver.
When Indi start, it detects the mode fallback speeds.



However, when trying to pass the shutterspeed to the cam, it fails and returning Failed to set widget...




Bruno

Read More...

DE LA FOUCHARDIERE Bruno replied to the topic 'INDI and Sony A7s' in the forum. 6 years ago

I can build source code, not a problem.
I wondered where the code was stored, I did not see a recent commit on gphoto2 github repository, this is why I asked the question.
Sorry for being not comfortable with those process.

Bruno

Read More...

DE LA FOUCHARDIERE Bruno replied to the topic 'INDI and Sony A7s' in the forum. 6 years ago

Hi,

could you explain a little more please, what do I need to pull ? At which URL ?
I am not very familiar with developpment.

Bruno

Read More...

DE LA FOUCHARDIERE Bruno replied to the topic 'INDI and Sony A7s' in the forum. 6 years ago

hello,

The section describing the choices for shutterspeed is not populated, it shows the current shutterspped (13s was the setting when i launched the command)
I am currently running the following versions :



I have attached the gphoto2 -list-all-config output.

Bruno

Read More...

DE LA FOUCHARDIERE Bruno replied to the topic 'INDI and Sony A7s' in the forum. 6 years ago

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

Read More...

DE LA FOUCHARDIERE Bruno replied to the topic 'INDI and Sony A7s' in the forum. 6 years ago

Hello,

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

Best regards,
bruno

Read More...

DE LA FOUCHARDIERE Bruno replied to the topic 'INDI and Sony A7s' in the forum. 6 years ago

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

Read More...

DE LA FOUCHARDIERE Bruno replied to the topic 'INDI and Sony A7s' in the forum. 6 years ago

hello,

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

Bruno

Read More...

DE LA FOUCHARDIERE Bruno replied to the topic 'INDI and Sony A7s' in the forum. 6 years ago

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)


Am I missing something in the config ?

Bruno

Read More...