I love Hyper-V because of its deep integration with the hardware, OS, and
especially powershell. I test my code in Hyper-V because I've found it to
be much faster, safer, and more convenient than testing on a real
machine. Some of my products have user interfaces and I would like to test
my user interfaces in Hyper-V as well.
This is my process:
1. write code
2. run script that
a. compiles binaries
b. turns off my UEFI VM
b. copies the binaries to my UEFI VM's VHDX
c. turns on my UEFI VM
3. play around and make sure my code does what I except
This works great for keyboard input, graphics output, and networking stuff.
The only thing I'm missing to fill all my needs is pointer input.
Can you give me a starting point on how to make a synthetic mouse driver
for Hyper-V, or is that something only Microsoft could do? The device path
for the keyboard Acpi(...)/VenHw(...) makes me think there is no I/O
protocol exposed that I can build on top of.
Thomas Rognon
On Thu, Jul 24, 2014 at 4:55 PM, Kris Harper <[email protected]> wrote:
> Hi,
>
> As noticed, there is no mouse support in the Hyper-V UEFI
> implementation. In generation 2 virtual machines, all the devices are
> synthetic and need their own drivers.
>
> What kind of scenarios are you thinking of for UEFI mouse support in
> Hyper-V?
>
>
>
> Thanks,
>
> Kris (Hyper-V UEFI developer)
>
>
>
> *From:* Sergey Isakov [mailto:[email protected]]
> *Sent:* Thursday, July 24, 2014 12:15 PM
> *To:* [email protected]
> *Subject:* Re: [edk2] UEFI mouse/touchscreen in Hyper-V
>
>
>
> Qemu has no pointer as well. Same problem.
>
>
>
> On 24 июля 2014 г., at 19:05, Thomas Rognon <[email protected]> wrote:
>
>
>
> Hyper-V is Microsoft's virtual machine technology. It doesn't have USB
> pass-through support (the device path for text input is
> AcpiEx(...)/VenHw(...) with a USB keyboard). So I don't think I can use
> UsbMouseDxe and I guess Microsoft hasn't made a custom driver for pointer
> input.
>
>
>
> On Thu, Jul 24, 2014 at 12:50 AM, Sergey Isakov <[email protected]> wrote:
>
> Hi,
>
> I don't know what is Hyper-V but if you have no SimplePointerProtocol then
> you have to install it by loading additional Dxe driver like
>
> edk2/MdeModulePkg/Bus/Usb/UsbMouseDxe
>
>
>
> Hope it helps,
>
> Sergey
>
>
>
> On 24.07.2014, at 9:06, Thomas Rognon wrote:
>
>
>
> Does anyone know how to capture pointer input in Hyper-V? Is this
> feature not possible yet? When I do a 'dh' from the shell, there are no
> simple or absolute pointer protocols. I'm hoping the answer isn't
> 'Integration Services for UEFI' which doesn't exist. Thanks for any insight.
>
>
>
> Thomas Rognon
>
>
> ------------------------------------------------------------------------------
> Want fast and easy access to all the code in your enterprise? Index and
> search up to 200,000 lines of code with a free copy of Black Duck
> Code Sight - the same software that powers the world's largest code
> search on Ohloh, the Black Duck Open Hub! Try it now.
> http://p.sf.net/sfu/bds_______________________________________________
> edk2-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/edk2-devel
>
>
>
>
>
> ------------------------------------------------------------------------------
> Want fast and easy access to all the code in your enterprise? Index and
> search up to 200,000 lines of code with a free copy of Black Duck
> Code Sight - the same software that powers the world's largest code
> search on Ohloh, the Black Duck Open Hub! Try it now.
> http://p.sf.net/sfu/bds
> _______________________________________________
> edk2-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/edk2-devel
>
>
>
>
> ------------------------------------------------------------------------------
> Want fast and easy access to all the code in your enterprise? Index and
> search up to 200,000 lines of code with a free copy of Black Duck
> Code Sight - the same software that powers the world's largest code
> search on Ohloh, the Black Duck Open Hub! Try it now.
> http://p.sf.net/sfu/bds_______________________________________________
> edk2-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/edk2-devel
>
>
>
>
> ------------------------------------------------------------------------------
> Want fast and easy access to all the code in your enterprise? Index and
> search up to 200,000 lines of code with a free copy of Black Duck
> Code Sight - the same software that powers the world's largest code
> search on Ohloh, the Black Duck Open Hub! Try it now.
> http://p.sf.net/sfu/bds
> _______________________________________________
> edk2-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/edk2-devel
>
>
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel