From nobody Thu May 16 03:15:32 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 4VfwGF0r7sz5KPKg for ; Thu, 16 May 2024 03:15:49 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) (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 4VfwGD65z3z4jN0 for ; Thu, 16 May 2024 03:15:48 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-51fdc9af005so414291e87.3 for ; Wed, 15 May 2024 20:15:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1715829345; x=1716434145; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=t/opAwDZx8tbV5DmojhG7LObxgVhrOTNpsLJbnfbaaM=; b=oNmEBl3sGHLruw4gOcEsmQoKMmZqXwIN4y6SaLvQgWhmuiU/H9SpET7z0AlVcPJHZY Wf8rSdP1iC1x8yQuY4we/GnkC/HIRHDI3OfYcx3Ok+EuCLAbHLzCHo4L54LZRij2rnZ4 KsL2/C3ZSxxUwNLmlyLO72eKeBP8ia/3lYsjV+o8fHFhDARonC2I1u1u+ykNgm0Go6z1 dznQ4YCC8IG6sUoimTs5zcGkx+ogv9IgMATDjJDOC/HHuCxi0MinOgys3suphJdlAlPq yUHwlw7ns5qaLaiPljdZ3aCpJL1ynx/DqeUELpwwBMDBFiRsm2xqo7yNOjpIoQOk1dE0 vFsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715829345; x=1716434145; h=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=t/opAwDZx8tbV5DmojhG7LObxgVhrOTNpsLJbnfbaaM=; b=nLqF/Ht3wQnvMNmNJONRt89dQebX94C5wAQ3Ut/PwV38oXaGDif8B2tkxYVakGNWUt ei/NvePTYLcZRq9k1wn6zSasYDBVhDvFmzGDv0Vut02ZozOHooLD7T6tKu+S+re9cdmB MNPrJQPsCYLFPLKwOKef/PMsvrIswniotDUipT1CIio6i9cj2/bHXbdtE8VuWxf7sf/7 rUQGZCxcLfMAfG8JbqAuQY2510Gg1QrP3sf5vaU6q47S23LYh5FmfZOGLza26+pjGsjZ eoRGNVDOrPW3jhtzpRZgHu+sCMb2jcQZQjxiLXGQLCC8pv7WI1eZD6OT1DfPMMCNw3h7 7GbA== X-Gm-Message-State: AOJu0YwHebpwv+HhzkBUQWzI+uFs6uh6vaUBumyFCnTdFuNvSI1xhbdY l4XNMQG7goNNVFyKJSAT5X68zLHpCB1NOP+xIUuzjpQdMf2jX7BpDLDu1Mh9WKtEkBDKW78dyiX JfzpEBUn/jvODgKlyN7800l2uQwQIvAhCYII69Ovopa25NYbBD5I= X-Google-Smtp-Source: AGHT+IF4RmJdL/KrbUjtGTxst/U75I8jXpcVG5USgtZe65vWtZEqRANHoIStYQWJ0TYG3GNJ0jY58b6GsWtnoknmW6I= X-Received: by 2002:a19:3815:0:b0:51f:c8f:e356 with SMTP id 2adb3069b0e04-52210473fc4mr13179333e87.62.1715829345167; Wed, 15 May 2024 20:15:45 -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: <80158888-b054-452c-9862-c603c689e505@gmail.com> From: Warner Losh Date: Wed, 15 May 2024 21:15:32 -0600 Message-ID: Subject: Re: git: 6437872c1d66 - main - New sysctl to disable NOMATCH until devmatch runs To: Steven Friedrich Cc: FreeBSD-STABLE Mailing List Content-Type: multipart/alternative; boundary="0000000000009d46b0061889a6cf" 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)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Queue-Id: 4VfwGD65z3z4jN0 --0000000000009d46b0061889a6cf Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I don't know what I was thinking. You need to set hw.bus.devctl_nomatch_enabled=3D1 not =3D0 in your loader.conf Warner On Wed, May 15, 2024 at 4:24=E2=80=AFPM Steven Friedrich < freebsdlouisville@gmail.com> wrote: > > On 5/15/24 18:04, Warner Losh wrote: > > > > On Wed, May 15, 2024, 4:02=E2=80=AFPM Steven Friedrich < > freebsdlouisville@gmail.com> 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 > console or in kde. > --0000000000009d46b0061889a6cf Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I don't know what I was thinking. You need to set hw.b= us.devctl_nomatch_enabled=3D1 not =3D0 in your loader.conf

Warner

On Wed, May 15, 2024 at 4:24=E2=80=AFPM Steven Friedrich &l= t;freebsdlouisville@gmail.co= m> wrote:
=20 =20 =20


On 5/15/24 18:04, Warner Losh wrote:
=20


On Wed, May 15, 2024, 4:02=E2=80=AFPM Steven Friedrich <freebsdlouisville@gmail.com>= ; 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 <= br> > <freebsdlouisville@gmail.com> wrote:
>
>=C2=A0 =C2=A0 =C2=A0My mouse isn't detected, I believ= e due to this commit.
>
>=C2=A0 =C2=A0 =C2=A0The anomaly occurs on an HP Slimline = and a Dell.
>
>=C2=A0 =C2=A0 =C2=A0The Dell gets these messages on the c= onsole:
>
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0
>=C2=A0 =C2=A0 =C2=A0(disconnected)
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0
>=C2=A0 =C2=A0 =C2=A0(disconnected)
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0
>=C2=A0 =C2=A0 =C2=A0(disconnected)
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0
>=C2=A0 =C2=A0 =C2=A0(disconnected)
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0
>=C2=A0 =C2=A0 =C2=A0(disconnected)
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0
>=C2=A0 =C2=A0 =C2=A0(disconnected)
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0
>=C2=A0 =C2=A0 =C2=A0(disconnected)
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0
>=C2=A0 =C2=A0 =C2=A0(disconnected)
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0
>=C2=A0 =C2=A0 =C2=A0(disconnected)
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0
>=C2=A0 =C2=A0 =C2=A0(disconnected)
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0
>=C2=A0 =C2=A0 =C2=A0(disconnected)
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0
>=C2=A0 =C2=A0 =C2=A0(disconnected)
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0
>=C2=A0 =C2=A0 =C2=A0(disconnected)
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0
>=C2=A0 =C2=A0 =C2=A0(disconnected)
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0
>=C2=A0 =C2=A0 =C2=A0(disconnected)
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0
>=C2=A0 =C2=A0 =C2=A0(disconnected)
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0
>=C2=A0 =C2=A0 =C2=A0(disconnected)
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0
>=C2=A0 =C2=A0 =C2=A0(disconnected)
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0
>
>=C2=A0 =C2=A0 =C2=A0The HP has this on the console"<= br> >
>=C2=A0 =C2=A0 =C2=A0hw.bus.devctl_nomatch_enabled: 0>1= (something like that)
>
>=C2=A0 =C2=A0 =C2=A0Both 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.=C2=A0 The issue persists.=C2=A0 ums0 is not detected, no mo= use on console or in kde.
--0000000000009d46b0061889a6cf--