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