Date: Sat, 18 May 2024 21:29:00 +0300 From: Oleksandr Kryvulia <shuriku@shurik.kiev.ua> To: freebsd-current@freebsd.org Subject: Re: RES: usb mouse not work on boot Message-ID: <8d2669c0-2759-4348-9c8d-6b437882aa4c@shurik.kiev.ua> In-Reply-To: <CPWP152MB79211F6DC95232F99BC66D26CBEF2@CPWP152MB7921.LAMP152.PROD.OUTLOOK.COM> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------dWY0RHtqQ0vknhHC7ODhXhTk Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 18.05.24 19:29, Ivan Quitschal: > > Hi Warner / WBR / Oleksandr > > Im not sure if that’s the case with this uhid.ko, but you guys > remember I had a priority issue with this module and Vladimir made me > a patch to fix the attach priority? > > Warner, was it fixed since then? > > Let me show the patch I use to this very day important line is this, > the patch might be wrong , because im still on 14-current > > +// return (BUS_PROBE_GENERIC + 1); > > return (BUS_PROBE_DEFAULT + 1); > > 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); > > } > If I correctly understand this patch alredy in main with 975407b1d8dcceac2b54e2c4df96aadec7dc4c3a --------------dWY0RHtqQ0vknhHC7ODhXhTk Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> 18.05.24 19:29, Ivan Quitschal:<br> <blockquote type="cite" cite="mid:CPWP152MB79211F6DC95232F99BC66D26CBEF2@CPWP152MB7921.LAMP152.PROD.OUTLOOK.COM"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="Generator" content="Microsoft Word 15 (filtered medium)"> <style>@font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face {font-family:Aptos;}@font-face {font-family:Consolas; panose-1:2 11 6 9 2 2 4 3 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; font-size:12.0pt; font-family:"Aptos",sans-serif;}a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;}pre {mso-style-priority:99; mso-style-link:"Pré-formatação HTML Char"; margin:0cm; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Courier New";}span.Pr-formataoHTMLChar {mso-style-name:"Pré-formatação HTML Char"; mso-style-priority:99; mso-style-link:"Pré-formatação HTML"; font-family:"Consolas",serif; mso-ligatures:none; mso-fareast-language:PT-BR;}span.EstiloDeEmail20 {mso-style-type:personal-reply; font-family:"Aptos",sans-serif; color:windowtext;}.MsoChpDefault {mso-style-type:export-only; font-size:11.0pt; mso-fareast-language:EN-US;}div.WordSection1 {page:WordSection1;}</style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext="edit" spidmax="1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext="edit"> <o:idmap v:ext="edit" data="1" /> </o:shapelayout></xml><![endif]--> <div class="WordSection1"> <p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US">Hi Warner / WBR / Oleksandr<o:p></o:p></span></p> <p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p> <p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US" lang="EN-US">Im not sure if that’s the case with this </span><span style="font-family:"Courier New";color:black;background:white" lang="EN-US">uhid.ko, but you guys remember I had a priority issue with this module and Vladimir made me a patch to fix the attach priority?<o:p></o:p></span></p> <p class="MsoNormal"><span style="font-family:"Courier New";color:black;background:white" lang="EN-US"><o:p> </o:p></span></p> <p class="MsoNormal"><span style="font-family:"Courier New";color:black;background:white" lang="EN-US">Warner, was it fixed since then? <o:p></o:p></span></p> <p class="MsoNormal"><span style="font-family:"Courier New";color:black;background:white" lang="EN-US"><o:p> </o:p></span></p> <p class="MsoNormal"><span style="font-family:"Courier New";color:black;background:white" lang="EN-US"><o:p> </o:p></span></p> <p class="MsoNormal"><span style="font-family:"Courier New";color:black;background:white" lang="EN-US">Let me show the patch I use to this very day important line is this, the patch might be wrong , because im still on 14-current<o:p></o:p></span></p> <p class="MsoNormal"><span style="font-family:"Courier New";color:black;background:white" lang="EN-US"><o:p> </o:p></span></p> <p class="MsoNormal"><span style="font-family:"Courier New";color:black;background:white" lang="EN-US">+// return (BUS_PROBE_GENERIC + 1);<o:p></o:p></span></p> <p class="MsoNormal"><span style="font-family:"Courier New";color:black;background:white" lang="EN-US"> return (BUS_PROBE_DEFAULT + 1);<o:p></o:p></span></p> <p class="MsoNormal"><span style="font-family:"Courier New";color:black;background:white" lang="EN-US"><o:p> </o:p></span></p> <div style="mso-element:para-border-div;border:none;border-bottom:solid windowtext 1.0pt;padding:0cm 0cm 1.0pt 0cm"> <p class="MsoNormal" style="border:none;padding:0cm"><span style="font-family:"Courier New";color:black;background:white" lang="EN-US"><o:p> </o:p></span></p> </div> <p class="MsoNormal"><span style="font-family:"Courier New";color:black;background:white" lang="EN-US"><o:p> </o:p></span></p> <p class="MsoNormal"><span style="font-family:"Courier New";color:black;background:white" lang="EN-US">diff --git a/sys/dev/usb/input/usbhid.c b/sys/dev/usb/input/usbhid.c<o:p></o:p></span></p> <p class="MsoNormal"><span style="font-family:"Courier New";color:black;background:white" lang="EN-US">index 174e1c28ae96..7b19d713c943 100644<o:p></o:p></span></p> <p class="MsoNormal"><span style="font-family:"Courier New";color:black;background:white" lang="EN-US">--- a/sys/dev/usb/input/usbhid.c<o:p></o:p></span></p> <p class="MsoNormal"><span style="font-family:"Courier New";color:black;background:white" lang="EN-US">+++ b/sys/dev/usb/input/usbhid.c<o:p></o:p></span></p> <p class="MsoNormal"><span style="font-family:"Courier New";color:black;background:white" lang="EN-US">@@ -802,6 +802,7 @@ usbhid_probe(device_t dev)<o:p></o:p></span></p> <p class="MsoNormal"><span style="font-family:"Courier New";color:black;background:white" lang="EN-US"> if (hid_test_quirk(&sc->sc_hw, HQ_HID_IGNORE))<o:p></o:p></span></p> <p class="MsoNormal"><span style="font-family:"Courier New";color:black;background:white" lang="EN-US"> return (ENXIO);<o:p></o:p></span></p> <p class="MsoNormal"><span style="font-family:"Courier New";color:black;background:white" lang="EN-US"><o:p></o:p></span></p> <p class="MsoNormal"><span style="font-family:"Courier New";color:black;background:white" lang="EN-US">+// return (BUS_PROBE_GENERIC + 1);<o:p></o:p></span></p> <p class="MsoNormal"><span style="font-family:"Courier New";color:black;background:white" lang="EN-US"> return (BUS_PROBE_DEFAULT + 1);<o:p></o:p></span></p> <p class="MsoNormal"><span style="font-family:"Courier New";color:black;background:white" lang="EN-US">}<o:p></o:p></span></p> <p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US" lang="EN-US"><o:p> </o:p></span></p> </div> </blockquote> <br> If I correctly understand this patch alredy in main with 975407b1d8dcceac2b54e2c4df96aadec7dc4c3a<br> <br> </body> </html> --------------dWY0RHtqQ0vknhHC7ODhXhTk--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8d2669c0-2759-4348-9c8d-6b437882aa4c>