Re: [PATCH] usb: core: Emit KOBJ_CHANGE on unbound interface

From: Oliver Neukum

Date: Tue Oct 13 2026 - 05:57:27 EST


On 12.10.26 19:16, Fabien Sanglard wrote:

As a result, userspace clients like adb only see UNBIND and must poll
/dev/bus/usb to detect when the interface is ready again. Emit a
KOBJ_CHANGE uevent when device_attach() finds no matching driver so
userspace is notified that the interface can be reclaimed.

Hi,

why do you want to limit this to that specific case?
Why not not always tell user space tat a device has
been reset?

Regards
Oliver