From: "Pádraig Brady" <P@draigBrady.com>
To: ryan.clayburn@dsto.defence.gov.au
Cc: linux-kernel@vger.kernel.org
Subject: Re: Advantech Watchdog timer query
Date: Fri, 04 Nov 2005 10:03:08 +0000 [thread overview]
Message-ID: <436B31DC.4020207@draigBrady.com> (raw)
In-Reply-To: <1131082306.2025.10.camel@localhost.localdomain>
Ryan Clayburn wrote:
>>Hi Everyone,
>
>
>>I work for a government agency so please forgive me for not having the
>>latest version of the kernel. My question concerns an Advantech card
>>PCI 6870 Single Board Computer and its watchdog timer. I am running
>>Redhat 9 linux 2.4.20-8 and it comes with module that supports the
>>hardware advantechwdt.o. I have been able install and communicate with
>>the card.Get and set the timeout or margin and get the support
>>information of the card. Everything seems to work except when i
>>deliberately delay the ping to the card to let it reboot the system as
>>a watchdog should it does not reboot. Is there something i am missing.
>>Do i need a update to the driver? I am attaching the code. It is fairly
>>simple and a lot of it is just reading and writing information read
>
>>from the driver about the card. I would appreciate any help.
>
>>>Be careful that you're using the correct driver.
>>>Certain newer advantech systems use the w83627hf
>>>chip, which is not supported in 2.4 by default.
>>>Backporting the driver from 2.6 should be trivial.
>
>
>>>Pádraig.
>
>
>I have backported the driver as suggested from 2.6 to 2.4 but that
>didn't help. I then got a fedora core 3 installation on a separate hard
>drive with kernel 2.6.9-1.667. the one thing that i found that is
>peculiar and looks like a bug is that the /usr/include/watchdog.h is not
>the same as the watchdog.h in the src directory. In any case even after
>copying the the header file across i was unable to get the watchdog to
>reset the OS. Is there something i am not doing?
>
Looking at the datasheet for this system,
gives the watchdog characteristics of
15sec - 127min timeout in steps of 30sec.
This is quite sophisticated and doesn't
match the original advantechwdt.c, w83627hf.c
or i810-tco.c. So you need to ask advantech
exactly what watchdog they're using on that system.
Pádraig.
next prev parent reply other threads:[~2005-11-04 10:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-04 5:31 Advantech Watchdog timer query Ryan Clayburn
2005-11-04 10:03 ` Pádraig Brady [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-10-21 7:42 Ryan Clayburn
2005-10-21 9:22 ` Alan Cox
2005-10-21 9:41 ` P
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=436B31DC.4020207@draigBrady.com \
--to=p@draigbrady.com \
--cc=linux-kernel@vger.kernel.org \
--cc=ryan.clayburn@dsto.defence.gov.au \
/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.