Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 May 2024 16:04:19 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Steven Friedrich <freebsdlouisville@gmail.com>
Cc:        FreeBSD-STABLE Mailing List <FreeBSD-stable@freebsd.org>
Subject:   Re: git: 6437872c1d66 - main - New sysctl to disable NOMATCH until devmatch runs
Message-ID:  <CANCZdfrRm0fRFgKf51TcmP2PdM8pVD0_zNkO9ABMK3f2FKp_Wg@mail.gmail.com>
In-Reply-To: <94393d0e-5dfe-474c-84bc-78cf8c98e599@gmail.com>
References:  <0fcdcdb6-fce5-4769-8c98-a7fb2dd811b3@gmail.com> <CANCZdfrekKvvJdjpuMN9jL8y_xeZFjtw1%2BntnEbva9qX53paVg@mail.gmail.com> <94393d0e-5dfe-474c-84bc-78cf8c98e599@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000009ca8f40618854d95
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Wed, May 15, 2024, 4:02=E2=80=AFPM Steven Friedrich <freebsdlouisville@g=
mail.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
> > <freebsdlouisville@gmail.com> 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: <PixArt Dell MS116 USB Optical Mouse> at usbus0
> >     (disconnected)
> >     ugen0.5: <PixArt Dell MS116 USB Optical Mouse> at usbus0
> >     ugen0.5: <PixArt Dell MS116 USB Optical Mouse> at usbus0
> >     (disconnected)
> >     ugen0.5: <PixArt Dell MS116 USB Optical Mouse> at usbus0
> >     ugen0.5: <PixArt Dell MS116 USB Optical Mouse> at usbus0
> >     (disconnected)
> >     ugen0.5: <PixArt Dell MS116 USB Optical Mouse> at usbus0
> >     ugen0.5: <PixArt Dell MS116 USB Optical Mouse> at usbus0
> >     (disconnected)
> >     ugen0.5: <PixArt Dell MS116 USB Optical Mouse> at usbus0
> >     ugen0.5: <PixArt Dell MS116 USB Optical Mouse> at usbus0
> >     (disconnected)
> >     ugen0.5: <PixArt Dell MS116 USB Optical Mouse> at usbus0
> >     ugen0.5: <PixArt Dell MS116 USB Optical Mouse> at usbus0
> >     (disconnected)
> >     ugen0.5: <PixArt Dell MS116 USB Optical Mouse> at usbus0
> >     ugen0.5: <PixArt Dell MS116 USB Optical Mouse> at usbus0
> >     (disconnected)
> >     ugen0.5: <PixArt Dell MS116 USB Optical Mouse> at usbus0
> >     ugen0.5: <PixArt Dell MS116 USB Optical Mouse> at usbus0
> >     (disconnected)
> >     ugen0.5: <PixArt Dell MS116 USB Optical Mouse> at usbus0
> >     ugen0.5: <PixArt Dell MS116 USB Optical Mouse> at usbus0
> >     (disconnected)
> >     ugen0.5: <PixArt Dell MS116 USB Optical Mouse> at usbus0
> >     ugen0.5: <PixArt Dell MS116 USB Optical Mouse> at usbus0
> >     (disconnected)
> >     ugen0.5: <PixArt Dell MS116 USB Optical Mouse> at usbus0
> >     ugen0.5: <PixArt Dell MS116 USB Optical Mouse> at usbus0
> >     (disconnected)
> >     ugen0.5: <PixArt Dell MS116 USB Optical Mouse> at usbus0
> >     ugen0.5: <PixArt Dell MS116 USB Optical Mouse> at usbus0
> >     (disconnected)
> >     ugen0.5: <PixArt Dell MS116 USB Optical Mouse> at usbus0
> >     ugen0.5: <PixArt Dell MS116 USB Optical Mouse> at usbus0
> >     (disconnected)
> >     ugen0.5: <PixArt Dell MS116 USB Optical Mouse> at usbus0
> >     ugen0.5: <PixArt Dell MS116 USB Optical Mouse> at usbus0
> >     (disconnected)
> >     ugen0.5: <PixArt Dell MS116 USB Optical Mouse> at usbus0
> >     ugen0.5: <PixArt Dell MS116 USB Optical Mouse> at usbus0
> >     (disconnected)
> >     ugen0.5: <PixArt Dell MS116 USB Optical Mouse> at usbus0
> >     ugen0.5: <PixArt Dell MS116 USB Optical Mouse> at usbus0
> >     (disconnected)
> >     ugen0.5: <PixArt Dell MS116 USB Optical Mouse> at usbus0
> >     ugen0.5: <PixArt Dell MS116 USB Optical Mouse> at usbus0
> >     (disconnected)
> >     ugen0.5: <PixArt Dell MS116 USB Optical Mouse> at usbus0
> >     ugen0.5: <PixArt Dell MS116 USB Optical Mouse> at usbus0
> >     (disconnected)
> >     ugen0.5: <PixArt Dell MS116 USB Optical Mouse> 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

>

--0000000000009ca8f40618854d95
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div><br><br><div class=3D"gmail_quote"><div dir=3D"ltr" =
class=3D"gmail_attr">On Wed, May 15, 2024, 4:02=E2=80=AFPM Steven Friedrich=
 &lt;<a href=3D"mailto:freebsdlouisville@gmail.com">freebsdlouisville@gmail=
.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
On 5/15/24 17:50, Warner Losh wrote:<br>
&gt; This is the second report of this. I think that uhub isn&#39;t reporti=
ng <br>
&gt; out like nomatch events creating a asymmetry. You can confirm this by =
<br>
&gt; setting the sysctl to 0.<br>
&gt;<br>
&gt; Warner<br>
&gt;<br>
&gt; On Wed, May 15, 2024, 2:16=E2=80=AFPM Steven Friedrich <br>
&gt; &lt;<a href=3D"mailto:freebsdlouisville@gmail.com" target=3D"_blank" r=
el=3D"noreferrer">freebsdlouisville@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0My mouse isn&#39;t detected, I believe due to this =
commit.<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0The anomaly occurs on an HP Slimline and a Dell.<br=
>
&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0The Dell gets these messages on the console:<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0ugen0.5: &lt;PixArt Dell MS116 USB Optical Mouse&gt=
; at usbus0<br>
&gt;=C2=A0 =C2=A0 =C2=A0(disconnected)<br>
&gt;=C2=A0 =C2=A0 =C2=A0ugen0.5: &lt;PixArt Dell MS116 USB Optical Mouse&gt=
; at usbus0<br>
&gt;=C2=A0 =C2=A0 =C2=A0ugen0.5: &lt;PixArt Dell MS116 USB Optical Mouse&gt=
; at usbus0<br>
&gt;=C2=A0 =C2=A0 =C2=A0(disconnected)<br>
&gt;=C2=A0 =C2=A0 =C2=A0ugen0.5: &lt;PixArt Dell MS116 USB Optical Mouse&gt=
; at usbus0<br>
&gt;=C2=A0 =C2=A0 =C2=A0ugen0.5: &lt;PixArt Dell MS116 USB Optical Mouse&gt=
; at usbus0<br>
&gt;=C2=A0 =C2=A0 =C2=A0(disconnected)<br>
&gt;=C2=A0 =C2=A0 =C2=A0ugen0.5: &lt;PixArt Dell MS116 USB Optical Mouse&gt=
; at usbus0<br>
&gt;=C2=A0 =C2=A0 =C2=A0ugen0.5: &lt;PixArt Dell MS116 USB Optical Mouse&gt=
; at usbus0<br>
&gt;=C2=A0 =C2=A0 =C2=A0(disconnected)<br>
&gt;=C2=A0 =C2=A0 =C2=A0ugen0.5: &lt;PixArt Dell MS116 USB Optical Mouse&gt=
; at usbus0<br>
&gt;=C2=A0 =C2=A0 =C2=A0ugen0.5: &lt;PixArt Dell MS116 USB Optical Mouse&gt=
; at usbus0<br>
&gt;=C2=A0 =C2=A0 =C2=A0(disconnected)<br>
&gt;=C2=A0 =C2=A0 =C2=A0ugen0.5: &lt;PixArt Dell MS116 USB Optical Mouse&gt=
; at usbus0<br>
&gt;=C2=A0 =C2=A0 =C2=A0ugen0.5: &lt;PixArt Dell MS116 USB Optical Mouse&gt=
; at usbus0<br>
&gt;=C2=A0 =C2=A0 =C2=A0(disconnected)<br>
&gt;=C2=A0 =C2=A0 =C2=A0ugen0.5: &lt;PixArt Dell MS116 USB Optical Mouse&gt=
; at usbus0<br>
&gt;=C2=A0 =C2=A0 =C2=A0ugen0.5: &lt;PixArt Dell MS116 USB Optical Mouse&gt=
; at usbus0<br>
&gt;=C2=A0 =C2=A0 =C2=A0(disconnected)<br>
&gt;=C2=A0 =C2=A0 =C2=A0ugen0.5: &lt;PixArt Dell MS116 USB Optical Mouse&gt=
; at usbus0<br>
&gt;=C2=A0 =C2=A0 =C2=A0ugen0.5: &lt;PixArt Dell MS116 USB Optical Mouse&gt=
; at usbus0<br>
&gt;=C2=A0 =C2=A0 =C2=A0(disconnected)<br>
&gt;=C2=A0 =C2=A0 =C2=A0ugen0.5: &lt;PixArt Dell MS116 USB Optical Mouse&gt=
; at usbus0<br>
&gt;=C2=A0 =C2=A0 =C2=A0ugen0.5: &lt;PixArt Dell MS116 USB Optical Mouse&gt=
; at usbus0<br>
&gt;=C2=A0 =C2=A0 =C2=A0(disconnected)<br>
&gt;=C2=A0 =C2=A0 =C2=A0ugen0.5: &lt;PixArt Dell MS116 USB Optical Mouse&gt=
; at usbus0<br>
&gt;=C2=A0 =C2=A0 =C2=A0ugen0.5: &lt;PixArt Dell MS116 USB Optical Mouse&gt=
; at usbus0<br>
&gt;=C2=A0 =C2=A0 =C2=A0(disconnected)<br>
&gt;=C2=A0 =C2=A0 =C2=A0ugen0.5: &lt;PixArt Dell MS116 USB Optical Mouse&gt=
; at usbus0<br>
&gt;=C2=A0 =C2=A0 =C2=A0ugen0.5: &lt;PixArt Dell MS116 USB Optical Mouse&gt=
; at usbus0<br>
&gt;=C2=A0 =C2=A0 =C2=A0(disconnected)<br>
&gt;=C2=A0 =C2=A0 =C2=A0ugen0.5: &lt;PixArt Dell MS116 USB Optical Mouse&gt=
; at usbus0<br>
&gt;=C2=A0 =C2=A0 =C2=A0ugen0.5: &lt;PixArt Dell MS116 USB Optical Mouse&gt=
; at usbus0<br>
&gt;=C2=A0 =C2=A0 =C2=A0(disconnected)<br>
&gt;=C2=A0 =C2=A0 =C2=A0ugen0.5: &lt;PixArt Dell MS116 USB Optical Mouse&gt=
; at usbus0<br>
&gt;=C2=A0 =C2=A0 =C2=A0ugen0.5: &lt;PixArt Dell MS116 USB Optical Mouse&gt=
; at usbus0<br>
&gt;=C2=A0 =C2=A0 =C2=A0(disconnected)<br>
&gt;=C2=A0 =C2=A0 =C2=A0ugen0.5: &lt;PixArt Dell MS116 USB Optical Mouse&gt=
; at usbus0<br>
&gt;=C2=A0 =C2=A0 =C2=A0ugen0.5: &lt;PixArt Dell MS116 USB Optical Mouse&gt=
; at usbus0<br>
&gt;=C2=A0 =C2=A0 =C2=A0(disconnected)<br>
&gt;=C2=A0 =C2=A0 =C2=A0ugen0.5: &lt;PixArt Dell MS116 USB Optical Mouse&gt=
; at usbus0<br>
&gt;=C2=A0 =C2=A0 =C2=A0ugen0.5: &lt;PixArt Dell MS116 USB Optical Mouse&gt=
; at usbus0<br>
&gt;=C2=A0 =C2=A0 =C2=A0(disconnected)<br>
&gt;=C2=A0 =C2=A0 =C2=A0ugen0.5: &lt;PixArt Dell MS116 USB Optical Mouse&gt=
; at usbus0<br>
&gt;=C2=A0 =C2=A0 =C2=A0ugen0.5: &lt;PixArt Dell MS116 USB Optical Mouse&gt=
; at usbus0<br>
&gt;=C2=A0 =C2=A0 =C2=A0(disconnected)<br>
&gt;=C2=A0 =C2=A0 =C2=A0ugen0.5: &lt;PixArt Dell MS116 USB Optical Mouse&gt=
; at usbus0<br>
&gt;=C2=A0 =C2=A0 =C2=A0ugen0.5: &lt;PixArt Dell MS116 USB Optical Mouse&gt=
; at usbus0<br>
&gt;=C2=A0 =C2=A0 =C2=A0(disconnected)<br>
&gt;=C2=A0 =C2=A0 =C2=A0ugen0.5: &lt;PixArt Dell MS116 USB Optical Mouse&gt=
; at usbus0<br>
&gt;=C2=A0 =C2=A0 =C2=A0ugen0.5: &lt;PixArt Dell MS116 USB Optical Mouse&gt=
; at usbus0<br>
&gt;=C2=A0 =C2=A0 =C2=A0(disconnected)<br>
&gt;=C2=A0 =C2=A0 =C2=A0ugen0.5: &lt;PixArt Dell MS116 USB Optical Mouse&gt=
; at usbus0<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0The HP has this on the console&quot;<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0hw.bus.devctl_nomatch_enabled: 0&gt;1 (something li=
ke that)<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0Both mice are usb.<br>
&gt;<br>
I invoked sysctl hw.bus.devctl_nomatch_enabled=3D0 as root, but the <br>
messages continued.<br>
<br>
So I put it in /etc/sysctl.conf and I&#39;m rebooting...<br></blockquote></=
div></div><div dir=3D"auto"><br></div><div dir=3D"auto"><br></div><div dir=
=3D"auto">You need to put this into /boot/loader.conf or set it at the boot=
 loader prompt.</div><div dir=3D"auto"><br></div><div dir=3D"auto">Warner=
=C2=A0</div><div dir=3D"auto"><div class=3D"gmail_quote"><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">
</blockquote></div></div></div>

--0000000000009ca8f40618854d95--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfrRm0fRFgKf51TcmP2PdM8pVD0_zNkO9ABMK3f2FKp_Wg>