GPhoto2


Recommended Posts

Greetings.

I tried to upload an image by using the gphoto2 command line application as well as deleting all the files on the card, but I have a few problems. First, I'll describe the commands I used in order to reproduce what I am trying to do:

uploading -> gphoto2 --upload-file=(FILENAME)

formatting SD card -> gphoto2 --delete-all-files

The deleting of all files should have worked, but since I took a few extra pictures the day after, I noticed that the pictures weren't deleted, so I had to manually delete like 125 pictures, causing some considerable battery power to go down the drain. As for the uploading, I'm getting an error message like this:

root@sparrow:~/Photos et Graphiques/Photos Kodak/2003-12-27# gphoto2 --upload-file=000_0005.JPG

*** 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@lists.sourceforge.net>, please run

gphoto2 as follows:

    env LANG=C gphoto2 --debug --upload-file=000_0005.JPG

Please make sure there is sufficient quoting around the arguments.

root@sparrow:~/Photos et Graphiques/Photos Kodak/2003-12-27#

I am curious to find out how to fix this problem since there may be a few pictures here and there which I would like to transfer to the camera so I can plug the memory card into my photo printer, which is not connected to my computer. Also, it would be good to show the older pictures to some of the other friends. :)

Link to comment
Share on other sites

modprobe is a program that allows you to load kernel modules. modprobing a device will not give you anything because a device is not a kernel module. You need to modprobe the USB modules if they are not already loaded at boot, then retry the mount. How did you manually delete the pictures? Using the camera?

Link to comment
Share on other sites

Try running dmesg after a reboot and look for any USB modules. I can't recall the specific names off-hand, but there should be a usb-core, ohci, and/or ehci modules loaded. You may also have a USB Mass Storage module as well. If you don't see any of those, chances are USB support is not compiled into your kernel in which case you'd need to recompile the kernel to add that support.

Link to comment
Share on other sites

Blast it! Even with 9.1 installed, I still cannot get the camera mounted like a removable disk drive! Perhaps someone can tell me how to get these modules to work, please?

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.