From nobody Sun Aug 10 11:08:10 2025 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 4c0FPL0f27z64Qwj for ; Sun, 10 Aug 2025 11:08:22 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4c0FPK6cpnz46tq for ; Sun, 10 Aug 2025 11:08:21 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1754824102; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=3yrmxJsJoUJsyqhkIcGG9aSAAPx1SbVrXPjtp5vLBlY=; b=Y/F0EvyDMSH3NOr8so4oZo4JlBCsd1CXPVwmdMK1GVygfIJQw2neKoSZ6CtkN7COa+UXgy rxu5PSasWHKPOIEHgsqxiaSk/7rwWeyQledzDkd2ldGXsW5ev+B5sYpDc13hOhMHs5sv0B LUn0nWUPZsA4RbHFyS8HVLJThU27LG1pqtHIojdYkNy9yQyXVfrNXsCgVATWX4ptgrnliW j2IzzlPGVkE+JSg6+6j7EERyxrY65dIGst/TXSsBJ2wpWmIzEtqRk/sABZQNWSleY7b2au Y7OZ525QFP+Y0E+ypAi5vsTTifWAwOi+9FlCjKgGkO11cC3LS4mzWOyon1zrXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1754824102; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=3yrmxJsJoUJsyqhkIcGG9aSAAPx1SbVrXPjtp5vLBlY=; b=xfOXct6xiygik2C96GkQjmdR6i083nUnVspo8SWZHj39xZHkfqWKqVxwWWyBfV6bcOtwOm ZsCpWsTk7OM0gJdhXGMy6aQwFf+d7EYQ7l/SP67R0EEHOit4rFWuedTJXlNis9kQzTpWOv STBeqbU6eqHlDtOxbXZHqy6uNmXjPtTZEU4ATExDdevaQInqQvDr6daAZCi1eoannHNGy6 YQCxODOg8puVSh96qiuk1ibw1bivVuEi9NugOrWRPA+y7pwA2uMP5hNY3mMj6db+x/4X5W tYxR5y0J3t2weDk8HMs5v7IeRwUIkHewAemNX96G3aAwsH/nAfzbIekeZKD0eA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1754824102; a=rsa-sha256; cv=none; b=dP8BvzLfBe9gZbn1fBWBg2/jtqw0Z8WeT1DLXoxBF60kqFYuNpJ7jhBtP+n67PdNZBlFfE 0ini5sYrudirviAXJePSu0W15Me8BJF6DzTWUFMxa7Qm95iSQt4ehCT9qqecjV4Q10qmZy Hl9wYREWbrq5qnwkwKUJ9AkEjJhmAD9l6CAFHD68ke3eOlqGia3X9h4ci1pCGZer0XUSCs 8fMtcD12AFW6Aw6EnOJ/APADBe1s2J20pZoSZ/kCOlMqFFSGQo2i7CZK8Xjr9ySNgPMXlX pDcJ9WKzfftwRovEfU9tm3grVqGxyau/KjeMuPA+W5ldaJFCyp3YvNGQa0oY9Q== Received: from mail-qt1-f176.google.com (mail-qt1-f176.google.com [209.85.160.176]) (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 "WR4" (verified OK)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4c0FPK5SsbzK46 for ; Sun, 10 Aug 2025 11:08:21 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-qt1-f176.google.com with SMTP id d75a77b69052e-4b0bc2c02ebso1621381cf.2 for ; Sun, 10 Aug 2025 04:08:21 -0700 (PDT) X-Gm-Message-State: AOJu0YwPuGXr8Gyj5+ECuAh39ZahRAsVa+8w5ppfSlnNm5OEYh5V+nB8 RBWhlEwDPMbNBpflMRPNZv9158SPYtu5AJETNzrPFbCu+EJwPWVol67x33ZW1UcC8rQZ7k7u9/n PC2zQxK/ReWkhzzqKhZSVpnlajE7Sfog= X-Google-Smtp-Source: AGHT+IEWdXoz3iX42kbyJIr0GVDV6dmH8tluRXDvW4A1fH/90wVHPVbE8plYSUd8iDAo8t6rQjqN++Akpoy0BnKvkHw= X-Received: by 2002:a05:622a:4114:b0:4a5:aaeb:dce2 with SMTP id d75a77b69052e-4b0dad8dff8mr1933901cf.10.1754824101271; Sun, 10 Aug 2025 04:08:21 -0700 (PDT) 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 References: In-Reply-To: From: Nuno Teixeira Date: Sun, 10 Aug 2025 12:08:10 +0100 X-Gmail-Original-Message-ID: X-Gm-Features: Ac12FXyGauhioz_qaIlXzQQ8iDgS_BW02Cc0qX1Hknnj7UYvcq_ifUjdm4AA3a4 Message-ID: Subject: Re: Example context needing use of hw.usb.usbhid.enable=0 : serial console keyboard input under Parallels (aarch64) To: Mark Millard Cc: FreeBSD Current Content-Type: multipart/alternative; boundary="000000000000331df1063c00d321" --000000000000331df1063c00d321 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello Mark, Not sure if I understood correctly but lets take a look at UPDATING entry: ``` 20250730: The usbhid(4) USB HID driver is now enabled by default, and will be used in preference to other USB HID drivers like ukbd(4), ums(4), and uhid(4). Work on a FIDO/U2F driver and moused(8) is in progress. The default is being switched now so that we can find and fix any additional issues prior to FreeBSD 15.0. To revert to the previous USB HID driver behavior, set the loader tunable hw.usb.usbhid.enable=3D0. ``` In my context, on a laptop, I need to use `tunable hw.usb.usbhid.enable=3D0= ` to get console mouse working. There are some moused changes to support usbhid as work in progress. Cheers, Mark Millard escreveu (domingo, 10/08/2025 =C3=A0(s) 07= :33): > Until I added the line shown by: > > # grep hw.usb.usbhid.enable /boot/loader.conf > hw.usb.usbhid.enable=3D0 > > I did not any more get: > > ugen1.3: at usbus1 > ukbd0 on uhub1 > ukbd0: on > usbus1 > kbd1 at ukbd0 > ukbd1 on uhub1 > ukbd1: on > usbus1 > > running FreeBSD main under Parallels --but got instead: > > hcons0: on hidbus3 > > The input to the console window in Parallels > did not work for the hidbus3 one. > > It may be that something else needs to be changed > or reverted. I'm just noting the delta from the > preexisting context that I'd previously > established. > > With the line in place, it reverted back to > what I'd previously established as a working > context. > > > =3D=3D=3D > Mark Millard > marklmi at yahoo.com > > > --=20 Nuno Teixeira FreeBSD UNIX: Web: https://FreeBSD.org --000000000000331df1063c00d321 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello Mark,

Not sure if I= understood correctly but lets take a look at UPDATING entry:
```
20250730:
=C2=A0 =C2=A0 =C2=A0 =C2=A0 The usbhid(4) U= SB HID driver is now enabled by default, and will be
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 used in preference to other USB HID drivers like ukbd(4), ums(4)= , and
=C2=A0 =C2=A0 =C2=A0 =C2=A0 uhid(4).=C2=A0 Work on a FIDO/U2F driv= er and moused(8) is in progress.
=C2=A0 =C2=A0 =C2=A0 =C2=A0 The default= is being switched now so that we can find and fix any
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 additional issues prior to FreeBSD 15.0.

=C2=A0 =C2=A0 = =C2=A0 =C2=A0 To revert to the previous USB HID driver behavior, set the lo= ader
=C2=A0 =C2=A0 =C2=A0 =C2=A0 tunable hw.usb.usbhid.enable=3D0.
``= `

In my context, on a laptop, I need to use `tunable hw.usb.us= bhid.enable=3D0` to get console mouse working.
There are some mous= ed changes to support usbhid as work in progress.

Cheers,
Mark Millard <mark= lmi@yahoo.com> escreveu (domingo, 10/08/2025 =C3=A0(s) 07:33):
Until I added the lin= e shown by:

# grep hw.usb.usbhid.enable /boot/loader.conf
hw.usb.usbhid.enable=3D0

I did not any more get:

ugen1.3: <Parallels Virtual Keyboard> at usbus1
ukbd0 on uhub1
ukbd0: <Parallels Virtual Keyboard, class 0/0, rev 3.00/1.10, addr 2>= on usbus1
kbd1 at ukbd0
ukbd1 on uhub1
ukbd1: <Parallels Virtual Keyboard, class 0/0, rev 3.00/1.10, addr 2>= on usbus1

running FreeBSD main under Parallels --but got instead:

hcons0: <Parallels Virtual Keyboard Consumer Control> on hidbus3

The input to the console window in Parallels
did not work for the hidbus3 one.

It may be that something else needs to be changed
or reverted. I'm just noting the delta from the
preexisting context that I'd previously
established.

With the line in place, it reverted back to
what I'd previously established as a working
context.


=3D=3D=3D
Mark Millard
marklmi at yahoo.com




--
Nuno Teixeira
=
FreeBSD UNIX:=C2=A0 <eduardo@FreeBSD.org>=C2=A0 =C2=A0Web:=C2=A0 https://Fr= eeBSD.org
--000000000000331df1063c00d321--