From owner-freebsd-current@freebsd.org Sat Feb 20 16:43:43 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BDBF054DF3C for ; Sat, 20 Feb 2021 16:43:43 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DjZ5W1yD0z3vcS for ; Sat, 20 Feb 2021 16:43:43 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2020.home.selasky.org (unknown [178.17.145.105]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 05E272600D6; Sat, 20 Feb 2021 17:43:41 +0100 (CET) Subject: Re: webcamd not started automatically From: Hans Petter Selasky To: Jakob Alvermark , Steve Wills , freebsd-current 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> <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> Message-ID: Date: Sat, 20 Feb 2021 17:43:26 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: <3f349e76-6b86-1a62-8c94-3ccecd88c736@selasky.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4DjZ5W1yD0z3vcS X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 88.99.82.50 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-3.30 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net:c]; MID_RHS_MATCH_FROM(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; RBL_DBL_DONT_QUERY_IPS(0.00)[88.99.82.50:from]; SPAMHAUS_ZRD(0.00)[88.99.82.50:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:88.99.0.0/16, country:DE]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Feb 2021 16:43:43 -0000 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