From owner-freebsd-multimedia@FreeBSD.ORG Fri Jan 22 09:21:23 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 11A52106566C; Fri, 22 Jan 2010 09:21:23 +0000 (UTC) (envelope-from daichi@freebsd.org) Received: from natial.ongs.co.jp (natial.ongs.co.jp [202.216.246.90]) by mx1.freebsd.org (Postfix) with ESMTP id CD4088FC0A; Fri, 22 Jan 2010 09:21:22 +0000 (UTC) Received: from parancell.ongs.co.jp (dullmdaler.ongs.co.jp [202.216.246.94]) by natial.ongs.co.jp (Postfix) with ESMTPSA id AF1A312543B; Fri, 22 Jan 2010 18:21:21 +0900 (JST) Message-ID: <4B596E11.1010601@freebsd.org> Date: Fri, 22 Jan 2010 18:21:21 +0900 From: Daichi GOTO Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.7) Gecko/20100122 Thunderbird/3.0.1 MIME-Version: 1.0 To: Hans Petter Selasky References: <201001101437.37269.hselasky@c2i.net> <4B59318B.1020906@freebsd.org> <201001220916.51236.hselasky@c2i.net> In-Reply-To: <201001220916.51236.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 09:21:23 -0000 On 2010/01/22 17:16, Hans Petter Selasky wrote: > 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, Thank you quick response :) > See: > > usbconfig -u 7 -a 2 dump_curr_config_desc | grep -i class # usbconfig -u 7 -a 2 dump_curr_config_desc | grep -i class bInterfaceClass = 0x000e bInterfaceSubClass = 0x0001 bInterfaceClass = 0x000e bInterfaceSubClass = 0x0002 bInterfaceClass = 0x000e bInterfaceSubClass = 0x0002 bInterfaceClass = 0x000e bInterfaceSubClass = 0x0002 bInterfaceClass = 0x000e bInterfaceSubClass = 0x0002 bInterfaceClass = 0x000e bInterfaceSubClass = 0x0002 bInterfaceClass = 0x000e bInterfaceSubClass = 0x0002 bInterfaceClass = 0x000e bInterfaceSubClass = 0x0002 bInterfaceClass = 0x000e bInterfaceSubClass = 0x0002 bInterfaceClass = 0x000e bInterfaceSubClass = 0x0002 bInterfaceClass = 0x000e bInterfaceSubClass = 0x0002 bInterfaceClass = 0x000e bInterfaceSubClass = 0x0002 bInterfaceClass = 0x000e bInterfaceSubClass = 0x0002 bInterfaceClass = 0x0001 bInterfaceSubClass = 0x0001 bInterfaceClass = 0x0001 bInterfaceSubClass = 0x0002 bInterfaceClass = 0x0001 bInterfaceSubClass = 0x0002 # > To figure out what interface class your USB device is using. > > --HPS > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" -- Daichi GOTO 81-42-316-7945 | daichi@ongs.co.jp | http://www.ongs.co.jp LinkedIn: http://linkedin.com/in/daichigoto