Digital camera (Canon)

Roland Smith rsmith at xs4all.nl
Sun Nov 28 14:12:08 UTC 2010


On Sun, Nov 28, 2010 at 12:51:41PM +0000, Bruce Cran wrote:
> On Sat, 27 Nov 2010 22:03:02 -0600
> Ryan Coleman <ryan.coleman at cwis.biz> wrote:
> 
> > It's FAT32, so I'd try...
> > 
> > mount_msdosfs /dev/ugen2.2
> 
> You can't mount ugen devices! It seems umass hasn't attached so I guess
> the camera might use the Picture Transfer Protocol instead - see
> http://en.wikipedia.org/wiki/Picture_Transfer_Protocol .

Use the graphics/gphoto2 port. You'll need read/write access to the USB
devices. Create a group called 'usb', and add your user-id to it using
pw(8);

    pw groupadd usb -m <your username>

Edit devfs.rules(5) to give the usb group write access to the usb and
ugen devices:

    # excerpt from /etc/devfs.rules
    [myrules=10]
    add path 'usb/*' mode 0660 group usb
    add path 'ugen*' mode 0660 group usb

Do not forget to activate the ruleset in /etc/rc.conf;

    # excerpt from /etc/rc.conf
    devfs_system_ruleset="myrules"

After a reboot, the permissions are fixed. You can of course also use chown(8)
and chmod(1) to fix the permissions without rebooting.

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20101128/b7a03184/attachment.pgp


More information about the freebsd-questions mailing list