Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Aug 2025 12:08:10 +0100
From:      Nuno Teixeira <eduardo@freebsd.org>
To:        Mark Millard <marklmi@yahoo.com>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Example context needing use of hw.usb.usbhid.enable=0 : serial console keyboard input under Parallels (aarch64)
Message-ID:  <CAFDf7U%2BW9cS5ETG3%2BX3WJOMibAje_c=UG%2BkskQ3Vc5Mfmiu=4w@mail.gmail.com>
In-Reply-To: <BBB8EBC8-2A38-468D-B968-FE8C4BDA6DCD@yahoo.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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=0.
```

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

Cheers,

Mark Millard <marklmi@yahoo.com> escreveu (domingo, 10/08/2025 à(s) 07:33):

> Until I added the line shown by:
>
> # grep hw.usb.usbhid.enable /boot/loader.conf
> hw.usb.usbhid.enable=0
>
> 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.
>
>
> ===
> Mark Millard
> marklmi at yahoo.com
>
>
>

-- 
Nuno Teixeira
FreeBSD UNIX:  <eduardo@FreeBSD.org>   Web:  https://FreeBSD.org

[-- Attachment #2 --]
<div dir="ltr"><div><div><div><div>Hello Mark,<br><br></div>Not sure if I understood correctly but lets take a look at UPDATING entry:</div><div><br></div><div>```<br>20250730:<br>        The usbhid(4) USB HID driver is now enabled by default, and will be<br>        used in preference to other USB HID drivers like ukbd(4), ums(4), and<br>        uhid(4).  Work on a FIDO/U2F driver and moused(8) is in progress.<br>        The default is being switched now so that we can find and fix any<br>        additional issues prior to FreeBSD 15.0.<br><br>        To revert to the previous USB HID driver behavior, set the loader<br>        tunable hw.usb.usbhid.enable=0.<br>```<br><br></div>In my context, on a laptop, I need to use `tunable hw.usb.usbhid.enable=0` to get console mouse working.<br></div>There are some moused changes to support usbhid as work in progress.<br><br></div>Cheers,</div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">Mark Millard &lt;<a href="mailto:marklmi@yahoo.com">marklmi@yahoo.com</a>&gt; escreveu (domingo, 10/08/2025 à(s) 07:33):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Until I added the line shown by:<br>
<br>
# grep hw.usb.usbhid.enable /boot/loader.conf<br>
hw.usb.usbhid.enable=0<br>
<br>
I did not any more get:<br>
<br>
ugen1.3: &lt;Parallels Virtual Keyboard&gt; at usbus1<br>
ukbd0 on uhub1<br>
ukbd0: &lt;Parallels Virtual Keyboard, class 0/0, rev 3.00/1.10, addr 2&gt; on usbus1<br>
kbd1 at ukbd0<br>
ukbd1 on uhub1<br>
ukbd1: &lt;Parallels Virtual Keyboard, class 0/0, rev 3.00/1.10, addr 2&gt; on usbus1<br>
<br>
running FreeBSD main under Parallels --but got instead:<br>
<br>
hcons0: &lt;Parallels Virtual Keyboard Consumer Control&gt; on hidbus3<br>
<br>
The input to the console window in Parallels<br>
did not work for the hidbus3 one.<br>
<br>
It may be that something else needs to be changed<br>
or reverted. I&#39;m just noting the delta from the<br>
preexisting context that I&#39;d previously<br>
established.<br>
<br>
With the line in place, it reverted back to<br>
what I&#39;d previously established as a working<br>
context.<br>
<br>
<br>
===<br>
Mark Millard<br>
marklmi at <a href="http://yahoo.com" rel="noreferrer" target="_blank">yahoo.com</a><br>
<br>
<br>
</blockquote></div><div><br clear="all"></div><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><font color="#888888">Nuno Teixeira</font></div><div><div><font color="#888888">
FreeBSD UNIX:  &lt;eduardo@FreeBSD.org&gt;   Web:  <a href="https://FreeBSD.org" rel="noreferrer" target="_blank">https://FreeBSD.org</a><br></font></div></div></div></div>;
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7U%2BW9cS5ETG3%2BX3WJOMibAje_c=UG%2BkskQ3Vc5Mfmiu=4w>