$ bzip2 -d gphoto2-2.5.11.tar.bz2
$ tar xvf gphoto2-2.5.11.tar
$ bzip2 -d libphoto2-2.5.11.tar.bz2
$ tar xvf libphoto2-2.5.11.tar
$ gphoto2 --auto-detect
USB PTP Class Camera usb:001,005
$ gphoto2 --capture-image
$ gphoto2 --capture-image-and-download --no-keep
$ gphoto2 --port usb:001,005 --reset
$ gphoto2 --list-cameras|grep EOS
$ gphoto2 --port usb:001,005 --summary
$ gphoto2 --port usb:001,005 --list-config
/main/actions/manualfocusdrive
/main/settings/datetime
/main/status/cameramodel
/main/status/lensname
/main/status/eosserialnumber
/main/imgsettings/iso
/main/capturesettings/continuousaf
/main/capturesettings/autoexposuremode
/main/capturesettings/aperture
/main/capturesettings/shutterspeed
/main/capturesettings/aeb
$ gphoto2 --port usb:001,005 --get-config datetime
$ gphoto2 --port usb:001,005 --set-config datetime=now
$ gphoto2 --port usb:001,005 --set-config-index shutterspeed=45
$ gphoto2 --auto-detect|grep "usb:"|awk {'print $4'}
沒有留言:
張貼留言