Summary: | [hyper-v] V2 input from mouse/keyboard not captured | ||
---|---|---|---|
Product: | Base System | Reporter: | freebsd.oubgd |
Component: | misc | Assignee: | freebsd-virtualization (Nobody) <virtualization> |
Status: | Closed FIXED | ||
Severity: | Affects Some People | CC: | bsd, decui, fbsd44, gonzo, sepherosa, weh, whu, yuripv |
Priority: | --- | ||
Version: | CURRENT | ||
Hardware: | amd64 | ||
OS: | Any |
Description
freebsd.oubgd
2016-06-09 19:01:01 UTC
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. |