Udevadm info starts with the device specified by the devpath and then walks up the chain of parent devices. It prints for every device found, all possible attributes in the udev rules key format. A rule to match, can be composed by the attributes of the device and the attributes from one single parent device. looking at device '/devices/virtual/input/input11/event11': KERNEL=="event11" SUBSYSTEM=="input" DRIVER=="" looking at parent device '/devices/virtual/input/input11': KERNELS=="input11" SUBSYSTEMS=="input" DRIVERS=="" ATTRS{name}=="Acer BMA150 accelerometer" ATTRS{phys}=="wmi/input1" ATTRS{uniq}=="" ATTRS{properties}=="0"