Advertisement
Guest User

Untitled

a guest
Apr 4th, 2023
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.59 KB | None | 0 0
  1. debian@beaglebone:~$ udevadm info -a -p /sys/class/rtc/rtc0
  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/ocp/4819c000.i2c/i2c-2/2-0068/rtc/rtc0':
  10. KERNEL=="rtc0"
  11. SUBSYSTEM=="rtc"
  12. DRIVER==""
  13. ATTR{max_user_freq}=="64"
  14. ATTR{name}=="rtc-pcf8523 2-0068"
  15. ATTR{hctosys}=="0"
  16. ATTR{offset}=="0"
  17.  
  18. looking at parent device '/devices/platform/ocp/4819c000.i2c/i2c-2/2-0068':
  19. KERNELS=="2-0068"
  20. SUBSYSTEMS=="i2c"
  21. DRIVERS=="rtc-pcf8523"
  22. ATTRS{name}=="pcf8523"
  23.  
  24. looking at parent device '/devices/platform/ocp/4819c000.i2c/i2c-2':
  25. KERNELS=="i2c-2"
  26. SUBSYSTEMS=="i2c"
  27. DRIVERS==""
  28. ATTRS{name}=="OMAP I2C adapter"
  29.  
  30. looking at parent device '/devices/platform/ocp/4819c000.i2c':
  31. KERNELS=="4819c000.i2c"
  32. SUBSYSTEMS=="platform"
  33. DRIVERS=="omap_i2c"
  34. ATTRS{driver_override}=="(null)"
  35.  
  36. looking at parent device '/devices/platform/ocp':
  37. KERNELS=="ocp"
  38. SUBSYSTEMS=="platform"
  39. DRIVERS==""
  40. ATTRS{driver_override}=="(null)"
  41.  
  42. looking at parent device '/devices/platform':
  43. KERNELS=="platform"
  44. SUBSYSTEMS==""
  45. DRIVERS==""
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52. debian@beaglebone:~$ udevadm info -a -p /sys/class/rtc/rtc1
  53.  
  54. Udevadm info starts with the device specified by the devpath and then
  55. walks up the chain of parent devices. It prints for every device
  56. found, all possible attributes in the udev rules key format.
  57. A rule to match, can be composed by the attributes of the device
  58. and the attributes from one single parent device.
  59.  
  60. looking at device '/devices/platform/ocp/44e3e000.rtc/rtc/rtc1':
  61. KERNEL=="rtc1"
  62. SUBSYSTEM=="rtc"
  63. DRIVER==""
  64. ATTR{wakealarm}==""
  65. ATTR{max_user_freq}=="64"
  66. ATTR{date}=="2023-04-04"
  67. ATTR{name}=="omap_rtc 44e3e000.rtc"
  68. ATTR{since_epoch}=="1680600393"
  69. ATTR{hctosys}=="0"
  70. ATTR{time}=="09:26:33"
  71.  
  72. looking at parent device '/devices/platform/ocp/44e3e000.rtc':
  73. KERNELS=="44e3e000.rtc"
  74. SUBSYSTEMS=="platform"
  75. DRIVERS=="omap_rtc"
  76. ATTRS{driver_override}=="(null)"
  77.  
  78. looking at parent device '/devices/platform/ocp':
  79. KERNELS=="ocp"
  80. SUBSYSTEMS=="platform"
  81. DRIVERS==""
  82. ATTRS{driver_override}=="(null)"
  83.  
  84. looking at parent device '/devices/platform':
  85. KERNELS=="platform"
  86. SUBSYSTEMS==""
  87. DRIVERS==""
  88.  
  89.  
  90.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement