From owner-freebsd-multimedia@FreeBSD.ORG Sat Jan 21 17:02:34 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 EDE0E16A41F for ; Sat, 21 Jan 2006 17:02:34 +0000 (GMT) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 850CC43D66 for ; Sat, 21 Jan 2006 17:02:32 +0000 (GMT) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0ITG001UVCWZ1890@osl1smout1.broadpark.no> for freebsd-multimedia@freebsd.org; Sat, 21 Jan 2006 18:07:47 +0100 (CET) Received: from kg-work.kg4.no ([80.202.172.166]) by osl1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with SMTP id <0ITG00K4UCSEQYC0@osl1sminn1.broadpark.no> for freebsd-multimedia@freebsd.org; Sat, 21 Jan 2006 18:05:03 +0100 (CET) Date: Sat, 21 Jan 2006 18:02:31 +0100 From: Torfinn Ingolfsen X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH To: freebsd-multimedia@freebsd.org Message-id: <20060121180231.7c4cc7a7.torfinn.ingolfsen@broadpark.no> MIME-version: 1.0 X-Mailer: Sylpheed version 1.0.6 (GTK+ 1.2.10; i386-portbld-freebsd5.4) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: 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:02:35 -0000 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 -- Regards, Torfinn Ingolfsen, Norway