RES: RES: usb mouse not work on boot
Date: Sun, 19 May 2024 22:49:01 UTC
Yeap, i also said it worked in 14-current old code only ,and has more than 2 years already Only point was whether freebsd had this return (BUS_PROBE_DEFAULT + 1); } or that return (BUS_PROBE_GENERIC + 1); glad we have the first one , aka the right return We have an entire email chain about this day back in the day august 2022 don’t remember correctly > -----Mensagem original----- > De: Dag-Erling Smørgrav <des@FreeBSD.org> > Enviada em: domingo, 19 de maio de 2024 08:04 > Para: Ivan Quitschal <tezeka@hotmail.com> > Cc: Vladimir Kondratyev <vladimir@kondratyev.su>; Warner Losh > <imp@bsdimp.com>; Oleksandr Kryvulia <shuriku@shurik.kiev.ua>; FreeBSD > Current <freebsd-current@freebsd.org> > Assunto: Re: RES: usb mouse not work on boot > > 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? > > DES > -- > Dag-Erling Smørgrav - des@FreeBSD.org