Groups related to USB stuff.
Details
Mon, Sep 14
rebase + respond to comments
Sun, Sep 6
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.
Sat, Sep 5
Tue, Aug 25
Mon, Aug 24
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).
Rebase
Aug 12 2026
Aug 11 2026
We can and should add every format we need.
Will there be more format as those from /usr/local/include/linux/videodev2.h ?
Aug 9 2026
Jul 28 2026
address comments
Sorry I'm late, thanks for your patience.
tested on my c720 logitech usb camera. it's .. upside down in vlc for some reason, works in browser. i'll test it with other cameras but i think we can / should iterate on this in head post refactor.
rebase
rebase
Jul 27 2026
rebase
use proper device structure

