> -----Mensagem original----- > De: owner-freebsd-curr...@freebsd.org <owner-freebsd- > curr...@freebsd.org> Em nome de Dag-Erling Smørgrav > Enviada em: segunda-feira, 20 de maio de 2024 06:01 > Para: Ivan Quitschal <tez...@hotmail.com> > Cc: Vladimir Kondratyev <vladi...@kondratyev.su>; Warner Losh > <i...@bsdimp.com>; Oleksandr Kryvulia <shur...@shurik.kiev.ua>; FreeBSD > Current <freebsd-current@freebsd.org> > Assunto: Re: RES: RES: usb mouse not work on boot > > Ivan Quitschal <tez...@hotmail.com> writes: > > > Ivan Quitschal <tez...@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 - d...@freebsd.org
Oh ok,, sorry But actually it did change one return for another Usbhid.ko used to return this return (BUS_PROBE_GENERIC + 1); and ums.ko used to take place instead , messing up our multimedia kbds and all Was a priority issue when it shouldn’t matter Then Vladmir changed to this return (BUS_PROBE_DEFAULT + 1); and everything went to "voilaaaa" 😊 sorry for the miss communication regards tzk