Hello, I am trying to install FreeBSD on v2 of HyperV (works fine on v1). Latest (May) installer finally loads well. The problem is that mouse and keyboard input is not captured at all. Installer is properly displayed. Hyper-V claims keyboard input is captured but nothing works. Could you please look into this issue?
The keyboard driver for gen2 hyper-v is planned, though it has not been started yet. I'd suggest you use gen1 for now.
Installed 11.2 release on Hyper-V (gen2) All works well accept no mouse (nothing in /dev)
Hyper-V keyboard driver for Gen2 VM was added in 2017, but Hyper-V mouse driver has not been implemented.
(In reply to Dexuan Cui from comment #3) Dexuan, are there any plans to implement the mouse driver? Or is there spec available to developers?
(In reply to Oleksandr Tymoshenko from comment #4) Unluckily there is no good spec, as far as I know. At least I don't have such a spec at all. :-( I'm afraid the only good reference is the Linux version of the driver: https://github.com/torvalds/linux/blob/master/drivers/hid/hid-hyperv.c The driver doesn't look very complex, so I hope it won't be too difficult to port it to BSD. +whu (Wei) who may help on this.
(In reply to Dexuan Cui from comment #5) Thanks! Just wanted to have some reference in this PR in case somebody gets interested in implementing. I think Linux driver should be enough, it doesn't look complicated.
Mouse should be fixed now in bug 221074.