Re: [PATCH] usb: core: Notify through uevent when not enough bandwidth available

From: F. R. A. Prado

Date: Tue Jul 21 2026 - 09:15:53 EST


On Fri, 2026-07-10 at 15:01 +0200, Greg Kroah-Hartman wrote:
> On Mon, Jun 15, 2026 at 10:35:33AM -0400, Nícolas F. R. A. Prado
> wrote:
> > Currently, when a new device is plugged in and the host controller
> > can't
> > find enough bandwidth for it, an error message is printed:
> >
> >   usb 1-3: Not enough bandwidth for new device state.
> >
> > In order to allow userspace to react to this and suggest the user
> > to use
> > a different host controller, send a uevent with
> > 'USB_NOT_ENOUGH_BANDWIDTH=1' to the root hub device.
>
> Where is this new user/kernel api now documented?  And what tool is
> going to be looking for it?

Sorry I missed that, I'll add the documentation at
Documentation/ABI/testing/usb-uevent in v2.

As for the user, Steam will use it.

--
Thanks,

Nícolas