HI,

It looks good already...

gphoto2 --capture-image-and-download

after fresh plugging in work?

Can you also get debuginfo if it fails?

        gphoto2 --capture-image-and-download --debug --debug-file=xx.lst

and send xx.lst?

Ciao, Marcus

On Thu, Apr 23, 2020 at 10:20:38AM +0200, Matthias wrote:
> Hi,
> 
> trying to get the shutter count to verify that the cam is brand-new I
> saw that my new cam, the Canon EOS 90D, isn't on the list of supported
> devices. The predecessors - 80D and 70D - however are on the list.
> 
> Following the details of the device, hope they are complete and helpful.
> Serial number is modified.
> 
> Kind regards
> Matthias
> 
> ~~~
> 
> user@user-VirtualBox:~$ lsusb
> Bus 001 Device 003: ID 04a9:32ea Canon, Inc.
> Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet
> Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> 
> 
> user@user-VirtualBox:~$ gphoto2 --auto-detect
> Model                         
> Port                                           
> ----------------------------------------------------------
> USB PTP Class Camera           usb:001,003 
> 
> user@user-VirtualBox:~$ LANG=C gphoto2 --summary
> Camera
> summary:                                                               
> Manufacturer: Canon.Inc
> Model: Canon EOS 90D
>   Version: 3-1.1.1
>   Serial Number: fcd07082ac4b6000000e68ce18b6f2c
> Vendor Extension ID: 0xb (1.0)
> 
> Capture Formats: JPEG
> Display Formats: Association/Directory, Script, DPOF, MS AVI, MS Wave,
> JPEG, CRW, Unknown(b103), Unknown(bf02), Defined Type, Unknown(b104),
> Unknown(b105)
> 
> Device Capabilities:
>     File Download, File Deletion, File Upload
>     No Image Capture, No Open Capture, Canon EOS Capture, Canon EOS
> Capture 2
>     Canon Wifi support
> 
> Storage Devices Summary:
> store_00020001:
>     StorageDescription: SD
>     VolumeLabel: None
>     Storage Type: Removable RAM (memory card)
>     Filesystemtype: Digital Camera Layout (DCIM)
>     Access Capability: Read-Write
>     Maximum Capability: 62696456192 (59792 MB)
>     Free Space (Bytes): 62271258624 (59386 MB)
>     Free Space (Images): -1
> 
> Device Property Summary:
> Property 0xd402:(read only) (type=0xffff) 'Canon EOS 90D'
> Property 0xd407:(read only) (type=0x6) 1
> Property 0xd406:(readwrite) (type=0xffff) 'Windows/10.0.18363
> MTPClassDriver/10.0.18362.0'
> Property 0xd303:(read only) (type=0x2) 1
> Battery Level(0x5001):(read only) (type=0x2) Enumeration [100,0,75,0,50]
> value: 78% (78)
> 
> user@user-VirtualBox:~$ LANG=C gphoto2 --list-all-config
> /main/actions/syncdatetimeutc                                                 
> 
> Label: Synchronize camera date and time with PC
> Readonly: 0
> Type: TOGGLE
> Current: 0
> END
> /main/actions/syncdatetime
> Label: Synchronize camera date and time with PC
> Readonly: 0
> Type: TOGGLE
> Current: 0
> END
> /main/actions/uilock
> Label: UI Lock
> Readonly: 0
> Type: TOGGLE
> Current: 2
> END
> /main/actions/autofocusdrive
> Label: Drive Canon DSLR Autofocus
> Readonly: 0
> Type: TOGGLE
> Current: 0
> END
> /main/actions/manualfocusdrive
> Label: Drive Canon DSLR Manual focus
> Readonly: 0
> Type: RADIO
> Current: None
> Choice: 0 Near 1
> Choice: 1 Near 2
> Choice: 2 Near 3
> Choice: 3 None
> Choice: 4 Far 1
> Choice: 5 Far 2
> Choice: 6 Far 3
> END
> /main/actions/cancelautofocus
> Label: Cancel Canon DSLR Autofocus
> Readonly: 0
> Type: TOGGLE
> Current: 0
> END
> /main/actions/eoszoom
> Label: Canon EOS Zoom
> Readonly: 0
> Type: TEXT
> Current: 0
> END
> /main/actions/eoszoomposition
> Label: Canon EOS Zoom Position
> Readonly: 0
> Type: TEXT
> Current: 0,0
> END
> /main/actions/viewfinder
> Label: Canon EOS Viewfinder
> Readonly: 0
> Type: TOGGLE
> Current: 2
> END
> /main/actions/eosremoterelease
> Label: Canon EOS Remote Release
> Readonly: 0
> Type: RADIO
> Current: None
> Choice: 0 None
> Choice: 1 Press Half
> Choice: 2 Press Full
> Choice: 3 Release Half
> Choice: 4 Release Full
> Choice: 5 Immediate
> Choice: 6 Press 1
> Choice: 7 Press 2
> Choice: 8 Press 3
> Choice: 9 Release 1
> Choice: 10 Release 2
> Choice: 11 Release 3
> END
> /main/actions/opcode
> Label: PTP Opcode
> Readonly: 0
> Type: TEXT
> Current: 0x1001,0xparam1,0xparam2
> END
> /main/settings/datetimeutc
> Label: Camera Date and Time
> Readonly: 0
> Type: DATE
> Current: 1586847763
> Printable: Di 14 Apr 2020 09:02:43 CEST
> Help: Use 'now' as the current time when setting.
> 
> END
> /main/settings/datetime
> Label: Camera Date and Time
> Readonly: 0
> Type: DATE
> Current: 1586847763
> Printable: Di 14 Apr 2020 09:02:43 CEST
> Help: Use 'now' as the current time when setting.
> 
> END
> /main/settings/output
> Label: Camera Output
> Readonly: 0
> Type: RADIO
> Current: Off
> Choice: 0 Off
> Choice: 1 TFT
> Choice: 2 PC
> Choice: 3 TFT + PC
> Choice: 4 Setting 4
> Choice: 5 Setting 5
> Choice: 6 Setting 6
> Choice: 7 Setting 7
> Choice: 8 Unknown value 0008
> Choice: 9 Unknown value 0009
> Choice: 10 Unknown value 000a
> Choice: 11 Unknown value 000b
> END
> /main/settings/movierecordtarget
> Label: Recording Destination
> Readonly: 0
> Type: RADIO
> Current: None
> Choice: 0 Card
> Choice: 1 None
> END
> /main/settings/evfmode
> Label: EVF Mode
> Readonly: 0
> Type: RADIO
> Current: 1
> Choice: 0 1
> Choice: 1 0
> END
> /main/settings/ownername
> Label: Owner Name
> Readonly: 0
> Type: TEXT
> Current:
> END
> /main/settings/artist
> Label: Artist
> Readonly: 0
> Type: TEXT
> Current:
> END
> /main/settings/copyright
> Label: Copyright
> Readonly: 0
> Type: TEXT
> Current:
> END
> /main/settings/customfuncex
> Label: Custom Functions Ex
> Readonly: 0
> Type: TEXT
> Current: 20,1,6,14,1,102,1,0,
> END
> /main/settings/focusinfo
> Label: Focus Info
> Readonly: 0
> Type: TEXT
> Current:
> eosversion=2,size=6960x4640,size2=6960x4640,points={{1672,830,297,291},{1266,830,297,291},{578,1021,297,291},{0,1021,297,291},{-578,1021,297,291},{-1266,830,297,291},{-1672,830,297,291},{-2078,830,297,291},{1266,415,297,291},{578,511,297,291},{0,511,297,291},{-578,511,297,291},{-1266,415,297,291},{-1672,415,297,291},{-2078,415,297,291},{2078,830,297,291},{578,0,297,291},{0,0,297,291},{-578,0,297,291},{-1266,0,297,291},{-1672,0,297,291},{-2078,0,297,291},{2078,415,297,291},{1672,415,297,291},{0,-511,297,291},{-578,-511,297,291},{-1266,-415,297,291},{-1672,-415,297,291},{-2078,-415,297,291},{2078,0,297,291},{1672,0,297,291},{1266,0,297,291},{-578,-1021,297,291},{-1266,-830,297,291},{-1672,-830,297,291},{-2078,-830,297,291},{2078,-415,297,291},{1672,-415,297,291},{1266,-415,297,291},{578,-511,297,291},{2078,-830,297,291},{1672,-830,297,291},{1266,-830,297,291},{578,-1021,297,291},{0,-1021,297,291}},select={3,4,5,7,8,15,16,17,18,20,23,34,35,38,40,42,44,},unknown={ffffffffff1f000000000000000000000000000000000000000000000000000000000000ffff}
> END
> /main/settings/focusarea
> Label: Focus Area
> Readonly: 0
> Type: TEXT
> Current: 3127531351
> END
> /main/settings/autopoweroff
> Label: Auto Power Off
> Readonly: 0
> Type: TEXT
> Current: 120
> END
> /main/settings/depthoffield
> Label: Depth of Field
> Readonly: 0
> Type: TEXT
> Current: 0
> END
> /main/settings/capturetarget
> Label: Capture Target
> Readonly: 0
> Type: RADIO
> Current: Internal RAM
> Choice: 0 Internal RAM
> Choice: 1 Memory card
> END
> /main/settings/capture
> Label: Capture
> Readonly: 0
> Type: TOGGLE
> Current: 0
> END
> /main/status/serialnumber
> Label: Serial Number
> Readonly: 0
> Type: TEXT
> Current: fcd07082ac4b6000000e68ce18b6f2c
> END
> /main/status/manufacturer
> Label: Camera Manufacturer
> Readonly: 0
> Type: TEXT
> Current: Canon.Inc
> END
> /main/status/cameramodel
> Label: Camera Model
> Readonly: 0
> Type: TEXT
> Current: Canon EOS 90D
> END
> /main/status/deviceversion
> Label: Device Version
> Readonly: 0
> Type: TEXT
> Current: 3-1.1.1
> END
> /main/status/vendorextension
> Label: Vendor Extension
> Readonly: 0
> Type: TEXT
> Current: None
> END
> /main/status/model
> Label: Camera Model
> Readonly: 0
> Type: TEXT
> Current: 2147484727
> END
> /main/status/Battery Level
> Label: Battery Level
> Readonly: 1
> Type: TEXT
> Current: 78%
> END
> /main/status/batterylevel
> Label: Battery Level
> Readonly: 0
> Type: TEXT
> Current: 100%
> END
> /main/status/lensname
> Label: Lens Name
> Readonly: 0
> Type: TEXT
> Current: EF-S18-135mm f/3.5-5.6 IS USM
> END
> /main/status/eosserialnumber
> Label: Serial Number
> Readonly: 0
> Type: TEXT
> Current: 04305100XXXX
> END
> /main/status/availableshots
> Label: Available Shots
> Readonly: 0
> Type: TEXT
> Current: 5412
> END
> /main/imgsettings/imageformat
> Label: Image Format
> Readonly: 0
> Type: RADIO
> Current: RAW + Large Fine JPEG
> Choice: 0 Large Fine JPEG
> Choice: 1 Large Normal JPEG
> Choice: 2 Medium Fine JPEG
> Choice: 3 Medium Normal JPEG
> Choice: 4 Small Fine JPEG
> Choice: 5 Small Normal JPEG
> Choice: 6 Smaller JPEG
> Choice: 7 RAW + Large Fine JPEG
> Choice: 8 RAW + Large Normal JPEG
> Choice: 9 RAW + Medium Fine JPEG
> Choice: 10 RAW + Medium Normal JPEG
> Choice: 11 RAW + Small Fine JPEG
> Choice: 12 RAW + Small Normal JPEG
> Choice: 13 RAW + Smaller JPEG
> Choice: 14 Unknown value 0303
> Choice: 15 Unknown value 0302
> Choice: 16 Unknown value 0313
> Choice: 17 Unknown value 0312
> Choice: 18 Unknown value 03d3
> Choice: 19 Unknown value 03d2
> Choice: 20 Unknown value 03e3
> Choice: 21 RAW
> Choice: 22 Large Fine JPEG
> END
> /main/imgsettings/imageformatsd
> Label: Image Format SD
> Readonly: 0
> Type: RADIO
> Current: RAW + Large Fine JPEG
> Choice: 0 Large Fine JPEG
> Choice: 1 Large Normal JPEG
> Choice: 2 Medium Fine JPEG
> Choice: 3 Medium Normal JPEG
> Choice: 4 Small Fine JPEG
> Choice: 5 Small Normal JPEG
> Choice: 6 Smaller JPEG
> Choice: 7 RAW + Large Fine JPEG
> Choice: 8 RAW + Large Normal JPEG
> Choice: 9 RAW + Medium Fine JPEG
> Choice: 10 RAW + Medium Normal JPEG
> Choice: 11 RAW + Small Fine JPEG
> Choice: 12 RAW + Small Normal JPEG
> Choice: 13 RAW + Smaller JPEG
> Choice: 14 Unknown value 0303
> Choice: 15 Unknown value 0302
> Choice: 16 Unknown value 0313
> Choice: 17 Unknown value 0312
> Choice: 18 Unknown value 03d3
> Choice: 19 Unknown value 03d2
> Choice: 20 Unknown value 03e3
> Choice: 21 RAW
> Choice: 22 Large Fine JPEG
> END
> /main/imgsettings/imageformatcf
> Label: Image Format CF
> Readonly: 0
> Type: RADIO
> Current: RAW + Large Fine JPEG
> Choice: 0 Large Fine JPEG
> Choice: 1 Large Normal JPEG
> Choice: 2 Medium Fine JPEG
> Choice: 3 Medium Normal JPEG
> Choice: 4 Small Fine JPEG
> Choice: 5 Small Normal JPEG
> Choice: 6 Smaller JPEG
> Choice: 7 RAW + Large Fine JPEG
> Choice: 8 RAW + Large Normal JPEG
> Choice: 9 RAW + Medium Fine JPEG
> Choice: 10 RAW + Medium Normal JPEG
> Choice: 11 RAW + Small Fine JPEG
> Choice: 12 RAW + Small Normal JPEG
> Choice: 13 RAW + Smaller JPEG
> Choice: 14 Unknown value 0303
> Choice: 15 Unknown value 0302
> Choice: 16 Unknown value 0313
> Choice: 17 Unknown value 0312
> Choice: 18 Unknown value 03d3
> Choice: 19 Unknown value 03d2
> Choice: 20 Unknown value 03e3
> Choice: 21 RAW
> Choice: 22 Large Fine JPEG
> END
> /main/imgsettings/iso
> Label: ISO Speed
> Readonly: 0
> Type: RADIO
> Current: Auto
> Choice: 0 Auto
> END
> /main/imgsettings/colortemperature
> Label: Color Temperature
> Readonly: 0
> Type: TEXT
> Current: 5200
> END
> /main/imgsettings/whitebalancexa
> Label: WhiteBalance X A
> Readonly: 0
> Type: TEXT
> Current: 0
> END
> /main/imgsettings/whitebalancexb
> Label: WhiteBalance X B
> Readonly: 0
> Type: TEXT
> Current: 0
> END
> /main/imgsettings/colorspace
> Label: Color Space
> Readonly: 0
> Type: RADIO
> Current: sRGB
> Choice: 0 sRGB
> END
> /main/capturesettings/focusmode
> Label: Focus Mode
> Readonly: 0
> Type: RADIO
> Current: One Shot
> Choice: 0 One Shot
> END
> /main/capturesettings/continuousaf
> Label: Continuous AF
> Readonly: 0
> Type: RADIO
> Current: Off
> Choice: 0 Off
> Choice: 1 On
> END
> /main/capturesettings/aspectratio
> Label: Aspect Ratio
> Readonly: 0
> Type: RADIO
> Current: 3:2
> Choice: 0 3:2
> END
> /main/capturesettings/highisonr
> Label: High ISO Noise Reduction
> Readonly: 0
> Type: RADIO
> Current: Off
> Choice: 0 Off
> END
> /main/capturesettings/autoexposuremode
> Label: Canon Auto Exposure Mode
> Readonly: 0
> Type: RADIO
> Current: Landscape
> Choice: 0 P
> Choice: 1 TV
> Choice: 2 AV
> Choice: 3 Manual
> Choice: 4 Bulb
> Choice: 5 A_DEP
> Choice: 6 DEP
> Choice: 7 Custom
> Choice: 8 Lock
> Choice: 9 Green
> Choice: 10 Night Portrait
> Choice: 11 Sports
> Choice: 12 Portrait
> Choice: 13 Landscape
> Choice: 14 Closeup
> Choice: 15 Flash Off
> END
> /main/capturesettings/drivemode
> Label: Drive Mode
> Readonly: 0
> Type: RADIO
> Current: Single
> Choice: 0 Single
> Choice: 1 Continuous high speed
> Choice: 2 Continuous low speed
> Choice: 3 Single silent
> Choice: 4 Continuous silent
> Choice: 5 Timer 10 sec
> Choice: 6 Timer 2 sec
> Choice: 7 Unknown value 0007
> END
> /main/capturesettings/aperture
> Label: Aperture
> Readonly: 0
> Type: RADIO
> Current: 25
> Choice: 0 25
> END
> /main/capturesettings/shutterspeed
> Label: Shutter Speed
> Readonly: 0
> Type: RADIO
> Current: auto
> Choice: 0 auto
> END
> /main/capturesettings/bracketmode
> Label: Bracket Mode
> Readonly: 0
> Type: TEXT
> Current: 0
> END
> /main/capturesettings/aeb
> Label: Auto Exposure Bracketing
> Readonly: 0
> Type: RADIO
> Current: off
> Choice: 0 off
> END
> /main/other/d402
> Label: PTP Property 0xd402
> Readonly: 1
> Type: TEXT
> Current: Canon EOS 90D
> END
> /main/other/d407
> Label: PTP Property 0xd407
> Readonly: 1
> Type: TEXT
> Current: 1
> END
> /main/other/d406
> Label: PTP Property 0xd406
> Readonly: 0
> Type: TEXT
> Current: Windows/10.0.18363 MTPClassDriver/10.0.18362.0
> END
> /main/other/d303
> Label: PTP Property 0xd303
> Readonly: 1
> Type: TEXT
> Current: 1
> END
> /main/other/5001
> Label: Battery Level
> Readonly: 1
> Type: MENU
> Current: 78
> Choice: 0 100
> Choice: 1 0
> Choice: 2 75
> Choice: 3 0
> Choice: 4 50
> END
> 
> user@user-VirtualBox:~$ gphoto2 --capture-image
> New file is in location /capt0000.jpg on the
> camera                           
> 
> *** Error ***             
> PTP General Error
> 
> user@user-VirtualBox:~$ gphoto2 --capture-image-and-download
> 
> *** Error ***
> PTP I/O Error
> ERROR: Could not capture image.
> ERROR: Could not capture.
> 
> *** Error ***
> Canon EOS Get Changes failed (0x02fa: PTP Timeout)
> 
> 
> user@user-VirtualBox:~$ gphoto2 --debug
> 0.000235 main                        (2): ALWAYS INCLUDE THE FOLLOWING
> LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
> 0.000317 main                        (2): gphoto2 2.5.15
> 0.000338 main                        (2): gphoto2 has been compiled with
> the following options:
> 0.000356 main                        (2):  + gcc (C compiler used)
> 0.000373 main                        (2):  + popt (mandatory, for
> handling command-line parameters)
> 0.000390 main                        (2):  + exif (for displaying EXIF
> information)
> 0.000407 main                        (2):  + cdk (for accessing
> configuration options)
> 0.000424 main                        (2):  + aa (for displaying live
> previews)
> 0.000441 main                        (2):  + jpeg (for displaying live
> previews in JPEG format)
> 0.000458 main                        (2):  + readline (for easy
> navigation in the shell)
> 0.000476 main                        (2): libgphoto2 2.5.16
> 0.000494 main                        (2): libgphoto2 has been compiled
> with the following options:
> 0.000512 main                        (2):  + all camlibs
> 0.000528 main                        (2):  + gcc (C compiler used)
> 0.000545 main                        (2):  + ltdl (for portable loading
> of camlibs)
> 0.000562 main                        (2):  + EXIF (for special handling
> of EXIF files)
> 0.000580 main                        (2): libgphoto2_port 0.12.0
> 0.000598 main                        (2): libgphoto2_port has been
> compiled with the following options:
> 0.000616 main                        (2):  + iolibs: disk ptpip serial
> usb1 usbdiskdirect usbscsi
> 0.000633 main                        (2):  + gcc (C compiler used)
> 0.000650 main                        (2):  + ltdl (for portable loading
> of iolibs)
> 0.000667 main                        (2):  + USB (libusb1, for USB cameras)
> 0.000684 main                        (2):  + serial (for serial cameras)
> 0.000700 main                        (2):  + no resmgr (serial port
> access and locking)
> 0.000717 main                        (2):  + no ttylock (serial port
> locking)
> 0.000734 main                        (2):  + no lockdev (serial port
> locking)
> 0.000752 main                        (2): CAMLIBS env var not set, using
> compile-time default instead
> 0.000769 main                        (2): IOLIBS env var not set, using
> compile-time default instead
> 0.000786 main                        (2): invoked with following arguments:
> 0.000802 main                        (2):   --debug
> 0.000837 load_settings               (2): Creating gphoto config
> directory ('/home/user/.gphoto')
> 0.000888 load_settings               (2): Loading settings from file
> '/home/user/.gphoto/settings'.
> 0.001144 gp_camera_free              (2): Freeing camera...
> 0.001173 gp_port_free                (2): Freeing port...
> 0.001213 gp_filesystem_reset         (2): resetting filesystem
> 0.001241 gp_filesystem_lru_clear     (2): Clearing fscache LRU list...
> 0.001258 gp_filesystem_lru_clear     (2): fscache LRU list already empty
> 0.001275 delete_all_folders          (2): Internally deleting all
> folders from '/'...
> 0.001293 lookup_folder               (2): Lookup folder '/'...
> 0.001310 lookup_folder               (2): Found! / is 0x55a2c3ca6880
> 0.001328 recurse_delete_folder       (2): Recurse delete folder
> 0x55a2c3ca6880//
> 
> _______________________________________________
> Gphoto-devel mailing list
> Gphoto-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gphoto-devel


_______________________________________________
Gphoto-devel mailing list
Gphoto-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gphoto-devel

Reply via email to