Date: Wed, 15 May 2024 21:15:32 -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: <CANCZdfqw%2BrVzXhBU1=rs1enxiB56harnf=mJ7Zaf4cQ%2BUu8nuA@mail.gmail.com> In-Reply-To: <80158888-b054-452c-9862-c603c689e505@gmail.com> References: <0fcdcdb6-fce5-4769-8c98-a7fb2dd811b3@gmail.com> <CANCZdfrekKvvJdjpuMN9jL8y_xeZFjtw1%2BntnEbva9qX53paVg@mail.gmail.com> <94393d0e-5dfe-474c-84bc-78cf8c98e599@gmail.com> <CANCZdfrRm0fRFgKf51TcmP2PdM8pVD0_zNkO9ABMK3f2FKp_Wg@mail.gmail.com> <80158888-b054-452c-9862-c603c689e505@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 >> > <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 > > 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 <div dir=3D"ltr">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<div><br></div><d= iv>Warner</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class= =3D"gmail_attr">On Wed, May 15, 2024 at 4:24=E2=80=AFPM Steven Friedrich &l= t;<a href=3D"mailto:freebsdlouisville@gmail.com">freebsdlouisville@gmail.co= m</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin= :0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"= ><u></u> =20 =20 =20 <div> <p><br> </p> <div>On 5/15/24 18:04, Warner Losh wrote:<br> </div> <blockquote type=3D"cite"> =20 <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 <<a href=3D"mailto:freebs= dlouisville@gmail.com" target=3D"_blank">freebsdlouisville@gmail.com</a>>= ; wrote:<br> </div> <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0= .8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br> On 5/15/24 17:50, Warner Losh wrote:<br> > This is the second report of this. I think that uhub isn't reporting <br> > out like nomatch events creating a asymmetry. You can confirm this by <br> > setting the sysctl to 0.<br> ><br> > Warner<br> ><br> > On Wed, May 15, 2024, 2:16=E2=80=AFPM Steven Friedrich <= br> > <<a href=3D"mailto:freebsdlouisville@gmail.com" rel= =3D"noreferrer" target=3D"_blank">freebsdlouisville@gmail.com</a>> wrote:<br> ><br> >=C2=A0 =C2=A0 =C2=A0My mouse isn't detected, I believ= e due to this commit.<br> ><br> >=C2=A0 =C2=A0 =C2=A0The anomaly occurs on an HP Slimline = and a Dell.<br> ><br> >=C2=A0 =C2=A0 =C2=A0The Dell gets these messages on the c= onsole:<br> ><br> >=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0<br> >=C2=A0 =C2=A0 =C2=A0(disconnected)<br> >=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0<br> >=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0<br> >=C2=A0 =C2=A0 =C2=A0(disconnected)<br> >=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0<br> >=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0<br> >=C2=A0 =C2=A0 =C2=A0(disconnected)<br> >=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0<br> >=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0<br> >=C2=A0 =C2=A0 =C2=A0(disconnected)<br> >=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0<br> >=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0<br> >=C2=A0 =C2=A0 =C2=A0(disconnected)<br> >=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0<br> >=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0<br> >=C2=A0 =C2=A0 =C2=A0(disconnected)<br> >=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0<br> >=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0<br> >=C2=A0 =C2=A0 =C2=A0(disconnected)<br> >=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0<br> >=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0<br> >=C2=A0 =C2=A0 =C2=A0(disconnected)<br> >=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0<br> >=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0<br> >=C2=A0 =C2=A0 =C2=A0(disconnected)<br> >=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0<br> >=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0<br> >=C2=A0 =C2=A0 =C2=A0(disconnected)<br> >=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0<br> >=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0<br> >=C2=A0 =C2=A0 =C2=A0(disconnected)<br> >=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0<br> >=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0<br> >=C2=A0 =C2=A0 =C2=A0(disconnected)<br> >=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0<br> >=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0<br> >=C2=A0 =C2=A0 =C2=A0(disconnected)<br> >=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0<br> >=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0<br> >=C2=A0 =C2=A0 =C2=A0(disconnected)<br> >=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0<br> >=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0<br> >=C2=A0 =C2=A0 =C2=A0(disconnected)<br> >=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0<br> >=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0<br> >=C2=A0 =C2=A0 =C2=A0(disconnected)<br> >=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0<br> >=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0<br> >=C2=A0 =C2=A0 =C2=A0(disconnected)<br> >=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0<br> >=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0<br> >=C2=A0 =C2=A0 =C2=A0(disconnected)<br> >=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Op= tical Mouse> at usbus0<br> ><br> >=C2=A0 =C2=A0 =C2=A0The HP has this on the console"<= br> ><br> >=C2=A0 =C2=A0 =C2=A0hw.bus.devctl_nomatch_enabled: 0>1= (something like that)<br> ><br> >=C2=A0 =C2=A0 =C2=A0Both mice are usb.<br> ><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'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 <br> </div> </div> </blockquote> Sorry, sir.=C2=A0 The issue persists.=C2=A0 ums0 is not detected, no mo= use on console or in kde.<br> </div> </blockquote></div> --0000000000009d46b0061889a6cf--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfqw%2BrVzXhBU1=rs1enxiB56harnf=mJ7Zaf4cQ%2BUu8nuA>