linux-watchdog.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Karel Zak <kzak@redhat.com>
To: Wim Van Sebroeck <wim@iguana.be>, linux-watchdog@vger.kernel.org
Subject: RFE: export watchdog features and version by /sys
Date: Thu, 6 Jun 2019 12:01:31 +0200	[thread overview]
Message-ID: <20190606100131.2xgrs5cmtnj4hjyb@ws.net.home> (raw)


 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 :-)

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

             reply	other threads:[~2019-06-06 10:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-06 10:01 Karel Zak [this message]
2019-06-06 17:13 ` RFE: export watchdog features and version by /sys Guenter Roeck
2019-06-17 13:57   ` Karel Zak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190606100131.2xgrs5cmtnj4hjyb@ws.net.home \
    --to=kzak@redhat.com \
    --cc=linux-watchdog@vger.kernel.org \
    --cc=wim@iguana.be \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).