Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Feb 2021 17:43:26 +0100
From:      Hans Petter Selasky <hps@selasky.org>
To:        Jakob Alvermark <jakob@alvermark.net>, Steve Wills <steve@mouf.net>, freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: webcamd not started automatically
Message-ID:  <cc49c0b0-6247-0d8b-1b16-2a770abbc7b5@selasky.org>
In-Reply-To: <3f349e76-6b86-1a62-8c94-3ccecd88c736@selasky.org>
References:  <69de9fde-4c3f-f909-359c-0156767b121c@alvermark.net> <8709cf86-0439-e3c8-a416-6c68c577939d@selasky.org> <2577c0ad-00aa-5da8-ab7f-98672c598674@alvermark.net> <037d398c-e6d0-f805-b5da-9c6a7ab6e097@mouf.net> <cc93dd95-0d9c-0f51-f1fc-e6f7fc0cc588@alvermark.net> <e74e6eb0-23f1-e68a-00df-a03557418645@selasky.org> <31d7c2f5-6d20-743e-f7d1-e735234f938f@alvermark.net> <27537651-0715-fe00-d583-4077735e694f@selasky.org> <7735a26c-198f-d2b3-3698-2d8274d179d6@alvermark.net> <3f349e76-6b86-1a62-8c94-3ccecd88c736@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

Basically devd is responsible for attaching webcamd automagically.

Default rule is to look for .bInterfaceClass = 0x0e :

cat /usr/local/etc/devd/webcamd.conf

# Generic USB video devices.
notify 100 {
         match "system"          "USB";
         match "subsystem"       "INTERFACE";
         match "type"            "ATTACH";
         match "intclass"        "0x0e";
         action "/usr/local/etc/rc.d/webcamd start $cdev";
};


Maybe your webcam needs a specific rule to attach automagically.

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cc49c0b0-6247-0d8b-1b16-2a770abbc7b5>