18c2ecf20Sopenharmony_ciWhat: Raise a uevent when a USB Host Controller has died 28c2ecf20Sopenharmony_ciDate: 2019-04-17 38c2ecf20Sopenharmony_ciKernelVersion: 5.2 48c2ecf20Sopenharmony_ciContact: linux-usb@vger.kernel.org 58c2ecf20Sopenharmony_ciDescription: When the USB Host Controller has entered a state where it is no 68c2ecf20Sopenharmony_ci longer functional a uevent will be raised. The uevent will 78c2ecf20Sopenharmony_ci contain ACTION=offline and ERROR=DEAD. 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci Here is an example taken using udevadm monitor -p:: 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci KERNEL[130.428945] offline /devices/pci0000:00/0000:00:10.0/usb2 (usb) 128c2ecf20Sopenharmony_ci ACTION=offline 138c2ecf20Sopenharmony_ci BUSNUM=002 148c2ecf20Sopenharmony_ci DEVNAME=/dev/bus/usb/002/001 158c2ecf20Sopenharmony_ci DEVNUM=001 168c2ecf20Sopenharmony_ci DEVPATH=/devices/pci0000:00/0000:00:10.0/usb2 178c2ecf20Sopenharmony_ci DEVTYPE=usb_device 188c2ecf20Sopenharmony_ci DRIVER=usb 198c2ecf20Sopenharmony_ci ERROR=DEAD 208c2ecf20Sopenharmony_ci MAJOR=189 218c2ecf20Sopenharmony_ci MINOR=128 228c2ecf20Sopenharmony_ci PRODUCT=1d6b/2/414 238c2ecf20Sopenharmony_ci SEQNUM=2168 248c2ecf20Sopenharmony_ci SUBSYSTEM=usb 258c2ecf20Sopenharmony_ci TYPE=9/0/1 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_ciUsers: chromium-os-dev@chromium.org 28