Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 May 2024 10:24:38 +0000
From:      Ivan Quitschal <tezeka@hotmail.com>
To:        =?utf-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= <des@FreeBSD.org>
Cc:        Vladimir Kondratyev <vladimir@kondratyev.su>, Warner Losh <imp@bsdimp.com>, Oleksandr Kryvulia <shuriku@shurik.kiev.ua>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   RES: RES: RES: usb mouse not work on boot
Message-ID:  <CPWP152MB792109D6ECAA007DFEF67DAECBE92@CPWP152MB7921.LAMP152.PROD.OUTLOOK.COM>
In-Reply-To: <86ikz8x3g3.fsf@ltc.des.dev>
References:  <ae973e80-7f06-432c-ab66-b1a2ab337eaa@shurik.kiev.ua> <20240518092649.6430ad53@ernst.home> <af05317d-8d64-4a25-b13d-785848c0d326@shurik.kiev.ua> <86ttivwikf.fsf@ltc.des.dev> <cae2b31c-68ed-46c9-9d7b-415926186766@shurik.kiev.ua> <34a397ef-ca2d-4e04-9066-3cf8a0c48616@shurik.kiev.ua> <CANCZdfpD5FeHbb2B-cMDjQesr9NS%2BUVBpzgLG%2Bg4GgSjkBxC3A@mail.gmail.com> <c98a9e1d-3ab7-4a45-b514-cfed7d475198@shurik.kiev.ua> <CANCZdfr6XMAtq-XDeCwnHs%2BGh=tmRR36C_AcXJwCfYXh0DH_xg@mail.gmail.com> <CPWP152MB79211F6DC95232F99BC66D26CBEF2@CPWP152MB7921.LAMP152.PROD.OUTLOOK.COM> <86pltivzaf.fsf@ltc.des.dev> <CPWP152MB79218584D367681F893D68D4CBE82@CPWP152MB7921.LAMP152.PROD.OUTLOOK.COM> <86ikz8x3g3.fsf@ltc.des.dev>

index | next in thread | previous in thread | raw e-mail



> -----Mensagem original-----
> De: owner-freebsd-current@FreeBSD.org <owner-freebsd-
> current@FreeBSD.org> Em nome de Dag-Erling Smørgrav
> Enviada em: segunda-feira, 20 de maio de 2024 06:01
> 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: RES: usb mouse not work on boot
> 
> 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


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

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CPWP152MB792109D6ECAA007DFEF67DAECBE92>