From owner-freebsd-questions@FreeBSD.ORG Sun Nov 28 14:12:08 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67E99106566B for ; Sun, 28 Nov 2010 14:12:08 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr7.xs4all.nl (smtp-vbr7.xs4all.nl [194.109.24.27]) by mx1.freebsd.org (Postfix) with ESMTP id D4EBE8FC12 for ; Sun, 28 Nov 2010 14:12:07 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr7.xs4all.nl (8.13.8/8.13.8) with ESMTP id oASEBrt2000848; Sun, 28 Nov 2010 15:11:53 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id 32921B85D; Sun, 28 Nov 2010 15:11:53 +0100 (CET) Date: Sun, 28 Nov 2010 15:11:53 +0100 From: Roland Smith To: Bruce Cran Message-ID: <20101128141153.GA49450@slackbox.erewhon.net> References: <4CF1C9D2.3010207@bah.homeip.net> <94D1BC04-8CE6-4495-890D-863245EA5DA9@cwis.biz> <20101128125141.1aaa84da@core.draftnet> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7AUc2qLy4jB3hD7Z" Content-Disposition: inline In-Reply-To: <20101128125141.1aaa84da@core.draftnet> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: Bernt Hansson , Ryan Coleman , FreeBSD Questions Subject: Re: Digital camera (Canon) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Nov 2010 14:12:08 -0000 --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 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 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--