Comment 6 for bug 22978

Revision history for this message
Ɓukasz Halman (lukasz-halman) wrote :

(In reply to comment #5)
> (In reply to comment #4)
> > Gphoto --auto-detect shows only 'normal mode'. However I can force 'ptp mode'
> > and download pictures from camera. There's a bug in gphoto bugzilla about it:
> >
> >
https://sourceforge.net/tracker/?group_id=8874&atid=108874&func=detail&aid=1224783
>
> Thanks for looking for the upstream bug.
>
> > Perhaps there's a way to force hal/gphoto to use 'ptp mode' by default? Just how
> > it did in previous versions?
>
> hal already shows a PTP node for the camera, and since hal does not actually
> "do" anything, it can't be forced to anything. However, I can't find a gthumb
> command line option for forcing PTP mode, how did you do that? If there was a
> switch, I could modify gnome-volume-manager-gthumb to use it if a PTP node is
> present.

However hal in some way cooperates with gphoto2 database of cameras as far as I
understand. Right now gphoto2 advertises S1 in both normal and ptp mode. The
first one is automatically chosen. Maybe if it was somehow deleted from the list
of supported cameras it will initialize camera in ptp mode?

I can force ptp in two ways:

1. using gphoto with following command:
gphoto2 --camera "Canon Powershot S1 IS (PTP mode)" --port usb: --additional-options

2. I launch gthumb _before_ camera is connected and I click on "Import Photos".
The camera abviously cannot be found and gthumb allows user to choose camera
manually. I chose S1 in ptp mode and connect camera.

L.