From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 839E67803CD for ; Fri, 5 Apr 2024 15:39:18 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=B9PB2+LijT8a/YtK3HhneZLtBgvxrGc6WP6KBx7pBLY=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20240206; t=1712331557; v=1; b=2sEWmxx2mWQFKHLXhwnZYeuaIGbMufmEIpgushxriGx+SStnKbEP3ruGiaMhRj0h0rFvvOVl Uz/9jpwKtuV3mqik4zgyGWw2tFLEUD/6yqtLJYuF5N3PYtCE5zvGuIaA6bbv2w4AwN0bpv/JO1t gzNc+aGS06n6qDZ/MymKqfUn80ztRA39Ej9wIy94yapLHKh85Qn5XmMMpFEvWx+gNeX627Z1mPv mAzeSCvjiTbTnKT52D1MKj4dwdVusnkIvSE1XueB5IwxWNQZh1LT0vdIaBznj5Ad8tv0QoZAOhF s0+LodlkGMEJeLQ2rdw+fdv6eKhOGVmwOYKhq84QJZyWQ== X-Received: by 127.0.0.2 with SMTP id owtKYY7687511xFxeEyqeHBg; Fri, 05 Apr 2024 08:39:17 -0700 X-Received: from mail-lj1-f171.google.com (mail-lj1-f171.google.com [209.85.208.171]) by mx.groups.io with SMTP id smtpd.web11.10808.1712321958344360687 for ; Fri, 05 Apr 2024 05:59:18 -0700 X-Received: by mail-lj1-f171.google.com with SMTP id 38308e7fff4ca-2d109e82bd0so23448701fa.3 for ; Fri, 05 Apr 2024 05:59:18 -0700 (PDT) X-Gm-Message-State: sZPEVy6k7JlCBVn3EuvCqeITx7686176AA= X-Google-Smtp-Source: AGHT+IGY3hzHv8H4vF5FEWhhN7XLEa4GuXPFo+xTdmI1k6mgkQq2KDh6I7qPX5wKES/GfKkCn7UQdA== X-Received: by 2002:a2e:83d5:0:b0:2d6:c23f:7dff with SMTP id s21-20020a2e83d5000000b002d6c23f7dffmr1001988ljh.44.1712321955867; Fri, 05 Apr 2024 05:59:15 -0700 (PDT) X-Received: from localhost.localdomain ([86.11.226.171]) by smtp.gmail.com with ESMTPSA id iv9-20020a05600c548900b004162e3e5b9asm2611514wmb.44.2024.04.05.05.59.15 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 05 Apr 2024 05:59:15 -0700 (PDT) From: phillip@axleos.com To: devel@edk2.groups.io Cc: phillip@axleos.com, xypron.glpk@gmx.de Subject: [edk2-devel] [PATCH] OvmfPkg: OVMF supports USB mouses Date: Fri, 5 Apr 2024 13:58:55 +0100 Message-Id: <20240405125855.48427-1-phillip@axleos.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Fri, 05 Apr 2024 08:39:16 -0700 Resent-From: phillip@axleos.com Reply-To: devel@edk2.groups.io,phillip@axleos.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=2sEWmxx2; dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io From: Phillip Tennen UsbMouseDxe was missing from the OVMF build description, so=20 the Simple Pointer Protocol wasn't usable from within QEMU. Here's an example of somone getting tripped up by this: https://forum.osdev.org/viewtopic.php?f=3D1&t=3D31572. I worked around this by including the below patch in my local builds, and was encouraged by Heinrich Schuchardt to submit a patch. I have not contributed to this project before, so please accept my apologies if I've formatted anything incorrect. All the best. Signed-off-by: Phillip Tennen --- OvmfPkg/OvmfPkgX64.dsc | 1 + OvmfPkg/OvmfPkgX64.fdf | 1 + 2 files changed, 2 insertions(+) diff --git a/OvmfPkg/OvmfPkgX64.dsc b/OvmfPkg/OvmfPkgX64.dsc index 56c920168d..d76a263859 100644 --- a/OvmfPkg/OvmfPkgX64.dsc +++ b/OvmfPkg/OvmfPkgX64.dsc @@ -953,6 +953,7 @@ MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf=0D MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf=0D MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf=0D + MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf=0D =0D !include OvmfPkg/Include/Dsc/ShellComponents.dsc.inc=0D =0D diff --git a/OvmfPkg/OvmfPkgX64.fdf b/OvmfPkg/OvmfPkgX64.fdf index eb3fb90cb8..bfe201a352 100644 --- a/OvmfPkg/OvmfPkgX64.fdf +++ b/OvmfPkg/OvmfPkgX64.fdf @@ -342,6 +342,7 @@ INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf INF MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf=0D INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf=0D INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf=0D +INF MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf=0D INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf=0D =0D INF OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf=0D --=20 2.39.3 (Apple Git-145) -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#117459): https://edk2.groups.io/g/devel/message/117459 Mute This Topic: https://groups.io/mt/105348119/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-