use_gphoto2_to_configure_dslr
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| use_gphoto2_to_configure_dslr [2017/06/25 16:17] – walkeradmin | use_gphoto2_to_configure_dslr [2017/06/25 16:35] (current) – walkeradmin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== gphoto2 | + | ====== |
| <color darkorange> | <color darkorange> | ||
| \\ | \\ | ||
| Line 5: | Line 5: | ||
| ---- | ---- | ||
| \\ | \\ | ||
| + | We can control the settings on our DSLR, again what can be controlled will vary between models. To get a list of items that can (maybe) control, you can use this command. | ||
| + | \\ | ||
| + | < | ||
| + | gphoto2 --list-config | ||
| + | </ | ||
| + | Here is the listing that I get from my Canon EOS 700D. | ||
| + | \\ | ||
| + | < | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | </ | ||
| + | So for example, in this list we can see a setting entitled <color # | ||
| + | \\ | ||
| + | \\ | ||
| + | To see what the possible values for <color # | ||
| + | \\ | ||
| + | < | ||
| + | gphoto2 --get-config / | ||
| + | </ | ||
| + | \\ | ||
| + | The 700D DSLR I am using returns the following: | ||
| + | \\ | ||
| + | < | ||
| + | Label: Aperture | ||
| + | Type: RADIO | ||
| + | Current: 4.5 | ||
| + | Choice: 0 4.5 | ||
| + | Choice: 1 5.6 | ||
| + | Choice: 2 6.7 | ||
| + | Choice: 3 8 | ||
| + | Choice: 4 9.5 | ||
| + | Choice: 5 11 | ||
| + | Choice: 6 13 | ||
| + | Choice: 7 16 | ||
| + | Choice: 8 19 | ||
| + | Choice: 9 22 | ||
| + | </ | ||
| + | So we can see that the current aperture is 4.5 (probably due to the lens I am using) and we have a choice to select | ||
| + | \\ | ||
| + | \\ | ||
| + | We can set the aperture using either the absolute value (11) or the index next to the value (choice 5). Here is an example setting using the absolute value. | ||
| + | \\ | ||
| + | < | ||
| + | gphoto2 --set-config-value / | ||
| + | </ | ||
| + | If we check the aperture setting now, using the same command as before: | ||
| + | \\ | ||
| + | < | ||
| + | gphoto2 --get-config / | ||
| + | Label: Aperture | ||
| + | Type: RADIO | ||
| + | Current: 11 | ||
| + | Choice: 0 4.5 | ||
| + | Choice: 1 5.6 | ||
| + | Choice: 2 6.7 | ||
| + | Choice: 3 8 | ||
| + | Choice: 4 9.5 | ||
| + | Choice: 5 11 | ||
| + | Choice: 6 13 | ||
| + | Choice: 7 16 | ||
| + | Choice: 8 19 | ||
| + | Choice: 9 22 | ||
| + | </ | ||
| + | We can see now that the <color # | ||
| + | \\ | ||
| + | \\ | ||
use_gphoto2_to_configure_dslr.1498407422.txt.gz · Last modified: (external edit)
