All of lore.kernel.org
 help / color / mirror / Atom feed
From: Guenter Roeck <linux@roeck-us.net>
To: Karel Zak <kzak@redhat.com>
Cc: Wim Van Sebroeck <wim@iguana.be>, linux-watchdog@vger.kernel.org
Subject: Re: RFE: export watchdog features and version by /sys
Date: Thu, 6 Jun 2019 10:13:04 -0700	[thread overview]
Message-ID: <20190606171304.GA313@roeck-us.net> (raw)
In-Reply-To: <20190606100131.2xgrs5cmtnj4hjyb@ws.net.home>

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

  reply	other threads:[~2019-06-06 17:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-06 10:01 RFE: export watchdog features and version by /sys Karel Zak
2019-06-06 17:13 ` Guenter Roeck [this message]
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=20190606171304.GA313@roeck-us.net \
    --to=linux@roeck-us.net \
    --cc=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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.