From nobody Mon Jun 27 17:48:10 2022 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 856ED8A5ADD for ; Mon, 27 Jun 2022 17:48:25 +0000 (UTC) (envelope-from tezeka@hotmail.com) Received: from BRA01-CPZ-obe.outbound.protection.outlook.com (mail-cpzbra01olkn2041.outbound.protection.outlook.com [40.92.97.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LWwF42Wt4z3GwT for ; Mon, 27 Jun 2022 17:48:24 +0000 (UTC) (envelope-from tezeka@hotmail.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kjmV5rquxFyKA/0x4sRbuXNaJdW47T3A2IUjcDshBtcrZreJ2qZ887uMz7GjPugiUmhr2Joh+1jMKWcu61q0bdMqN2wypmGuYfnBvL4JdlOvbBVIgVdHZ6O1/7F1UdkQlA8X3S7aLiz2h49L3TOFpFOn7WfPptDrovBrrdYLh6KExUZ5AElH4fnASAUFNaI4xg84u7YNI/Fc3RaHmpO03/Tonyp/7WQHAwT/42Jys++mPTXig3AYzw/3NV5jvh3YGVzVb7FzprTchzo2UodMpqRds9hAHf8kOQN9Xm807h/HC5tDu+1c3rvXTH5D9kcvmX+O40SArM8jSDW7KHr9gA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=mjbHgB6Vr8l/6TVutuakKu+AkZKOmNgtwmySpwFz6bE=; b=TyaqDrk2XuIVOn6k04vCN/s6HaV2+lwzOPa7caCoNB1i9BCrJPgCCeHdHOIe4rm8izpHXXE/GAwnpN7pzqK6b7aLWgomIO1mpCKTvLrQmm9ek644E7ETbzibHl2ZKeqBisjAVAKt04Z/lC/oC0yHA5Yn48CYvKOoXCdLC857qlWO9c6/t72DZOAuH3tJ2ykNxlfWz6PNjlW+J85Amx7CTp6nksazXYQQoK1U+MqsYvRcn0Sf8xnmDfgP2w1T2uUOOdyCmkXg/56kp+NElcmR78RQRavqywWSfTP05X91o0NoqdJiyppw3W7WeOI2dR+efMc8hz5ikXih+3T84tjWIQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mjbHgB6Vr8l/6TVutuakKu+AkZKOmNgtwmySpwFz6bE=; b=IspEkny/LrTr8Roepy7lIu8H/7urk5N3uk0OHI1qRgwSZBsYSAfXjCYwzXmjExRg4OlpyFNqyMPekOlZ/jW84i1rjTcOHOlfK4JxDDN6yr1SmMGOSN0rU7fuNhfztOW/G22UFfEOKiBPIngLrDyQig7GvqP55FqaM4PzxpaAeJpI/Tlb1kbd+XAlIvF67BGhld4BUphLGOu0h+ZM96MKVWPpsqqdbb6ifbTIndpyQMLtumNqbZLoxdLugQPNM8N+VgPNX79DEwygK7/hrfgL+yiDKZTynSFUygRWQ2OMiw6MoGbzHC8as1vvF0FofMEvudDt1WXtNiDm/1QVAYwyaQ== Received: from CP6P284MB1900.BRAP284.PROD.OUTLOOK.COM (2603:10d6:103:118::12) by CPYP284MB0068.BRAP284.PROD.OUTLOOK.COM (2603:10d6:103:77::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5373.15; Mon, 27 Jun 2022 17:48:15 +0000 Received: from CP6P284MB1900.BRAP284.PROD.OUTLOOK.COM ([fe80::9d3d:d0fe:1196:ff34]) by CP6P284MB1900.BRAP284.PROD.OUTLOOK.COM ([fe80::9d3d:d0fe:1196:ff34%8]) with mapi id 15.20.5373.018; Mon, 27 Jun 2022 17:48:15 +0000 Date: Mon, 27 Jun 2022 14:48:10 -0300 (-03) From: Ivan Quitschal To: Vladimir Kondratyev cc: Ivan Quitschal , "freebsd-current@freebsd.org" Subject: Re: iichid/hms keyboard/mouse wrongly reattached to uhid/ums In-Reply-To: <8674be8f-b4fb-008d-9318-2184285b46a8@kondratyev.su> Message-ID: References: <8674be8f-b4fb-008d-9318-2184285b46a8@kondratyev.su> Content-Type: text/plain; charset=US-ASCII; format=flowed X-TMN: [Pn0ZqckOPxsfw3ZodRRN3fbXXKdp15Kt] X-ClientProxiedBy: CP6P284CA0103.BRAP284.PROD.OUTLOOK.COM (2603:10d6:103:1a8::9) To CP6P284MB1900.BRAP284.PROD.OUTLOOK.COM (2603:10d6:103:118::12) X-Microsoft-Original-Message-ID: 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 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5952985c-0d57-4b22-d6f9-08da5865362f X-MS-Exchange-SLBlob-MailProps: H+eYzHeSLUuGsiT63N+R5VojDbr3XZTYCrwIPTu0NihDkUDKZyHoDhh4Wa1mZ+JYhiuOjeCKatKpRsqHz6DVOENHOUKmVE2FED1dDcEoZX8vgCYyHYvpFUpQZap91IQhaCv64fsYXsd4ow57vAUAf0KC+C5iXBUjNb/aGIiyvAqS8u5cc3Ra4fOTwTcbc42yM5O+ek75LKLhHq73tLUTc4jAEQhFv6x6aHoZWQKMYQ6jCrF8RJgePxDGPsS/2t7OTzpuIBdLf6Emb7iV1XxYqsl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/3sOOrOGSf1rcAh1IOJEbiOKRN8W3zPbeVGt9pRWpbbEOKiWDSfpbT0r1siXUqdAHuQ3tKkJhSN0vFz3O1zRvKvQ95ORF8oJ8r7aNVOC9KQcvfvGAE X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?6E4PxHBqNpZ+2m+JHrGUch6Kfk6dBBOW58W7hEt46A2i8sLhAWeMcUKewkdy?= =?us-ascii?Q?zaOgx0TynOifdbVA4VslF3EeSMOnlzw9L/YKqM8aCBmBOjUubjb2tl8swfvm?= =?us-ascii?Q?SCLZRFHZBK+VHmSGGEp0xrGzotS8WzqdTpzT1YiKdrXsTvjyLtPKmkb5V70b?= =?us-ascii?Q?EwhQgCUlmh0B1r2wnYJLB2DbEb+LF9fntvFfNa7CwZFeX88dQ9SbTyKQNdOV?= =?us-ascii?Q?WBHxRU0+mUMTII5uKNCbFcjEn28m49Ih8bCEwiwwX2ggejQMiDI9zrGQe15J?= =?us-ascii?Q?tzvIYe0SMjaxPwKzbVki+QNAQOakict+agb05e30G3T9CbfiU46+YHN8b/4P?= =?us-ascii?Q?PNJmlvpOJmJAisjkXizM5X4axGgdl6TpwV8O6rPonIsFkOjW6QeYW1i6SyGf?= =?us-ascii?Q?k7Ydd1nZ+Yw/zPs61dCpUHgQ/zY4hXP/SQGuBphhtH0oyJpOHMsTgVR88osG?= =?us-ascii?Q?U0bFOP1H7Fh/rzsua0ADiKwRja5zPhRpAk7jwAEhnrdF77RDVjZoKXQ644vB?= =?us-ascii?Q?3PqS2dVBdu/oRtbibaOr7y0TP7rdOmSb0cBYyOIrJov0KFRFuaMbINRalrLa?= =?us-ascii?Q?8jKh6csaiNd96/ZAuTDxfzgrbcQYnxbdjANLfrDQzFVTWHoi36bzeE3i8oa3?= =?us-ascii?Q?nHjD83cjGx5Auxai7iuifnZYrnQNjvY8SrI/Bv9mObXiyyfl4afzx7T924CM?= =?us-ascii?Q?3f/o1Ukn2+dMwxSiEt/MZvbrEqrvcj0J0plX83jmIsmjp04iewGl2YZSed5P?= =?us-ascii?Q?RTfFhnDwFVu4X8XWIS6OlBqeUEVpimAkWVq25ArNVJdfvadtHATW8cRVS1B0?= =?us-ascii?Q?czGTEpiuuHPHCo0jVJP3ZPvUIymoOyW5bEOl8abd8gLHo8n2xYcG2yKpFLOh?= =?us-ascii?Q?bdChzxO30dr8o9lObhipukQ0BtvnrFH/Ryksv/ZrFA8ufiko7m1hcDtfX/LB?= =?us-ascii?Q?1GGCT5t/oBZHqrPGFSfkT6ePVOHa82umghEG7vrCGAoyY3QWT9yNejWz1DJI?= =?us-ascii?Q?8MEyhAocu6JkC9fThFPybbzg9qblg+hOEacWhNDiZaNWpkV9hT2+5bgvLIgB?= =?us-ascii?Q?AcbPhhhd7lS+Vw6dB0YTpf3fEhfhAl4Q7JaKupWm3BXEZH7aXdLNazO+hw6f?= =?us-ascii?Q?L0mZNcVnx0S3nkmYzaz8/d0VaYAqy30moYpyqY2FQXvVXMElVbmt1zHHl9XL?= =?us-ascii?Q?ZAXt2b/m0Claawkp96JLKszCPWlTdAfpgrZbX90+lHWi+oLDfFK18uCyT3ZB?= =?us-ascii?Q?sjwkBXpVpg+jtW7gSj8MtEUXocrP+5jpgtlx3bAg1w=3D=3D?= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-7dc52.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 5952985c-0d57-4b22-d6f9-08da5865362f X-MS-Exchange-CrossTenant-AuthSource: CP6P284MB1900.BRAP284.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2022 17:48:15.4623 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CPYP284MB0068 X-Rspamd-Queue-Id: 4LWwF42Wt4z3GwT X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b="IspEkny/"; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=hotmail.com; spf=pass (mx1.freebsd.org: domain of tezeka@hotmail.com designates 40.92.97.41 as permitted sender) smtp.mailfrom=tezeka@hotmail.com X-Spamd-Result: default: False [-4.98 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[hotmail.com:s=selector1]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[hotmail.com]; R_SPF_ALLOW(-0.20)[+ip4:40.92.0.0/15]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[hotmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[hotmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[40.92.97.41:from]; DWL_DNSWL_NONE(0.00)[hotmail.com:dkim]; MLMMJ_DEST(0.00)[freebsd-current]; NEURAL_HAM_SHORT(-0.98)[-0.976]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; ASN(0.00)[asn:8075, ipnet:40.80.0.0/12, country:US]; FREEMAIL_CC(0.00)[hotmail.com,freebsd.org]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1] X-ThisMailContainsUnwantedMimeParts: N 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