From nobody Tue Jun 28 06:59:15 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 AB5F387F015 for ; Tue, 28 Jun 2022 06:59:26 +0000 (UTC) (envelope-from tezeka@hotmail.com) Received: from BRA01-CPZ-obe.outbound.protection.outlook.com (mail-cpzbra01olkn2030.outbound.protection.outlook.com [40.92.97.30]) (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 4LXFnn2m8Yz4YTq for ; Tue, 28 Jun 2022 06:59:25 +0000 (UTC) (envelope-from tezeka@hotmail.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g7sWtL4q3Qp6V+3402uiIiSvfD7k46ykRBgu9qkGJZ3fFZYEGO01MoOTeUIOPCYD3gGOQNGngryyk4uC7LQol546azxo0Jf/ywDYeUQBGEJprK97OhuzUFWM0mcRA80LVRX8nnmA9pmHGiyPUtwViZkYWY/5l1xmd0CDwCpKD/eT/8Dz/qjvLwhvUoC5YQbn1PlaAVdcykMw2jk4ZcKcbhhJxTBxHUXoXrI5Y7ql1keUzF/fbdPJotQEKRcJCnHmQ48Cf/ZZqFFJwmwvThfxkHpe/VniEhc8WthbukoDQz2nbEZf6SxROYvr6bavGaVNPirt5aZavpnULMCAIn2Tgw== 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=OrxbYzGc/IeuNDFrQfBk5ieKy65IQ7vFKHk5uSWN8v4=; b=dlhJt2HT3IMwDl10DFFSVqiOxkOqmJ/DSmJtlH2PaH80CRVFzVHqQU3wE/Fiqb22PtslfTg8F488FP5dRFgBwxcyuFzaJp5lHBo2JSSCmoidhdbLEO5wVsibE2FkOjjNtwYqx1FDazux47ldnIJjcTzrfA0fhXoksIg0GR18jXfaeNEpE5A7E5naw48mZOXnE9p7NwBhFkJkGwEpmA7S0kUruVFVEZQ+35ruxfdGWmKIcsdX1fK7XHtEUBc/fsMTWiI1DWdaSAk8kOmCQ+mc5J5lRcF8rBcViYHgBJZUyDrJR0VFj2oG+SPAc0VWGpWm6yIRmgFp5lTUbp8Fl9karQ== 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=OrxbYzGc/IeuNDFrQfBk5ieKy65IQ7vFKHk5uSWN8v4=; b=p8evS1qrlXuceGkbgJsQempI8Ug4SZIEDPcuYj8+CrGDHXTaJumyyOBCQL8MD057LP65fL/NrWtx/jwlfqCeD4xwXva8iBEeXeeicbyhIH/Or1YnSlYkC7Vt5SIHjpXVoXVHvFVMYlXEcJpEcitx1bTcyjk/ub88C+QtuxcHBng94mIkZO1+RfUTpqZRbcu+35lsvantJqjpMRe2nYXV/9M6e2jU5RBL8udSpSqrug1qx66PqCd+cf8uRLtUuqkx12CSq18I5C1nSq5SdUf91jTEMabvie8D7tsII5N1ZniM2sRkf2W3KkS7zKr19uba4w20cKkJzZsIpDWdv5wDJg== Received: from CP6P284MB1900.BRAP284.PROD.OUTLOOK.COM (2603:10d6:103:118::12) by ROAP284MB0413.BRAP284.PROD.OUTLOOK.COM (2603:10d6:10:3e::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5373.16; Tue, 28 Jun 2022 06:59: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; Tue, 28 Jun 2022 06:59:15 +0000 From: Ivan Quitschal To: Vladimir Kondratyev CC: "freebsd-current@freebsd.org" Subject: RES: iichid/hms keyboard/mouse wrongly reattached to uhid/ums Thread-Topic: iichid/hms keyboard/mouse wrongly reattached to uhid/ums Thread-Index: AdiKNwIPD56grc49TwS+3NUAqhONSQAEBTkAAAG+cQAAG2bNYA== Date: Tue, 28 Jun 2022 06:59:15 +0000 Message-ID: References: <8674be8f-b4fb-008d-9318-2184285b46a8@kondratyev.su> In-Reply-To: Accept-Language: pt-BR, en-US Content-Language: pt-BR X-MS-Has-Attach: X-MS-TNEF-Correlator: x-tmn: [aMgjuWPUnX/ockWBi/Ozc8QiS+qtHDta8inM+RjZyM2lSAS/O17szOClqXBqP3l2] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0c74dcd0-ad20-4500-c308-08da58d3b6dd x-ms-traffictypediagnostic: ROAP284MB0413:EE_ x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: yUGp/oF0hjevjAUaDUPDzXZznX4RTm8Ty2ga+GaD7hygGjDgNepp1TxEZXtTV/k41u8/7WJsuZN8F9z09Kg2btPichE7wgWw1Y2vlErpJocwcf/9W3Kd/zROzrYXZ+HJJv9p7JJpxHDhqiUHo+BcjvdFvatzO4ECv/Jbi/pD7lSnI4LEm0RudO3tNqJfALGC8N9R03Hxwhkf1de/v7ksjK0MWhu91iULS0ZXrluOWyis6sWo6cFCrXduZoHUPRPPAa1YWCglt7BgysPu/b0AsmBBpfbhlW3ntruLbA1eP/+ZS6+pNEMyLCWQlYIsZbh/rIu28aZlOXAVx6pB9RYhUKVJ6MakLuiIt2UhkirkaZFcuunc+B04uz1c9SQMch42Tp1dGY35Way62SbxqgLizOKdPX/T/aDBfOPdWduXE7ZvMxBnITv1XVOcoQd/48HKMy/oSDTusvG3lBgmK3RCYtUXb/MM9yyW6GBIaU9JWkId80HXj92/GRgtH29InF5JAfayhc1AsJy64czkn6/0ZSkobLD83X2qsUoAcEgUfZHOUEMG9te6I1Gx38/iV1md34ndP1ibIMspluInPbz2nh5RpNDowtUxP4N9vJU5amz1Emro3HxgSt25LsxKTnpN x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?G3e2Ra50kNlnN+eoA/TJG0uVElH1K8TccNThVA3bM7ZXxtd8ehGNL7XTRMb5?= =?us-ascii?Q?jQ0TG53mDzD3fmuMls2zsta+5OgvVdfHPJv272o2P3S3be5VS0191SOT5p/2?= =?us-ascii?Q?ryHxT8S+6hOUVO5ilJcr2nuT9SG3zt7R6mEEv9ueRtG3sjPf1SVjBZeP2HVe?= =?us-ascii?Q?1tQuG0aiJme2a4OqGxVxIYdzckSZMOkz7+p6GMubc8RrLpNr8dw4M3rWp07p?= =?us-ascii?Q?flA2JbEg4qRSHMt0LjsJ9d1ktyNELtkPFzrT5js5H0T6oL4VzMDO4lREbMRr?= =?us-ascii?Q?A7MjEg1kY7pYdG2BFloYWcyMIAxJ/CuzN6ZcRYbhJKT52V6E1/5FX8g/ObrF?= =?us-ascii?Q?aZVD73xC92UX1Y0enbFLdZzNeva5corumMGT2UEtptBlEKYDAXiW9fWHjjqu?= =?us-ascii?Q?15bLUJxIziptAxc80ouQcQcYemCTtMIVbfjOJwBfpe2zGmyxH4UB3gQL1DI1?= =?us-ascii?Q?Tl80fFVM8QkMDuuVHSzU9D5QOnkzIsBrQqwlQRQmLXoBjyzny+yK1pPwFpjx?= =?us-ascii?Q?r5rHudxRW5jEwJ6FgwijKjuj5HYgSLSdtLHLTbzB78Z3wOwdc86wKoLkjPdq?= =?us-ascii?Q?0idGUIE7xideXJer1P8XFP/5uK32z/FOCujune8gFIIhORCIJ2mqhkMSWLcy?= =?us-ascii?Q?qaIz1PaXYenDZvnDn/5xGx+GL3jbQvKcIWBwBBWhDDdcCd0cy5jJwryxqQcU?= =?us-ascii?Q?6i2Nw28/Wz7BHAeHmnPWXlH1xlpmCGgeXjZGU42KAjFsKeagZR/PcAKY/omH?= =?us-ascii?Q?/9gLYt5EkAST2m76sX8YiUYTwd2GjUG0gumOGvKtROCRoyhLfxXm0TVRsl8m?= =?us-ascii?Q?8WYCZeILNWgt4qmsvCTyEHd2PgJro8iE7Z6ImZfDla5+wkiUHQeRmMhHLfg4?= =?us-ascii?Q?hCSzZ5XVr6gaTzJAVlkqwqhiYdjLUXzuGCxIVxpa8LEhlIUB/3jXHFI+UJe4?= =?us-ascii?Q?cXGyYtzU91Fiae+yYdXDxUXPPpiipUGxs2d7B2yFgpl+0rq5uE2gN7r2hK6W?= =?us-ascii?Q?oN7lgukRg4MT5OHUrfkH4owLiJFgTi/PcXKB9q89n3SlUWyHPgJj+YHs/ydh?= =?us-ascii?Q?jbLEeS2Eh3iH8GHLZesdEAF7pkVAoIrLRoQnMR9svZyCe9DZPlLrObjMFsyy?= =?us-ascii?Q?J3Ut2s+3Ws9pjwopsZBbHCl3ZTX37vSqGovJWiZMfUQjRTD67lHMWD1/YKdr?= =?us-ascii?Q?l0bSG+EjfaarWYasU12Zjkk+we0ZfG2pHKVElgcmh+lsgxMROXMelTQDDBVT?= =?us-ascii?Q?odFZdxlMbX/I7MdJPIcMkIElwaIoIHLHeM58eJyyhIXy/9QcJDBwJsvpRkL8?= =?us-ascii?Q?oBUWrtsBWu3BcS2gC7oDkRc/?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-7dc52.templateTenant X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CP6P284MB1900.BRAP284.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 0c74dcd0-ad20-4500-c308-08da58d3b6dd X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Jun 2022 06:59:15.5520 (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: ROAP284MB0413 X-Rspamd-Queue-Id: 4LXFnn2m8Yz4YTq X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=p8evS1qr; 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.30 as permitted sender) smtp.mailfrom=tezeka@hotmail.com X-Spamd-Result: default: False [-4.99 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.992]; R_DKIM_ALLOW(-0.20)[hotmail.com:s=selector1]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[hotmail.com]; R_SPF_ALLOW(-0.20)[+ip4:40.92.0.0/15]; MIME_GOOD(-0.10)[text/plain]; DWL_DNSWL_NONE(0.00)[hotmail.com:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[hotmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[40.92.97.30:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[hotmail.com,none]; MLMMJ_DEST(0.00)[freebsd-current]; 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]; RCVD_TLS_LAST(0.00)[]; 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=20 > 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=20 > 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 / All, Just a question in case you guys know how.=20 Problem is fixed , nothing about that, but after the keyboard is detached a= nd reattached , I=20 always have to do another "kbdcontrol -r fast" myself for it to get back to= the speed I use. I've tried to call this command from within devd.conf alongside moused, but= no success. Any ideas ? Thanks again for fixing the attach priority Thanks --tzk