From: Egil K. <eg...@kv...> - 2010-03-18 14:36:26
|
I am trying to do remote capture on a "Canon IXUS v" (which is the same as "Canon Powershot S110" in the US market), but it fails. Several bugs on the matter have already been filed, so there is probably no point in adding one more. Fetching files on this camera works perfectly, btw. The remote control page http://www.gphoto.org/doc/remote/ says that capture is supported, and requesting abilities from gphoto2 lists Image and Preview as being available. Also the Canon US page indicates remote capture is possible. http://www.usa.canon.com/consumer/controller?act=SDKHomePageAct&keycode=Sdk_Lic&fcategoryid=314&modelid=7474&id=3464 However, on the net I found a couple of texts indicating that for cameras like the A60, A70, A75 etc gphoto2 only supports capture in PTP mode, not Canon mode. The S110 does as far as I know not support PTP. I believe there is a whole little family of cameras that behave the same. It seems to me that the problem is that gphoto2 may not be supporting the type of Canon command required to do capture on the S110 and similar cameras. Is this correct? When trying to do a capture, the lens does extend etc, but the sequence is somehow interrupted. Based on looking at my own log and the other logs posted, the common denominator for the problem seems to be: 0.314597 canon/canon/canon.c(2): Camera control init++ with 0, 0 0.314621 canon/canon/usb.c(2): canon_usb_dialogue_full() cmd 0x13 0x12 0x201 (Remote camera control) 0.314645 canon/canon/usb.c(2): canon_usb_dialogue_full() called with CONTROL_CAMERA, Camera control init 0.314668 canon/canon/usb.c(2): Payload : 0.314691 canon(3): Hexdump of 8 = 0x8 bytes follows: 0000 00 00 00 00 00 00 00 00- ........ 0.314735 gphoto2-port(2): Writing message (request=0x4 value=0x10 index=0x0 size=88=0x58)... 0.314764 gphoto2-port(3): Hexdump of 88 = 0x58 bytes follows: 0000 18 00 00 00 01 02 00 00-00 00 00 00 00 00 00 00 ................ 0010 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................ 0020 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................ 0030 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................ 0040 02 00 00 00 13 00 00 12-18 00 00 00 04 00 00 00 ................ 0050 00 00 00 00 00 00 00 00- ........ 0.315835 gphoto2-port(2): Reading 64=0x40 bytes from port... 2.234491 gphoto2-port(2): Could only read 0 out of 64 byte(s) 2.234585 gphoto2-port(3): Empty hexdump of empty buffer 2.234611 canon/canon/usb.c(2): canon_usb_dialogue_full: read 1 of 0x40 bytes failed! (returned 0) 2.234636 canon/canon/canon.c(2): Camera control init datalen=ffffffb0 The question is then, is there any way of fixing this? If anyone can give me some hints, I am happy to do some experimenting. Otherwise, the ghoto2 capture documentation page should be updated so as to indicate that the S110 and other cameras are indeed NOT supported with capture. As it is, it is rather misleading. Sincerely, Egil Kvaleberg |