From owner-freebsd-multimedia@FreeBSD.ORG Fri Jan 22 08:18:20 2010 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1FFF1065692; Fri, 22 Jan 2010 08:18:20 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe11.tele2.se [212.247.155.65]) by mx1.freebsd.org (Postfix) with ESMTP id 22CDA8FC1D; Fri, 22 Jan 2010 08:18:19 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=RYQgPGQ7BbsA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=Dyl4VEldmJR9PoooqasA:9 a=LCxFG0357GHgqYZ0tgudE_1yVjgA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe11.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1197443918; Fri, 22 Jan 2010 09:18:17 +0100 From: Hans Petter Selasky To: Daichi GOTO Date: Fri, 22 Jan 2010 09:16:51 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <201001101437.37269.hselasky@c2i.net> <4B59318B.1020906@freebsd.org> In-Reply-To: <4B59318B.1020906@freebsd.org> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201001220916.51236.hselasky@c2i.net> Cc: freebsd-multimedia@freebsd.org, freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing 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: Fri, 22 Jan 2010 08:18:21 -0000 On Friday 22 January 2010 06:03:07 Daichi GOTO wrote: > Hi Hans, I have checked your work, and it works well, great :) > > This is a little tweak, > > --- /usr/local/etc/devd/webcamd.conf.orig 2010-01-22 13:19:20.371987293 > +0900 > +++ /usr/local/etc/devd/webcamd.conf 2010-01-22 13:52:00.286912793 +0900 > @@ -1,5 +1,5 @@ > attach 100 { > - device-name "ugen[0-9]+"; > + device-name "ugen[0-9.]+"; > match "intclass" "(0x0e|0xff)"; > action "/usr/local/etc/rc.d/webcamd start $device-name"; > }; > > > I want to know what does "intclass" mean. The webcamd(8) cannot > been engaged automatically by devd(8), because of not match of > "intclass". Hi, See: usbconfig -u 7 -a 2 dump_curr_config_desc | grep -i class To figure out what interface class your USB device is using. --HPS