Date: Mon, 27 Jun 2022 14:48:10 -0300 (-03) From: Ivan Quitschal <tezeka@hotmail.com> To: Vladimir Kondratyev <vladimir@kondratyev.su> Cc: Ivan Quitschal <tezeka@hotmail.com>, "freebsd-current@freebsd.org" <freebsd-current@freebsd.org> Subject: Re: iichid/hms keyboard/mouse wrongly reattached to uhid/ums Message-ID: <CP6P284MB1900CC44A149706DDC43CADDCBB99@CP6P284MB1900.BRAP284.PROD.OUTLOOK.COM> In-Reply-To: <8674be8f-b4fb-008d-9318-2184285b46a8@kondratyev.su> References: <CP6P284MB1900818F505F78F68EC4C6BECBB99@CP6P284MB1900.BRAP284.PROD.OUTLOOK.COM> <8674be8f-b4fb-008d-9318-2184285b46a8@kondratyev.su>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 27 Jun 2022, Vladimir Kondratyev wrote: > > It seems that usbhid's bus probe priority must be increased from > BUS_PROBE_GENERIC + 1 to BUS_PROBE_DEFAULT + 1 > > Test this patch: > > diff --git a/sys/dev/usb/input/usbhid.c b/sys/dev/usb/input/usbhid.c > index fe53f11b8f4..174e1c28ae9 100644 > --- a/sys/dev/usb/input/usbhid.c > +++ b/sys/dev/usb/input/usbhid.c > @@ -802,7 +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); > } > > static int > > > > -- > WBR > Vladimir Kondratyev > Hi Vladimir, Looks like the patch did the job. After 5 reboots with 3 detachs each , no problem occurred. looks like its fixed now, in case it happens again ill send another email. thank you / all --tzk PS: i removed all module_loads from loader.conf in order to perform the test
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CP6P284MB1900CC44A149706DDC43CADDCBB99>