From: SourceForge.net <no...@so...> - 2005-02-22 22:53:06
|
Bugs item #1121332, was opened at 2005-02-12 14:11 Message generated for change (Comment added) made by jeedo You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108874&aid=1121332&group_id=8874 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Ævar Arnfjörð Bjarmason (jeedo) Assigned to: Hans Ulrich Niedermann (hun) Summary: Failiure on Panasonic DMC-FZ20 Initial Comment: Excerpt from the error (full version attached): 0.376909 gphoto2-camera(2): Listing folders in '/'... 0.377730 gphoto2-camera(2): Initializing camera... 0.378411 gphoto2-port(0): Could not find USB device (vendor 0xfa8ddc8, product 0x200d032). Make sure this device is connected to the computer. 0.379069 context(0): An error occurred in the io-library ('Bad parameters'): Could not find USB device (vendor 0x4da, product 0x2374). Make sure this device is connected to the computer. *** Error *** An error occurred in the io-library ('Bad parameters'): Could not find USB device (vendor 0x4da, product 0x2374). Make sure this device is connected to the computer. *** Error (-2: 'Bad parameters') *** The camera is of course connected to the computer and reports "USB MODE" on its status screen. ---------------------------------------------------------------------- >Comment By: Ævar Arnfjörð Bjarmason (jeedo) Date: 2005-02-22 22:53 Message: Logged In: YES user_id=691531 I just presumed that you meant the libgphoto2/camlibs/ptp2/ directory, I got the 2.1.5 release and replaced everything in the ptp2 directory with the CVS version (versions below) but get the same error. $ for i in $(find -type f -maxdepth 1 -name "*.[ch]"); do cvs -Q status $i; done =================================================================== File: ptp.c Status: Up-to-date Working revision: 1.30 Repository revision: 1.30 /cvsroot/gphoto/libgphoto2/camlibs/ptp2/ptp.c,v =================================================================== File: ptp.h Status: Up-to-date Working revision: 1.25 Repository revision: 1.25 /cvsroot/gphoto/libgphoto2/camlibs/ptp2/ptp.h,v =================================================================== File: library.c Status: Up-to-date Working revision: 1.159 Repository revision: 1.159 /cvsroot/gphoto/libgphoto2/camlibs/ptp2/library.c,v =================================================================== File: ptp-bugs.h Status: Up-to-date Working revision: 1.1 Repository revision: 1.1 /cvsroot/gphoto/libgphoto2/camlibs/ptp2/ptp-bugs.h,v =================================================================== File: ptp-pack.c Status: Up-to-date Working revision: 1.12 Repository revision: 1.12 /cvsroot/gphoto/libgphoto2/camlibs/ptp2/ptp-pack.c,v ---------------------------------------------------------------------- Comment By: Ævar Arnfjörð Bjarmason (jeedo) Date: 2005-02-22 21:46 Message: Logged In: YES user_id=691531 Which patch specifically, it's a bit easier to apply a patch to the build process rather than build the whole thing from CVS:) ---------------------------------------------------------------------- Comment By: Marcus Meissner (marcusmeissner) Date: 2005-02-22 06:34 Message: Logged In: YES user_id=48092 the problem is that you cann restart va_list use like the code does: va_start (args, format); vsnprintf (port->pc->error, sizeof (port->pc->error), _(format), args); gp_logv (GP_LOG_ERROR, "gphoto2-port", format, args); va_end (args); on some platforms (like ppc), since the internal state of args is changed. I committed a patch to fix this. The last error (0x4da / 0x2374) has the correct ids in this case. Is this problem then still happening? gphoto2 --auto-detect ? ---------------------------------------------------------------------- Comment By: Ævar Arnfjörð Bjarmason (jeedo) Date: 2005-02-13 07:20 Message: Logged In: YES user_id=691531 iBook G4 1GHz.. $ cat /proc/cpuinfo processor : 0 cpu : 7447A, altivec supported clock : 1066MHz revision : 1.1 (pvr 8003 0101) bogomips : 1060.86 machine : PowerBook6,5 motherboard : PowerBook6,5 MacRISC3 Power Macintosh detected as : 287 (iBook G4) pmac flags : 0000000a L2 cache : 512K unified memory : 256MB pmac-generation : NewWorld ---------------------------------------------------------------------- Comment By: Hubert Figuiere (hfiguiere) Date: 2005-02-13 07:02 Message: Logged In: YES user_id=27487 What is that ? libgphoto2 runs fine on a PowerBook G3 :-) ---------------------------------------------------------------------- Comment By: Ævar Arnfjörð Bjarmason (jeedo) Date: 2005-02-13 06:46 Message: Logged In: YES user_id=691531 Thats probably due to the hardware I'm running it on # uname -srmpi Linux 2.6.9-rc2 ppc 7447A, altivec supported PowerBook6,5 ---------------------------------------------------------------------- Comment By: Hubert Figuiere (hfiguiere) Date: 2005-02-13 06:36 Message: Logged In: YES user_id=27487 This thing upsets me: 0.378411 gphoto2-port(0): Could not find USB device (vendor 0xfa8ddc8, product 0x200d032). Make sure this device is connected to the computer. The vendor and product if looks weird, and on 32bits instead of 16 ---------------------------------------------------------------------- Comment By: Ævar Arnfjörð Bjarmason (jeedo) Date: 2005-02-13 06:23 Message: Logged In: YES user_id=691531 I'm going to presume that you mean /proc/bus/usb/ and say yes. ---------------------------------------------------------------------- Comment By: Hubert Figuiere (hfiguiere) Date: 2005-02-13 02:22 Message: Logged In: YES user_id=27487 Is the usb proc filesystem mounted ? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108874&aid=1121332&group_id=8874 |