Re: RES: RES: usb mouse not work on boot

From: Dag-Erling_Smørgrav <des_at_FreeBSD.org>
Date: Mon, 20 May 2024 09:01:00 UTC
Ivan Quitschal <tezeka@hotmail.com> writes:
> > Ivan Quitschal <tezeka@hotmail.com> writes:
> > > diff --git a/sys/dev/usb/input/usbhid.c b/sys/dev/usb/input/usbhid.c
> > > index 174e1c28ae96..7b19d713c943 100644
> > > --- a/sys/dev/usb/input/usbhid.c
> > > +++ b/sys/dev/usb/input/usbhid.c
> > > @@ -802,6 +802,7 @@ usbhid_probe(device_t dev)
> > >         if (hid_test_quirk(&sc->sc_hw, HQ_HID_IGNORE))
> > >                 return (ENXIO);
> > > +//     return (BUS_PROBE_GENERIC + 1);
> > >         return (BUS_PROBE_DEFAULT + 1);
> > >  }
> > You realize this diff does nothing at all, right?
> Yeap, i also said it worked in 14-current old code only ,and has more
> than 2 years already

No, I mean all this does is add a comment.  It has no effect on the
code.

DES
-- 
Dag-Erling Smørgrav - des@FreeBSD.org