From: SourceForge.net <no...@so...> - 2006-05-22 19:40:49
|
Bugs item #1224783, was opened at 2005-06-21 12:29 Message generated for change (Comment added) made by bobosch You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108874&aid=1224783&group_id=8874 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: camlib/canon Group: None Status: Open Resolution: None Priority: 5 Submitted By: hunterwan (hunterwan) Assigned to: Stephen H. Westin (swestin) Summary: Cannon powershot S1 1S(normal mode) cant' lock keys Initial Comment: This version of gphoto2 is using the following software versions and options: gphoto2 2.1.6rc1 gcc, popt, exif, cdk, aa, jpeg, readline libgphoto2 2.1.6rc2 gcc, EXIF, no ltdl, /proc/meminfo libgphoto2_port 0.5.1 gcc, USB, serial baudboy locking, no ltdl Debug Message: ================================= # env LANG=C gphoto2 --debug --capture-image .... .... ... 4.808163 gphoto2-port(2): Setting timeout to 5000 millisecond(s)... 4.808185 gphoto2-port(2): Setting settings... 4.808200 gphoto2-setting(2): Setting key 'port' to value 'usb:' (gphoto2) 4.808224 gphoto2-setting(2): Saving 8 setting(s) to file "/root/.gphoto/settings" 4.808505 gphoto2-camera(2): Initializing camera... 4.808537 gphoto2-port-usb(1): Looking for USB device (vendor 0x4a9, product 0x309c)... found. 4.808558 gphoto2-port-usb(1): Detected defaults: config 1, interface 0, altsetting 0, inep 82, outep 01, intep 83, class 06, subclass 01 4.808577 gphoto2-camera(2): Loading '/usr/local/lib/gphoto2/2.1.6rc2/libgphoto2_canon.so'... 4.808803 gphoto2-port(2): Opening USB port... 4.808876 canon/library.c(2): canon camera_init() 4.808932 canon/library.c(2): GPhoto tells us that we should use a USB link. 4.808961 canon/usb.c(2): Initializing the (USB) camera. 4.808998 canon/usb.c(2): canon_usb_camera_init() 4.809029 canon/usb.c(2): canon_usb_identify: USB ID match 0x04a9:0x309c (model name "Canon:PowerShot S1 IS (normal mode)") 4.809063 context(2): Detected a 'Canon:PowerShot S1 IS (normal mode)'. Detected a 'Canon:PowerShot S1 IS (normal mode)'. 4.809092 gphoto2-port(2): Reading message (request=0xc value=0x55 index=0x0 size=1=0x1)... 4.904355 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows: 0000 41 - A 4.904394 canon/usb.c(2): canon_usb_camera_init() initial camera response: A/'Camera was already active' 4.904412 gphoto2-port(2): Reading message (request=0x4 value=0x1 index=0x0 size=88=0x58)... 5.004231 gphoto2-port(3): Hexdump of 88 = 0x58 bytes follows: 0000 18 00 00 00 00 00 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 01 06 15 83 04 a9 30 85-00 08 00 00 ff ff ff ff ......0......... 0050 00 fd 00 00 00 fd 00 00- ........ 5.004274 canon/usb.c(2): canon_usb_camera_init() set transfer length to 0x1400 5.004291 gphoto2-port(2): Reading message (request=0x4 value=0x4 index=0x0 size=80=0x50)... 5.204237 gphoto2-port(3): Hexdump of 80 = 0x50 bytes follows: 0000 10 00 00 00 00 00 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 00 08 00 00 ff ff ff ff-00 fd 00 00 00 fd 00 00 ................ 5.204286 canon/usb.c(2): canon_usb_camera_init() PC sign on LCD should be lit now (if your camera has a PC sign) 5.204325 canon/canon.c(2): canon_int_identify_camera() called 5.204384 canon/usb.c(2): canon_usb_dialogue() cmd 0x1 0x12 0x201 (Identify camera) 5.204416 gphoto2-port(2): Writing message (request=0x4 value=0x10 index=0x0 size=80=0x50)... 5.204436 gphoto2-port(3): Hexdump of 80 = 0x50 bytes follows: 0000 10 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 01 00 00 12-10 00 00 00 00 00 00 00 ................ 5.304319 gphoto2-port(2): Reading 128=0x80 bytes from port... 5.395326 gphoto2-port(2): Could only read 92 out of 128 byte(s) 5.395510 gphoto2-port(3): Hexdump of 92 = 0x5c bytes follows: 0000 02 00 00 00 01 00 00 22-5c 00 00 00 00 00 00 00 ......."\....... 0010 00 00 00 00 01 06 15 83-00 00 00 00 43 61 6e 6f ............Cano 0020 6e 20 50 6f 77 65 72 53-68 6f 74 20 53 31 20 49 n PowerShot S1 I 0030 53 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 S............... 0040 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................ 0050 00 00 00 00 00 00 00 00-00 00 00 00 ............ 5.395651 canon/usb.c(2): canon_usb_dialogue: read 1 of 0x80 bytes failed! (returned 92) 5.395778 canon/usb.c(2): Identify camera try 1/4 failed (this is OK) 5.395903 canon/canon.c(2): canon_int_identify_camera() called 5.396031 canon/usb.c(2): canon_usb_dialogue() cmd 0x1 0x12 0x201 (Identify camera) 5.396162 gphoto2-port(2): Writing message (request=0x4 value=0x10 index=0x0 size=80=0x50)... 5.396293 gphoto2-port(3): Hexdump of 80 = 0x50 bytes follows: 0000 10 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 01 00 00 12-10 00 00 00 01 00 00 00 ................ 5.449864 gphoto2-port(2): Reading 128=0x80 bytes from port... 5.451220 gphoto2-port(3): Hexdump of 128 = 0x80 bytes follows: 0000 5c 00 00 00 01 03 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 01 00 00 22-5c 00 00 00 01 00 00 00 ......."\....... 0050 00 00 00 00 01 06 15 83-00 00 00 00 43 61 6e 6f ............Cano 0060 6e 20 50 6f 77 65 72 53-68 6f 74 20 53 31 20 49 n PowerShot S1 I 0070 53 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 S............... 5.504099 canon/usb.c(2): canon_usb_dialogue: camera reports 0x5c bytes (0x9c total) 5.504296 gphoto2-port(2): Reading 28=0x1c bytes from port... 5.506216 gphoto2-port(3): Hexdump of 28 = 0x1c bytes follows: 0000 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................ 0010 00 00 00 00 00 00 00 00-00 00 00 00 ............ 5.524897 canon/canon.c(2): canon_int_identify_camera: ident 'Canon PowerShot S1 IS' owner '', firmware 0.0.0.0 5.525043 canon/usb.c(2): canon_usb_lock_keys() 5.525168 canon/usb.c(2): canon_usb_lock_keys: Locking camera and turning off LCD using class 5 locking code... 5.525296 canon/usb.c(2): canon_usb_dialogue() cmd 0x20 0x12 0x201 (Lock keys and turn off LCD) 5.525435 gphoto2-port(2): Writing message (request=0x4 value=0x10 index=0x0 size=80=0x50)... 5.525568 gphoto2-port(3): Hexdump of 80 = 0x50 bytes follows: 0000 10 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 20 00 00 12-10 00 00 00 02 00 00 00 .... ........... 5.614469 gphoto2-port(2): Reading 64=0x40 bytes from port... 10.624363 canon/usb.c(2): canon_usb_dialogue: read 1 of 0x40 bytes failed! (Error reading from the port) 10.624569 context(0): lock keys failed. *** Error *** lock keys failed. ---------------------------------------------------------------------- Comment By: Robert Heel (bobosch) Date: 2006-05-22 21:40 Message: Logged In: YES user_id=585613 Thanks for that workarround :-) ---------------------------------------------------------------------- Comment By: Marcus Meissner (marcusmeissner) Date: 2005-07-04 11:29 Message: Logged In: YES user_id=48092 this seems to be biting more users.... Generic workaround gphoto2 --camera "Canon Powershot S1 IS (PTP mode)" --port usb: .... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108874&aid=1224783&group_id=8874 |