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

From: Steven Friedrich <freebsdlouisville_at_gmail.com>
Date: Thu, 16 May 2024 05:53:02 UTC
yes, it works here too.

On 5/15/24 23:15, Warner Losh wrote:
> I don't know what I was thinking. You need to set 
> hw.bus.devctl_nomatch_enabled=1 not =0 in your loader.conf
>
> Warner
>
> On Wed, May 15, 2024 at 4:24 PM Steven Friedrich 
> <freebsdlouisville@gmail.com> wrote:
>
>
>     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.
>