Date: Sun, 28 Nov 2010 15:11:53 +0100 From: Roland Smith <rsmith@xs4all.nl> To: Bruce Cran <bruce@cran.org.uk> Cc: Bernt Hansson <bernt@bah.homeip.net>, Ryan Coleman <ryan.coleman@cwis.biz>, FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Digital camera (Canon) Message-ID: <20101128141153.GA49450@slackbox.erewhon.net> In-Reply-To: <20101128125141.1aaa84da@core.draftnet> References: <4CF1C9D2.3010207@bah.homeip.net> <94D1BC04-8CE6-4495-890D-863245EA5DA9@cwis.biz> <20101128125141.1aaa84da@core.draftnet>
next in thread | previous in thread | raw e-mail | index | archive | help
--7AUc2qLy4jB3hD7Z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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@cwis.biz> wrote: >=20 > > It's FAT32, so I'd try... > >=20 > > mount_msdosfs /dev/ugen2.2 >=20 > 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=3D10] 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=3D"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 --=20 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) --7AUc2qLy4jB3hD7Z Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkzyYykACgkQEnfvsMMhpyVlXwCdG+G2vAK+P8KxfeRjU9dosXKB Qc8AnibyY2I8DUUalnNuQ7YuHZc30Zgv =igcM -----END PGP SIGNATURE----- --7AUc2qLy4jB3hD7Z--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101128141153.GA49450>