Thanks for the scenario info, very interesting.  Unfortunately, we didn’t 
intend the Hyper-V UEFI firmware to be a development platform so the UEFI 
protocols that a mouse driver would need to use to communicate with the 
underlying virtual machine bus (the VenHw part of the device path) are not 
publically available and the mouse device protocol is only loosely documented 
via the Linux device source code.
Thanks,
Kris.

From: Thomas Rognon [mailto:tcrog...@gmail.com]
Sent: Thursday, July 24, 2014 4:58 PM
To: edk2-devel
Subject: Re: [edk2] UEFI mouse/touchscreen in Hyper-V

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 
<kh...@microsoft.com<mailto:kh...@microsoft.com>> 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:isakov...@bk.ru<mailto:isakov...@bk.ru>]
Sent: Thursday, July 24, 2014 12:15 PM
To: edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>
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 
<tcrog...@gmail.com<mailto:tcrog...@gmail.com>> 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 
<isakov...@bk.ru<mailto:isakov...@bk.ru>> 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
edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>
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
edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>
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
edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>
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
edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/edk2-devel

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to