From owner-freebsd-current@freebsd.org Mon Feb 22 00:28:02 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 26BC8541630 for ; Mon, 22 Feb 2021 00:28:02 +0000 (UTC) (envelope-from daniel@dstev.net) Received: from mail-40136.protonmail.ch (mail-40136.protonmail.ch [185.70.40.136]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "protonmail.com", Issuer "SwissSign Server Gold CA 2014 - G22" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DkNLn0x7rz3tHP; Mon, 22 Feb 2021 00:28:00 +0000 (UTC) (envelope-from daniel@dstev.net) Date: Mon, 22 Feb 2021 00:27:41 +0000 To: Steven Friedrich From: Daniel Stevenson Cc: freebsd-questions@freebsd.org, imp@freebsd.org, freebsd-current@freebsd.org Reply-To: Daniel Stevenson Subject: Re: Strange anomaly when Netgear A6100 - AC600 Dual Band WiFi USB Mini Adapter plugged in on boot Message-ID: In-Reply-To: <9068449.RH3biPoPvx@freebsd> References: <4833150.YNO7O01DYZ@freebsd> <4838382.YNO7O01DYZ@freebsd> <16988739.sFgvYJuXru@freebsd> <9068449.RH3biPoPvx@freebsd> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.0 required=10.0 tests=ALL_TRUSTED shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Rspamd-Queue-Id: 4DkNLn0x7rz3tHP X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=dstev.net; spf=pass (mx1.freebsd.org: domain of daniel@dstev.net designates 185.70.40.136 as permitted sender) smtp.mailfrom=daniel@dstev.net X-Spamd-Result: default: False [-3.50 / 15.00]; HAS_REPLYTO(0.00)[daniel@dstev.net]; RWL_MAILSPIKE_VERYGOOD(0.00)[185.70.40.136:from]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:185.70.40.0/24]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.60)[-0.605]; DMARC_POLICY_ALLOW(-0.50)[dstev.net,none]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FREEMAIL_TO(0.00)[twc.com]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:62371, ipnet:185.70.40.0/24, country:CH]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current]; RCVD_IN_DNSWL_LOW(-0.10)[185.70.40.136:from] X-Mailman-Approved-At: Mon, 22 Feb 2021 09:04:49 +0000 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: Mon, 22 Feb 2021 00:28:02 -0000 On Saturday, February 20th, 2021 at 04:38, Steven Friedrich wrote: > On Friday, 19 February 2021 06:41:49 EST Steven Friedrich wrote: > > > BTW, I included output from pciconf, but the device is USB. Sorry. > > > > I was confused because there's an unsupported wi-fi on the motherboard,= also > > > > from Realtek. > > > > mobo Realtek is 8821ce > > > > USB Realtek is 8811au > > > > On Thursday, 18 February 2021 21:37:34 EST Steven Friedrich wrote: > > > > > On Thursday, 18 February 2021 16:35:48 EST > > > > > > Daniel > > > > > > Stevenson wrote: > > > > > > > On Thursday, February 18th, 2021 at 04:40, Steven Friedrich > > > > > > FreeBSD@twc.com wrote: > > > > > > > > Starting devd. > > > > > > > > > > Cannot 'start' webcamd. Set webcamd_enable to YES in /etc/rc.conf= or > > > > > > > > > > use > > > > > > > > > > 'onestart' instead of 'start'. > > > > > > > > > > There's nothing in /etc/rc.conf to invoke webcam. Nothing in > > > > > > > > > > /etc/devd.conf > > > > > > > > > > (AFAIK). I haven't modified devd.conf > > > > > > > > > > If I unplug the adapter and reboot, no message about webcam appea= rs. > > > > > > > > > > Here's the device as reported by pciconf -lv > > > > > > > > > > none6@pci0:2:0:0: class=3D0x028000 card=3D0x831a103c chip=3D0xc82= 110ec > > > > > > > > > > rev=3D0x00 hdr=3D0x00 > > > > > > > > > > vendor =3D 'Realtek Semiconductor Co., Ltd.' > > > > > > > > > > device =3D 'RTL8821CE 802.11ac PCIe Wireless Network Adapter' > > > > > > > > > > class =3D network > > > > > > > > > > Here's the dmesg > > > > > > > > > > ugen0.2: at usbus0 > > > > > > > > > > rtwn0 on uhub0 > > > > > > > > > > rtwn0: <802.11ac WLAN Adapter > on usbus0 > > > > > > > > > > rtwn0: MAC/BB RTL8821AU, RF 6052 1T1R > > > > > > > > Whether or not you have a line in your /etc/rc.conf that says > > > > > > > > webcamd_enable=3D"NO", webcamd is disabled by default. You have to > > > > > > > > override this by setting webcamd_enable=3D"YES". > > > > > > You misinterpreted my post. > > > > > > I don't want webcam. > > > > > > I get this errant message because I have a USB network adapter plugge= d in > > > > > > on boot. > > > > > > I believe this is related to /usr/src/UPDATING entry 20180211: > > > > > > 20180211: > > > > > > devmatch functionality has been turned on in devd. It will > > > > > > automatically > > > > > > load drivers for unattached devices. This may cause unexpecte= d > > > > > > > > > drivers to > > > > > > be loaded. Please report any problems to current@ and > > > > > > > > > imp@freebsd.org. > > > > > > freebsd-questions@freebsd.org mailing list > > > > > > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > > > > To unsubscribe, send any mail to > > > > > > "freebsd-questions-unsubscribe@freebsd.org" > > Here is the what the original report SHOULD have been: > > This appears in dmesg if Netgear A6100 plugged in at boot > > Starting devd. > > Cannot 'start' webcamd. Set webcamd_enable to YES in /etc/rc.conf or use > > 'onestart' instead of 'start'. > > I don't HAVE or want a webcam. This is an anomaly > > Here's the device as reported by lsusb > > Bus /dev/usb Device /dev/ugen0.5: ID 0846:9052 NetGear, Inc. A6100 AC600 = DB > > Wireless Adapter [Realtek RTL8811AU] > > Here's the dmesg > > ugen0.2: at usbus0 > > rtwn0 on uhub0 > > rtwn0: <802.11ac WLAN Adapter > on usbus0 > > rtwn0: MAC/BB RTL8821AU, RF 6052 1T1R > > I hope I am getting better at reporting anomalies... 8o) Uninstalling webcamd would be a good place to start. It's not part of the base system; it must have been pulled in as a dependency somewhere along the line. -- Daniel Stevenson