From: SourceForge.net <no...@so...> - 2005-06-06 07:59:08
|
Bugs item #1214253, was opened at 2005-06-03 13:24 Message generated for change (Comment added) made by vitko You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108874&aid=1214253&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: gphoto2 Group: None Status: Open Resolution: None Priority: 5 Submitted By: vitko (vitko) Assigned to: Nobody/Anonymous (nobody) Summary: PTP I/O error with PowerShot S70 Initial Comment: I'm trying to get images out of my PowerShot S70. I/O error comes usually around 22th-24th image, there are total 92 images on the card. I tried gphoto2 --debug --debug -P -port "usb:" The log is about 178 MB, so I'm sending the very end, just before I/O error: ... Saving file as IMG_0022.JPG 123.609573 gphoto2-camera(2): Getting file 'IMG_0023.JPG' in folder '/store_00010001/DCIM/100CANON'... 123.610186 libgphoto2/gphoto2-filesys.c(2): Getting file 'IMG_0023.JPG' from folder '/store_00010001/DCIM/100CANON' (type 1)... 123.612012 context(2): Downloading 'IMG_0023.JPG' from folder '/store_00010001/DCIM/100CANON'... Downloading 'IMG_0023.JPG' from folder '/store_00010001/DCIM/100CANON'... 123.612709 PTP2/library.c(2): Getting file. 123.613077 gphoto2-port(2): Writing 16=0x10 byte(s) to port... 123.613429 gphoto2-port(3): Hexdump of 16 = 0x10 bytes follows: 0000 10 00 00 00 01 00 09 10-7b 00 00 00 1a 00 00 00 ........{....... 123.615971 gphoto2-port(2): Reading 512=0x200 bytes from port... 123.657000 gphoto2-port(3): Hexdump of 512 = 0x200 bytes follows: 0000 ab cb 39 00 02 00 09 10-7b 00 00 00 ff d8 ff e1 ..9.....{....... 0010 29 fe 45 78 69 66 00 00-49 49 2a 00 08 00 00 00 ).Exif..II*..... 0020 09 00 0f 01 02 00 06 00-00 00 7a 00 00 00 10 01 ..........z..... 0030 02 00 14 00 00 00 80 00-00 00 12 01 03 00 01 00 ................ 0040 00 00 01 00 00 00 1a 01-05 00 01 00 00 00 a0 00 ................ 0050 00 00 1b 01 05 00 01 00-00 00 a8 00 00 00 28 01 ..............(. 0060 03 00 01 00 00 00 02 00-00 00 32 01 02 00 14 00 ..........2..... 0070 00 00 b0 00 00 00 13 02-03 00 01 00 00 00 01 00 ................ 0080 00 00 69 87 04 00 01 00-00 00 c4 00 00 00 84 07 ..i............. 0090 00 00 43 61 6e 6f 6e 00-43 61 6e 6f 6e 20 50 6f ..Canon.Canon Po 00a0 77 65 72 53 68 6f 74 20-53 37 30 00 00 00 00 00 werShot S70..... 00b0 00 00 00 00 00 00 00 00-b4 00 00 00 01 00 00 00 ................ 00c0 b4 00 00 00 01 00 00 00-32 30 30 35 3a 30 37 3a ........2005:07: 00d0 30 32 20 31 38 3a 34 34-3a 35 30 00 1f 00 9a 82 02 18:44:50..... 00e0 05 00 01 00 00 00 86 03-00 00 9d 82 05 00 01 00 ................ 00f0 00 00 8e 03 00 00 00 90-07 00 04 00 00 00 30 32 ..............02 0100 32 30 03 90 02 00 14 00-00 00 3e 02 00 00 04 90 20........>..... 0110 02 00 14 00 00 00 52 02-00 00 01 91 07 00 04 00 ......R......... 0120 00 00 01 02 03 00 02 91-05 00 01 00 00 00 6e 03 ..............n. 0130 00 00 01 92 0a 00 01 00-00 00 76 03 00 00 02 92 ..........v..... 0140 05 00 01 00 00 00 7e 03-00 00 04 92 0a 00 01 00 ......~......... 0150 00 00 96 03 00 00 05 92-05 00 01 00 00 00 9e 03 ................ 0160 00 00 07 92 03 00 01 00-00 00 05 00 00 00 09 92 ................ 0170 03 00 01 00 00 00 19 00-00 00 0a 92 05 00 01 00 ................ 0180 00 00 a6 03 00 00 7c 92-07 00 88 03 00 00 ae 03 ......|......... 0190 00 00 86 92 07 00 08 01-00 00 66 02 00 00 00 a0 ..........f..... 01a0 07 00 04 00 00 00 30 31-30 30 01 a0 03 00 01 00 ......0100...... 01b0 00 00 01 00 00 00 02 a0-03 00 01 00 00 00 00 0c ................ 01c0 00 00 03 a0 03 00 01 00-00 00 00 09 00 00 05 a0 ................ 01d0 04 00 01 00 00 00 4e 07-00 00 0e a2 05 00 01 00 ......N......... 01e0 00 00 36 07 00 00 0f a2-05 00 01 00 00 00 3e 07 ..6...........>. 01f0 00 00 10 a2 03 00 01 00-00 00 02 00 00 00 17 a2 ................ 123.657586 gphoto2-port(2): Reading 3787179=0x39c9ab bytes from port... gp_port_read: Resource temporarily unavailable 131.673994 PTP2/library.c(2): PTP: gp_port_* function returned 0xffffffde -34 131.674087 context(0): PTP I/O error *** Error *** PTP I/O error 131.674231 libgphoto2/gphoto2-filesys.c(2): Download of 'IMG_0023.JPG' from '/store_00010001/DCIM/100CANON' (type 1) failed. Reason: 'Unspecified error' 131.674280 gphoto2-camera(2): Operation failed! 131.674768 main(2): Getting 'ort'... 131.674948 context(0): ort ^ Unexpected character 'o'. *** Error *** ort ^ Unexpected character 'o'. *** Error (-2: 'Bad parameters') *** 131.675633 gp-camera(2): Freeing camera... 131.675692 gphoto2-camera(2): Exiting camera ('USB PTP Class Camera')... 131.675794 ptp(2): PTP: Closing session 131.675839 gphoto2-port(2): Writing 12=0xc byte(s) to port... 131.675884 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows: 0000 0c 00 00 00 01 00 03 10-7c 00 00 00 ........|... 131.684400 gphoto2-port(2): Reading 512=0x200 bytes from port... 131.685805 gphoto2-port(3): Hexdump of 512 = 0x200 bytes follows: 0000 df 93 c7 00 f3 5d 12 ca-27 19 a8 cb 43 d5 ad c2 .....]..'...C... 0010 b8 8a b3 50 e5 6a 4c f2-3b ff 00 da 1f e1 3f 8a ...P.jL.;.....?. 0020 af e7 d1 b4 bf 10 59 de-4b 79 11 8d a3 82 f1 0e ......Y.Ky...... 0030 f5 ce 76 95 ea dc 81 f9-55 6f 0e 7c 2a f0 9e bb ..v.....Uo.|*... 0040 aa cf a9 c3 a7 58 bc 93-85 d9 2a 5a 46 18 1c f7 .....X....*ZF... 0050 22 b4 cf 32 77 87 82 4e-c7 8f 9d f0 76 23 2b fe "..2w..N....v#+. 0060 3c 6c 7d 01 a6 78 79 3c-3f a5 dc d9 c5 0a 7d 9f <l}..xy<?.....}. 0070 2b 26 0a 63 1b 73 c7 1d-3a 9a c8 ff 00 84 5b c3 +&.c.s..:.....[. 0080 fe 26 d2 2e 2d af 2d be-d4 65 95 a6 51 71 12 b0 .&..-.-..e..Qq.. 0090 5c e7 2b 83 db 1c 57 81-5f 0f cd 4e d6 3e 6a ae \.+...W._..N.>j. 00a0 05 38 dd 1e 23 e2 1f d9-f3 c0 5a 7c f0 dc 5c 78 .8..#.....Z|..\x 00b0 7b 4d 48 b5 09 db 7f 95-69 02 a8 07 be d0 36 8e {MH.....i.....6. 00c0 7d 47 eb 5e e7 a3 68 96-e2 c6 da ce d1 c2 5b 43 }G.^..h.......[C 00d0 0a 46 d8 1f 7b 68 f9 7a-76 03 8c 57 9d 86 c0 ac .F..{h.zv..W.... 00e0 3c 5c ec 4e 13 2e 74 17-3b bb 46 b4 41 6c 67 3f <\.N..t.;.F.Alg? 00f0 68 75 e2 40 08 03 3b 87-40 7f 5a ea 5e e3 4e b4 hu.@..;.@.Z.^.N. 0100 0c be 61 43 33 2a ab 28-ee 4f 51 9a f7 61 87 8d ..aC3*.(.OQ..a.. 0110 75 74 7b 14 e8 ca 52 e6-8e c7 37 77 a9 41 6c 66 ut{...R...7w.Alf 0120 84 b0 c0 dc c3 2b 8c 37-71 f5 26 bc 8f 51 f1 f6 .....+.7q.&..Q.. 0130 9d 69 ac 2c 42 f6 2b 5b-cb 27 12 be e9 14 32 13 .i.,B.+[.'....2. 0140 91 b8 57 4d 1c 3d dd 8f-6e 8e 55 2c 42 bc 55 ce ..WM.=..n.U,B.U. 0150 83 c2 7f 16 bc 35 2e b5-7b a7 6a fa 85 ad 9b 5d .....5..{.j....] 0160 e9 f3 da 58 5c 5d dd 2c-49 33 b2 30 0d 96 eb cf ...X\].,I3.0.... 0170 f3 1e b5 fc f7 7c 7c f8-c3 7d e2 2b ed 56 0b a9 .....||..}.+.V.. 0180 56 78 d3 56 bd b3 6b 52-d8 5d 8b 33 21 38 ee 78 Vx.V..kR.].3!8.x 0190 18 f4 15 ac a9 fd 5a 32-95 f4 3f 7a f0 5f 83 de ......Z2..?z._.. 01a0 2b 31 52 92 d2 2a e7 c4-57 ba 83 ea 9a be fd 2e +1R..*..W....... 01b0 da 40 f0 46 91 a8 0f cc-5d 79 cf d7 bd 7d eb fb .@.F....]y...}.. 01c0 30 fc 69 d6 fe 1c a5 bc-5e 21 49 60 b0 86 78 d9 0.i.....^!I`..x. 01d0 07 9a 4a ca bb c6 f3 93-ce 48 24 e7 fc 9f ce a5 ..J......H$..... 01e0 8e 85 3c 47 2c fa 9f d5-9e 22 e5 14 b1 99 44 b0 ..<G,...."....D. 01f0 f2 d6 69 68 7f 4b de 1b-bf b3 bc d2 f4 2b ab 71 ..ih.K.......+.q 131.686000 gphoto2-port(2): Clear halt... 131.688751 gphoto2-port(2): Clear halt... 131.714924 gphoto2-port(2): Clear halt... 131.716764 gphoto2-port(2): Closing port... 131.732580 libgphoto2/gphoto2-filesys.c(2): Clearing fscache LRU list... 131.732665 libgphoto2/gphoto2-filesys.c(2): fscache LRU list cleared (removed 22 items) 131.732735 gphoto2-filesystem(2): Internally deleting all folders from '/'... 131.747865 gphoto2-port(2): Freeing port... 131.748342 gphoto2-port(2): Closing port... 131.748876 libgphoto2/gphoto2-filesys.c(2): Clearing fscache LRU list... 131.749229 libgphoto2/gphoto2-filesys.c(2): fscache LRU list already empty 131.749565 gphoto2-filesystem(2): Internally deleting all folders from '/'... For debugging messages, please use the --debug option. Debugging messages may help finding a solution to your problem. If you intend to send any error or debug messages to the gphoto developer mailing list <gph...@li...>, please run gphoto2 as follows: env LANG=C gphoto2 --debug --debug -P -port "usb:" Please make sure there is sufficient quoting around the arguments. ---------------------------------------------------------------------- >Comment By: vitko (vitko) Date: 2005-06-06 07:59 Message: Logged In: YES user_id=1014793 $ dpkg -l | grep libusb ii libusb-0.1-4 0.1.10a-6 userspace USB programming library ---------------------------------------------------------------------- Comment By: Marcus Meissner (marcusmeissner) Date: 2005-06-05 20:08 Message: Logged In: YES user_id=48092 what libusb version are you using? this seems to be a sign of libusb 0.10a, which we fixed in 2.1.6rc2 (not yet there). Ciao, Marcus ---------------------------------------------------------------------- Comment By: vitko (vitko) Date: 2005-06-04 04:35 Message: Logged In: YES user_id=1014793 As for libgphoto2: $ dpkg -l | grep gphoto ii gphoto2 2.1.5-1 The gphoto2 digital camera command-line clie ii libgphoto2-2 2.1.5-4 gphoto2 digital camera library ii libgphoto2-por 2.1.5-4 gphoto2 digital camera port library I have the same problem on my home computer, too. So far it seems hardware doesn't play a role (both computers are cca 3 years apart) and also kernel versions are quite different - 2.6.7 and 2.6.11.something). ---------------------------------------------------------------------- Comment By: Hubert Figuiere (hfiguiere) Date: 2005-06-03 17:36 Message: Logged In: YES user_id=27487 which version of libgphoto2 are you using ? ---------------------------------------------------------------------- Comment By: vitko (vitko) Date: 2005-06-03 14:28 Message: Logged In: YES user_id=1014793 I've suspected hardware error, so I connected camera to on-board USB 1.1 port (UHCI controller). The camera was conneted to USB 2.0 add-on card port previously (OHCI controlled). Using on-board USB 1.1 I managed to sqweeze 92 images and one AVI, the I got I/O error while downloading another AVI. So far so bad. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108874&aid=1214253&group_id=8874 |