Gentoo Archives: gentoo-user

From: Michael Sullivan <michael@××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] OT - Can't offload pictures from camera
Date: Mon, 23 Apr 2007 16:45:58
Message-Id: 1177346396.14038.14.camel@camille.espersunited.com
In Reply to: Re: [gentoo-user] OT - Can't offload pictures from camera by Joost Roeleveld
1 On Mon, 2007-04-23 at 15:50 +0100, Joost Roeleveld wrote:
2 > > I have a Kodak EasyShare CX7300. I have gphoto2-2.3.1 installed. I'm
3 > > currently running kernel 2.6.19-gentoo-r5 . In the past, I have used
4 > > the command "# gphoto2 -P [1]" to offload picture from this camera.
5 > > Until today, it has always worked. Today I tried to offload pictures
6 > > from the camera and I get this:
7 > >
8 > > camille ~ # gphoto2 -P [1]
9 > >
10 > > *** Error ***
11 > > An error occurred in the io-library ('Bad parameters'): Could not find
12 > > USB device (vendor 0x40a, product 0x578). Make sure this device is
13 > > connected to the computer.
14 > > *** Error (-2: 'Bad parameters') ***
15 > >
16 > > For debugging messages, please use the --debug option.
17 > > Debugging messages may help finding a solution to your problem.
18 > > If you intend to send any error or debug messages to the gphoto
19 > > developer mailing list <gphoto-devel@×××××××××××××××××.net>, please run
20 > > gphoto2 as follows:
21 > >
22 > > env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt -P "[1]"
23 > >
24 > > Please make sure there is sufficient quoting around the arguments.
25 > >
26 > > This seems to suggest that the camera is not properly connected to the
27 > > computer. Yet, dmesg says:
28 > >
29 > > usb 2-1: new full speed USB device using uhci_hcd and address 11
30 > > usb 2-1: configuration #1 chosen from 1 choice
31 > >
32 > > Is this something that I can fix myself, or should I report it as a bug?
33 >
34 > I have a similar camera as yourself and don't think I've had this problem
35 > before.
36 > Can you make sure that the camera is actually connected, and switched on
37 > (light is on) while running the "gphoto2 -P" command?
38 > I find that there is a limited amount of time available from turning on
39 > the camera to being able to download the pictures.
40 >
41 > Also, can you make sure that libgphoto2 is compiled with USB support:
42 > "gphoto2 -v"
43 >
44 > You should see something like:
45 > --
46 > # gphoto2 -v
47 > gphoto2 2.2.0
48 >
49 > Copyright (c) 2000-2004 Lutz Mueller and others
50 >
51 > gphoto2 comes with NO WARRANTY, to the extent permitted by law. You may
52 > redistribute copies of gphoto2 under the terms of the GNU General Public
53 > License. For more information about these matters, see the files named
54 > COPYING.
55 >
56 > This version of gphoto2 is using the following software versions and options:
57 > gphoto2 2.2.0 x86_64-pc-linux-gnu-gcc, popt, no exif,
58 > cdk, no aa, no jpeg, readline
59 > libgphoto2 2.2.1 x86_64-pc-linux-gnu-gcc, no EXIF, no
60 > /proc/meminfo
61 > libgphoto2_port 0.6.1 x86_64-pc-linux-gnu-gcc, USB, serial
62 > without locking
63 > --
64 >
65 > Your versions will likely be different but I would be able to test with a
66 > more recent version soon as I am planning on upgrading this machine.
67 >
68 > But the thing you want to make sure you have is the "USB" part.
69 >
70 > If none of this gives any indication, could you run the "gphoto2" command
71 > with dubbing, as suggested in the output:
72 > env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt -P "[1]"
73 > Or, if this doesn't work, with:
74 > env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt -P
75 >
76 > And let me know if there are any further error messages in the logfile.
77 >
78 > Kind regards,
79 >
80 > Joost Roeleveld
81 >
82
83 camille ~ # gphoto2 -v
84 gphoto2 2.3.1
85
86 Copyright (c) 2000-2006 Lutz Mueller and others
87
88 gphoto2 comes with NO WARRANTY, to the extent permitted by law. You may
89 redistribute copies of gphoto2 under the terms of the GNU General Public
90 License. For more information about these matters, see the files named
91 COPYING.
92
93 This version of gphoto2 is using the following software versions and
94 options:
95 gphoto2 2.3.1 i686-pc-linux-gnu-gcc, popt(m), exif,
96 cdk, no aa, no jpeg, readline
97 libgphoto2 2.3.1 i686-pc-linux-gnu-gcc, ltdl, EXIF
98 libgphoto2_port 0.7.1 i686-pc-linux-gnu-gcc, ltdl, USB, serial
99 without locking
100
101 When a run the gphoto2 command, the camera has been plugged into the
102 computer for at least ten seconds...
103
104 --
105 gentoo-user@g.o mailing list