MulletRobZ Posted February 17, 2004 Share Posted February 17, 2004 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 More sharing options...
markwolfe Veteran Posted February 18, 2004 Veteran Share Posted February 18, 2004 By any chance is your digital camera recognized as a serial hard drive (sda, sdb, or something)? Link to comment Share on other sites More sharing options...
MulletRobZ Posted February 18, 2004 Author Share Posted February 18, 2004 no. I tried to modprobe the /dev/sda1 (USB Mass Storage), but it failed. Link to comment Share on other sites More sharing options...
metal_dragen Veteran Posted February 18, 2004 Veteran Share Posted February 18, 2004 You wouldn't modprobe a device. You would need to mount it. Link to comment Share on other sites More sharing options...
MulletRobZ Posted February 18, 2004 Author Share Posted February 18, 2004 Yeah, that's what I meant. The mounting failed, but nothing appeared when I modprobed it, so there weren't any direct errors I could extract. Link to comment Share on other sites More sharing options...
metal_dragen Veteran Posted February 18, 2004 Veteran Share Posted February 18, 2004 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 More sharing options...
MulletRobZ Posted February 18, 2004 Author Share Posted February 18, 2004 Exactly. Link to comment Share on other sites More sharing options...
metal_dragen Veteran Posted February 19, 2004 Veteran Share Posted February 19, 2004 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 More sharing options...
aldo Posted February 19, 2004 Share Posted February 19, 2004 Which camera do you have? Also, does it mount ok on Windows/OSX (if you have access to either)? Link to comment Share on other sites More sharing options...
MulletRobZ Posted February 19, 2004 Author Share Posted February 19, 2004 I have a Kodax CX6330 and it will mount OK in Windows 2000, for sure. Besides, today, I'm going to wipe out my hard drives and put on XP and Slackware 9.1. Link to comment Share on other sites More sharing options...
MulletRobZ Posted February 20, 2004 Author Share Posted February 20, 2004 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 More sharing options...
Recommended Posts