Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting bracket mode on a Canon EOS R5 camera #608

Open
Baeist opened this issue Oct 20, 2023 · 0 comments
Open

Setting bracket mode on a Canon EOS R5 camera #608

Baeist opened this issue Oct 20, 2023 · 0 comments

Comments

@Baeist
Copy link

Baeist commented Oct 20, 2023

Describe the bug

How do we configure the Bracket Mode on a canon EOS R5 camera? We keep getting an error when trying to set this.

Name the camera
Model Port

Canon EOS R5 usb:004,002

libgphoto2 and gphoto2 version
gphoto2 2.5.28

Copyright (c) 2000-2021 Marcus Meissner and others

gphoto2 comes with NO WARRANTY, to the extent permitted by law. You may
redistribute copies of gphoto2 under the terms of the GNU General Public
License. For more information about these matters, see the files named COPYING.

This version of gphoto2 is using the following software versions and options:
gphoto2 2.5.28 clang, popt(m), exif, no cdk, no aa, jpeg, readline
libgphoto2 2.5.30 standard camlibs, clang, no ltdl, EXIF
libgphoto2_port 0.12.1 iolibs: disk ptpip serial usb1, clang, no ltdl, EXIF, USB, serial without locking

To Reproduce

(base) dassco@SUASNMDacStudio imageTestsFromCanon % sudo gphoto2 --get-config bracketmode
Label: Bracket Mode
Readonly: 0
Type: RADIO
Current: Unknown value 0000
Choice: 0 Unknown value 0000
END

This is the error we are getting so far and we have been unable to determine what values we should put here. Type radio indicates small number, but we get the same error no matter what number we input here. We also tried a 4 digit number in case it was a radio for each digit(1550 fex):

(base) dassco@SUASNMDacStudio imageTestsFromCanon % sudo env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt --set-config=bracketmode=120

*** Error ***
Parsing the value of widget 'Bracket Mode' / 0xd11d failed with -1.

*** Error ***
Failed to set new configuration value 120 for configuration entry bracketmode.
*** Error (-1: 'Unspecified error') ***

When looking in the my-logfile.txt this seems relevant but we have been unable to go further:

0.145069 _set_config (2): Setting property 'Bracket Mode' / 0xd11d
0.145079 _put_Genericu16Table config.c:869: failed to find value 120 in list
0.145083 gp_context_error (0): Parsing the value of widget 'Bracket Mode' / 0xd11d failed with -1.
0.145096 gp_camera_set_single_config gphoto2-camera.c:1130: 'camera->functions->set_single_config ( camera, name, widget, context)' failed: -1
0.145100 gp_context_error (0): Failed to set new configuration value 120 for configuration entry bracketmode.
0.145176 gp_camera_free (2): Freeing camera...
0.145179 gp_camera_exit (2): Exiting camera ('Canon EOS R5')...
0.145183 ptp_usb_sendreq (2): Sending PTP_OC 0x9116 (EOS_GetEvent) request...
0.145185 gp_port_write (3): Writing 12 = 0xc bytes to port...
0.145361 gp_port_write (3): Wrote 12 = 0xc bytes to port: (hexdump of 12 bytes)
0000 0c 00 00 00 01 00 16 91-20 00 00 00 ........ ...

The full my-log.txt file is attached.
my-logfile.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant