From nobody Sat May 18 18:29:00 2024 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VhXR60rtgz5LG9C for ; Sat, 18 May 2024 18:29:06 +0000 (UTC) (envelope-from shuriku@shurik.kiev.ua) Received: from mail.flex-it.com.ua (mail.flex-it.com.ua [193.239.74.7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4VhXR45XjKz4VG1 for ; Sat, 18 May 2024 18:29:04 +0000 (UTC) (envelope-from shuriku@shurik.kiev.ua) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of shuriku@shurik.kiev.ua designates 193.239.74.7 as permitted sender) smtp.mailfrom=shuriku@shurik.kiev.ua Received: from 93.183.208.50.ipv4.datagroup.ua ([93.183.208.50] helo=[192.168.200.135]) by mail.flex-it.com.ua with esmtpsa (TLS1.3) tls TLS_AES_128_GCM_SHA256 (Exim 4.97.1 (FreeBSD)) (envelope-from ) id 1s8Onl-00000000F2M-0pOY for freebsd-current@freebsd.org; Sat, 18 May 2024 21:29:01 +0300 Content-Type: multipart/alternative; boundary="------------dWY0RHtqQ0vknhHC7ODhXhTk" Message-ID: <8d2669c0-2759-4348-9c8d-6b437882aa4c@shurik.kiev.ua> Date: Sat, 18 May 2024 21:29:00 +0300 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: RES: usb mouse not work on boot To: freebsd-current@freebsd.org References: <20240518092649.6430ad53@ernst.home> <86ttivwikf.fsf@ltc.des.dev> <34a397ef-ca2d-4e04-9066-3cf8a0c48616@shurik.kiev.ua> Content-Language: uk-UA From: Oleksandr Kryvulia In-Reply-To: X-ACL-Warn: SPF failed. 93.183.208.50 is not allowed to send mail from shurik.kiev.ua. X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.28 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; NEURAL_HAM_MEDIUM(-0.99)[-0.991]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:35297, ipnet:193.239.72.0/22, country:UA]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_ALL(0.00)[]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[shurik.kiev.ua]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4VhXR45XjKz4VG1 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 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--