From: Sven =?UTF-8?B?R8O2dHRuZXI=?= on

Dear maintainer of gtkam,

just tried out gktam on FBSD 7.1-RELEASE-p8 and was closed to giving
up, since my camera (Panasonic DMC-FZ50) was listed on gphoto.com as
supported device and gtkam recognized it (almost correctly as FZ20 -
but OK...) - but connection via PTP just resulted in an "PTP I/O-Error".
Debugging with --debug and --debug-logfile also just listed an "unknown
error". I could not connect to the camera or even view/download files.

Finally I installed gphoto2 from the ports, since I hoped to get more
help or information from a command line tool (proved to be a good
strategy while trying to get my handheld to work under FBSD) and
then (accidently) started gphoto2 as root - and it flawlessly connected
to the camera and downloaded the pictures.

Since mounting the camera as da* device (usb mass storage) worked
perfectly (which would have been my fallback solution, anyway), I could
not explain this behaviour to me.

It took me quite a while to guess that obviously when connecting via
PTP, an ugen* device is used and not the usual da* device for USB
connections.

Adding

add path 'ugen*' 0660 group operator

to /etc/devfs.rules (as done before for USB sticks) and restarting
devfs and devd via the /etc/rc.d/dev* scripts finally solved the
problem and now also non-root users are able to connect to the camera
via PTP.

So I suggest adding a post-install notice in the install routine for
FBSD that makes the user aware of this step. I have not found this
requirement documented elsewhere...


Greetz and thanks for maintaining gtkam,


Sven.


_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Pav Lucistnik on
Sven Göttner pí¹e v po 16. 11. 2009 v 21:26 +0100:

> Adding
>
> add path 'ugen*' 0660 group operator
>
> to /etc/devfs.rules (as done before for USB sticks) and restarting
> devfs and devd via the /etc/rc.d/dev* scripts finally solved the
> problem and now also non-root users are able to connect to the camera
> via PTP.

Yes, this is even included in the gphoto online docu at
http://gphoto.sourceforge.net/doc/manual/permissions-usb.html#usb-on-FreeBSD

But I just keep running sudo gphoto2, simpler for me :)

--
Pav Lucistnik <pav(a)oook.cz>
<pav(a)FreeBSD.org>
Any Palm app requiring an 90+ page manual has lost its vision. -- words
about DateBk4 on Action Names list