From nobody Fri Nov 22 13:48:00 2024 X-Original-To: bugs@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 4XvxJ035Dgz5dvtC for ; Fri, 22 Nov 2024 13:48:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XvxJ018Rmz4ts8 for ; Fri, 22 Nov 2024 13:48:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732283280; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=9aX/JV0xhU6F1GaxxDt82p6YlM+ursHZA4L0UgUeqR4=; b=RCPU1YqJZn0O2b9xvsjY8TCoLglYk8jX+i0exujI2KSPgqfOJlYPFambBOEUXI9HRrOwO3 6tnQLa3pJz0QPgsPsU7FAbZoiQ5739SUEuEMY6eHlg1vaD3VkiedyiO83P4ttpV7X/GoKc vy/ThkXpoyMKAMo6qabDXb6BoF/ld55FfOS+tRVkqlyhQ+SVzYLjCOryCqAqqkLKeuZBsN B7wJgVHTUfyobu0Z5Mbs1uu2fe32h++Fz6YrPgha0uhy1foOf1VPI8U5hXkw8+NcCZ11uZ KRBTir4nS1ps4LQri8XVDFGm+x9G7YCaEj/RjpqU7CUICeDncp1eJ3Mg94EKSg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732283280; a=rsa-sha256; cv=none; b=sbzMscF+N5CiDRtxPfv62dvwPR7429wonCi93oOSutVjhfTl/H5qXpKJcilL4l5aoGSHtS 93TdZrEvS34er90G7HL7OdFdew+W7YWfk4kRLobn2tMoFSRJKt+dvukeJyjGWx1+pcP0ps qVHYrfp2dElUTMQON0upCOd5gT1zMlGbkIMgo8FY04+HuaXk/EZmjYD3PeQnMJOxf9x9Aq MJfmO51JYeynQpjVAcLWbF4YRb4fU14BmBPJZ5WCkVipMDNX9LCV7uORT1s01udUnaZQMF C/mlB2FuKvX43TzKm5bZcHY1QJ+3x6ZHpltzdN/bK4UEbtm0/MJaDIZLSIVYoA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XvxJ00T3SzRcd for ; Fri, 22 Nov 2024 13:48:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4AMDlxNo032466 for ; Fri, 22 Nov 2024 13:47:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4AMDlxhQ032465 for bugs@FreeBSD.org; Fri, 22 Nov 2024 13:47:59 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 282920] usbhid: qemu Keyboard doesn't work with qemu-xhci Date: Fri, 22 Nov 2024 13:48:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: manu@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282920 Bug ID: 282920 Summary: usbhid: qemu Keyboard doesn't work with qemu-xhci Product: Base System Version: 15.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: manu@freebsd.org It seems that usbhid doesn't like qemu keyboard when using qemu-xhci (it wo= rks with usb-ehci). How to reproduce : Start a VM with=20 qemu-system-x86_64 -hda diskimage -device qemu-xhci -device usb-kdb -serial stdio The keyboard is unresponsive. diskimage is simply FreeBSD-15.0-CURRENT-amd64-ufs.raw with usbhid_enable s= et to 1 in the kernel (It's probably the same with original image with the tun= able set, will test later). Recompiling a kernel with options USB_DEBUG and setting it to 15 gives : ugen0.2: at usbus0 usbhid_probe:=20 usbhid_probe:=20 usbhid0 on uhub0 usbhid_attach: sc=3D0xfffff80003412800 usbhid0: on usbu= s0 hidbus0: on usbhid0 hkbd0: on hidbus0 usbhid_ctrl_callback: error=3DUSB_ERR_SHORT_XFER usbhid_sync_xfer: USB IO error:5 usbhid_ctrl_callback: error=3DUSB_ERR_SHORT_XFER usbhid_sync_xfer: USB IO error:5 kbd2 at hkbd0 Dual Console: Video Primary, Serial Secondary For each keypress on the keyboard I also have : usbhid_intr_in_callback: transferred! usbhid_intr_in_callback: transferred! Let me know if anything else is needed --=20 You are receiving this mail because: You are the assignee for the bug.=