Advertisement
Guest User

Untitled

a guest
Jun 18th, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. [root@Sailfish ~]# udevadm info -a /sys/devices/platform/omap
  2.  
  3. Udevadm info starts with the device specified by the devpath and then
  4. walks up the chain of parent devices. It prints for every device
  5. found, all possible attributes in the udev rules key format.
  6. A rule to match, can be composed by the attributes of the device
  7. and the attributes from one single parent device.
  8.  
  9. looking at device '/devices/platform/omap':
  10. KERNEL=="omap"
  11. SUBSYSTEM==""
  12. DRIVER==""
  13.  
  14. looking at parent device '/devices/platform':
  15. KERNELS=="platform"
  16. SUBSYSTEMS==""
  17. DRIVERS==""
  18.  
  19. [root@Sailfish ~]# udevadm info -a /sys/devices/platform/omap/omap_hsmmc.0
  20.  
  21. Udevadm info starts with the device specified by the devpath and then
  22. walks up the chain of parent devices. It prints for every device
  23. found, all possible attributes in the udev rules key format.
  24. A rule to match, can be composed by the attributes of the device
  25. and the attributes from one single parent device.
  26.  
  27. looking at device '/devices/platform/omap/omap_hsmmc.0':
  28. KERNEL=="omap_hsmmc.0"
  29. SUBSYSTEM=="platform"
  30. DRIVER=="omap_hsmmc"
  31. ATTR{microamps_requested_vmmc}=="0"
  32.  
  33. looking at parent device '/devices/platform/omap':
  34. KERNELS=="omap"
  35. SUBSYSTEMS==""
  36. DRIVERS==""
  37.  
  38. looking at parent device '/devices/platform':
  39. KERNELS=="platform"
  40. SUBSYSTEMS==""
  41. DRIVERS==""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement