Re: RFE: export watchdog features and version by /sys

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 06, 2019 at 10:13:04AM -0700, Guenter Roeck wrote:
> 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 ?

Frankly, although it seems like relatively simple task it would be
better if some kernel developer will do it :-) 

> We would have to resolve the conflict against the existing
> firmware_version attribute provided by ziirave_wdt.

Hmm, maybe use "version" as a filename for the attribute.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux