Skip to content

Instantly share code, notes, and snippets.

@kuon
Last active June 29, 2018 21:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kuon/88f417e2369770e6432555a4013e984b to your computer and use it in GitHub Desktop.
Save kuon/88f417e2369770e6432555a4013e984b to your computer and use it in GitHub Desktop.
$ dmesg
[324827.322211] usb 3-2.4.1.1: new full-speed USB device number 22 using xhci_hcd
[324827.423819] usb 3-2.4.1.1: New USB device found, idVendor=2184, idProduct=0030, bcdDevice= 1.00
[324827.423822] usb 3-2.4.1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[324827.423823] usb 3-2.4.1.1: Product: GDM834X VCP PORT
[324827.423825] usb 3-2.4.1.1: Manufacturer: Silicon Labs
[324827.423826] usb 3-2.4.1.1: SerialNumber: GES817002
$ uname -r; pacman -Q linux
4.17.2-1-ARCH
linux 4.17.2-1
$ udevadm -monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent
KERNEL[331992.952053] add /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2.4/3-2.4.1/3-2.4.1.1 (usb)
KERNEL[331992.957548] add /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2.4/3-2.4.1/3-2.4.1.1/3-2.4.1.1:1.0 (usb)
KERNEL[331992.957572] bind /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2.4/3-2.4.1/3-2.4.1.1 (usb)
UDEV [331992.966558] add /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2.4/3-2.4.1/3-2.4.1.1 (usb)
UDEV [331992.967344] add /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2.4/3-2.4.1/3-2.4.1.1/3-2.4.1.1:1.0 (usb)
UDEV [331992.967995] bind /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2.4/3-2.4.1/3-2.4.1.1 (usb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment