From: Abigail Date: 10:57 on 26 Feb 2008 Subject: gphoto2 --qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline A few days ago, I bought a new digital camera, a Canon. (Don't have it long enought to hate it). You can't simply mount its storage as a (usb) disc, but luckely, gphoto2 can connect to the camera and extract the images. So far, so good. But gphoto2 is chatty. Annoyingly chatty. It'll report what image it's going to download, displays a progress while downloading the image, then a message which file it saved it to. Reading the manual page reveals the '--quiet' option. So, if you're naief, you'd expect gphoto2 to shut up; at most making a sound if something goes wrong. Not so. Sure, with --quiet, it won't tell you what image it's going to download, but it still tells you the file it downloaded it too, and it will also display the progress bar. To shut it up, you need to do something like: gphoto2 --quiet 2> /dev/null | cat No progress bar when it's writing to a pipe, and it uses STDERR to inform you which file it has written to; --quiet only silences STDOUT. Of course, if something does go wrong, you won't see it, as all errors go to /dev/null. Abigail --qMm9M+Fa2AknHoGS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFHw/CXBOh7Ggo6rasRAgO7AJ9SQxMSISy0epwpJAzM/+sXumUlbACfeBes Iqkxm+GZ8URF8YdWZLL54VQ= =dLvu -----END PGP SIGNATURE----- --qMm9M+Fa2AknHoGS--
From: Gerry Lawrence Date: 14:47 on 26 Feb 2008 Subject: Re: gphoto2 Abigail wrote: > A few days ago, I bought a new digital camera, a Canon. (Don't have > it long enought to hate it). > > You can't simply mount its storage as a (usb) disc, but luckely, gphoto2 > can connect to the camera and extract the images. Whoa! Are you sure? All cannon's for the past decade or so can mount as a USB disk. Reading this I'm gussing yer using linux (as I do). It might be necessary to turn off whatever its automatically launching to "handle" the cammera? - and let the OS mount the USB disk on it. It should /not/ be necessary to tweak udev. Anyway, watch dmesg for d'messages and you should see the device when you plug it in. Mounting it should be easy.
From: Denny Date: 15:39 on 26 Feb 2008 Subject: Re: gphoto2 On Tue, 26 Feb 2008, Gerry Lawrence wrote: > Abigail wrote: > > A few days ago, I bought a new digital camera, a Canon. [...] > > > > You can't simply mount its storage as a (usb) disc > > Whoa! Are you sure? All cannon's for the past decade or so > can mount as a USB disk. My Canon video camera won't mount either the MiniDV tape or the SD card as a USB device under Linux - the only way to access it via USB is using the supplied Windows software. Personally I remove the SD card and put it into a USB card reader, which works just fine under Linux.
From: Aristotle Pagaltzis Date: 17:53 on 26 Feb 2008 Subject: Re: gphoto2 * Gerry Lawrence <gwlperl@xxxxx.xxx> [2008-02-26 16:00]: > Abigail wrote: >> You can't simply mount its storage as a (usb) disc, but >> luckely, gphoto2 can connect to the camera and extract the >> images. > > Whoa! Are you sure? All cannon's for the past decade or so > can mount as a USB disk. The Sony DSC-W55 I just got goes into "auto" mode when you hook it up to USB, and then usb-storage does not see it nor can gphoto talk to it. But that's the factory setting; I can manually select "Mass Storage" or "PTP" from a menu on the cam, and then it will go into that respective mode. Now, when the camera is connected to a USB bus, it shows a blank screen except for prominently showing me which mode it's in and hinting that there is a menu you can bring up. Since I didnât expect to have to choose USB protocol at all, it took me a while to realise that this hint was actually prompting me to look. But only after I wasted a freaking hour googling about any possible Linux compatibility issues. Why the hell do I have to bring up the menu with a button when the camera does not offer any other function? Totally pointless! Just show the menu right away for crying out loud. (I have to say though, that was just a one-shot hate and so far I donât hate anything else about it. All in all it Just Worked, and once I figured out the USB protocol setting menu, it mounted as a storage device without any further ado. I threw gphoto away again. Less software == less hate.) Regards,
From: Peter da Silva Date: 14:49 on 26 Feb 2008 Subject: Re: gphoto2 On 2008-02-26, at 04:57, Abigail wrote: > No progress bar when it's writing to a pipe, and it uses STDERR to > inform > you which file it has written to; --quiet only silences STDOUT. Sounds like you oughta send 'em a patch to fix that. Only errors should go to stderr.
Generated at 10:27 on 16 Apr 2008 by mariachi