From nobody Wed Aug 13 20:13:06 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 4c2KLq5qrWz64SCc for ; Wed, 13 Aug 2025 20:13:23 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic312-24.consmr.mail.gq1.yahoo.com (sonic312-24.consmr.mail.gq1.yahoo.com [98.137.69.205]) (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 4c2KLp0Y50z3N8Q for ; Wed, 13 Aug 2025 20:13:21 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=EGGuIwOh; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.69.205 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=1755116000; bh=4Y6i9EMcp2mHmlZ4PREsLz6t2SGimhVjNE0COVvbuO4=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=EGGuIwOh3/Hf5KI18UC5vuqokvOmxc11+Ow4zo8ZX4jh1c/SxIFcBvlwd/gFPxmA/nlYwlVh35OeS2XFnHCB0XiKqT0H8mloUbGye7Avzr3i61KrAiUYAVK78G/RurPKmsJS/RmBlxsgcU0Pr/DsMhJZUJAetRSlEVqd/AyRgGhKPtAMVhXU/ZuCPLsROS3blF4dfhKqCEYs0f2PmZCEbLG6uFjq0qmYL5elv0SOHCdTXBTcVku5CRnxNFoF7Hn20SKi1I3TxIkEP/Ah1bpYaG1viDeaejOkbHNGpnDZKFZXpoIyM7XwG0xX3e23e7yIfJuVsDfA+EZXHX2SWpARKQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1755116000; bh=DS/oaqEzqqqggTSZ9jA4d8N/BvUcRmmkx0ZkejX/H/0=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=jl1nPNGjwunw56yb9fx7E99TbiQDUZtm+6VdIvaGH8cfb2e/aaMtAg0lk0BUr8hS7dVDpK0tLBfBTMQFlhBfXFZvncuOyR6kVpJyyDHsGa1/5N2F2nKQxhENaxJ95vE/g1iYpT8vHzCCeKYey1yTgm+JaPHAofoSA2pWbLutPK5u+SmZ2HY7FnQhtDDYUD79D3/d4vuQLPtc8P+VVsMnCJbE1ukdR3boMA5XzWjnhq47ydjTVgzrl8xlqskHvsutAja7DbF/WQhGQdB3musooKI3LcFMLXlgJ8jsTi8witdkcSKjUTG72e63hAd3cyIkUl3TCnyRDnOJU6LTCBioiw== X-YMail-OSG: QAcRdA0VM1mj18NwliwWRikzNO5cL7QwSss69xKZTNNPerCUuFi0kWou3e0M40M 4K3nVKQMZRU4WTiDdSFCHwnD9T44AQQeRb4MY_109k7yzZdR5xM4Sh_QJ6Zrtj3q_W33EN_xIOs8 u3sApzBthYWglx91xtqwVCZHCChV3B87.3vm75s19ifLvhIr9Y68XXhoXIS0uiICXV3zGtW6_9vD m9AO9fla0bEgB6xKDmtu4c4a7zbN36OQhX2gRm0I1Og74VjCeORX7rdaTb6h86mC0jkiHtWZkxRl RXN06KJ1L4u60CbleMbgO66jyh2B1GMjkSVLpyZudm5.Rgtg_r9D2u5dOG68H9hH_gjlk3XnQAHp nUd.xNhuKsX9cI_CbgVXiYeIo2enC7F7_FRXj.wV1ggDP.otWJmpbKkOzyjF0Olz92jTakdtoq_z vwU4Al.0PElFhv7xD42nZiRW3vVaUjf9hHNIYLPFyWtl4.VATUhkg.ZVKuC7eBh3Adhu0pahQW_O ZJzaLbfKxf.S9Z2wV_XLdwujeQNKk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6anNWBwHCefS_Ceg4gPmRcjmkkHCDMi6aSlDeI D3NMKhGC2b9IvYQlMxkG5i3VBMvqE7TawRPiXqbS9DxY7KzXz4XOWsaQlNFzGKdZbaec.dh4i4S_ fhopmacuP6N6d2xP8bUR6bfIO2MPyLh_pEicch_0i_WJc5o56lSdFknEI1jW0IIZ9wxEiwLz5mBn Wl0L70LcJaklTaiDhRyq8R5Awp_pEZZTpkvx.6QAZ11x5lqx1ZtW2wKNxqAsl9CxwNDgDe4TXcYb Xl70CxAkf16OtJ7Y0ykG4Y4Uw.lKoMLArajff76x4zlUXHFInkmvOJb83jJ9WftKaKqirN0kTc7H ..uK8wS7cc.fyMeqjv_iUdb0aGk7iaTMGfUcEBsNzrBO4NBeQ.FfZ2PxNnAbyLWtj6rqTzNSQ3Ez ihTTajIbqoHOutrwiq5EVyViHOvERlutJ0yj8L16IM8X59wqqYPBwl0PH0slJX1Qe8ISpq3lIzWW ck50C_PDgXAnqzPVHnLxkayqet_A5PL1LvHwtjy_4WEWfURKd3w2vR5EesMB1msM4klRxsIYSj1M EKJ9NEZaD3xue8qiiNmXdKjvJ5y3H8AJmJ9xySXltgIMWmXlYh4hXvqVCw1.5kS2gTDPJMVM5VtY G7HKwADpHXJjdV5_1jPad5LN3a8pWfugHSAoYvsHJUJ5bu8yJKYUobbmubKg7QZmEkyR05H5lEyf B X-Sonic-MF: X-Sonic-ID: 04e41729-f734-4db9-b75c-8cee28f13825 Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.gq1.yahoo.com with HTTP; Wed, 13 Aug 2025 20:13:20 +0000 Received: by hermes--production-gq1-74d64bb7d7-5qmwx (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID b9ad45d27ce139242698cfafddccee72; Wed, 13 Aug 2025 20:13:17 +0000 (UTC) From: Mark Millard 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 (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] Message-Id: <0A593479-84C4-493E-8940-B64985ED64C7@yahoo.com> Date: Wed, 13 Aug 2025 13:13:06 -0700 To: Jordan Gordeev , FreeBSD Current X-Mailer: Apple Mail (2.3826.700.81) References: <0A593479-84C4-493E-8940-B64985ED64C7.ref@yahoo.com> X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.997]; 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.69.205:from]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.205:from] X-Rspamd-Queue-Id: 4c2KLp0Y50z3N8Q X-Spamd-Bar: --- Jordan Gordeev wrote on Date: Wed, 13 Aug 2025 18:14:41 UTC : > On Wednesday, 13 August 2025 at 08:30, Mark Millard = wrote: >=20 > > Jordan Gordeev wrote on > >=20 > > > Serial console is typically understood to mean a console over a = serial link like RS-232. If you end up reporting this bug to the bug = database, using confusing terminology should be avoided. > >=20 > >=20 > > "Text console"? Some other suggestion to avoid misleading? It is not = emulating any general graphics console as far as I can tell. >=20 > "Text console" is fine. >=20 > > > The hkbd(4) driver detects the keyboard and attaches successfully. = Adding the following to /boot/loader.conf will enable debug output from = the driver: > > > hw.hid.hkbd.debug=3D"100" > >=20 > >=20 > > Added for now. >=20 > Okay, you've enabled the generation of debugging output by hkbd(4). = What did you do with the generated output? Other than the diff's I'd provided (as referenced below)? > It's the most important piece of information in this situation. >=20 > > dmsg -a output capture differences from different boots follow. >=20 > There are three cases here: > Case A: usbhid is disabled; the keyboard works > Case B: usbhid is enabled; the keyboard works > Case C: usbhid is enabled; the keyboard doesn't work You deleted the text here that provided a diff for, for example, QUOTE In the below "-" is for failing (default ...usbhid.ignored) and "+" is = for working ( ...usbhid.ignored=3D0 ) END QUOTE As I understand, that translates to my "-" being your (C) and to my "+" = being your (A). > You recently observed Case B. The difference in dmesg between Case B = and Case C is what is of interest. I've no known way to cause (B). As far as my classifications back then, = any (B)-like example may have been a misclassification of the context = that I had at the time [so: actually (A)?]. I'm unable to produce a (B) = example so far. Sorry for my apparent classification screwup. > > > Also, when the keyboard doesn't work does the mouse work? > >=20 > >=20 > > This is not a graphics window context. Clicking in that window = captures the mouse/cursor and stops displaying it until Ctrl+Alt are = both pressed at the same time "too free the cursor", as it says. > >=20 >=20 > If you start moused, you would get a mouse cursor in the text console. = However, with usbhid enabled, the mouse will always not work (the cursor = won't move at all) because the current version of moused does not = support hms(4) devices. Forget about the mouse for a while. Okay. > One extra thing to try is resetting the keyboard with a command such = as this: > usbconfig -d /dev/ugen1.3 reset >=20 > If the keyboard doesn't work, the command might make it work. Perhaps = the opposite is also possible. For both types of contexts, (A) and (C), the usbconfig command made no = difference to keyboard input status for the context. I did not ever end = up with a (B) context. =3D=3D=3D Mark Millard marklmi at yahoo.com