From: SourceForge.net <no...@so...> - 2009-07-08 13:16:23
|
Bugs item #1904987, was opened at 2008-02-29 16:51 Message generated for change (Comment added) made by avtech You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108874&aid=1904987&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: libgphoto2 Group: None Status: Closed Resolution: Fixed Priority: 5 Private: No Submitted By: David Zeuthen (davidz25) Assigned to: Nobody/Anonymous (nobody) Summary: Cannot handle multiple cameras Initial Comment: This happens with gphoto2-2.4.0-6.fc9.i386 packages on Fedora Rawhide. I have both a Sansa Sandisk PTP device and Apple iPhone PTP device plugged in. [davidz@oneill ~]$ gphoto2 -L --port usb:001,029 There is no file in folder '/'. There is no file in folder '/store_00010002'. There is no file in folder '/store_00010002/DCIM'. There are 65 files in folder '/store_00010002/DCIM/100APPLE'. #1 IMG_0006.JPG 313 KB image/jpeg #2 IMG_0007.JPG 271 KB image/jpeg #3 IMG_0008.JPG 414 KB image/jpeg #4 IMG_0009.JPG 339 KB image/jpeg #5 IMG_0010.JPG 363 KB image/jpeg #6 IMG_0011.JPG 343 KB image/jpeg #7 IMG_0012.JPG 351 KB image/jpeg #8 IMG_0013.JPG 253 KB image/jpeg #9 IMG_0014.JPG 316 KB image/jpeg #10 IMG_0015.JPG 289 KB image/jpeg #11 IMG_0016.JPG 331 KB image/jpeg #12 IMG_0017.JPG 358 KB image/jpeg #13 IMG_0018.JPG 336 KB image/jpeg #14 IMG_0019.JPG 391 KB image/jpeg #15 IMG_0020.JPG 350 KB image/jpeg #16 IMG_0021.JPG 377 KB image/jpeg #17 IMG_0022.JPG 343 KB image/jpeg #18 IMG_0023.JPG 390 KB image/jpeg #19 IMG_0024.JPG 192 KB image/jpeg #20 IMG_0025.JPG 328 KB image/jpeg #21 IMG_0026.JPG 274 KB image/jpeg #22 IMG_0027.JPG 285 KB image/jpeg #23 IMG_0028.JPG 273 KB image/jpeg #24 IMG_0029.JPG 290 KB image/jpeg #25 IMG_0030.JPG 279 KB image/jpeg #26 IMG_0031.JPG 278 KB image/jpeg #27 IMG_0032.JPG 302 KB image/jpeg #28 IMG_0033.JPG 305 KB image/jpeg #29 IMG_0034.JPG 266 KB image/jpeg #30 IMG_0035.JPG 237 KB image/jpeg #31 IMG_0036.JPG 254 KB image/jpeg #32 IMG_0037.JPG 252 KB image/jpeg #33 IMG_0038.JPG 248 KB image/jpeg #34 IMG_0039.JPG 254 KB image/jpeg #35 IMG_0040.JPG 299 KB image/jpeg #36 IMG_0041.JPG 264 KB image/jpeg #37 IMG_0042.JPG 365 KB image/jpeg #38 IMG_0043.JPG 279 KB image/jpeg #39 IMG_0044.JPG 331 KB image/jpeg #40 IMG_0045.JPG 318 KB image/jpeg #41 IMG_0046.JPG 346 KB image/jpeg #42 IMG_0047.JPG 299 KB image/jpeg #43 IMG_0048.JPG 248 KB image/jpeg #44 IMG_0049.JPG 229 KB image/jpeg #45 IMG_0050.JPG 226 KB image/jpeg #46 IMG_0051.JPG 293 KB image/jpeg #47 IMG_0052.JPG 334 KB image/jpeg #48 IMG_0053.JPG 335 KB image/jpeg #49 IMG_0054.JPG 332 KB image/jpeg #50 IMG_0055.JPG 325 KB image/jpeg #51 IMG_0056.JPG 425 KB image/jpeg #52 IMG_0057.JPG 322 KB image/jpeg #53 IMG_0058.JPG 309 KB image/jpeg #54 IMG_0059.JPG 314 KB image/jpeg #55 IMG_0060.JPG 344 KB image/jpeg #56 IMG_0061.JPG 265 KB image/jpeg #57 IMG_0062.JPG 266 KB image/jpeg #58 IMG_0063.JPG 262 KB image/jpeg #59 IMG_0064.JPG 263 KB image/jpeg #60 IMG_0067.JPG 367 KB image/jpeg #61 IMG_0068.JPG 480 KB image/jpeg #62 IMG_0069.JPG 312 KB image/jpeg #63 IMG_0070.JPG 364 KB image/jpeg #64 IMG_0071.JPG 420 KB image/jpeg #65 IMG_0072.JPG 325 KB image/jpeg [davidz@oneill ~]$ gphoto2 -L --port usb:001,030 There is no file in folder '/'. There is no file in folder '/store_00010003'. There is no file in folder '/store_00010003/DCIM'. There are 65 files in folder '/store_00010003/DCIM/100APPLE'. #1 IMG_0006.JPG 313 KB image/jpeg #2 IMG_0007.JPG 271 KB image/jpeg #3 IMG_0008.JPG 414 KB image/jpeg #4 IMG_0009.JPG 339 KB image/jpeg #5 IMG_0010.JPG 363 KB image/jpeg #6 IMG_0011.JPG 343 KB image/jpeg #7 IMG_0012.JPG 351 KB image/jpeg #8 IMG_0013.JPG 253 KB image/jpeg #9 IMG_0014.JPG 316 KB image/jpeg #10 IMG_0015.JPG 289 KB image/jpeg #11 IMG_0016.JPG 331 KB image/jpeg #12 IMG_0017.JPG 358 KB image/jpeg #13 IMG_0018.JPG 336 KB image/jpeg #14 IMG_0019.JPG 391 KB image/jpeg #15 IMG_0020.JPG 350 KB image/jpeg #16 IMG_0021.JPG 377 KB image/jpeg #17 IMG_0022.JPG 343 KB image/jpeg #18 IMG_0023.JPG 390 KB image/jpeg #19 IMG_0024.JPG 192 KB image/jpeg #20 IMG_0025.JPG 328 KB image/jpeg #21 IMG_0026.JPG 274 KB image/jpeg #22 IMG_0027.JPG 285 KB image/jpeg #23 IMG_0028.JPG 273 KB image/jpeg #24 IMG_0029.JPG 290 KB image/jpeg #25 IMG_0030.JPG 279 KB image/jpeg #26 IMG_0031.JPG 278 KB image/jpeg #27 IMG_0032.JPG 302 KB image/jpeg #28 IMG_0033.JPG 305 KB image/jpeg #29 IMG_0034.JPG 266 KB image/jpeg #30 IMG_0035.JPG 237 KB image/jpeg #31 IMG_0036.JPG 254 KB image/jpeg #32 IMG_0037.JPG 252 KB image/jpeg #33 IMG_0038.JPG 248 KB image/jpeg #34 IMG_0039.JPG 254 KB image/jpeg #35 IMG_0040.JPG 299 KB image/jpeg #36 IMG_0041.JPG 264 KB image/jpeg #37 IMG_0042.JPG 365 KB image/jpeg #38 IMG_0043.JPG 279 KB image/jpeg #39 IMG_0044.JPG 331 KB image/jpeg #40 IMG_0045.JPG 318 KB image/jpeg #41 IMG_0046.JPG 346 KB image/jpeg #42 IMG_0047.JPG 299 KB image/jpeg #43 IMG_0048.JPG 248 KB image/jpeg #44 IMG_0049.JPG 229 KB image/jpeg #45 IMG_0050.JPG 226 KB image/jpeg #46 IMG_0051.JPG 293 KB image/jpeg #47 IMG_0052.JPG 334 KB image/jpeg #48 IMG_0053.JPG 335 KB image/jpeg #49 IMG_0054.JPG 332 KB image/jpeg #50 IMG_0055.JPG 325 KB image/jpeg #51 IMG_0056.JPG 425 KB image/jpeg #52 IMG_0057.JPG 322 KB image/jpeg #53 IMG_0058.JPG 309 KB image/jpeg #54 IMG_0059.JPG 314 KB image/jpeg #55 IMG_0060.JPG 344 KB image/jpeg #56 IMG_0061.JPG 265 KB image/jpeg #57 IMG_0062.JPG 266 KB image/jpeg #58 IMG_0063.JPG 262 KB image/jpeg #59 IMG_0064.JPG 263 KB image/jpeg #60 IMG_0067.JPG 367 KB image/jpeg #61 IMG_0068.JPG 480 KB image/jpeg #62 IMG_0069.JPG 312 KB image/jpeg #63 IMG_0070.JPG 364 KB image/jpeg #64 IMG_0071.JPG 420 KB image/jpeg #65 IMG_0072.JPG 325 KB image/jpeg ---------------------------------------------------------------------- Comment By: mjc (avtech) Date: 2009-07-08 08:39 Message: Could someone re-open this bug, please? It is not fixed. ---------------------------------------------------------------------- Comment By: mjc (avtech) Date: 2009-06-23 15:28 Message: I also have this problem on Fedora 11 with gphoto2-2.4.5-1.fc11.x86_64. Copying from http://bugzilla.gnome.org/show_bug.cgi?id=586743: I have two camera devices: One is a Fuji F200EXR that I plug into a USB port (usb:001,011). The other is a flash card from a Canon camera, which I plug into a USB card reader (usb:001,012). -- with Canon and Fuji devices attached, both listings show the Canon folders -- [root@xena ~]# gphoto2 -L --port usb:001,012 There is no file in folder '/'. There is no file in folder '/dcim'. There are 9 files in folder '/dcim/207canon'. #1 img_0746.jpg rd 2852 KB image/jpeg #2 img_0747.jpg rd 2850 KB image/jpeg #3 img_0748.jpg rd 3386 KB image/jpeg #4 img_0749.jpg rd 3038 KB image/jpeg #5 img_0750.jpg rd 2972 KB image/jpeg #6 img_0751.jpg rd 2816 KB image/jpeg #7 img_0752.jpg rd 2534 KB image/jpeg #8 img_0753.jpg rd 3428 KB image/jpeg #9 img_0754.jpg rd 2370 KB image/jpeg There is no file in folder '/dcim/canonmsc'. [root@xena ~]# gphoto2 -L --port usb:001,011 There is no file in folder '/'. There is no file in folder '/dcim'. There are 9 files in folder '/dcim/207canon'. #1 img_0746.jpg rd 2852 KB image/jpeg #2 img_0747.jpg rd 2850 KB image/jpeg #3 img_0748.jpg rd 3386 KB image/jpeg #4 img_0749.jpg rd 3038 KB image/jpeg #5 img_0750.jpg rd 2972 KB image/jpeg #6 img_0751.jpg rd 2816 KB image/jpeg #7 img_0752.jpg rd 2534 KB image/jpeg #8 img_0753.jpg rd 3428 KB image/jpeg #9 img_0754.jpg rd 2370 KB image/jpeg There is no file in folder '/dcim/canonmsc'. -- With Canon removed, the Fuji device is OK -- [root@xena ~]# gphoto2 -L --port usb:001,011 There is no file in folder '/'. There is no file in folder '/store_10000001'. There is no file in folder '/store_10000001/DCIM'. There are 2 files in folder '/store_10000001/DCIM/100_FUJI'. #1 DSCF0654.JPG rd 1493 KB 2816x2112 image/jpeg #2 DSCF0655.JPG rd 1479 KB 2816x2112 image/jpeg -- Additional weirdness: it doesn't really matter what I put as the port parameter -- [root@xena ~]# gphoto2 -L --port usb:999,999 There is no file in folder '/'. There is no file in folder '/store_10000001'. There is no file in folder '/store_10000001/DCIM'. There are 2 files in folder '/store_10000001/DCIM/100_FUJI'. #1 DSCF0654.JPG rd 1493 KB 2816x2112 image/jpeg #2 DSCF0655.JPG rd 1479 KB 2816x2112 image/jpeg ---------------------------------------------------------------------- Comment By: Marcus Meissner (marcusmeissner) Date: 2008-10-20 02:40 Message: in 2.4.3 only --port is now sufficient for specifying the correct camera in the cmdline tool. ---------------------------------------------------------------------- Comment By: Marcus Meissner (marcusmeissner) Date: 2008-03-01 16:30 Message: Logged In: YES user_id=48092 Originator: NO both --camera and --port need to be passed currently. should perhaps be fixed. :/ The API supports it, you get back a list from the autodetector and gphoto2 can do it (with both --camera and --port) ---------------------------------------------------------------------- Comment By: Hubert Figuiere (hfiguiere) Date: 2008-02-29 19:45 Message: Logged In: YES user_id=27487 Originator: NO gphoto2 --auto-detect is also useful But since the device number change each time the device is plugged in..... Also what if you pass the camera type in addition to the --port ? (just a hunch) ---------------------------------------------------------------------- Comment By: David Zeuthen (davidz25) Date: 2008-02-29 17:46 Message: Logged In: YES user_id=2023076 Originator: YES Btw I figure I should attach more detailed information about the devices. Such as vendor id and product id. Pasting from /proc/bus/usb/devices T: Bus=01 Lev=01 Prnt=01 Port=03 Cnt=01 Dev#= 38 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=0781 ProdID=7420 Rev= 7.20 S: Manufacturer=SanDisk S: Product=Sansa e250 S: SerialNumber=00000000-00000000-3432b4a4-d908de03-00000000 C:* #Ifs= 1 Cfg#=128 Atr=c0 MxPwr=500mA I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=81(I) Atr=03(Int.) MxPS= 512 Ivl=64ms T: Bus=01 Lev=01 Prnt=01 Port=04 Cnt=02 Dev#= 37 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 3 P: Vendor=05ac ProdID=1290 Rev= 0.01 S: Manufacturer=Apple Inc. S: Product=iPhone S: SerialNumber=cfaedf85ba4e6917fd85b1566dd1ae119e596bb0 C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=500mA I:* If#= 0 Alt= 0 #EPs= 3 Cls=06(still) Sub=01 Prot=01 Driver=usbfs E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=1250us E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=83(I) Atr=03(Int.) MxPS= 64 Ivl=64ms C: #Ifs= 3 Cfg#= 2 Atr=c0 MxPwr=500mA I: If#= 0 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00 Driver= I: If#= 1 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver= I: If#= 1 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver= E: Ad=81(I) Atr=01(Isoc) MxPS= 192 Ivl=1ms I: If#= 2 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver= E: Ad=83(I) Atr=03(Int.) MxPS= 64 Ivl=125us C: #Ifs= 2 Cfg#= 3 Atr=c0 MxPwr=500mA I: If#= 0 Alt= 0 #EPs= 3 Cls=06(still) Sub=01 Prot=01 Driver= E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=1250us E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=83(I) Atr=03(Int.) MxPS= 64 Ivl=64ms I: If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=fe Prot=02 Driver= E: Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms These are the two entries. Note that this is for a subsequent plugin than when I generated the bug report (so the usb:xxx,yyy addresses don't match). ---------------------------------------------------------------------- Comment By: David Zeuthen (davidz25) Date: 2008-02-29 16:58 Message: Logged In: YES user_id=2023076 Originator: YES This bug is also in SVN trunk. I just tested it. ---------------------------------------------------------------------- Comment By: David Zeuthen (davidz25) Date: 2008-02-29 16:55 Message: Logged In: YES user_id=2023076 Originator: YES I'm also seeing this with my gvfs gphoto2 backend. And if I have a mass storage card reader with an CF card from my Canon 5D mounted via a kernel driver, I've seen libgphoto2 show this via the disk: backend. This is a little unfortunate as the UI handles this just fine http://people.freedesktop.org/~david/gvfs-multiple-gphoto2-devices.png but the users will see the same files for all the devices. Anything I can do to help test / fix this? Thanks. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108874&aid=1904987&group_id=8874 |