Groups related to USB stuff.
Details
Today
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.
Yesterday
This /looks/ fine to me, but there's too much commenting for what's really self evident stuff.
Mon, Nov 2
Sat, Oct 31
@wulf any comments re: i2c'ness?
Fri, Oct 9
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.
Wed, Oct 7
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.
Sep 5 2026
Aug 25 2026
Aug 24 2026
This commit make cheap USB memory key to not attach - see below.
The commit works with Samsung memory keys.
Maybe this is correct and the necessary change to get the cheap noname USB memory keys to work needs to be done in some other place.
Aug 17 2026
I think this is generally a really bad idea.
> kenv | grep vfs vfs.root.mountfrom="ufs:/dev/ada0p2" vfs.root.mountfrom.options="rw"
So we almost always have a : in the path, since the boot loader adds it.
And I think it breaks asking for a root device (say if the root is supposed to be nda0, but that's broken, we may not have the thumb drive you plugged in detected before we get to mountroot prompt).
And many people have zpools on usb, even when booting from ada, so their pools will disappear if the boot path is faster.
adress comments
Aug 16 2026
Back in the day this also used to be a flat sleep for all of cam.. it was worse than it is currently.
I feel like better dependency tracking needs to be done to avoid this behavior.
Also... this might be deal with/benefit ukbd as back in the good old days (when there was a flat sleep), the mount root prompt would be unusable with USB keyboards, leaving the sysadmin with a wedged computer terminal asking for a root device and not being able to actually input anything on the keyboard to remedy that situation. Wash-rinse-repeat and the reboot cycle increases because power cycling sometimes reinitializes firmware and has to respin up drives in JBODs, etc (especially in the legacy BIOS and old UEFI days).
So yes, this is an inconvenience, but I would temper removing this based only on the names of functions, etc, alone.
Please go through git blame and see whether or not the change that added this code (functionally, not restylized it) was dealing with the case we think it should be dealing with (quiescing USB root devices) instead of dealing with the vfs_mountroot prompt.
the root filesystem is on SATA, NVMe, or ZFS (which are never USB).
Aug 13 2026
The changes seem reasonable. My general concerns with the change are just related to documentation, follow up and potential future collaboration (especially if I start helping out in this space in the next few months).

