gphoto2 icon indicating copy to clipboard operation
gphoto2 copied to clipboard

Sony A7sii Zoom

Open Haavard15 opened this issue 1 year ago • 2 comments

Hey guys,

I was hoping to get my A7sii with FE PZ 28-135 to remote control zoom and focus. I have tried to set various values without any luck for either of them, I have also tried various MF/AF , Servo/Manual combinations.

I have found some configs related to it, but none of them seem to do anything. ISO, aperture, WB etc. work like they should.

/main/other/d214 Label: Zoom Readonly: 0 Type: RANGE Current: 1.83142e+07 Bottom: 0 Top: 4.29497e+09 Step: 1 END

/main/capturesettings/zoom Label: Zoom Readonly: 0 Type: RANGE Current: 18.3142 Bottom: 0 Top: 4294.97 Step: 1 END

The focus settings seem to be read-only

Label: Focus status Readonly: 1 Type: MENU Current: 1 Choice: 0 1 Choice: 1 2 Choice: 2 3 Choice: 3 5 Choice: 4 6 Choice: 5 7 END

/main/other/500a Label: Focus Mode Readonly: 1 Type: MENU Current: 1 Choice: 0 1 Choice: 1 2 Choice: 2 32772 Choice: 3 32773 Choice: 4 32774 END

Here is the logfile from the /main/capturesettings/zoom set:

0.000243 main (2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST: 0.004744 main (2): gphoto2 2.5.28.1 0.004785 main (2): gphoto2 has been compiled with the following options: 0.004803 main (2): + gcc (C compiler used) 0.004819 main (2): + popt (mandatory, for handling command-line parameters) 0.004835 main (2): + exif (for displaying EXIF information) 0.004850 main (2): + no cdk (for accessing configuration options) 0.004864 main (2): + no aa (for displaying live previews) 0.004879 main (2): + jpeg (for displaying live previews in JPEG format) 0.004894 main (2): + no readline (for easy navigation in the shell) 0.004915 main (2): libgphoto2 2.5.27 0.004933 main (2): libgphoto2 has been compiled with the following options: 0.004951 main (2): + standard camlib set (ax203 canon digigr8 dimagev directory docupen jl2005a jl2005c kodak_dc240 lumix mars pentax ptp2 ricoh_g3 sierra sonix sq905 st2205 topfield tp6801) 0.004967 main (2): + gcc (C compiler used) 0.004982 main (2): + ltdl (for portable loading of camlibs) 0.004997 main (2): + EXIF (for special handling of EXIF files) 0.005015 main (2): libgphoto2_port 0.12.0 0.005035 main (2): libgphoto2_port has been compiled with the following options: 0.005050 main (2): + iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi 0.005065 main (2): + gcc (C compiler used) 0.005080 main (2): + ltdl (for portable loading of iolibs) 0.005094 main (2): + EXIF (for vusb) 0.005109 main (2): + USB (libusb1, for USB cameras) 0.005125 main (2): + serial (for serial cameras) 0.005140 main (2): + no resmgr (serial port access and locking) 0.005154 main (2): + no ttylock (serial port locking) 0.005169 main (2): + no lockdev (serial port locking) 0.005184 main (2): CAMLIBS env var not set, using compile-time default instead 0.005199 main (2): IOLIBS env var not set, using compile-time default instead 0.005215 main (2): invoked with following arguments: 0.005230 main (2): --debug 0.005245 main (2): --debug-logfile=my-logfile.txt 0.005259 main (2): --set-config 0.005274 main (2): /main/capturesettings/zoom 0.005288 main (2): 4294.97 0.005342 load_settings (2): Creating gphoto config directory ('/home/pi/.gphoto') 0.005456 load_settings (2): Loading settings from file '/home/pi/.gphoto/settings'. 0.005806 main (2): The user has not specified both a model and a port. Try to figure them out. 0.005851 gp_port_info_list_load (2): Using ltdl to load io-drivers from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0'... 0.006018 foreach_func (2): Called for filename '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/disk'. 0.006642 gp_port_library_list (2): found fstab fsname proc 0.006689 gp_port_library_list (2): found fstab fsname PARTUUID=8e08a0f4-01 0.006731 gp_port_library_list (2): found fstab fsname PARTUUID=8e08a0f4-02 0.006886 gp_port_library_list (2): found mtab fsname /dev/root 0.006924 gp_port_library_list (2): found mtab fsname devtmpfs 0.006948 gp_port_library_list (2): found mtab fsname proc 0.006970 gp_port_library_list (2): found mtab fsname sysfs 0.006993 gp_port_library_list (2): found mtab fsname securityfs 0.007047 gp_port_library_list (2): found mtab fsname tmpfs 0.007093 gp_port_library_list (2): found mtab fsname devpts 0.007117 gp_port_library_list (2): found mtab fsname tmpfs 0.007158 gp_port_library_list (2): found mtab fsname tmpfs 0.007204 gp_port_library_list (2): found mtab fsname cgroup2 0.007227 gp_port_library_list (2): found mtab fsname bpf 0.007270 gp_port_library_list (2): found mtab fsname systemd-1 0.007293 gp_port_library_list (2): found mtab fsname sunrpc 0.007340 gp_port_library_list (2): found mtab fsname mqueue 0.007363 gp_port_library_list (2): found mtab fsname debugfs 0.007438 gp_port_library_list (2): found mtab fsname tracefs 0.007480 gp_port_library_list (2): found mtab fsname configfs 0.007528 gp_port_library_list (2): found mtab fsname fusectl 0.007550 gp_port_library_list (2): found mtab fsname /dev/mmcblk0p1 0.007585 gp_port_library_list (2): found mtab fsname tmpfs 0.007627 gp_port_library_list (2): found mtab fsname gvfsd-fuse 0.007739 foreach_func (2): Loaded '' ('^disk:') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/disk'. 0.007762 foreach_func (2): Called for filename '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/ptpip'. 0.008157 foreach_func (2): Loaded 'PTP/IP Connection' ('ptpip:') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/ptpip'. 0.008198 foreach_func (2): Loaded '' ('^ptpip:') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/ptpip'. 0.008217 foreach_func (2): Loaded 'IP Connection' ('ip:') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/ptpip'. 0.008236 foreach_func (2): Loaded '' ('^ip:') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/ptpip'. 0.008253 foreach_func (2): Called for filename '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/serial'. 0.008854 foreach_func (2): Loaded 'Serial Port Device' ('serial:') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/serial'. 0.008898 foreach_func (2): Loaded '' ('^serial:') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/serial'. 0.008916 foreach_func (2): Called for filename '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/usb1'. 0.023783 foreach_func (2): Loaded '' ('^usb:') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/usb1'. 0.023839 foreach_func (2): Loaded 'Universal Serial Bus' ('usb:001,005') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/usb1'. 0.023859 foreach_func (2): Loaded 'Universal Serial Bus' ('usb:001,004') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/usb1'. 0.023880 foreach_func (2): Loaded 'Universal Serial Bus' ('usb:001,021') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/usb1'. 0.023898 foreach_func (2): Called for filename '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/usbdiskdirect'. 0.024366 foreach_func (2): Called for filename '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/usbscsi'. 0.024809 gp_port_info_list_count (2): Counting entries (11 available)... 0.024848 gp_port_info_list_count (2): 6 regular entries available. 0.024893 gp_abilities_list_load_dir (2): Using ltdl to load camera libraries from '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.27'... 0.025053 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.27/ax203'. 0.025079 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.27/canon'. 0.025098 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.27/digigr8'. 0.025115 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.27/dimagev'. 0.025131 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.27/directory'. 0.025148 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.27/docupen'. 0.025193 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.27/jl2005a'. 0.025212 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.27/jl2005c'. 0.025229 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.27/kodak_dc240'. 0.025246 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.27/lumix'. 0.025263 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.27/mars'. 0.025279 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.27/pentax'. 0.025296 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.27/ptp2'. 0.025315 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.27/ricoh_g3'. 0.025332 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.27/sierra'. 0.025349 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.27/sonix'. 0.025366 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.27/sq905'. 0.025383 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.27/st2205'. 0.025400 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.27/topfield'. 0.025418 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.27/tp6801'. 0.025443 gp_abilities_list_load_dir (2): Found 20 camera drivers. 0.147821 gp_port_info_list_count (2): Counting entries (11 available)... 0.147918 gp_port_info_list_count (2): 6 regular entries available. 0.147940 gp_port_new (2): Creating new device... 0.147972 gp_port_info_list_get_info (2): Getting info of entry 0 (11 available)... 0.148477 gp_port_set_settings (2): Setting settings... 0.148520 gp_port_info_list_get_info (2): Getting info of entry 1 (11 available)... 0.148784 gp_port_set_settings (2): Setting settings... 0.148816 gp_port_info_list_get_info (2): Getting info of entry 2 (11 available)... 0.149145 gp_port_set_timeout (2): Setting port timeout to 500 milliseconds. 0.149185 gp_port_set_settings (2): Setting settings... 0.149205 gp_port_info_list_get_info (2): Getting info of entry 3 (11 available)... 0.162643 gp_port_set_timeout (2): Setting port timeout to 5000 milliseconds. 0.162695 gp_port_set_settings (2): Setting settings... 0.162719 gp_libusb1_update (2): (old int=0, conf=-1, alt=-1) port usb:001,005, (new int=0, conf=-1, alt=-1) port usb:001,005 0.162738 gp_libusb1_update (2): lowlevel libusb1 port not yet opened, no need for libusb changes 0.162756 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras... 0.165199 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)... 0.167144 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)... 0.167325 gp_port_info_list_get_info (2): Getting info of entry 4 (11 available)... 0.180941 gp_port_set_timeout (2): Setting port timeout to 5000 milliseconds. 0.180991 gp_port_set_settings (2): Setting settings... 0.181014 gp_libusb1_update (2): (old int=0, conf=-1, alt=-1) port usb:001,004, (new int=0, conf=-1, alt=-1) port usb:001,004 0.181032 gp_libusb1_update (2): lowlevel libusb1 port not yet opened, no need for libusb changes 0.181051 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras... 0.183500 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)... 0.185337 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)... 0.185533 gp_port_info_list_get_info (2): Getting info of entry 5 (11 available)... 0.200510 gp_port_set_timeout (2): Setting port timeout to 5000 milliseconds. 0.200591 gp_port_set_settings (2): Setting settings... 0.200615 gp_libusb1_update (2): (old int=0, conf=-1, alt=-1) port usb:001,021, (new int=0, conf=-1, alt=-1) port usb:001,021 0.200633 gp_libusb1_update (2): lowlevel libusb1 port not yet opened, no need for libusb changes 0.200651 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras... 0.203099 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)... 0.204153 gp_libusb1_find_device_lib (2): Looking for USB device (vendor 0x54c, product 0xa71)... found. 0.204346 gp_libusb1_find_device_lib (2): Detected defaults: config 1, interface 0, altsetting 0, inep 81, outep 02, intep 83, class 06, subclass 01 0.204385 gp_abilities_list_detect_usb(2): Found 'Sony Alpha-A7S II (Control)' (0x54c,0xa71) 0.204463 gp_port_free (2): Freeing port... 0.204482 gp_port_close (2): Closing port... 0.205145 gp_camera_set_abilities (2): Setting abilities ('Sony Alpha-A7S II (Control)')... 0.205206 gp_setting_set (2): Setting key 'model' to value 'Sony Alpha-A7S II (Control)' (gphoto2) 0.205229 save_settings (2): Saving 4 setting(s) to file "/home/pi/.gphoto/settings" 0.205633 gp_port_info_list_lookup_path(2): Looking for path 'usb:001,021' (11 entries available)... 0.205675 gp_port_info_list_get_info (2): Getting info of entry 5 (11 available)... 0.205698 gp_camera_set_port_info (2): Setting port info for port 'Universal Serial Bus' at 'usb:001,021'... 0.219315 gp_port_set_timeout (2): Setting port timeout to 5000 milliseconds. 0.219364 gp_port_set_settings (2): Setting settings... 0.219388 gp_libusb1_update (2): (old int=0, conf=-1, alt=-1) port usb:001,021, (new int=0, conf=-1, alt=-1) port usb:001,021 0.219406 gp_libusb1_update (2): lowlevel libusb1 port not yet opened, no need for libusb changes 0.219429 gp_setting_set (2): Setting key 'port' to value 'usb:001,021' (gphoto2) 0.219450 save_settings (2): Saving 4 setting(s) to file "/home/pi/.gphoto/settings" 0.220879 gp_camera_free (2): Freeing camera... 0.220928 gp_port_free (2): Freeing port... 0.220946 gp_port_close (2): Closing port... 0.221462 gp_filesystem_reset (2): resetting filesystem 0.221504 gp_filesystem_lru_clear (2): Clearing fscache LRU list... 0.221521 gp_filesystem_lru_clear (2): fscache LRU list already empty 0.221539 delete_all_folders (2): Internally deleting all folders from '/'... 0.221556 lookup_folder (2): Lookup folder '/'... 0.221572 lookup_folder (2): Found! / is 0x1f2da0 0.221588 recurse_delete_folder (2): Recurse delete folder 0x1f2da0// 0.221605 delete_all_files (2): Delete all files in folder 0x1f2da0//

Is this / should this be supported?

Best regards, Håvard

Haavard15 avatar Aug 22 '22 15:08 Haavard15

is this a powered zoom? so far I had not reports of zoom being remote controllable.

for focus look for autofocusdrive and manualfocusdrive action/options. Usually you cannot set absolute values when focusing, only do directional steps.

msmeissn avatar Aug 24 '22 11:08 msmeissn

Yes it is a powered zoom, the camera even shows a zoom slider with millimeters on the display when I use the rocker on the lens.

I found a video of someone adapting LANC -> USB to use LANC Zoom Demands with powered Sony lenses (not this one in particular), so the camera should be able to control the zoom, the question is just if Sony has enabled this through PTP.

https://www.youtube.com/watch?v=wfuhQ9agNDM

I have also heard that there is a secondary USB protocol proprietary to Sony, which might be the communication used for the Sony LANC adapter and the RM-VPR1 USB Zoom remote.

Autofocusdrive and manualfocusdrive is sadly not in the list for list-all-config.

Thanks a lot for the reply!

Haavard15 avatar Aug 24 '22 13:08 Haavard15