Groups related to USB stuff.
Details
Yesterday
Wed, Dec 2
It is wrong to cap report size to 0.5Gb. It is even worse then integer wrapping as results in larger size of allocated buffers. 2^16 bytes sounds better here.
Tue, Dec 1
neat! @wulf what do you think?
Switched to ckd_mul()/ckd_add() from sys/ckdint.h. Also fixed the same wrap in the byte rounding and in the hmt pos + size check.
Mon, Nov 30
(not entirely USB as HID is more expansive than just that, but still.. tagged with USB to look at.)
Sat, Nov 7
Seems straightforward to me too.
Fri, Nov 6
This looks fine to me. I wonder who else we should tag. @aokblast ?
Nov 4 2026
Thanks, I've added LUMANATE (0x1009) to usbdevs and used USB_VENDOR_LUMANATE in both the HID quirk and cp2112_devs. The updated diff has full context.
Thanks, I've removed the two comments and changed the timeout to USB_DEFAULT_TIMEOUT * SBT_1MS (five seconds). Each report wait and status loop retains its own absolute deadline.
Nov 3 2026
This /looks/ fine to me, but there's too much commenting for what's really self evident stuff.
Nov 2 2026
Oct 31 2026
@wulf any comments re: i2c'ness?
Oct 9 2026
refer to bug
If you could mention the bug (once) in the code, that would be helpful and I'm happy to provide a ship-it.
Oct 7 2026
Polling only for tSetSR now, instead of tSetSR 100 times. Note that Linux waits about 10 times tSetSR, but on my hardware just tSetSR works perfectly fine, and this is to-spec.
Oct 2 2026
My concerns are about the TODOs needing documentation in Bugzilla/the wiki. TODOs without followup issues clutter up source code, except for the person who has the context: in this case, you (while you remember what the TODOs mean).
Sep 14 2026
rebase + respond to comments
Sep 6 2026
I do not see any changes to usb_transfer.c in the stack.
That likely means usbd_get_std_packet_size() array accesses may get out of bounds accesses?
If I am right, this should be addressed somewhere before this or other bits go in.It is in https://reviews.freebsd.org/D57198.

