Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- debian@beaglebone:~$ udevadm info -a -p /sys/class/rtc/rtc0
- 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/platform/ocp/4819c000.i2c/i2c-2/2-0068/rtc/rtc0':
- KERNEL=="rtc0"
- SUBSYSTEM=="rtc"
- DRIVER==""
- ATTR{max_user_freq}=="64"
- ATTR{name}=="rtc-pcf8523 2-0068"
- ATTR{hctosys}=="0"
- ATTR{offset}=="0"
- looking at parent device '/devices/platform/ocp/4819c000.i2c/i2c-2/2-0068':
- KERNELS=="2-0068"
- SUBSYSTEMS=="i2c"
- DRIVERS=="rtc-pcf8523"
- ATTRS{name}=="pcf8523"
- looking at parent device '/devices/platform/ocp/4819c000.i2c/i2c-2':
- KERNELS=="i2c-2"
- SUBSYSTEMS=="i2c"
- DRIVERS==""
- ATTRS{name}=="OMAP I2C adapter"
- looking at parent device '/devices/platform/ocp/4819c000.i2c':
- KERNELS=="4819c000.i2c"
- SUBSYSTEMS=="platform"
- DRIVERS=="omap_i2c"
- ATTRS{driver_override}=="(null)"
- looking at parent device '/devices/platform/ocp':
- KERNELS=="ocp"
- SUBSYSTEMS=="platform"
- DRIVERS==""
- ATTRS{driver_override}=="(null)"
- looking at parent device '/devices/platform':
- KERNELS=="platform"
- SUBSYSTEMS==""
- DRIVERS==""
- debian@beaglebone:~$ udevadm info -a -p /sys/class/rtc/rtc1
- 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/platform/ocp/44e3e000.rtc/rtc/rtc1':
- KERNEL=="rtc1"
- SUBSYSTEM=="rtc"
- DRIVER==""
- ATTR{wakealarm}==""
- ATTR{max_user_freq}=="64"
- ATTR{date}=="2023-04-04"
- ATTR{name}=="omap_rtc 44e3e000.rtc"
- ATTR{since_epoch}=="1680600393"
- ATTR{hctosys}=="0"
- ATTR{time}=="09:26:33"
- looking at parent device '/devices/platform/ocp/44e3e000.rtc':
- KERNELS=="44e3e000.rtc"
- SUBSYSTEMS=="platform"
- DRIVERS=="omap_rtc"
- ATTRS{driver_override}=="(null)"
- looking at parent device '/devices/platform/ocp':
- KERNELS=="ocp"
- SUBSYSTEMS=="platform"
- DRIVERS==""
- ATTRS{driver_override}=="(null)"
- looking at parent device '/devices/platform':
- KERNELS=="platform"
- SUBSYSTEMS==""
- DRIVERS==""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement