treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / Documentation / ABI / testing / usb-uevent
blobd35c3cad892c0627e2672c7002693b146c572d8b
1 What:           Raise a uevent when a USB Host Controller has died
2 Date:           2019-04-17
3 KernelVersion:  5.2
4 Contact:        linux-usb@vger.kernel.org
5 Description:    When the USB Host Controller has entered a state where it is no
6                 longer functional a uevent will be raised. The uevent will
7                 contain ACTION=offline and ERROR=DEAD.
9                 Here is an example taken using udevadm monitor -p:
11                 KERNEL[130.428945] offline  /devices/pci0000:00/0000:00:10.0/usb2 (usb)
12                 ACTION=offline
13                 BUSNUM=002
14                 DEVNAME=/dev/bus/usb/002/001
15                 DEVNUM=001
16                 DEVPATH=/devices/pci0000:00/0000:00:10.0/usb2
17                 DEVTYPE=usb_device
18                 DRIVER=usb
19                 ERROR=DEAD
20                 MAJOR=189
21                 MINOR=128
22                 PRODUCT=1d6b/2/414
23                 SEQNUM=2168
24                 SUBSYSTEM=usb
25                 TYPE=9/0/1
27 Users:          chromium-os-dev@chromium.org