Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jan 2010 09:16:51 +0100
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        Daichi GOTO <daichi@freebsd.org>
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
Message-ID:  <201001220916.51236.hselasky@c2i.net>
In-Reply-To: <4B59318B.1020906@freebsd.org>
References:  <201001101437.37269.hselasky@c2i.net> <4B59318B.1020906@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001220916.51236.hselasky>