Re: git: 6437872c1d66 - main - New sysctl to disable NOMATCH until devmatch runs

From: Warner Losh <imp_at_bsdimp.com>
Date: Wed, 15 May 2024 22:04:19 UTC
On Wed, May 15, 2024, 4:02 PM 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 PM 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=0 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

>