Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 May 2024 18:39:02 +0000
From:      Ivan Quitschal <tezeka@hotmail.com>
To:        Oleksandr Kryvulia <shuriku@shurik.kiev.ua>, "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   RES: RES: usb mouse not work on boot
Message-ID:  <CPWP152MB79216F3107FC64F3A6B7FCB3CBEF2@CPWP152MB7921.LAMP152.PROD.OUTLOOK.COM>
In-Reply-To: <8d2669c0-2759-4348-9c8d-6b437882aa4c@shurik.kiev.ua>
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> <8d2669c0-2759-4348-9c8d-6b437882aa4c@shurik.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
--_000_CPWP152MB79216F3107FC64F3A6B7FCB3CBEF2CPWP152MB7921LAMP_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Not sure, im on 14-current because of my synergy  insists on crashing  afte=
r version synergy-1.14.0.4,3
But that's pretty simple to check

Just do a
# grep 'return (BUS_PROBE_' /user/src/sys/dev/usb/input/usbhid.c in your ow=
n kernel source tree to see what line is there

Thanks

Ivan


De: owner-freebsd-current@FreeBSD.org <owner-freebsd-current@FreeBSD.org> E=
m nome de Oleksandr Kryvulia
Enviada em: s=E1bado, 18 de maio de 2024 15:29
Para: freebsd-current@freebsd.org
Assunto: Re: RES: usb mouse not work on boot

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 h=
ad a priority issue with this module and Vladimir made me a patch to fix th=
e attach priority?

Warner, was it fixed since then?


Let me show the patch I use to this very day important line is this, the pa=
tch 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 975407b1d8dcceac2b=
54e2c4df96aadec7dc4c3a


--_000_CPWP152MB79216F3107FC64F3A6B7FCB3CBEF2CPWP152MB7921LAMP_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@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 Display";}
@font-face
	{font-family:Aptos;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	font-size:12.0pt;
	font-family:"Aptos",sans-serif;}
span.EstiloDeEmail21
	{mso-style-type:personal-reply;
	font-family:"Aptos",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;
	mso-ligatures:none;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"PT-BR" link=3D"blue" vlink=3D"purple" style=3D"word-wrap:brea=
k-word">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;mso-f=
areast-language:EN-US">Not sure, im on 14-current because of my synergy&nbs=
p; insists on crashing&nbsp; after version synergy-1.14.0.4,3<o:p></o:p></s=
pan></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;mso-f=
areast-language:EN-US">But that&#8217;s pretty simple to check<o:p></o:p></=
span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;mso-f=
areast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;mso-f=
areast-language:EN-US">Just do a
<br>
# grep &#8216;</span><span lang=3D"EN-US" style=3D"font-family:&quot;Courie=
r New&quot;;color:black;background:white">return (BUS_PROBE_&#8217;
</span><span lang=3D"EN-US" style=3D"font-family:&quot;Aptos Display&quot;,=
sans-serif;color:black;background:white">/user/src/sys/dev/usb/input/usbhid=
.c in your own kernel source tree to see what line is there<o:p></o:p></spa=
n></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-family:&quot;Apto=
s Display&quot;,sans-serif;color:black;background:white"><o:p>&nbsp;</o:p><=
/span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Aptos Display&quot;=
,sans-serif;color:black;background:white">Thanks<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Aptos Display&quot;=
,sans-serif;color:black;background:white"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Aptos Display&quot;=
,sans-serif;color:black;background:white">Ivan</span><span style=3D"font-si=
ze:11.0pt;mso-fareast-language:EN-US"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;mso-fareast-language=
:EN-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;mso-fareast-language=
:EN-US"><o:p>&nbsp;</o:p></span></p>
<div style=3D"border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm =
4.0pt">
<div>
<div style=3D"border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal"><b><span style=3D"font-size:11.0pt;font-family:&quot=
;Calibri&quot;,sans-serif">De:</span></b><span style=3D"font-size:11.0pt;fo=
nt-family:&quot;Calibri&quot;,sans-serif"> owner-freebsd-current@FreeBSD.or=
g &lt;owner-freebsd-current@FreeBSD.org&gt;
<b>Em nome de </b>Oleksandr Kryvulia<br>
<b>Enviada em:</b> s=E1bado, 18 de maio de 2024 15:29<br>
<b>Para:</b> freebsd-current@freebsd.org<br>
<b>Assunto:</b> Re: RES: usb mouse not work on boot<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">18.05.24 19:29, Ivan Quitschal:=
<br>
<br>
<o:p></o:p></span></p>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;mso-f=
areast-language:EN-US">Hi Warner /&nbsp; WBR / Oleksandr</span><span lang=
=3D"EN-US"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;mso-f=
areast-language:EN-US">&nbsp;</span><span lang=3D"EN-US"><o:p></o:p></span>=
</p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;mso-f=
areast-language:EN-US">Im not sure if that&#8217;s the case with this
</span><span lang=3D"EN-US" style=3D"font-family:&quot;Courier New&quot;;co=
lor:black;background:white">uhid.ko, but you guys remember I had a priority=
 issue with this module and Vladimir made me a patch to fix the attach prio=
rity?</span><span lang=3D"EN-US"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-family:&quot;Cour=
ier New&quot;;color:black;background:white">&nbsp;</span><span lang=3D"EN-U=
S"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-family:&quot;Cour=
ier New&quot;;color:black;background:white">Warner, was it fixed since then=
?
</span><span lang=3D"EN-US"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-family:&quot;Cour=
ier New&quot;;color:black;background:white">&nbsp;</span><span lang=3D"EN-U=
S"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-family:&quot;Cour=
ier New&quot;;color:black;background:white">&nbsp;</span><span lang=3D"EN-U=
S"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-family:&quot;Cour=
ier New&quot;;color:black;background:white">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</span><span lang=3D"EN-US"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-family:&quot;Cour=
ier New&quot;;color:black;background:white">&nbsp;</span><span lang=3D"EN-U=
S"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-family:&quot;Cour=
ier New&quot;;color:black;background:white">+//&nbsp;&nbsp;&nbsp;&nbsp; ret=
urn (BUS_PROBE_GENERIC + 1);</span><span lang=3D"EN-US"><o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-family:&quot;Cour=
ier New&quot;;color:black;background:white">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp; return (BUS_PROBE_DEFAULT + 1);</span><span lang=3D"EN-US"><o:p=
></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-family:&quot;Cour=
ier New&quot;;color:black;background:white">&nbsp;</span><span lang=3D"EN-U=
S"><o:p></o:p></span></p>
<div style=3D"border:none;border-bottom:solid windowtext 1.0pt;padding:0cm =
0cm 1.0pt 0cm">
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-family:&quot;Cour=
ier New&quot;;color:black;background:white">&nbsp;</span><span lang=3D"EN-U=
S"><o:p></o:p></span></p>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-family:&quot;Cour=
ier New&quot;;color:black;background:white">&nbsp;</span><span lang=3D"EN-U=
S"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-family:&quot;Cour=
ier New&quot;;color:black;background:white">diff --git a/sys/dev/usb/input/=
usbhid.c b/sys/dev/usb/input/usbhid.c</span><span lang=3D"EN-US"><o:p></o:p=
></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-family:&quot;Cour=
ier New&quot;;color:black;background:white">index 174e1c28ae96..7b19d713c94=
3 100644</span><span lang=3D"EN-US"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-family:&quot;Cour=
ier New&quot;;color:black;background:white">--- a/sys/dev/usb/input/usbhid.=
c</span><span lang=3D"EN-US"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-family:&quot;Cour=
ier New&quot;;color:black;background:white">+++ b/sys/dev/usb/input/usbhid.=
c</span><span lang=3D"EN-US"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-family:&quot;Cour=
ier New&quot;;color:black;background:white">@@ -802,6 +802,7 @@ usbhid_prob=
e(device_t dev)</span><span lang=3D"EN-US"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-family:&quot;Cour=
ier New&quot;;color:black;background:white">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp; if (hid_test_quirk(&amp;sc-&gt;sc_hw, HQ_HID_IGNORE))</span><sp=
an lang=3D"EN-US"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-family:&quot;Cour=
ier New&quot;;color:black;background:white">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return (ENXIO);=
</span><span lang=3D"EN-US"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-family:&quot;Cour=
ier New&quot;;color:black;background:white">+//&nbsp;&nbsp;&nbsp;&nbsp; ret=
urn (BUS_PROBE_GENERIC + 1);</span><span lang=3D"EN-US"><o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-family:&quot;Cour=
ier New&quot;;color:black;background:white">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp; return (BUS_PROBE_DEFAULT + 1);</span><span lang=3D"EN-US"><o:p=
></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-family:&quot;Cour=
ier New&quot;;color:black;background:white">}</span><span lang=3D"EN-US"><o=
:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;mso-f=
areast-language:EN-US">&nbsp;</span><span lang=3D"EN-US"><o:p></o:p></span>=
</p>
</blockquote>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><span lang=3D"EN-US">=
<br>
If I correctly understand this patch alredy in main with 975407b1d8dcceac2b=
54e2c4df96aadec7dc4c3a<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><span lang=3D"EN-US">=
<o:p>&nbsp;</o:p></span></p>
</div>
</div>
</body>
</html>

--_000_CPWP152MB79216F3107FC64F3A6B7FCB3CBEF2CPWP152MB7921LAMP_--



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