[Bug 221074] Hyper V Gen 2 install has no mouse

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 10 22:41:41 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221074

Vladimir Kondratyev <wulf at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wulf at freebsd.org

--- Comment #14 from Vladimir Kondratyev <wulf at freebsd.org> ---
(In reply to Dexuan Cui from comment #13)
> I once tried to port the driver to FreeBSD, but unluckily it
> turned out I couldn't understand how the mouse APIs work in FreeBSD

Hi Dexuan, could you send me your port?
After 13 has got generic HID support, it is probably quite easy to connect the
port with mouse/whatever else HID-based API.

What is needed are:
1. Standard probe/attach/detach functions.
2. Routine to fetch HID report descriptor.
3. Interrupt control functions: setup/unsetup/start/stop.
4. Interrupt handler capable of reading input report.
5. Get report/Set report/Write output report routines (only if supported).

See https://github.com/freebsd/freebsd-src/blob/main/sys/dev/hid/hid_if.m for
HID transport backend protocol description.

And could someone from Microsoft give some attention to Gen 2 VM keyboard
improvement reviews: https://reviews.freebsd.org/D28170 and
https://reviews.freebsd.org/D28171 ?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-virtualization mailing list