]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix issue with Linux guest XHCI tablet probing.
authorPeter Grehan <grehan@FreeBSD.org>
Sun, 14 Jan 2024 11:27:12 +0000 (21:27 +1000)
committerPeter Grehan <grehan@FreeBSD.org>
Sun, 28 Jan 2024 09:03:25 +0000 (19:03 +1000)
commit48214dfab80155c03b9b22aca9f9810774c151e9
tree817e6836862fbd9568b781a57245c0552b7c3824
parent00a82bd964b68ad20f47b25f9419af14ff159f64
Fix issue with Linux guest XHCI tablet probing.

The USB3 spec mandates that the device-descriptor max packet size
be 512 bytes, which requires a field size of 9 since it is a
power-of-2.

Linux kernels recently started validating this field, resulting in
the table not being probed and the cursor not working in bhyve VNC.

PR: 275760

(cherry picked from commit 0c243cd4a3671bf728f33378ac593c08d8367bc2)
usr.sbin/bhyve/usb_mouse.c