Hi devs!

I was having an issue when trying to set whitebalanaceadjusta to a negative
value, camera is a Canon EOS Rebel T5.
Using --set-config-index does not work and --set-config-value does not work
either for negative numbers. This property should range from -9 to 9
inclusive. Here are some example outputs I am getting:

    $ gphoto2 --set-config-index=whitebalanceadjusta=8


    *** Error ***
    The property 'WhiteBalance Adjust A' / 0xd10b was not set (0x2019: PTP
Device Busy).

However, using index=whitebalanceadjust=9 (selects 0 for the balance) will
work just fine. It is the same with value:

    $ gphoto2 --set-config-value=whitebalanceadjusta=-9


    *** Error ***
    The property 'WhiteBalance Adjust A' / 0xd10b was not set (0x2019: PTP
Device Busy).

I have tried escaping the negative sign to no avail.

$ gphoto2 --get-config=whitebalanceadjusta
Label: WhiteBalance Adjust A

Type: RADIO
Current: 0
Choice: 0 -9
Choice: 1 -8
Choice: 2 -7
Choice: 3 -6
Choice: 4 -5
Choice: 5 -4
Choice: 6 -3
Choice: 7 -2
Choice: 8 -1
Choice: 9 0
Choice: 10 1
Choice: 11 2
Choice: 12 3
Choice: 13 4
Choice: 14 5
Choice: 15 6
Choice: 16 7
Choice: 17 8
Choice: 18 9

Is this a bug or is there another way to do this?

Thanks for your help,
Alec
_______________________________________________
Gphoto-devel mailing list
Gphoto-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gphoto-devel

Reply via email to