Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ udevadm info --attribute-walk --path=/sys/bus/i2c/devices/0-0044/hwmon/hwmon3
- 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/soc/3f205000.i2c/i2c-0/0-0044/hwmon/hwmon3':
- KERNEL=="hwmon3"
- SUBSYSTEM=="hwmon"
- DRIVER==""
- ATTR{heater_enable}=="0"
- ATTR{humidity1_alarm}=="0"
- ATTR{humidity1_input}=="61366"
- ATTR{humidity1_max}=="79687"
- ATTR{humidity1_max_hyst}=="78125"
- ATTR{humidity1_min}=="20312"
- ATTR{humidity1_min_hyst}=="21875"
- ATTR{name}=="sht3x"
- ATTR{power/control}=="auto"
- ATTR{power/runtime_active_time}=="0"
- ATTR{power/runtime_status}=="unsupported"
- ATTR{power/runtime_suspended_time}=="0"
- ATTR{repeatability}=="2"
- ATTR{temp1_alarm}=="0"
- ATTR{temp1_input}=="23709"
- ATTR{temp1_max}=="59931"
- ATTR{temp1_max_hyst}=="57880"
- ATTR{temp1_min}=="-10137"
- ATTR{temp1_min_hyst}=="-9112"
- ATTR{update_interval}=="0"
- looking at parent device '/devices/platform/soc/3f205000.i2c/i2c-0/0-0044':
- KERNELS=="0-0044"
- SUBSYSTEMS=="i2c"
- DRIVERS=="sht3x"
- ATTRS{name}=="sht3x"
- ATTRS{power/control}=="auto"
- ATTRS{power/runtime_active_time}=="0"
- ATTRS{power/runtime_status}=="unsupported"
- ATTRS{power/runtime_suspended_time}=="0"
- looking at parent device '/devices/platform/soc/3f205000.i2c/i2c-0':
- KERNELS=="i2c-0"
- SUBSYSTEMS=="i2c"
- DRIVERS==""
- ATTRS{delete_device}=="(not readable)"
- ATTRS{name}=="bcm2835 (i2c@7e205000)"
- ATTRS{new_device}=="(not readable)"
- looking at parent device '/devices/platform/soc/3f205000.i2c':
- KERNELS=="3f205000.i2c"
- SUBSYSTEMS=="platform"
- DRIVERS=="i2c-bcm2835"
- ATTRS{driver_override}=="(null)"
- ATTRS{power/control}=="auto"
- ATTRS{power/runtime_active_time}=="0"
- ATTRS{power/runtime_status}=="unsupported"
- ATTRS{power/runtime_suspended_time}=="0"
- looking at parent device '/devices/platform/soc':
- KERNELS=="soc"
- SUBSYSTEMS=="platform"
- DRIVERS=="simple-pm-bus"
- ATTRS{driver_override}=="(null)"
- ATTRS{power/control}=="auto"
- ATTRS{power/runtime_active_time}=="0"
- ATTRS{power/runtime_status}=="unsupported"
- ATTRS{power/runtime_suspended_time}=="0"
- looking at parent device '/devices/platform':
- KERNELS=="platform"
- SUBSYSTEMS==""
- DRIVERS==""
- ATTRS{power/control}=="auto"
- ATTRS{power/runtime_active_time}=="0"
- ATTRS{power/runtime_status}=="unsupported"
- ATTRS{power/runtime_suspended_time}=="0"
- ===============================================
- $ udevadm info --attribute-walk --path=/sys/class/hwmon/hwmon2
- 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/soc/3f205000.i2c/i2c-0/0-0044/hwmon/hwmon2':
- KERNEL=="hwmon2"
- SUBSYSTEM=="hwmon"
- DRIVER==""
- ATTR{heater_enable}=="0"
- ATTR{humidity1_alarm}=="0"
- ATTR{humidity1_input}=="61531"
- ATTR{humidity1_max}=="79687"
- ATTR{humidity1_max_hyst}=="78125"
- ATTR{humidity1_min}=="20312"
- ATTR{humidity1_min_hyst}=="21875"
- ATTR{name}=="sht3x"
- ATTR{power/control}=="auto"
- ATTR{power/runtime_active_time}=="0"
- ATTR{power/runtime_status}=="unsupported"
- ATTR{power/runtime_suspended_time}=="0"
- ATTR{repeatability}=="2"
- ATTR{temp1_alarm}=="0"
- ATTR{temp1_input}=="23540"
- ATTR{temp1_max}=="59931"
- ATTR{temp1_max_hyst}=="57880"
- ATTR{temp1_min}=="-10137"
- ATTR{temp1_min_hyst}=="-9112"
- ATTR{update_interval}=="0"
- looking at parent device '/devices/platform/soc/3f205000.i2c/i2c-0/0-0044':
- KERNELS=="0-0044"
- SUBSYSTEMS=="i2c"
- DRIVERS=="sht3x"
- ATTRS{name}=="sht3x"
- ATTRS{power/control}=="auto"
- ATTRS{power/runtime_active_time}=="0"
- ATTRS{power/runtime_status}=="unsupported"
- ATTRS{power/runtime_suspended_time}=="0"
- looking at parent device '/devices/platform/soc/3f205000.i2c/i2c-0':
- KERNELS=="i2c-0"
- SUBSYSTEMS=="i2c"
- DRIVERS==""
- ATTRS{delete_device}=="(not readable)"
- ATTRS{name}=="bcm2835 (i2c@7e205000)"
- ATTRS{new_device}=="(not readable)"
- looking at parent device '/devices/platform/soc/3f205000.i2c':
- KERNELS=="3f205000.i2c"
- SUBSYSTEMS=="platform"
- DRIVERS=="i2c-bcm2835"
- ATTRS{driver_override}=="(null)"
- ATTRS{power/control}=="auto"
- ATTRS{power/runtime_active_time}=="0"
- ATTRS{power/runtime_status}=="unsupported"
- ATTRS{power/runtime_suspended_time}=="0"
- looking at parent device '/devices/platform/soc':
- KERNELS=="soc"
- SUBSYSTEMS=="platform"
- DRIVERS=="simple-pm-bus"
- ATTRS{driver_override}=="(null)"
- ATTRS{power/control}=="auto"
- ATTRS{power/runtime_active_time}=="0"
- ATTRS{power/runtime_status}=="unsupported"
- ATTRS{power/runtime_suspended_time}=="0"
- looking at parent device '/devices/platform':
- KERNELS=="platform"
- SUBSYSTEMS==""
- DRIVERS==""
- ATTRS{power/control}=="auto"
- ATTRS{power/runtime_active_time}=="0"
- ATTRS{power/runtime_status}=="unsupported"
- ATTRS{power/runtime_suspended_time}=="0"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement