[Oberon] oberon-uefi ?

D EMARD vordah at gmail.com
Sun Nov 6 22:10:11 CET 2022

EDK2 has something that looks like usb mouse driver support
I think EFI Clover bootloader is compiled with EDK2 and it has
mouse support.

For gnu-efi there seems to exist some low-level USB support,
I think there is USB class protocol and user should decode mouse

I did some low-level USB 3-btn and wheel mouse support on FPGA
using lowlevel class support. Most mouses have same data structure
like logitech, it reports few bytes for each event move or click.
so most logitech mouses work, and approx 50% other
models have data structure same as logitech.


On Sun, Nov 6, 2022 at 9:31 PM D EMARD <vordah at gmail.com> wrote:

> HM, obviously something we consider 'trivial' like
> 3-button mouse can be issue for bare-metal.
> I can try to search some simple uefi source example that
> supports USB mouse. I have read some blogs that for
> uefi PS/2 mouse/kbd is easier than USB and laptops internally
> hjave PS/2 kbd and touchpad. Example for this is UEFI-NES
> games emulator https://github.com/shadlyd15/NesUEFI
> Of course there should be be some way to get working USB mouse.
> I tried free memtest86 binary, it works with USB mouse support
> On Sun, Nov 6, 2022 at 9:16 PM Michael Schierl <schierlm at gmx.de> wrote:
>> Hello,
>> Am 06.11.2022 um 19:54 schrieb D EMARD:
>> > Is there oberon as UEFI executable?
>> > It could be bare-metal executable running
>> > on modern PC without OS (no need for windows/linux)
>> I am not aware of one that is running directly in the UEFI boot services
>> environment.
>> I considered porting the Oberon RISC Emulator to UEFI boot services some
>> years ago, but I ditched that plan as mouse support in boot services
>> envrironment was (depending on hardware) either very rudimentary or
>> non-existant. (On my laptop, the touchpad does not work at all, and an
>> attached USB mouse works with two buttons but cannot detect both buttons
>> simultaneously, so no interclicks).
>> As most existing bootloaders do not have mouse support, I doubt that the
>> situation changed meanwhile. And with Windows 10/11 having switched to
>> run the boot option selector outside boot services in the "full" Windows
>> environment, I doubt that there will be any more incentives for
>> improving mouse support in UEFI boot services environment.
>> In case your UEFI has working 3-button mouse support in boot services
>> environment, feel free to port one of the Oberon distributions or
>> emulators to that environment :)
>> Regards,
>> Michael
>> --
>> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
>> https://lists.inf.ethz.ch/mailman/listinfo/oberon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.inf.ethz.ch/pipermail/oberon/attachments/20221106/c412c98e/attachment.html>

More information about the Oberon mailing list