On Thu, Jun 06, 2019 at 12:01:31PM +0200, Karel Zak wrote: > > Hi, > > I'd like to improve wdctl(8) to read watchdog info from /sys, but I > found that sysfs does not provide all information like ioctl API. > > Unfortunately, there is no way how from /sys get info about supported > watchdog features and firmware version. This info is accessible only > by WDIOC_GETSUPPORT ioclt (struct watchdog_info->options and > watchdog_info->firmware_version). > > It would be nice to have "options" and "firmware_version" also in in > sysfs. Please :-) > Makes sense. Care to submit patches implementing it ? We would have to resolve the conflict against the existing firmware_version attribute provided by ziirave_wdt. Thanks, Guenter