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 >> _at__at_ -1,5 +1,5 _at__at_ >> 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_at_freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org" -- Daichi GOTO 81-42-316-7945 | daichi_at_ongs.co.jp | http://www.ongs.co.jp LinkedIn: http://linkedin.com/in/daichigotoReceived on Fri Jan 22 2010 - 08:21:23 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:00 UTC