From owner-freebsd-multimedia@FreeBSD.ORG Sat Jan 21 17:06:50 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BAD4816A41F for ; Sat, 21 Jan 2006 17:06:50 +0000 (GMT) (envelope-from nb_root@videotron.ca) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6436B43D45 for ; Sat, 21 Jan 2006 17:06:50 +0000 (GMT) (envelope-from nb_root@videotron.ca) Received: from clk01a ([66.130.198.54]) by VL-MO-MR003.ip.videotron.ca (Sun Java System Messaging Server 6.2-2.05 (built Apr 28 2005)) with ESMTP id <0ITG008ICCVDANO9@VL-MO-MR003.ip.videotron.ca> for freebsd-multimedia@freebsd.org; Sat, 21 Jan 2006 12:06:49 -0500 (EST) Date: Sat, 21 Jan 2006 12:06:49 -0500 From: Nicolas Blais In-reply-to: <20060121180231.7c4cc7a7.torfinn.ingolfsen@broadpark.no> To: freebsd-multimedia@freebsd.org Message-id: <200601211206.49451.nb_root@videotron.ca> MIME-version: 1.0 Content-type: multipart/signed; boundary=nextPart1569196.kaT7eYjF8l; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-transfer-encoding: 7bit References: <20060121180231.7c4cc7a7.torfinn.ingolfsen@broadpark.no> User-Agent: KMail/1.9.1 Subject: Re: webcam and usb device permissions X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jan 2006 17:06:50 -0000 --nextPart1569196.kaT7eYjF8l Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Saturday 21 January 2006 12:02, Torfinn Ingolfsen wrote: > Hi, > > I just got a Creative Labs WebCam Live!. usbdevs -v reports this: > port 2 addr 3: full speed, power 160 mA, config 1, WebCam > Live!(0x4036), Creative Labs(0x041e), rev 1.00 > > and armed with that information, I quickly found out that the > spca5xx port (graphics/spcaview) supports the family that this camera > belongs to. Installed it, and it works. > > One question remains: the camera shows up as /dev/ugenX (ugen0 in my > case). How do I tell my machine that want a permission of 0664 on that > device when it shows up? > > I tried putting in 'perm ugen0 0664' in /etc/devfs.conf, but that > only applies on boot, I need something that applies whenever the camera > is connected. I seem to recall that this has been discussec before, but > I can't find it now (yes, bad short term memory, I know). > > I'm running FreeBSD 6.0-stable: > root@kg-quiet# uname -a > FreeBSD kg-quiet.kg4.no 6.0-STABLE FreeBSD 6.0-STABLE #3: Sun Jan 8 > 20:22:06 CET 2006 root@kg-quiet.kg4.no:/usr/obj/usr/src/sys/QUIET > amd64 See man devfs.rules. My devfs.rules looks like this (for my usb drives): [devfsrules_local=3D15] add path 'da*' mode 0777 and in my rc.conf I have the line : devfs_system_ruleset=3D"devfsrules_local" =2D-=20 =46reeBSD 7.0-CURRENT #10: Sat Jan 7 11:50:00 EST 2006 =20 root@clk01a:/usr/obj/usr/src/sys/CLK01A=20 PGP? (updated 16 Nov 05) : http://www.clkroot.net/security/nb_root.asc --nextPart1569196.kaT7eYjF8l Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBD0mop4wTBlvcsbJURAkbnAJ9kXcDSIFew00Q70kECDT2dFijQ0QCgoIBt 9dbrGvLA9rXvAFq4ffGnHrQ= =MXxA -----END PGP SIGNATURE----- --nextPart1569196.kaT7eYjF8l--