From nobody Wed May 15 22:04:19 2024 X-Original-To: freebsd-stable@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 4VfnM574Bmz4tBDy for ; Wed, 15 May 2024 22:04:33 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VfnM556c1z48vg for ; Wed, 15 May 2024 22:04:33 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-a59c0a6415fso234623466b.1 for ; Wed, 15 May 2024 15:04:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1715810672; x=1716415472; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=mxUurGyKaJvZkEmNA1wpPse6+dYQwVhVcXh3RcfAC/0=; b=v935fTkEpGejXt1+XCvgUFI8DKwGEyiMRHfQnGXUQvMu1K0ZEY863fXWBMMa4G18W3 qlGoo4Paf+2qSitiFh81biweCqsuGc+LMVdouG8PCa7AnwxFUTTYaJo4BvpaB0lgD0vc S1wGE3Q5BUX/5RV4dqfyW5g5QH/jZiXwrlVK6KWe/0B1c63DuMdvgFAidUWXx1UzUNQb JaSQBniVNxhB3z9GlYjCBFvyFL6CZEJiVFCNf5OMWUqOpduekQSddF9u9t/5GZPXWtkn SmMCAME4JCowZB61hZKxYmSx+K13RluPRbxFmoNi8RTtoEFANNkhfXBOOgUsvxGLM0xv 2adA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715810672; x=1716415472; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=mxUurGyKaJvZkEmNA1wpPse6+dYQwVhVcXh3RcfAC/0=; b=EB343AEycAn/9gDttbodUw2ZG/z/pfk4l4N9iZwmDR/F7z0nwkpdhLftZT5Q0sofe9 ldKLyPwOP6BCUoKU7DM+GTsSGxxUdivIBHn53sUJFjC4WrIrvE09Krkt+PbiqGsM+6dl 7Yf9qGZ0h45xCPpfxTi2lb3oPffAAs3Gh5fJQkj4WC47STaYBYTYm6zTjn8ReQYG5njj SBXirYlDxGCkRCWNBt0kPLd6UnihRZ1/Ibj5tGfbsDmNvQupYbxFiVW7o5LbFhtESNN9 DI21Thh/ooG7hsYXaRFI2EC9Ii8wIYoHKVZBohdYy/587/fzcz7N1y9O6mjuBaEkIRMC ew9Q== X-Gm-Message-State: AOJu0YyvdWlzl9ur4djtNVHcmoVNKHEOxVlwUXZF0hc+DOKv/QoM6OxJ 5oXAw67Uw0rlhjMrnQghAjILOhIoFtsQKIAkKK/S1VQZqN9ndUVuZ+RSC2WpP9zC6qAirofvcvr EW6+IomtlQBD2MJMnsjBQI5lXxSSuzH1WP3pDmIxvpwl3Pckt X-Google-Smtp-Source: AGHT+IHNfK7S9uVaOcf3/rUaNk2nspz8UxwzNsWo8DdQ/XvsLVhwRdRQH0nmU0s0vfNm9hR4FhGeHLtPHHJZufO22a0= X-Received: by 2002:a17:906:56c2:b0:a59:9fc8:38be with SMTP id a640c23a62f3a-a5a2d55ae7dmr1112172666b.26.1715810672086; Wed, 15 May 2024 15:04:32 -0700 (PDT) List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-stable@freebsd.org Sender: owner-freebsd-stable@FreeBSD.org MIME-Version: 1.0 References: <0fcdcdb6-fce5-4769-8c98-a7fb2dd811b3@gmail.com> <94393d0e-5dfe-474c-84bc-78cf8c98e599@gmail.com> In-Reply-To: <94393d0e-5dfe-474c-84bc-78cf8c98e599@gmail.com> From: Warner Losh Date: Wed, 15 May 2024 16:04:19 -0600 Message-ID: Subject: Re: git: 6437872c1d66 - main - New sysctl to disable NOMATCH until devmatch runs To: Steven Friedrich Cc: FreeBSD-STABLE Mailing List Content-Type: multipart/alternative; boundary="0000000000009ca8f40618854d95" X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Queue-Id: 4VfnM556c1z48vg --0000000000009ca8f40618854d95 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, May 15, 2024, 4:02=E2=80=AFPM Steven Friedrich wrote: > > On 5/15/24 17:50, Warner Losh wrote: > > This is the second report of this. I think that uhub isn't reporting > > out like nomatch events creating a asymmetry. You can confirm this by > > setting the sysctl to 0. > > > > Warner > > > > On Wed, May 15, 2024, 2:16=E2=80=AFPM Steven Friedrich > > wrote: > > > > My mouse isn't detected, I believe due to this commit. > > > > The anomaly occurs on an HP Slimline and a Dell. > > > > The Dell gets these messages on the console: > > > > ugen0.5: at usbus0 > > (disconnected) > > ugen0.5: at usbus0 > > ugen0.5: at usbus0 > > (disconnected) > > ugen0.5: at usbus0 > > ugen0.5: at usbus0 > > (disconnected) > > ugen0.5: at usbus0 > > ugen0.5: at usbus0 > > (disconnected) > > ugen0.5: at usbus0 > > ugen0.5: at usbus0 > > (disconnected) > > ugen0.5: at usbus0 > > ugen0.5: at usbus0 > > (disconnected) > > ugen0.5: at usbus0 > > ugen0.5: at usbus0 > > (disconnected) > > ugen0.5: at usbus0 > > ugen0.5: at usbus0 > > (disconnected) > > ugen0.5: at usbus0 > > ugen0.5: at usbus0 > > (disconnected) > > ugen0.5: at usbus0 > > ugen0.5: at usbus0 > > (disconnected) > > ugen0.5: at usbus0 > > ugen0.5: at usbus0 > > (disconnected) > > ugen0.5: at usbus0 > > ugen0.5: at usbus0 > > (disconnected) > > ugen0.5: at usbus0 > > ugen0.5: at usbus0 > > (disconnected) > > ugen0.5: at usbus0 > > ugen0.5: at usbus0 > > (disconnected) > > ugen0.5: at usbus0 > > ugen0.5: at usbus0 > > (disconnected) > > ugen0.5: at usbus0 > > ugen0.5: at usbus0 > > (disconnected) > > ugen0.5: at usbus0 > > ugen0.5: at usbus0 > > (disconnected) > > ugen0.5: at usbus0 > > ugen0.5: at usbus0 > > (disconnected) > > ugen0.5: at usbus0 > > > > The HP has this on the console" > > > > hw.bus.devctl_nomatch_enabled: 0>1 (something like that) > > > > Both mice are usb. > > > I invoked sysctl hw.bus.devctl_nomatch_enabled=3D0 as root, but the > messages continued. > > So I put it in /etc/sysctl.conf and I'm rebooting... > You need to put this into /boot/loader.conf or set it at the boot loader prompt. Warner > --0000000000009ca8f40618854d95 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Wed, May 15, 2024, 4:02=E2=80=AFPM Steven Friedrich= <freebsdlouisville@gmail= .com> wrote:

On 5/15/24 17:50, Warner Losh wrote:
> This is the second report of this. I think that uhub isn't reporti= ng
> out like nomatch events creating a asymmetry. You can confirm this by =
> setting the sysctl to 0.
>
> Warner
>
> On Wed, May 15, 2024, 2:16=E2=80=AFPM Steven Friedrich
> <freebsdlouisville@gmail.com> wrote:
>
>=C2=A0 =C2=A0 =C2=A0My mouse isn't detected, I believe due to this = commit.
>
>=C2=A0 =C2=A0 =C2=A0The anomaly occurs on an HP Slimline and a Dell. >
>=C2=A0 =C2=A0 =C2=A0The Dell gets these messages on the console:
>
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Optical Mouse>= ; at usbus0
>=C2=A0 =C2=A0 =C2=A0(disconnected)
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Optical Mouse>= ; at usbus0
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Optical Mouse>= ; at usbus0
>=C2=A0 =C2=A0 =C2=A0(disconnected)
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Optical Mouse>= ; at usbus0
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Optical Mouse>= ; at usbus0
>=C2=A0 =C2=A0 =C2=A0(disconnected)
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Optical Mouse>= ; at usbus0
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Optical Mouse>= ; at usbus0
>=C2=A0 =C2=A0 =C2=A0(disconnected)
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Optical Mouse>= ; at usbus0
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Optical Mouse>= ; at usbus0
>=C2=A0 =C2=A0 =C2=A0(disconnected)
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Optical Mouse>= ; at usbus0
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Optical Mouse>= ; at usbus0
>=C2=A0 =C2=A0 =C2=A0(disconnected)
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Optical Mouse>= ; at usbus0
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Optical Mouse>= ; at usbus0
>=C2=A0 =C2=A0 =C2=A0(disconnected)
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Optical Mouse>= ; at usbus0
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Optical Mouse>= ; at usbus0
>=C2=A0 =C2=A0 =C2=A0(disconnected)
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Optical Mouse>= ; at usbus0
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Optical Mouse>= ; at usbus0
>=C2=A0 =C2=A0 =C2=A0(disconnected)
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Optical Mouse>= ; at usbus0
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Optical Mouse>= ; at usbus0
>=C2=A0 =C2=A0 =C2=A0(disconnected)
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Optical Mouse>= ; at usbus0
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Optical Mouse>= ; at usbus0
>=C2=A0 =C2=A0 =C2=A0(disconnected)
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Optical Mouse>= ; at usbus0
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Optical Mouse>= ; at usbus0
>=C2=A0 =C2=A0 =C2=A0(disconnected)
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Optical Mouse>= ; at usbus0
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Optical Mouse>= ; at usbus0
>=C2=A0 =C2=A0 =C2=A0(disconnected)
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Optical Mouse>= ; at usbus0
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Optical Mouse>= ; at usbus0
>=C2=A0 =C2=A0 =C2=A0(disconnected)
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Optical Mouse>= ; at usbus0
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Optical Mouse>= ; at usbus0
>=C2=A0 =C2=A0 =C2=A0(disconnected)
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Optical Mouse>= ; at usbus0
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Optical Mouse>= ; at usbus0
>=C2=A0 =C2=A0 =C2=A0(disconnected)
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Optical Mouse>= ; at usbus0
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Optical Mouse>= ; at usbus0
>=C2=A0 =C2=A0 =C2=A0(disconnected)
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Optical Mouse>= ; at usbus0
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Optical Mouse>= ; at usbus0
>=C2=A0 =C2=A0 =C2=A0(disconnected)
>=C2=A0 =C2=A0 =C2=A0ugen0.5: <PixArt Dell MS116 USB Optical Mouse>= ; at usbus0
>
>=C2=A0 =C2=A0 =C2=A0The HP has this on the console"
>
>=C2=A0 =C2=A0 =C2=A0hw.bus.devctl_nomatch_enabled: 0>1 (something li= ke that)
>
>=C2=A0 =C2=A0 =C2=A0Both mice are usb.
>
I invoked sysctl hw.bus.devctl_nomatch_enabled=3D0 as root, but the
messages continued.

So I put it in /etc/sysctl.conf and I'm rebooting...


You need to put this into /boot/loader.conf or set it at the boot= loader prompt.

Warner= =C2=A0
--0000000000009ca8f40618854d95--