From nobody Mon Aug 11 00:30:24 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 4c0bC83J1lz63fc2 for ; Mon, 11 Aug 2025 00:30:44 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic315-55.consmr.mail.gq1.yahoo.com (sonic315-55.consmr.mail.gq1.yahoo.com [98.137.65.31]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4c0bC616K2z3p2Z for ; Mon, 11 Aug 2025 00:30:41 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=b5MlkpjS; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.65.31 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1754872239; bh=Uan7H7kFr25L5Be7pbQnJxezmZP/lB1VR8h+mPaC63o=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=b5MlkpjSH6Rq0L7bcfJLGnF7cHEAXwINJB4XRVp20LgAXpJk/o/TVQwOyu5f8lx7IovT4DY729tDfSf2NEV41MZxXMEbE6uOhvNhh7oh4P9drxIoC2muQq7RPzkUmzIHFfx2caMczYhLoC8MQA16mzHR4B+zSW0m9qTkYKmJftLSpgWO1mQf02gwpLH2XFDlpBINB2AU5LYWfOqlCpV6TMFIBPMtEHXBO5Kv7hX/+mt/d+ibdP0XaTinXcohrE1HxO64KdESe8e26ty/mZQIKLyDtyMqWgCWCjclxSJIhxL8t89DeVm4L8IJL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1gUyYdSZItYloCeuN5Sm.lPNXxkXb1_gbm28sh6Q_OgwuZYq8O7j_uD.TSODB4h SDq_1Uc_Xk1O.a4SWb_uhF6_dVeShq_.33W3O968dFv2x_TRUi8litRAAL8TzqcEVezyWsdjZAe0 KToUJcYqWvrqGmptA20DqZIXuaK3_Vl8h3gJXWGEQJuycHHQN4.aiBH.xdd2r95GliGu.o9C9EVa RcjTzCf3Gya8EcrLMnUnEXdFw9YyUmA6GLoPJ5b5c5BdL0s2Vc52Z_GDFP1eDNQabAysyylt7Upl TylKPiOgTEV.ihHAazXgX7xsiMrRo1nHb08AePY4MLwbOE3hqZjYlkEoaMLwLlEjnBCjPVv6BGNE 6BDN.3cjBZCxYB.z710vFg9Ae48S6Vdg_iyPUtwHnsT_laRpKtroSjXNIJ0FVoWudMSTo8EjzYjr 9GowZcf7X0.dLFjdDhvqPE2oPY9FjJ1NujozymlNXLHh7qTNEX69ZvToRZH55qenULPGgAGWUhAu WjSkeAb4eG0rmxKOXBz88prkvOWdQvgsbCUiZxtPtd_k0ZOkU8e1Lb5.1V0zHIRfMGhL5E6L5ona H9kY9OH1gSlLUP9MFAgrl3xkoMnyQA7ToHhCMwpDghRwi3Fd2PUK_7fyjQAkDzz8qEt1rYmR9ec1 aeYwhwnYohtA9BolLOSXZCTiTobTk8L0hwDdV9Am0VGa94fnjB0p.YE09q3XxwsmBu2cjfuMFpRy h X-Sonic-MF: X-Sonic-ID: 0f587d1f-eb2d-4e68-a816-6c9cd1b867eb Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.gq1.yahoo.com with HTTP; Mon, 11 Aug 2025 00:30:39 +0000 Received: by hermes--production-gq1-74d64bb7d7-nccgl (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID de2061bc623a8e3c9cc0686e5ca55fd7; Mon, 11 Aug 2025 00:30:34 +0000 (UTC) Content-Type: text/plain; charset=us-ascii 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 (Mac OS X Mail 16.0 \(3826.700.81\)) Subject: Re: Example context needing use of hw.usb.usbhid.enable=0 : serial console keyboard input under Parallels (aarch64) [reproduces again] From: Mark Millard In-Reply-To: Date: Sun, 10 Aug 2025 17:30:24 -0700 Cc: FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: <67BA742F-CEBA-4AB3-B088-22771C20FF8A@yahoo.com> References: To: Jordan Gordeev X-Mailer: Apple Mail (2.3826.700.81) X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.989]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; FREEMAIL_FROM(0.00)[yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; APPLE_MAILER_COMMON(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.31:from]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.31:from] X-Rspamd-Queue-Id: 4c0bC616K2z3p2Z X-Spamd-Bar: --- On Aug 10, 2025, at 10:32, Mark Millard wrote: > On Aug 10, 2025, at 07:51, Jordan Gordeev = wrote: >=20 >> On Sunday, 10 August 2025 at 12:16, Mark Millard = wrote: >>=20 >>> . . . >>=20 >> When usbhid is enabled USB keyboards should appear as hkbd(4) = devices. Do you see any lines mentioning hkbd in dmesg? If not, try = adding "hw.hid.hkbd.debug=3D100" to /boot/loader.conf in the hope that = hkbd will produce some debug messages. Try also loading the hkbd module = and any modules on which it depends via loader.conf because that might = affect the outcome. >>=20 >> When reporting problems such as this, you should provide the version = number of FreeBSD (exact commit ID), version number of Parallels, = whether you have any VM tools installed for better integration between = FreeBSD and Parallels, and because this is a USB problem, the output of = "usbconfig -v" (at least the part describing the keyboard). >=20 > I'm now unable to reproduce the issue. >=20 > . . . >=20 > I'll report more if I get the problem again. After the updates I'm back to the "serial console" is not getting/taking keyboard input (without hw.usb.usbhid.enable=3D0 involved). I'll note that input at the earlier EFI loader stage worked. This is later at the login prompt, so when the FreeBSD kernel would be involved. # dmesg -a | grep -e eybo -e kbd kbd0 at kbdmux0 ugen1.3: at usbus1 usbhid2: = on usbus1 hkbd0: on hidbus2 kbd1 at hkbd0 usbhid3: = on usbus1 hkbd1: on hidbus3 kbd2 at hkbd1 hcons0: on hidbus3 # kldstat Id Refs Address Size Name 1 27 0xffff000000000000 1428858 kernel 2 1 0xffff000195200000 22000 hcons.ko 3 3 0xffff000195222000 24000 hidmap.ko 4 1 0xffff000195246000 22000 hms.ko 5 1 0xffff000195268000 22000 hsctrl.ko 6 1 0xffff00019528a000 23000 virtio_balloon.ko 7 1 0xffff0001952ad000 22000 mac_ntpd.ko # kldload hkbd.ko kldload: can't load hkbd.ko: module already loaded or in kernel # uname -apKU FreeBSD aarch64-main-pbase 15.0-PRERELEASE FreeBSD 15.0-PRERELEASE = main-n279519-7a9834041c91 GENERIC-NODEBUG arm64 aarch64 1500059 1500059 That is a pkgbase FreeBSD installation. Parallels Desktop 20 for Mac Pro Edition Versin 20.4.1 (55996) No VM tools installed. (Only used via the basic console and ssh.) # usbconfig -l ugen1.1: at usbus1, cfg=3D0 md=3DHOST spd=3DSUPER= (5.0Gbps) pwr=3DSAVE (0mA) ugen0.1: at usbus0, cfg=3D0 md=3DHOST spd=3DHIGH = (480Mbps) pwr=3DSAVE (0mA) ugen1.2: at usbus1, cfg=3D0 md=3DHOST = spd=3DSUPER (5.0Gbps) pwr=3DON (0mA) ugen1.3: at usbus1, cfg=3D0 md=3DHOST = spd=3DSUPER (5.0Gbps) pwr=3DON (0mA) # usbconfig -v . . . ugen1.3: at usbus1, cfg=3D0 md=3DHOST = spd=3DSUPER (5.0Gbps) pwr=3DON (0mA) ugen1.3.0: usbhid2: ugen1.3.1: usbhid3: bLength =3D 0x0012=20 bDescriptorType =3D 0x0001=20 bcdUSB =3D 0x0300=20 bDeviceClass =3D 0x0000 bDeviceSubClass =3D 0x0000=20 bDeviceProtocol =3D 0x0000=20 bMaxPacketSize0 =3D 0x0009=20 idVendor =3D 0x203a=20 idProduct =3D 0xfffb=20 bcdDevice =3D 0x0110=20 iManufacturer =3D 0x0001 iProduct =3D 0x0002 iSerialNumber =3D 0x0003 bNumConfigurations =3D 0x0001=20 Configuration index 0 bLength =3D 0x0009=20 bDescriptorType =3D 0x0002=20 wTotalLength =3D 0x0047=20 bNumInterfaces =3D 0x0002=20 bConfigurationValue =3D 0x0001=20 iConfiguration =3D 0x0001 bmAttributes =3D 0x00e0=20 bMaxPower =3D 0x0000=20 Interface 0 bLength =3D 0x0009=20 bDescriptorType =3D 0x0004=20 bInterfaceNumber =3D 0x0000=20 bAlternateSetting =3D 0x0000=20 bNumEndpoints =3D 0x0001=20 bInterfaceClass =3D 0x0003 bInterfaceSubClass =3D 0x0001=20 bInterfaceProtocol =3D 0x0001=20 iInterface =3D 0x0004 Additional Descriptor bLength =3D 0x09 bDescriptorType =3D 0x21 bDescriptorSubType =3D 0x01 RAW dump:=20 0x00 | 0x09, 0x21, 0x01, 0x10, 0x00, 0x01, 0x22, 0x3a,=20 0x08 | 0x00 Endpoint 0 bLength =3D 0x0007=20 bDescriptorType =3D 0x0005=20 bEndpointAddress =3D 0x0081 bmAttributes =3D 0x0003 wMaxPacketSize =3D 0x0040=20 bInterval =3D 0x0004=20 bRefresh =3D 0x0000=20 bSynchAddress =3D 0x0000=20 Additional Descriptor bLength =3D 0x06 bDescriptorType =3D 0x30 bDescriptorSubType =3D 0x00 RAW dump:=20 0x00 | 0x06, 0x30, 0x00, 0x00, 0x40, 0x00 Interface 1 bLength =3D 0x0009=20 bDescriptorType =3D 0x0004=20 bInterfaceNumber =3D 0x0001=20 bAlternateSetting =3D 0x0000=20 bNumEndpoints =3D 0x0001=20 bInterfaceClass =3D 0x0003 bInterfaceSubClass =3D 0x0000=20 bInterfaceProtocol =3D 0x0000=20 iInterface =3D 0x0004 Additional Descriptor bLength =3D 0x09 bDescriptorType =3D 0x21 bDescriptorSubType =3D 0x01 RAW dump:=20 0x00 | 0x09, 0x21, 0x01, 0x10, 0x00, 0x01, 0x22, 0xa0,=20 0x08 | 0x00 Endpoint 0 bLength =3D 0x0007=20 bDescriptorType =3D 0x0005=20 bEndpointAddress =3D 0x0082 bmAttributes =3D 0x0003 wMaxPacketSize =3D 0x0040=20 bInterval =3D 0x0004=20 bRefresh =3D 0x0000=20 bSynchAddress =3D 0x0000=20 Additional Descriptor bLength =3D 0x06 bDescriptorType =3D 0x30 bDescriptorSubType =3D 0x00 RAW dump:=20 0x00 | 0x06, 0x30, 0x00, 0x00, 0x40, 0x00 =3D=3D=3D Mark Millard marklmi at yahoo.com