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

From: Steven Friedrich <freebsdlouisville_at_gmail.com>
Date: Wed, 15 May 2024 22:23:59 UTC
On 5/15/24 18:04, Warner Losh wrote:
>
>
> 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
Sorry, sir.  The issue persists.  ums0 is not detected, no mouse on 
console or in kde.