From nobody Thu May 16 05:05:21 2024 X-Original-To: freebsd-stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Vfyhs5CY2z5KXKD for ; Thu, 16 May 2024 05:05:33 +0000 (UTC) (envelope-from oleg.nauman@gmail.com) Received: from mail-yw1-x1132.google.com (mail-yw1-x1132.google.com [IPv6:2607:f8b0:4864:20::1132]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Vfyhs2BLQz4rCx for ; Thu, 16 May 2024 05:05:33 +0000 (UTC) (envelope-from oleg.nauman@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-yw1-x1132.google.com with SMTP id 00721157ae682-61be4b98766so88024097b3.3 for ; Wed, 15 May 2024 22:05:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715835932; x=1716440732; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=ego/3II2MGggpQ94pxLJprq0Co1ENhXSqOeVdsC1bss=; b=IoHyHZrswRZzDi6d55kIcBpPvWO/kM7HaScArOkC+5LgHH6ftO7GcroXhh3Ukf0rTw a3RIXwMa62UVKauTcvOklIuMvJdqQQNmljVeVCWsCFbnnYf9hyvHNgyRxRxCCtsSJNUG 4WxnA4Pz3Ed6ENITVgQid6BeBThC+p66IsA5pYE0EAtHmvKgZm7itOcJR/Ft2uDFQ8Oc Hpke8CxCc6p14kjZCwWNFKUfg6KusvJ5d9cQUBXnJqCj0sQwK3YOMS8+qls7l/x0mkZK Xy+5AvWk/eIZyQLlxi8ehzxNSxjGxG6KshFrhUnB/mheZ2xbR++u7BUIHKWEkSAcCAzs lURQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715835932; x=1716440732; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ego/3II2MGggpQ94pxLJprq0Co1ENhXSqOeVdsC1bss=; b=gas2cVBsvJdHFsPaZy19vDVHtxveB2kDOW7lfvtPqZbIOTcvypIKjyWSF5+4nBV7Zm klbvI7y5kVc3ZE73wwG7n8iZ0OqEUB0VmtieZA9DcXEwSF1DS4EVjkmJe7HrKRbmoIxV bw9HywXI+ofa0pIwOJuUcWDRTckD65AZyQ+r7shnHQkD263k7PV1vm2nqIKHY7veb6S1 Mz8Wo6XdqPufj5VKFYQjaUOjHBuJgbtgQmehJeAcqYrGGdlRXby1+h2iiiJJEAPwD4iR 5tmMj4JVm0KbldAIlp6rq9lbqKTYtPlKxVRocHWxgcsnLq6u5vB8o1Ja0r/sf3Acw3FE 9iUw== X-Forwarded-Encrypted: i=1; AJvYcCUngFv1nF4pDUxNwxOQRaZB6D7rZyHp0vxvfcFDI55YsW266Ehv9y2ZyHcFxCuXnKixjETkIg7FCH/182XaNCDIPWeR0qiYFufdxA== X-Gm-Message-State: AOJu0YzvkC2HVTtJ4F4I2CLuZoNkzeQoGbp/3a2TvzXjA/nLA77h4+nz +51XbEyvnh4v0xLTK2BLf6urCkK4eFXZiIGtmYfwcB22cO1fwxlwP0TL6lXvAZKbjmc8fuBtJ4S q0tXfDbKrmBz9C8rvxl+lt3Bp/Uc= X-Google-Smtp-Source: AGHT+IGVzTklVBKLBL3h6MEaEo4/+LfssKTCOcZlVdwQuPJerl/CkiRxLxi9y1yJU5J5lEE8xMscAuU88idOvvmd4sM= X-Received: by 2002:a05:690c:6807:b0:61a:fc3b:fdd1 with SMTP id 00721157ae682-622aff93d20mr202502597b3.29.1715835932299; Wed, 15 May 2024 22:05:32 -0700 (PDT) List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-stable@freebsd.org Sender: owner-freebsd-stable@FreeBSD.org MIME-Version: 1.0 References: <0fcdcdb6-fce5-4769-8c98-a7fb2dd811b3@gmail.com> <94393d0e-5dfe-474c-84bc-78cf8c98e599@gmail.com> <80158888-b054-452c-9862-c603c689e505@gmail.com> In-Reply-To: From: Oleg Nauman Date: Thu, 16 May 2024 08:05:21 +0300 Message-ID: Subject: Re: git: 6437872c1d66 - main - New sysctl to disable NOMATCH until devmatch runs To: Warner Losh Cc: Steven Friedrich , FreeBSD-STABLE Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4Vfyhs2BLQz4rCx Hello, Autoload of ums.ko works again once I set hw.bus.devctl_nomatch_enabled=3D1 via loader.conf and reboot. I experienced the same issue with CURRENT amd64 338d53965d9f Thank you On Thu, May 16, 2024 at 6:15=E2=80=AFAM Warner Losh wrote: > > I don't know what I was thinking. You need to set hw.bus.devctl_nomatch_e= nabled=3D1 not =3D0 in your loader.conf > > Warner > > On Wed, May 15, 2024 at 4:24=E2=80=AFPM Steven Friedrich wrote: >> >> >> On 5/15/24 18:04, Warner Losh wrote: >> >> >> >> On Wed, May 15, 2024, 4:02=E2=80=AFPM Steven Friedrich wrote: >>> >>> >>> On 5/15/24 17:50, Warner Losh wrote: >>> > This is the second report of this. I think that uhub isn't reporting >>> > out like nomatch events creating a asymmetry. You can confirm this by >>> > setting the sysctl to 0. >>> > >>> > Warner >>> > >>> > On Wed, May 15, 2024, 2:16=E2=80=AFPM Steven Friedrich >>> > wrote: >>> > >>> > My mouse isn't detected, I believe due to this commit. >>> > >>> > The anomaly occurs on an HP Slimline and a Dell. >>> > >>> > The Dell gets these messages on the console: >>> > >>> > ugen0.5: at usbus0 >>> > (disconnected) >>> > ugen0.5: at usbus0 >>> > ugen0.5: at usbus0 >>> > (disconnected) >>> > ugen0.5: at usbus0 >>> > ugen0.5: at usbus0 >>> > (disconnected) >>> > ugen0.5: at usbus0 >>> > ugen0.5: at usbus0 >>> > (disconnected) >>> > ugen0.5: at usbus0 >>> > ugen0.5: at usbus0 >>> > (disconnected) >>> > ugen0.5: at usbus0 >>> > ugen0.5: at usbus0 >>> > (disconnected) >>> > ugen0.5: at usbus0 >>> > ugen0.5: at usbus0 >>> > (disconnected) >>> > ugen0.5: at usbus0 >>> > ugen0.5: at usbus0 >>> > (disconnected) >>> > ugen0.5: at usbus0 >>> > ugen0.5: at usbus0 >>> > (disconnected) >>> > ugen0.5: at usbus0 >>> > ugen0.5: at usbus0 >>> > (disconnected) >>> > ugen0.5: at usbus0 >>> > ugen0.5: at usbus0 >>> > (disconnected) >>> > ugen0.5: at usbus0 >>> > ugen0.5: at usbus0 >>> > (disconnected) >>> > ugen0.5: at usbus0 >>> > ugen0.5: at usbus0 >>> > (disconnected) >>> > ugen0.5: at usbus0 >>> > ugen0.5: at usbus0 >>> > (disconnected) >>> > ugen0.5: at usbus0 >>> > ugen0.5: at usbus0 >>> > (disconnected) >>> > ugen0.5: at usbus0 >>> > ugen0.5: at usbus0 >>> > (disconnected) >>> > ugen0.5: at usbus0 >>> > ugen0.5: at usbus0 >>> > (disconnected) >>> > ugen0.5: at usbus0 >>> > ugen0.5: at usbus0 >>> > (disconnected) >>> > ugen0.5: at usbus0 >>> > >>> > The HP has this on the console" >>> > >>> > hw.bus.devctl_nomatch_enabled: 0>1 (something like that) >>> > >>> > Both mice are usb. >>> > >>> I invoked sysctl hw.bus.devctl_nomatch_enabled=3D0 as root, but the >>> messages continued. >>> >>> So I put it in /etc/sysctl.conf and I'm rebooting... >> >> >> >> You need to put this into /boot/loader.conf or set it at the boot loader= prompt. >> >> Warner >> >> Sorry, sir. The issue persists. ums0 is not detected, no mouse on cons= ole or in kde.