A610

View: New views
2 Messages — Rating Filter:   Alert me  

A610

by Andriy Kulchytskyy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I got new Canon A610 camera. This is a upgrade version of A95. The vendor USB ID is:
>lsusb | grep Canon
Bus 001 Device 011: ID 04a9:30fd Canon, Inc.

I have modified canon/canon.c and ptp2/library.c to detect it corretly (see attached patches). It works good in PTP mode, but doesn't work with canon native protocol. How can I determine which CANON_CLASS it is? I tried CLASS_5, same as A95 but it doesn't work. The error message is:

0.574092 gphoto2-port(2): Reading 64=0x40 bytes from port...
0.577144 gphoto2-port(2): Could only read 0 out of 64 byte(s)
0.577226 gphoto2-port(3): Empty hexdump of empty buffer
0.577263 context(0): Step #4 failed! (returned 0, expected 64) Camera not operational

*** Error ***
Step #4 failed! (returned 0, expected 64) Camera not operational
0.577335 gphoto2-port(2): Closing port...
*** Error (-102: 'Corrupted data') ***

Full error log also attached.

I am new to gphoto and will appreciate any help.



-----------------------------------------------------
Отправлено через сервер http://www.ukrtop.com
Copyright (c) ISP DORIS, 2001-2005.

[=?koi8-r?B?Z3Bob3RvLmE2MTBfbm9ybWFsLmRpZmY=?=]

Index: camlibs/canon/canon.c
===================================================================
RCS file: /cvsroot/gphoto/libgphoto2/camlibs/canon/canon.c,v
retrieving revision 1.306
diff -r1.306 canon.c
261a262
>         {"Canon:PowerShot A610 (normal mode)",   CANON_CLASS_5,  0x04A9, 0x30fd, CAP_SUP, SL_MOVIE_LARGE, SL_THUMB, SL_PICTURE, NULL},


[=?koi8-r?B?Z3Bob3RvLmE2MTBfcHRwMi5kaWZm?=]

Index: camlibs/ptp2/library.c
===================================================================
RCS file: /cvsroot/gphoto/libgphoto2/camlibs/ptp2/library.c,v
retrieving revision 1.214
diff -r1.214 library.c
467a468
>   {"Canon:PowerShot A610 (PTP mode)",     0x04a9, 0x30fd, 0},


0.000155 main(2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
0.000327 main(2): gphoto2 2.1.99head
0.000358 main(2): gphoto2 has been compiled with the following options:
0.000384 main(2):  + gcc (C compiler used)
0.000407 main(2):  + popt (for handling command-line parameters)
0.000429 main(2):  + exif (for displaying EXIF information)
0.000452 main(2):  + no cdk (for accessing configuration options)
0.000475 main(2):  + no aa (for displaying live previews)
0.000497 main(2):  + jpeg (for displaying live previews in JPEG format)
0.000520 main(2):  + readline (for easy navigation in the shell)
0.000547 main(2): libgphoto2 2.1.99.head.0
0.000575 main(2): libgphoto2 has been compiled with the following options:
0.000599 main(2):  + gcc (C compiler used)
0.000622 main(2):  + EXIF (for special handling of EXIF files)
0.000645 main(2):  + no /proc/meminfo (adapts cache size to memory available)
0.000672 main(2): libgphoto2_port 0.5.2
0.000700 main(2): libgphoto2_port has been compiled with the following options:
0.000724 main(2):  + gcc (C compiler used)
0.000746 main(2):  + USB (libusb, for USB cameras)
0.000769 main(2):  + serial (for serial cameras)
0.000792 main(2):  + no resmgr (serial port access and locking)
0.000814 main(2):  + baudboy (serial port locking)
0.000837 main(2):  + no ttylock (serial port locking)
0.000859 main(2):  + no lockdev (serial port locking)
0.001069 main(2): The user has not specified both a model and a port. Try to figure them out.
0.001222 gphoto2-port-info-list(2): Using ltdl to load io-drivers from '/usr/local/lib/libgphoto2_port/0.5.2'...
0.001433 gphoto2-port-info-list(2): Called for filename '/usr/local/lib/libgphoto2_port/0.5.2/disk'.
0.009646 gphoto2-port/disk(2): found 13 volumes
0.103551 gphoto2-port-info-list(2): Loaded 'Media 'Мой диск'' ('disk:/media/cdrom') from '/usr/local/lib/libgphoto2_port/0.5.2/disk'.
0.103625 gphoto2-port-info-list(2): Loaded 'Media 'COMANCHE4'' ('disk:/media/cdrecorder') from '/usr/local/lib/libgphoto2_port/0.5.2/disk'.
0.103655 gphoto2-port-info-list(2): Loaded 'Media '/'' ('disk:/') from '/usr/local/lib/libgphoto2_port/0.5.2/disk'.
0.103685 gphoto2-port-info-list(2): Loaded 'Media '/install'' ('disk:/install') from '/usr/local/lib/libgphoto2_port/0.5.2/disk'.
0.103714 gphoto2-port-info-list(2): Loaded 'Media 'tmp'' ('disk:/tmp') from '/usr/local/lib/libgphoto2_port/0.5.2/disk'.
0.103743 gphoto2-port-info-list(2): Loaded 'Media 'Volume (reiserfs)'' ('disk:/var') from '/usr/local/lib/libgphoto2_port/0.5.2/disk'.
0.103772 gphoto2-port-info-list(2): Loaded 'Media 'Volume (reiserfs)'' ('disk:/usr') from '/usr/local/lib/libgphoto2_port/0.5.2/disk'.
0.103801 gphoto2-port-info-list(2): Loaded 'Media '/home'' ('disk:/home') from '/usr/local/lib/libgphoto2_port/0.5.2/disk'.
0.103830 gphoto2-port-info-list(2): Loaded 'Media 'Volume (vfat)'' ('disk:/mnt/win') from '/usr/local/lib/libgphoto2_port/0.5.2/disk'.
0.103859 gphoto2-port-info-list(2): Loaded 'Media 'Volume (vfat)'' ('disk:/media-files') from '/usr/local/lib/libgphoto2_port/0.5.2/disk'.
0.103889 gphoto2-port-info-list(2): Called for filename '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.104458 gphoto2-port-serial(2): Trying to lock '/dev/ttyS0'...
0.109249 gphoto2-port-serial(2): Trying to lock '/dev/ttyS1'...
0.114022 gphoto2-port-serial(2): Trying to lock '/dev/ttyS2'...
0.118493 gphoto2-port-serial(2): Trying to lock '/dev/ttyS3'...
0.122955 gphoto2-port-serial(2): Trying to lock '/dev/ttyS4'...
0.127440 gphoto2-port-serial(2): Trying to lock '/dev/ttyS5'...
0.132064 gphoto2-port-serial(2): Trying to lock '/dev/ttyS6'...
0.136783 gphoto2-port-serial(2): Trying to lock '/dev/ttyS7'...
0.141284 gphoto2-port-serial(2): Trying to lock '/dev/ttyS8'...
0.145771 gphoto2-port-serial(2): Trying to lock '/dev/ttyS9'...
0.150216 gphoto2-port-serial(2): Trying to lock '/dev/ttyS10'...
0.154673 gphoto2-port-serial(2): Trying to lock '/dev/ttyS11'...
0.159147 gphoto2-port-serial(2): Trying to lock '/dev/ttyS12'...
0.163802 gphoto2-port-serial(2): Trying to lock '/dev/ttyS13'...
0.168542 gphoto2-port-serial(2): Trying to lock '/dev/ttyS14'...
0.173211 gphoto2-port-serial(2): Trying to lock '/dev/ttyS15'...
0.177639 gphoto2-port-serial(2): Trying to lock '/dev/ttyS16'...
0.182320 gphoto2-port-serial(2): Trying to lock '/dev/ttyS17'...
0.186795 gphoto2-port-serial(2): Trying to lock '/dev/ttyS18'...
0.191264 gphoto2-port-serial(2): Trying to lock '/dev/ttyS19'...
0.195746 gphoto2-port-serial(2): Trying to lock '/dev/ttyS20'...
0.200237 gphoto2-port-serial(2): Trying to lock '/dev/ttyS21'...
0.204709 gphoto2-port-serial(2): Trying to lock '/dev/ttyS22'...
0.209386 gphoto2-port-serial(2): Trying to lock '/dev/ttyS23'...
0.213868 gphoto2-port-serial(2): Trying to lock '/dev/ttyS24'...
0.218351 gphoto2-port-serial(2): Trying to lock '/dev/ttyS25'...
0.222790 gphoto2-port-serial(2): Trying to lock '/dev/ttyS26'...
0.227232 gphoto2-port-serial(2): Trying to lock '/dev/ttyS27'...
0.231689 gphoto2-port-serial(2): Trying to lock '/dev/ttyS28'...
0.236494 gphoto2-port-serial(2): Trying to lock '/dev/ttyS29'...
0.240971 gphoto2-port-serial(2): Trying to lock '/dev/ttyS30'...
0.245477 gphoto2-port-serial(2): Trying to lock '/dev/ttyS31'...
0.249967 gphoto2-port-serial(2): Trying to lock '/dev/ttyS32'...
0.254744 gphoto2-port-info-list(2): Loaded 'Serial Port 0' ('serial:/dev/ttyS0') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.254825 gphoto2-port-info-list(2): Loaded 'Serial Port 1' ('serial:/dev/ttyS1') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.254857 gphoto2-port-info-list(2): Loaded 'Serial Port 2' ('serial:/dev/ttyS2') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.254889 gphoto2-port-info-list(2): Loaded 'Serial Port 3' ('serial:/dev/ttyS3') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.254919 gphoto2-port-info-list(2): Loaded 'Serial Port 4' ('serial:/dev/ttyS4') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.254948 gphoto2-port-info-list(2): Loaded 'Serial Port 5' ('serial:/dev/ttyS5') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.254979 gphoto2-port-info-list(2): Loaded 'Serial Port 6' ('serial:/dev/ttyS6') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.255009 gphoto2-port-info-list(2): Loaded 'Serial Port 7' ('serial:/dev/ttyS7') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.255039 gphoto2-port-info-list(2): Loaded 'Serial Port 8' ('serial:/dev/ttyS8') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.255069 gphoto2-port-info-list(2): Loaded 'Serial Port 9' ('serial:/dev/ttyS9') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.255100 gphoto2-port-info-list(2): Loaded 'Serial Port 10' ('serial:/dev/ttyS10') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.255130 gphoto2-port-info-list(2): Loaded 'Serial Port 11' ('serial:/dev/ttyS11') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.255183 gphoto2-port-info-list(2): Loaded 'Serial Port 12' ('serial:/dev/ttyS12') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.255215 gphoto2-port-info-list(2): Loaded 'Serial Port 13' ('serial:/dev/ttyS13') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.255247 gphoto2-port-info-list(2): Loaded 'Serial Port 14' ('serial:/dev/ttyS14') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.255278 gphoto2-port-info-list(2): Loaded 'Serial Port 15' ('serial:/dev/ttyS15') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.255308 gphoto2-port-info-list(2): Loaded 'Serial Port 16' ('serial:/dev/ttyS16') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.255339 gphoto2-port-info-list(2): Loaded 'Serial Port 17' ('serial:/dev/ttyS17') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.255369 gphoto2-port-info-list(2): Loaded 'Serial Port 18' ('serial:/dev/ttyS18') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.255398 gphoto2-port-info-list(2): Loaded 'Serial Port 19' ('serial:/dev/ttyS19') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.255428 gphoto2-port-info-list(2): Loaded 'Serial Port 20' ('serial:/dev/ttyS20') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.255459 gphoto2-port-info-list(2): Loaded 'Serial Port 21' ('serial:/dev/ttyS21') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.255532 gphoto2-port-info-list(2): Loaded 'Serial Port 22' ('serial:/dev/ttyS22') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.255563 gphoto2-port-info-list(2): Loaded 'Serial Port 23' ('serial:/dev/ttyS23') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.255595 gphoto2-port-info-list(2): Loaded 'Serial Port 24' ('serial:/dev/ttyS24') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.255626 gphoto2-port-info-list(2): Loaded 'Serial Port 25' ('serial:/dev/ttyS25') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.255655 gphoto2-port-info-list(2): Loaded 'Serial Port 26' ('serial:/dev/ttyS26') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.255685 gphoto2-port-info-list(2): Loaded 'Serial Port 27' ('serial:/dev/ttyS27') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.255717 gphoto2-port-info-list(2): Loaded 'Serial Port 28' ('serial:/dev/ttyS28') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.255747 gphoto2-port-info-list(2): Loaded 'Serial Port 29' ('serial:/dev/ttyS29') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.255777 gphoto2-port-info-list(2): Loaded 'Serial Port 30' ('serial:/dev/ttyS30') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.255807 gphoto2-port-info-list(2): Loaded 'Serial Port 31' ('serial:/dev/ttyS31') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.255837 gphoto2-port-info-list(2): Loaded 'Serial Port 32' ('serial:/dev/ttyS32') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.255866 gphoto2-port-info-list(2): Loaded '' ('^serial') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.255898 gphoto2-port-info-list(2): Called for filename '/usr/local/lib/libgphoto2_port/0.5.2/usb'.
0.257246 gphoto2-port-info-list(2): Loaded 'Universal Serial Bus' ('usb:') from '/usr/local/lib/libgphoto2_port/0.5.2/usb'.
0.257996 gphoto2-port-info-list(2): Counting entries (45 available)...
0.258057 gphoto2-port-info-list(2): 44 regular entries available.
0.258088 gphoto2-port(2): Creating new device...
0.258134 gphoto2-port-info-list(2): Getting info of entry 0 (45 available)...
0.259387 gphoto2-port(2): Setting settings...
0.259470 gphoto2-port(0): The operation 'update' is not supported by this device
0.259537 gphoto2-port-info-list(2): Getting info of entry 1 (45 available)...
0.260596 gphoto2-port(2): Setting settings...
0.260663 gphoto2-port(0): The operation 'update' is not supported by this device
0.260714 gphoto2-port-info-list(2): Getting info of entry 2 (45 available)...
0.261736 gphoto2-port(2): Setting settings...
0.261804 gphoto2-port(0): The operation 'update' is not supported by this device
0.261847 gphoto2-port-info-list(2): Getting info of entry 3 (45 available)...
0.262855 gphoto2-port(2): Setting settings...
0.262923 gphoto2-port(0): The operation 'update' is not supported by this device
0.262969 gphoto2-port-info-list(2): Getting info of entry 4 (45 available)...
0.263979 gphoto2-port(2): Setting settings...
0.264046 gphoto2-port(0): The operation 'update' is not supported by this device
0.264094 gphoto2-port-info-list(2): Getting info of entry 5 (45 available)...
0.265114 gphoto2-port(2): Setting settings...
0.265201 gphoto2-port(0): The operation 'update' is not supported by this device
0.265249 gphoto2-port-info-list(2): Getting info of entry 6 (45 available)...
0.266267 gphoto2-port(2): Setting settings...
0.266334 gphoto2-port(0): The operation 'update' is not supported by this device
0.266381 gphoto2-port-info-list(2): Getting info of entry 7 (45 available)...
0.267402 gphoto2-port(2): Setting settings...
0.267468 gphoto2-port(0): The operation 'update' is not supported by this device
0.267515 gphoto2-port-info-list(2): Getting info of entry 8 (45 available)...
0.268530 gphoto2-port(2): Setting settings...
0.268597 gphoto2-port(0): The operation 'update' is not supported by this device
0.268650 gphoto2-port-info-list(2): Getting info of entry 9 (45 available)...
0.269675 gphoto2-port(2): Setting settings...
0.269742 gphoto2-port(0): The operation 'update' is not supported by this device
0.269832 gphoto2-port-info-list(2): Getting info of entry 10 (45 available)...
0.270326 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.270370 gphoto2-port(2): Setting settings...
0.270409 gphoto2-port-info-list(2): Getting info of entry 11 (45 available)...
0.270753 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.270791 gphoto2-port(2): Setting settings...
0.270825 gphoto2-port-info-list(2): Getting info of entry 12 (45 available)...
0.271156 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.271212 gphoto2-port(2): Setting settings...
0.271247 gphoto2-port-info-list(2): Getting info of entry 13 (45 available)...
0.271584 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.271623 gphoto2-port(2): Setting settings...
0.271657 gphoto2-port-info-list(2): Getting info of entry 14 (45 available)...
0.271986 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.272025 gphoto2-port(2): Setting settings...
0.272059 gphoto2-port-info-list(2): Getting info of entry 15 (45 available)...
0.272408 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.272447 gphoto2-port(2): Setting settings...
0.272482 gphoto2-port-info-list(2): Getting info of entry 16 (45 available)...
0.272809 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.272848 gphoto2-port(2): Setting settings...
0.272883 gphoto2-port-info-list(2): Getting info of entry 17 (45 available)...
0.273226 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.273265 gphoto2-port(2): Setting settings...
0.273299 gphoto2-port-info-list(2): Getting info of entry 18 (45 available)...
0.273629 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.273669 gphoto2-port(2): Setting settings...
0.273703 gphoto2-port-info-list(2): Getting info of entry 19 (45 available)...
0.274034 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.274072 gphoto2-port(2): Setting settings...
0.274106 gphoto2-port-info-list(2): Getting info of entry 20 (45 available)...
0.274450 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.274490 gphoto2-port(2): Setting settings...
0.274525 gphoto2-port-info-list(2): Getting info of entry 21 (45 available)...
0.274857 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.274894 gphoto2-port(2): Setting settings...
0.274928 gphoto2-port-info-list(2): Getting info of entry 22 (45 available)...
0.275274 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.275315 gphoto2-port(2): Setting settings...
0.275350 gphoto2-port-info-list(2): Getting info of entry 23 (45 available)...
0.275685 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.275723 gphoto2-port(2): Setting settings...
0.275757 gphoto2-port-info-list(2): Getting info of entry 24 (45 available)...
0.276084 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.276123 gphoto2-port(2): Setting settings...
0.276158 gphoto2-port-info-list(2): Getting info of entry 25 (45 available)...
0.276509 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.276548 gphoto2-port(2): Setting settings...
0.276582 gphoto2-port-info-list(2): Getting info of entry 26 (45 available)...
0.276908 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.276948 gphoto2-port(2): Setting settings...
0.276982 gphoto2-port-info-list(2): Getting info of entry 27 (45 available)...
0.277485 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.277532 gphoto2-port(2): Setting settings...
0.277568 gphoto2-port-info-list(2): Getting info of entry 28 (45 available)...
0.277910 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.277950 gphoto2-port(2): Setting settings...
0.277984 gphoto2-port-info-list(2): Getting info of entry 29 (45 available)...
0.278338 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.278378 gphoto2-port(2): Setting settings...
0.278412 gphoto2-port-info-list(2): Getting info of entry 30 (45 available)...
0.278741 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.278780 gphoto2-port(2): Setting settings...
0.278814 gphoto2-port-info-list(2): Getting info of entry 31 (45 available)...
0.279204 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.279243 gphoto2-port(2): Setting settings...
0.279278 gphoto2-port-info-list(2): Getting info of entry 32 (45 available)...
0.279611 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.279649 gphoto2-port(2): Setting settings...
0.279683 gphoto2-port-info-list(2): Getting info of entry 33 (45 available)...
0.280010 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.280049 gphoto2-port(2): Setting settings...
0.280082 gphoto2-port-info-list(2): Getting info of entry 34 (45 available)...
0.280426 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.280466 gphoto2-port(2): Setting settings...
0.280500 gphoto2-port-info-list(2): Getting info of entry 35 (45 available)...
0.280830 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.280868 gphoto2-port(2): Setting settings...
0.280901 gphoto2-port-info-list(2): Getting info of entry 36 (45 available)...
0.281242 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.281281 gphoto2-port(2): Setting settings...
0.281315 gphoto2-port-info-list(2): Getting info of entry 37 (45 available)...
0.281649 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.281687 gphoto2-port(2): Setting settings...
0.281721 gphoto2-port-info-list(2): Getting info of entry 38 (45 available)...
0.282046 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.282085 gphoto2-port(2): Setting settings...
0.282118 gphoto2-port-info-list(2): Getting info of entry 39 (45 available)...
0.282468 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.282508 gphoto2-port(2): Setting settings...
0.282542 gphoto2-port-info-list(2): Getting info of entry 40 (45 available)...
0.282869 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.282906 gphoto2-port(2): Setting settings...
0.282939 gphoto2-port-info-list(2): Getting info of entry 41 (45 available)...
0.283584 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.283632 gphoto2-port(2): Setting settings...
0.283669 gphoto2-port-info-list(2): Getting info of entry 42 (45 available)...
0.284232 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.284279 gphoto2-port(2): Setting settings...
0.284315 gphoto2-port-info-list(2): Getting info of entry 43 (45 available)...
0.285404 gphoto2-port(2): Setting timeout to 5000 millisecond(s)...
0.285466 gphoto2-port(2): Setting settings...
0.285499 gphoto2-abilities-list.c(1): Auto-detecting USB cameras...
0.285556 gphoto2-port(0): Could not find USB device (vendor 0x553, product 0x202). Make sure this device is connected to the computer.
0.285594 gphoto2-port(0): Could not find USB device (vendor 0x6bd, product 0x403). Make sure this device is connected to the computer.
0.285629 gphoto2-port(0): Could not find USB device (vendor 0x6bd, product 0x404). Make sure this device is connected to the computer.
0.285664 gphoto2-port(0): Could not find USB device (vendor 0x4fc, product 0x504b). Make sure this device is connected to the computer.
0.285699 gphoto2-port(0): Could not find USB device (vendor 0x553, product 0x202). Make sure this device is connected to the computer.
0.285734 gphoto2-port(0): Could not find USB device (vendor 0x4fc, product 0x504a). Make sure this device is connected to the computer.
0.285769 gphoto2-port(0): Could not find USB device (vendor 0x553, product 0x202). Make sure this device is connected to the computer.
0.285803 gphoto2-port(0): Could not find USB device (vendor 0x8ca, product 0x111). Make sure this device is connected to the computer.
0.285838 gphoto2-port(0): Could not find USB device (vendor 0x4fc, product 0x504a). Make sure this device is connected to the computer.
0.285873 gphoto2-port(0): Could not find USB device (vendor 0x4fc, product 0x504b). Make sure this device is connected to the computer.
0.285908 gphoto2-port(0): Could not find USB device (vendor 0x553, product 0x202). Make sure this device is connected to the computer.
0.285943 gphoto2-port(0): Could not find USB device (vendor 0x2770, product 0x9120). Make sure this device is connected to the computer.
0.286020 gphoto2-port(0): Could not find USB device (vendor 0x93a, product 0x10f). Make sure this device is connected to the computer.
0.286057 gphoto2-port(0): Could not find USB device (vendor 0x93a, product 0x10f). Make sure this device is connected to the computer.
0.286093 gphoto2-port(0): Could not find USB device (vendor 0x2770, product 0x913c). Make sure this device is connected to the computer.
0.286129 gphoto2-port(0): Could not find USB device (vendor 0x919, product 0x100). Make sure this device is connected to the computer.
0.286178 gphoto2-port(0): Could not find USB device (vendor 0x4a5, product 0x3003). Make sure this device is connected to the computer.
0.286216 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3047). Make sure this device is connected to the computer.
0.286252 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x30c0). Make sure this device is connected to the computer.
0.286287 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x304d). Make sure this device is connected to the computer.
0.286323 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3066). Make sure this device is connected to the computer.
0.286359 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x30bf). Make sure this device is connected to the computer.
0.286394 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3075). Make sure this device is connected to the computer.
0.286430 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3075). Make sure this device is connected to the computer.
0.286465 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x30ba). Make sure this device is connected to the computer.
0.286501 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x30ba). Make sure this device is connected to the computer.
0.286536 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x30c1). Make sure this device is connected to the computer.
0.286572 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x310e). Make sure this device is connected to the computer.
0.286607 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x30b4). Make sure this device is connected to the computer.
0.286643 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x30b4). Make sure this device is connected to the computer.
0.286678 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x30f2). Make sure this device is connected to the computer.
0.286714 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x30f2). Make sure this device is connected to the computer.
0.286749 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x309b). Make sure this device is connected to the computer.
0.286785 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x309b). Make sure this device is connected to the computer.
0.286820 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x30c4). Make sure this device is connected to the computer.
0.286856 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3072). Make sure this device is connected to the computer.
0.286892 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3072). Make sure this device is connected to the computer.
0.286927 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x30b6). Make sure this device is connected to the computer.
0.286963 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x30b6). Make sure this device is connected to the computer.
0.286998 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3052). Make sure this device is connected to the computer.
0.287034 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3065). Make sure this device is connected to the computer.
0.287069 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3070). Make sure this device is connected to the computer.
0.287133 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3071). Make sure this device is connected to the computer.
0.287183 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x306a). Make sure this device is connected to the computer.
0.287220 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3088). Make sure this device is connected to the computer.
0.287254 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3087). Make sure this device is connected to the computer.
0.287289 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3083). Make sure this device is connected to the computer.
0.287324 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x30ea). Make sure this device is connected to the computer.
0.287359 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x30ec). Make sure this device is connected to the computer.
0.287393 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3084). Make sure this device is connected to the computer.
0.287428 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3099). Make sure this device is connected to the computer.
0.287463 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x30ef). Make sure this device is connected to the computer.
0.287498 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3044). Make sure this device is connected to the computer.
0.287532 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3060). Make sure this device is connected to the computer.
0.287567 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3084). Make sure this device is connected to the computer.
0.287602 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3099). Make sure this device is connected to the computer.
0.287636 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3084). Make sure this device is connected to the computer.
0.287671 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3099). Make sure this device is connected to the computer.
0.287706 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x308e). Make sure this device is connected to the computer.
0.287741 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3046). Make sure this device is connected to the computer.
0.287775 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x304b). Make sure this device is connected to the computer.
0.287810 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x30ba). Make sure this device is connected to the computer.
0.287845 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x30b4). Make sure this device is connected to the computer.
0.287879 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x30c1). Make sure this device is connected to the computer.
0.287914 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x30f2). Make sure this device is connected to the computer.
0.287949 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x30c4). Make sure this device is connected to the computer.
0.287984 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x306b). Make sure this device is connected to the computer.
0.288018 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3096). Make sure this device is connected to the computer.
0.288053 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x307c). Make sure this device is connected to the computer.
0.288088 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x307a). Make sure this device is connected to the computer.
0.288123 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3096). Make sure this device is connected to the computer.
0.288173 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x308e). Make sure this device is connected to the computer.
0.288237 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3081). Make sure this device is connected to the computer.
0.288274 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3082). Make sure this device is connected to the computer.
0.288310 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3080). Make sure this device is connected to the computer.
0.288345 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x30a9). Make sure this device is connected to the computer.
0.288381 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x306b). Make sure this device is connected to the computer.
0.288416 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3081). Make sure this device is connected to the computer.
0.288452 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3082). Make sure this device is connected to the computer.
0.288487 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3080). Make sure this device is connected to the computer.
0.288523 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x306b). Make sure this device is connected to the computer.
0.288558 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3096). Make sure this device is connected to the computer.
0.288594 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x30a9). Make sure this device is connected to the computer.
0.288629 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x308e). Make sure this device is connected to the computer.
0.288665 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x304f). Make sure this device is connected to the computer.
0.288701 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3061). Make sure this device is connected to the computer.
0.288736 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x304e). Make sure this device is connected to the computer.
0.288772 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3062). Make sure this device is connected to the computer.
0.288807 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3059). Make sure this device is connected to the computer.
0.288843 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3076). Make sure this device is connected to the computer.
0.288878 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x30b8). Make sure this device is connected to the computer.
0.288914 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x30b8). Make sure this device is connected to the computer.
0.288949 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3058). Make sure this device is connected to the computer.
0.288985 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x30b7). Make sure this device is connected to the computer.
0.289020 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x30b7). Make sure this device is connected to the computer.
0.289057 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x30c2). Make sure this device is connected to the computer.
0.289092 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x30c2). Make sure this device is connected to the computer.
0.289127 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x30c1). Make sure this device is connected to the computer.
0.289177 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3074). Make sure this device is connected to the computer.
0.289214 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3074). Make sure this device is connected to the computer.
0.289243 gphoto2-port-usb(1): Looking for USB device (vendor 0x4a9, product 0x30fd)... found.
0.289271 gphoto2-port-usb(1): Detected defaults: config 1, interface 0, altsetting 0, inep 81, outep 02, intep 83, class 06, subclass 01
0.289299 gphoto2-abilities-list.c(2): Found 'Canon PowerShot A610 (normal mode)' (0x4a9,0x30fd)
0.289364 gphoto2-port(2): Freeing port...
0.289400 gphoto2-port(2): Closing port...
0.289552 gphoto2-camera(2): Setting abilities ('Canon PowerShot A610 (normal mode)')...
0.289596 setting/gphoto2-setting.c(2): Creating $HOME/.gphoto
0.289755 setting/gphoto2-setting.c(2): Loading settings from file "/root/.gphoto/settings"
0.289835 gphoto2-setting(2): Setting key 'model' to value 'Canon PowerShot A610 (normal mode)' (gphoto2)
0.289867 gphoto2-setting(2): Saving 3 setting(s) to file "/root/.gphoto/settings"
0.290051 gphoto2-port-info-list(2): Using ltdl to load io-drivers from '/usr/local/lib/libgphoto2_port/0.5.2'...
0.290202 gphoto2-port-info-list(2): Called for filename '/usr/local/lib/libgphoto2_port/0.5.2/disk'.
0.298245 gphoto2-port/disk(2): found 13 volumes
0.390364 gphoto2-port-info-list(2): Loaded 'Media 'Мой диск'' ('disk:/media/cdrom') from '/usr/local/lib/libgphoto2_port/0.5.2/disk'.
0.390437 gphoto2-port-info-list(2): Loaded 'Media 'COMANCHE4'' ('disk:/media/cdrecorder') from '/usr/local/lib/libgphoto2_port/0.5.2/disk'.
0.390468 gphoto2-port-info-list(2): Loaded 'Media '/'' ('disk:/') from '/usr/local/lib/libgphoto2_port/0.5.2/disk'.
0.390498 gphoto2-port-info-list(2): Loaded 'Media '/install'' ('disk:/install') from '/usr/local/lib/libgphoto2_port/0.5.2/disk'.
0.390528 gphoto2-port-info-list(2): Loaded 'Media 'tmp'' ('disk:/tmp') from '/usr/local/lib/libgphoto2_port/0.5.2/disk'.
0.390558 gphoto2-port-info-list(2): Loaded 'Media 'Volume (reiserfs)'' ('disk:/var') from '/usr/local/lib/libgphoto2_port/0.5.2/disk'.
0.390588 gphoto2-port-info-list(2): Loaded 'Media 'Volume (reiserfs)'' ('disk:/usr') from '/usr/local/lib/libgphoto2_port/0.5.2/disk'.
0.390618 gphoto2-port-info-list(2): Loaded 'Media '/home'' ('disk:/home') from '/usr/local/lib/libgphoto2_port/0.5.2/disk'.
0.390648 gphoto2-port-info-list(2): Loaded 'Media 'Volume (vfat)'' ('disk:/mnt/win') from '/usr/local/lib/libgphoto2_port/0.5.2/disk'.
0.390677 gphoto2-port-info-list(2): Loaded 'Media 'Volume (vfat)'' ('disk:/media-files') from '/usr/local/lib/libgphoto2_port/0.5.2/disk'.
0.390708 gphoto2-port-info-list(2): Called for filename '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.391232 gphoto2-port-serial(2): Trying to lock '/dev/ttyS0'...
0.396021 gphoto2-port-serial(2): Trying to lock '/dev/ttyS1'...
0.400756 gphoto2-port-serial(2): Trying to lock '/dev/ttyS2'...
0.405343 gphoto2-port-serial(2): Trying to lock '/dev/ttyS3'...
0.409952 gphoto2-port-serial(2): Trying to lock '/dev/ttyS4'...
0.414578 gphoto2-port-serial(2): Trying to lock '/dev/ttyS5'...
0.419165 gphoto2-port-serial(2): Trying to lock '/dev/ttyS6'...
0.423761 gphoto2-port-serial(2): Trying to lock '/dev/ttyS7'...
0.428348 gphoto2-port-serial(2): Trying to lock '/dev/ttyS8'...
0.433176 gphoto2-port-serial(2): Trying to lock '/dev/ttyS9'...
0.437768 gphoto2-port-serial(2): Trying to lock '/dev/ttyS10'...
0.442604 gphoto2-port-serial(2): Trying to lock '/dev/ttyS11'...
0.447221 gphoto2-port-serial(2): Trying to lock '/dev/ttyS12'...
0.451815 gphoto2-port-serial(2): Trying to lock '/dev/ttyS13'...
0.456433 gphoto2-port-serial(2): Trying to lock '/dev/ttyS14'...
0.461037 gphoto2-port-serial(2): Trying to lock '/dev/ttyS15'...
0.465633 gphoto2-port-serial(2): Trying to lock '/dev/ttyS16'...
0.470239 gphoto2-port-serial(2): Trying to lock '/dev/ttyS17'...
0.474843 gphoto2-port-serial(2): Trying to lock '/dev/ttyS18'...
0.479587 gphoto2-port-serial(2): Trying to lock '/dev/ttyS19'...
0.484200 gphoto2-port-serial(2): Trying to lock '/dev/ttyS20'...
0.488789 gphoto2-port-serial(2): Trying to lock '/dev/ttyS21'...
0.493394 gphoto2-port-serial(2): Trying to lock '/dev/ttyS22'...
0.497990 gphoto2-port-serial(2): Trying to lock '/dev/ttyS23'...
0.502598 gphoto2-port-serial(2): Trying to lock '/dev/ttyS24'...
0.507238 gphoto2-port-serial(2): Trying to lock '/dev/ttyS25'...
0.511844 gphoto2-port-serial(2): Trying to lock '/dev/ttyS26'...
0.516462 gphoto2-port-serial(2): Trying to lock '/dev/ttyS27'...
0.521047 gphoto2-port-serial(2): Trying to lock '/dev/ttyS28'...
0.525893 gphoto2-port-serial(2): Trying to lock '/dev/ttyS29'...
0.530494 gphoto2-port-serial(2): Trying to lock '/dev/ttyS30'...
0.535376 gphoto2-port-serial(2): Trying to lock '/dev/ttyS31'...
0.539934 gphoto2-port-serial(2): Trying to lock '/dev/ttyS32'...
0.544655 gphoto2-port-info-list(2): Loaded 'Serial Port 0' ('serial:/dev/ttyS0') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.544732 gphoto2-port-info-list(2): Loaded 'Serial Port 1' ('serial:/dev/ttyS1') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.544764 gphoto2-port-info-list(2): Loaded 'Serial Port 2' ('serial:/dev/ttyS2') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.544796 gphoto2-port-info-list(2): Loaded 'Serial Port 3' ('serial:/dev/ttyS3') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.544826 gphoto2-port-info-list(2): Loaded 'Serial Port 4' ('serial:/dev/ttyS4') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.544856 gphoto2-port-info-list(2): Loaded 'Serial Port 5' ('serial:/dev/ttyS5') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.544885 gphoto2-port-info-list(2): Loaded 'Serial Port 6' ('serial:/dev/ttyS6') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.544916 gphoto2-port-info-list(2): Loaded 'Serial Port 7' ('serial:/dev/ttyS7') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.544946 gphoto2-port-info-list(2): Loaded 'Serial Port 8' ('serial:/dev/ttyS8') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.544975 gphoto2-port-info-list(2): Loaded 'Serial Port 9' ('serial:/dev/ttyS9') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.545006 gphoto2-port-info-list(2): Loaded 'Serial Port 10' ('serial:/dev/ttyS10') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.545036 gphoto2-port-info-list(2): Loaded 'Serial Port 11' ('serial:/dev/ttyS11') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.545065 gphoto2-port-info-list(2): Loaded 'Serial Port 12' ('serial:/dev/ttyS12') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.545095 gphoto2-port-info-list(2): Loaded 'Serial Port 13' ('serial:/dev/ttyS13') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.545145 gphoto2-port-info-list(2): Loaded 'Serial Port 14' ('serial:/dev/ttyS14') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.545178 gphoto2-port-info-list(2): Loaded 'Serial Port 15' ('serial:/dev/ttyS15') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.545207 gphoto2-port-info-list(2): Loaded 'Serial Port 16' ('serial:/dev/ttyS16') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.545237 gphoto2-port-info-list(2): Loaded 'Serial Port 17' ('serial:/dev/ttyS17') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.545268 gphoto2-port-info-list(2): Loaded 'Serial Port 18' ('serial:/dev/ttyS18') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.545298 gphoto2-port-info-list(2): Loaded 'Serial Port 19' ('serial:/dev/ttyS19') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.545327 gphoto2-port-info-list(2): Loaded 'Serial Port 20' ('serial:/dev/ttyS20') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.545358 gphoto2-port-info-list(2): Loaded 'Serial Port 21' ('serial:/dev/ttyS21') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.545388 gphoto2-port-info-list(2): Loaded 'Serial Port 22' ('serial:/dev/ttyS22') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.545418 gphoto2-port-info-list(2): Loaded 'Serial Port 23' ('serial:/dev/ttyS23') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.545447 gphoto2-port-info-list(2): Loaded 'Serial Port 24' ('serial:/dev/ttyS24') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.545478 gphoto2-port-info-list(2): Loaded 'Serial Port 25' ('serial:/dev/ttyS25') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.545508 gphoto2-port-info-list(2): Loaded 'Serial Port 26' ('serial:/dev/ttyS26') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.545537 gphoto2-port-info-list(2): Loaded 'Serial Port 27' ('serial:/dev/ttyS27') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.545568 gphoto2-port-info-list(2): Loaded 'Serial Port 28' ('serial:/dev/ttyS28') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.545641 gphoto2-port-info-list(2): Loaded 'Serial Port 29' ('serial:/dev/ttyS29') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.545671 gphoto2-port-info-list(2): Loaded 'Serial Port 30' ('serial:/dev/ttyS30') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.545701 gphoto2-port-info-list(2): Loaded 'Serial Port 31' ('serial:/dev/ttyS31') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.545730 gphoto2-port-info-list(2): Loaded 'Serial Port 32' ('serial:/dev/ttyS32') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.545759 gphoto2-port-info-list(2): Loaded '' ('^serial') from '/usr/local/lib/libgphoto2_port/0.5.2/serial'.
0.545790 gphoto2-port-info-list(2): Called for filename '/usr/local/lib/libgphoto2_port/0.5.2/usb'.
0.547059 gphoto2-port-info-list(2): Loaded 'Universal Serial Bus' ('usb:') from '/usr/local/lib/libgphoto2_port/0.5.2/usb'.
0.547158 gphoto2-port-info-list(2): Looking for path 'usb:' (45 entries available)...
0.547202 gphoto2-port-info-list(2): Getting info of entry 43 (45 available)...
0.547244 gphoto2-camera(2): Setting port info for port 'Universal Serial Bus' at 'usb:'...
0.548341 gphoto2-port(2): Setting timeout to 5000 millisecond(s)...
0.548402 gphoto2-port(2): Setting settings...
0.548436 gphoto2-setting(2): Setting key 'port' to value 'usb:' (gphoto2)
0.548470 gphoto2-setting(2): Saving 3 setting(s) to file "/root/.gphoto/settings"
0.548763 gphoto2-camera(2): Initializing camera...
0.548825 gphoto2-port-usb(1): Looking for USB device (vendor 0x4a9, product 0x30fd)... found.
0.548853 gphoto2-port-usb(1): Detected defaults: config 1, interface 0, altsetting 0, inep 81, outep 02, intep 83, class 06, subclass 01
0.548890 gphoto2-camera(2): Loading '/usr/local/lib/libgphoto2/2.1.99.head.0/canon'...
0.549502 gphoto2-port(2): Opening USB port...
0.549648 gphoto2-port(0): Could not query kernel driver of device.
0.549701 canon/library.c(2): canon camera_init()
0.549764 canon/library.c(2): GPhoto tells us that we should use a USB link.
0.549796 canon/usb.c(2): Initializing the (USB) camera.

0.549834 canon/usb.c(2): canon_usb_camera_init()
0.549870 canon/usb.c(2): canon_usb_identify: USB ID match 0x04a9:0x30fd (model name "Canon:PowerShot A610 (normal mode)")
0.549925 context(2): Detected a 'Canon:PowerShot A610 (normal mode)'.
Detected a 'Canon:PowerShot A610 (normal mode)'.
0.549982 gphoto2-port(2): Reading message (request=0xc value=0x55 index=0x0 size=1=0x1)...
0.564832 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows:
0000  43          

Re: A610

by Marcus Meissner-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Oct 31, 2005 at 11:53:41PM +0200, Andriy Kulchytskyy wrote:

> I got new Canon A610 camera. This is a upgrade version of A95. The vendor USB ID is:
> >lsusb | grep Canon
> Bus 001 Device 011: ID 04a9:30fd Canon, Inc.
>
> I have modified canon/canon.c and ptp2/library.c to detect it corretly (see attached patches). It works good in PTP mode, but doesn't work with canon native protocol. How can I determine which CANON_CLASS it is? I tried CLASS_5, same as A95 but it doesn't work. The error message is:
>
> 0.574092 gphoto2-port(2): Reading 64=0x40 bytes from port...
> 0.577144 gphoto2-port(2): Could only read 0 out of 64 byte(s)
> 0.577226 gphoto2-port(3): Empty hexdump of empty buffer
> 0.577263 context(0): Step #4 failed! (returned 0, expected 64) Camera not operational
>
> *** Error ***
> Step #4 failed! (returned 0, expected 64) Camera not operational
> 0.577335 gphoto2-port(2): Closing port...
> *** Error (-102: 'Corrupted data') ***
>
> Full error log also attached.
>
> I am new to gphoto and will appreciate any help.

The PTP driver will just work (as you found out). I have committed your patch.

For the canon driver, you could just try all the classes ... :/ Stephen Westin
is the maintainer of the driver, perhaps he can help.

Ciao, Marcus


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Gphoto-user mailing list
Gphoto-user@...
https://lists.sourceforge.net/lists/listinfo/gphoto-user