Discussion:
Can't get photos from camera -
Bob Goodwin
2008-02-04 21:14:05 UTC
Permalink
gphoto2 is giving me the following error messages. I used it a few days
ago with a different camera and it worked without a hitch.

gphoto2 --auto-detect
Model
Port
----------------------------------------------------------
USB PTP Class Camera usb:
USB PTP Class Camera usb:005,008
[root at box6 ~]# gphoto2 --list-files


*** Error ***
PTP I/O error

*** Error ***
An error occurred in the io-library ('Unspecified error'): The
supplied vendor or product id (0x0,0x0) is not valid.
*** Error (-1: 'Unspecified error') ***

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 <gphoto-devel at lists.sourceforge.net>,
please run
gphoto2 as follows:

env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt
--list-files

Please make sure there is sufficient quoting around the arguments.




gphoto2 --get-all-files


*** Error ***
PTP I/O error

*** Error ***
An error occurred in the io-library ('Unspecified error'): Could
not query kernel driver of device.
*** Error (-1: 'Unspecified error') ***

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 <gphoto-devel at lists.sourceforge.net>,
please run
gphoto2 as follows:

env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt
--get-all-files

Please make sure there is sufficient quoting around the arguments.

Man gphoto2 is not much help or perhaps beyond my comprehension.

Any suggestions appreciated.

Bob Goodwin
Andras Simon
2008-02-04 21:49:07 UTC
Permalink
Post by Bob Goodwin
gphoto2 is giving me the following error messages. I used it a few days
ago with a different camera and it worked without a hitch.
gphoto2 --auto-detect
Model
Port
----------------------------------------------------------
USB PTP Class Camera usb:005,008
[root at box6 ~]# gphoto2 --list-files
*** Error ***
PTP I/O error
*** Error ***
An error occurred in the io-library ('Unspecified error'): The
supplied vendor or product id (0x0,0x0) is not valid.
*** Error (-1: 'Unspecified error') ***
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 <gphoto-devel at lists.sourceforge.net>,
please run
env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt
--list-files
Please make sure there is sufficient quoting around the arguments.
gphoto2 --get-all-files
*** Error ***
PTP I/O error
*** Error ***
An error occurred in the io-library ('Unspecified error'): Could
not query kernel driver of device.
*** Error (-1: 'Unspecified error') ***
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 <gphoto-devel at lists.sourceforge.net>,
please run
env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt
--get-all-files
Please make sure there is sufficient quoting around the arguments.
Man gphoto2 is not much help or perhaps beyond my comprehension.
Any suggestions appreciated.
I ran into the same problem a few days ago and got around it by
starting gphoto2 as root. I know it's only a temporary solution, but I
hope it works for you, too.

Andras
Amadeus W.M.
2008-02-05 03:42:43 UTC
Permalink
Post by Bob Goodwin
gphoto2 is giving me the following error messages. I used it a few
days ago with a different camera and it worked without a hitch.
gphoto2 --auto-detect
Model
Port
---------------------------------------------------------- USB
USB PTP Class Camera usb:005,008 [root at box6 ~]#
gphoto2 --list-files
*** Error ***
PTP I/O error
*** Error ***
An error occurred in the io-library ('Unspecified error'): The
supplied vendor or product id (0x0,0x0) is not valid. *** Error
(-1: 'Unspecified error') ***
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 <gphoto-devel at lists.sourceforge.net>,
please run
env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt
--list-files
Please make sure there is sufficient quoting around the arguments.
gphoto2 --get-all-files
*** Error ***
PTP I/O error
*** Error ***
Could not query kernel driver of device.
*** Error (-1: 'Unspecified error') ***
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 <gphoto-devel at lists.sourceforge.net>,
please run
env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt
--get-all-files
Please make sure there is sufficient quoting around the arguments.
Man gphoto2 is not much help or perhaps beyond my comprehension.
Any suggestions appreciated.
I ran into the same problem a few days ago and got around it by starting
gphoto2 as root. I know it's only a temporary solution, but I hope it
works for you, too.
Andras
I have the same problem. I found a fix that worked, then probably after
one of the updates or for whatever reason it didn't work anymore. Here's
the fix anyway:

You must have a file /etc/udev/rules.d/90-libgphoto2.rules

To create one, as root

cd /usr/lib/libgphoto2
./print-camera-list udev-rules version 0.98 mode 666 owner root group
users > /etc/udev/rules.d/90-libgphoto2.rules # one line.

This used to work. Now, however, it doesn't anymore. I guess a system can
use one of several methods for hot-plug devices, and the fix above is for
udev. If I run gthumb-import manually at the prompt, I get this error
message:

process 2809: arguments to dbus_message_new_method_call() were incorrect,
assertion "_dbus_check_is_valid_path (path)" failed in file dbus-
message.c line 1074.
This is normally a bug in some application using the D-Bus library.
D-Bus not built with -rdynamic so unable to print a backtrace


which I is about D-Bus, or maybe it's a problem with gthumb-import using
D-Bus. I don't pretend to understand how D-Bus works, and how it
interacts with udev, but perhaps the fix should be related to d-bus.
Maybe someone can shed some light here.
Bob Goodwin
2008-02-05 13:19:47 UTC
Permalink
Post by Amadeus W.M.
Post by Bob Goodwin
gphoto2 is giving me the following error messages. I used it a few
days ago with a different camera and it worked without a hitch.
gphoto2 --get-all-files
*** Error ***
PTP I/O error
*** Error ***
Could not query kernel driver of device.
*** Error (-1: 'Unspecified error') ***
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 <gphoto-devel at lists.sourceforge.net>,
please run
env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt
--get-all-files
Please make sure there is sufficient quoting around the arguments.
Man gphoto2 is not much help or perhaps beyond my comprehension.
Any suggestions appreciated.
I ran into the same problem a few days ago and got around it by starting
gphoto2 as root. I know it's only a temporary solution, but I hope it
works for you, too.
Andras
I have the same problem. I found a fix that worked, then probably after
one of the updates or for whatever reason it didn't work anymore. Here's
You must have a file /etc/udev/rules.d/90-libgphoto2.rules
To create one, as root
cd /usr/lib/libgphoto2
./print-camera-list udev-rules version 0.98 mode 666 owner root group
users > /etc/udev/rules.d/90-libgphoto2.rules # one line.
I did as you describe and it did create
/etc/udev/rules.d/90-libgphoto2.rules.

However I borrowed the camera from my grandson and don't have it to test
with now.

I was panicing because I wanted the photo of the VIN on a car I need to
register and ran out of time to do that yesterday. My daughter
extracted the files on her Mac this morning and I made the desired copies.

So it's a non-problem until the next time.

By the way I should have mentioned this computer runs F-7.

Thanks for the help.

Bob Goodwin
Post by Amadeus W.M.
This used to work. Now, however, it doesn't anymore. I guess a system can
use one of several methods for hot-plug devices, and the fix above is for
udev. If I run gthumb-import manually at the prompt, I get this error
process 2809: arguments to dbus_message_new_method_call() were incorrect,
assertion "_dbus_check_is_valid_path (path)" failed in file dbus-
message.c line 1074.
This is normally a bug in some application using the D-Bus library.
D-Bus not built with -rdynamic so unable to print a backtrace
which I is about D-Bus, or maybe it's a problem with gthumb-import using
D-Bus. I don't pretend to understand how D-Bus works, and how it
interacts with udev, but perhaps the fix should be related to d-bus.
Maybe someone can shed some light here.
Amadeus W.M.
2008-02-06 00:31:31 UTC
Permalink
Post by Bob Goodwin
Post by Amadeus W.M.
Post by Andras Simon
Post by Bob Goodwin
gphoto2 is giving me the following error messages. I used it a few
days ago with a different camera and it worked without a hitch.
gphoto2 --get-all-files
*** Error ***
PTP I/O error
*** Error ***
'Unspecified error') ***
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
<gphoto-devel at lists.sourceforge.net>, please run
env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt
--get-all-files
Please make sure there is sufficient quoting around the arguments.
Man gphoto2 is not much help or perhaps beyond my comprehension.
Any suggestions appreciated.
I ran into the same problem a few days ago and got around it by
starting gphoto2 as root. I know it's only a temporary solution, but I
hope it works for you, too.
Andras
I have the same problem. I found a fix that worked, then probably after
one of the updates or for whatever reason it didn't work anymore.
You must have a file /etc/udev/rules.d/90-libgphoto2.rules
To create one, as root
cd /usr/lib/libgphoto2
./print-camera-list udev-rules version 0.98 mode 666 owner root group
users > /etc/udev/rules.d/90-libgphoto2.rules # one line.
I did as you describe and it did create
/etc/udev/rules.d/90-libgphoto2.rules.
However I borrowed the camera from my grandson and don't have it to test
with now.
I was panicing because I wanted the photo of the VIN on a car I need to
register and ran out of time to do that yesterday. My daughter
extracted the files on her Mac this morning and I made the desired copies.
So it's a non-problem until the next time.
By the way I should have mentioned this computer runs F-7.
Thanks for the help.
Bob Goodwin
Post by Amadeus W.M.
This used to work. Now, however, it doesn't anymore. I guess a system
can use one of several methods for hot-plug devices, and the fix above
is for udev. If I run gthumb-import manually at the prompt, I get this
process 2809: arguments to dbus_message_new_method_call() were
incorrect, assertion "_dbus_check_is_valid_path (path)" failed in file
dbus- message.c line 1074.
This is normally a bug in some application using the D-Bus library.
D-Bus not built with -rdynamic so unable to print a backtrace
which I is about D-Bus, or maybe it's a problem with gthumb-import
using D-Bus. I don't pretend to understand how D-Bus works, and how it
interacts with udev, but perhaps the fix should be related to d-bus.
Maybe someone can shed some light here.
Strange. I don't remember having this issue in F7, but I may be wrong.
The only way for me to download the images from the camera is with a usb
card reader.
Bob Goodwin
2008-02-06 02:08:59 UTC
Permalink
Post by Amadeus W.M.
Strange. I don't remember having this issue in F7, but I may be wrong.
The only way for me to download the images from the camera is with a usb
card reader.
It occurred to me that last week when I got photos from my daughters
camera she gave me the memory card, reader, and cable. That worked
without difficulty.

Last time I used gphoto2 might have been FC-5, whatever, it worked
well then. I may not need it for another year.
Bob Goodwin
2008-02-06 02:08:59 UTC
Permalink
Post by Amadeus W.M.
Strange. I don't remember having this issue in F7, but I may be wrong.
The only way for me to download the images from the camera is with a usb
card reader.
It occurred to me that last week when I got photos from my daughters
camera she gave me the memory card, reader, and cable. That worked
without difficulty.

Last time I used gphoto2 might have been FC-5, whatever, it worked
well then. I may not need it for another year.

Amadeus W.M.
2008-02-06 00:31:31 UTC
Permalink
Post by Bob Goodwin
Post by Amadeus W.M.
Post by Andras Simon
Post by Bob Goodwin
gphoto2 is giving me the following error messages. I used it a few
days ago with a different camera and it worked without a hitch.
gphoto2 --get-all-files
*** Error ***
PTP I/O error
*** Error ***
'Unspecified error') ***
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
<gphoto-devel at lists.sourceforge.net>, please run
env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt
--get-all-files
Please make sure there is sufficient quoting around the arguments.
Man gphoto2 is not much help or perhaps beyond my comprehension.
Any suggestions appreciated.
I ran into the same problem a few days ago and got around it by
starting gphoto2 as root. I know it's only a temporary solution, but I
hope it works for you, too.
Andras
I have the same problem. I found a fix that worked, then probably after
one of the updates or for whatever reason it didn't work anymore.
You must have a file /etc/udev/rules.d/90-libgphoto2.rules
To create one, as root
cd /usr/lib/libgphoto2
./print-camera-list udev-rules version 0.98 mode 666 owner root group
users > /etc/udev/rules.d/90-libgphoto2.rules # one line.
I did as you describe and it did create
/etc/udev/rules.d/90-libgphoto2.rules.
However I borrowed the camera from my grandson and don't have it to test
with now.
I was panicing because I wanted the photo of the VIN on a car I need to
register and ran out of time to do that yesterday. My daughter
extracted the files on her Mac this morning and I made the desired copies.
So it's a non-problem until the next time.
By the way I should have mentioned this computer runs F-7.
Thanks for the help.
Bob Goodwin
Post by Amadeus W.M.
This used to work. Now, however, it doesn't anymore. I guess a system
can use one of several methods for hot-plug devices, and the fix above
is for udev. If I run gthumb-import manually at the prompt, I get this
process 2809: arguments to dbus_message_new_method_call() were
incorrect, assertion "_dbus_check_is_valid_path (path)" failed in file
dbus- message.c line 1074.
This is normally a bug in some application using the D-Bus library.
D-Bus not built with -rdynamic so unable to print a backtrace
which I is about D-Bus, or maybe it's a problem with gthumb-import
using D-Bus. I don't pretend to understand how D-Bus works, and how it
interacts with udev, but perhaps the fix should be related to d-bus.
Maybe someone can shed some light here.
Strange. I don't remember having this issue in F7, but I may be wrong.
The only way for me to download the images from the camera is with a usb
card reader.
Bob Goodwin
2008-02-05 13:19:47 UTC
Permalink
Post by Amadeus W.M.
Post by Bob Goodwin
gphoto2 is giving me the following error messages. I used it a few
days ago with a different camera and it worked without a hitch.
gphoto2 --get-all-files
*** Error ***
PTP I/O error
*** Error ***
Could not query kernel driver of device.
*** Error (-1: 'Unspecified error') ***
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 <gphoto-devel at lists.sourceforge.net>,
please run
env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt
--get-all-files
Please make sure there is sufficient quoting around the arguments.
Man gphoto2 is not much help or perhaps beyond my comprehension.
Any suggestions appreciated.
I ran into the same problem a few days ago and got around it by starting
gphoto2 as root. I know it's only a temporary solution, but I hope it
works for you, too.
Andras
I have the same problem. I found a fix that worked, then probably after
one of the updates or for whatever reason it didn't work anymore. Here's
You must have a file /etc/udev/rules.d/90-libgphoto2.rules
To create one, as root
cd /usr/lib/libgphoto2
./print-camera-list udev-rules version 0.98 mode 666 owner root group
users > /etc/udev/rules.d/90-libgphoto2.rules # one line.
I did as you describe and it did create
/etc/udev/rules.d/90-libgphoto2.rules.

However I borrowed the camera from my grandson and don't have it to test
with now.

I was panicing because I wanted the photo of the VIN on a car I need to
register and ran out of time to do that yesterday. My daughter
extracted the files on her Mac this morning and I made the desired copies.

So it's a non-problem until the next time.

By the way I should have mentioned this computer runs F-7.

Thanks for the help.

Bob Goodwin
Post by Amadeus W.M.
This used to work. Now, however, it doesn't anymore. I guess a system can
use one of several methods for hot-plug devices, and the fix above is for
udev. If I run gthumb-import manually at the prompt, I get this error
process 2809: arguments to dbus_message_new_method_call() were incorrect,
assertion "_dbus_check_is_valid_path (path)" failed in file dbus-
message.c line 1074.
This is normally a bug in some application using the D-Bus library.
D-Bus not built with -rdynamic so unable to print a backtrace
which I is about D-Bus, or maybe it's a problem with gthumb-import using
D-Bus. I don't pretend to understand how D-Bus works, and how it
interacts with udev, but perhaps the fix should be related to d-bus.
Maybe someone can shed some light here.
Amadeus W.M.
2008-02-05 03:42:43 UTC
Permalink
Post by Bob Goodwin
gphoto2 is giving me the following error messages. I used it a few
days ago with a different camera and it worked without a hitch.
gphoto2 --auto-detect
Model
Port
---------------------------------------------------------- USB
USB PTP Class Camera usb:005,008 [root at box6 ~]#
gphoto2 --list-files
*** Error ***
PTP I/O error
*** Error ***
An error occurred in the io-library ('Unspecified error'): The
supplied vendor or product id (0x0,0x0) is not valid. *** Error
(-1: 'Unspecified error') ***
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 <gphoto-devel at lists.sourceforge.net>,
please run
env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt
--list-files
Please make sure there is sufficient quoting around the arguments.
gphoto2 --get-all-files
*** Error ***
PTP I/O error
*** Error ***
Could not query kernel driver of device.
*** Error (-1: 'Unspecified error') ***
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 <gphoto-devel at lists.sourceforge.net>,
please run
env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt
--get-all-files
Please make sure there is sufficient quoting around the arguments.
Man gphoto2 is not much help or perhaps beyond my comprehension.
Any suggestions appreciated.
I ran into the same problem a few days ago and got around it by starting
gphoto2 as root. I know it's only a temporary solution, but I hope it
works for you, too.
Andras
I have the same problem. I found a fix that worked, then probably after
one of the updates or for whatever reason it didn't work anymore. Here's
the fix anyway:

You must have a file /etc/udev/rules.d/90-libgphoto2.rules

To create one, as root

cd /usr/lib/libgphoto2
./print-camera-list udev-rules version 0.98 mode 666 owner root group
users > /etc/udev/rules.d/90-libgphoto2.rules # one line.

This used to work. Now, however, it doesn't anymore. I guess a system can
use one of several methods for hot-plug devices, and the fix above is for
udev. If I run gthumb-import manually at the prompt, I get this error
message:

process 2809: arguments to dbus_message_new_method_call() were incorrect,
assertion "_dbus_check_is_valid_path (path)" failed in file dbus-
message.c line 1074.
This is normally a bug in some application using the D-Bus library.
D-Bus not built with -rdynamic so unable to print a backtrace


which I is about D-Bus, or maybe it's a problem with gthumb-import using
D-Bus. I don't pretend to understand how D-Bus works, and how it
interacts with udev, but perhaps the fix should be related to d-bus.
Maybe someone can shed some light here.
Bob Goodwin
2008-02-04 21:14:05 UTC
Permalink
gphoto2 is giving me the following error messages. I used it a few days
ago with a different camera and it worked without a hitch.

gphoto2 --auto-detect
Model
Port
----------------------------------------------------------
USB PTP Class Camera usb:
USB PTP Class Camera usb:005,008
[root at box6 ~]# gphoto2 --list-files


*** Error ***
PTP I/O error

*** Error ***
An error occurred in the io-library ('Unspecified error'): The
supplied vendor or product id (0x0,0x0) is not valid.
*** Error (-1: 'Unspecified error') ***

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 <gphoto-devel at lists.sourceforge.net>,
please run
gphoto2 as follows:

env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt
--list-files

Please make sure there is sufficient quoting around the arguments.




gphoto2 --get-all-files


*** Error ***
PTP I/O error

*** Error ***
An error occurred in the io-library ('Unspecified error'): Could
not query kernel driver of device.
*** Error (-1: 'Unspecified error') ***

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 <gphoto-devel at lists.sourceforge.net>,
please run
gphoto2 as follows:

env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt
--get-all-files

Please make sure there is sufficient quoting around the arguments.

Man gphoto2 is not much help or perhaps beyond my comprehension.

Any suggestions appreciated.

Bob Goodwin
Andras Simon
2008-02-04 21:49:07 UTC
Permalink
Post by Bob Goodwin
gphoto2 is giving me the following error messages. I used it a few days
ago with a different camera and it worked without a hitch.
gphoto2 --auto-detect
Model
Port
----------------------------------------------------------
USB PTP Class Camera usb:005,008
[root at box6 ~]# gphoto2 --list-files
*** Error ***
PTP I/O error
*** Error ***
An error occurred in the io-library ('Unspecified error'): The
supplied vendor or product id (0x0,0x0) is not valid.
*** Error (-1: 'Unspecified error') ***
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 <gphoto-devel at lists.sourceforge.net>,
please run
env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt
--list-files
Please make sure there is sufficient quoting around the arguments.
gphoto2 --get-all-files
*** Error ***
PTP I/O error
*** Error ***
An error occurred in the io-library ('Unspecified error'): Could
not query kernel driver of device.
*** Error (-1: 'Unspecified error') ***
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 <gphoto-devel at lists.sourceforge.net>,
please run
env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt
--get-all-files
Please make sure there is sufficient quoting around the arguments.
Man gphoto2 is not much help or perhaps beyond my comprehension.
Any suggestions appreciated.
I ran into the same problem a few days ago and got around it by
starting gphoto2 as root. I know it's only a temporary solution, but I
hope it works for you, too.

Andras
Loading...