$ ls -lad /sys/devices/platform/opal-sensor/hwmon/*/power*
drwxr-xr-x 2 root root 0 May 23 10:16
/sys/devices/platform/opal-sensor/hwmon/hwmon4/power
-r--r--r-- 1 root root 65536 May 23 10:16
/sys/devices/platform/opal-sensor/hwmon/hwmon4/power1_input
$ cat /sys/devices/platform/opal-sensor/hwmon/hwmon4/power1_input
566000000
There patches allow any
/sys/devices/platform/opal-sensor/hwmon/hwmon*/power* file to be
detected as a measurement sysfs entry excluding directories.
Show replies by date