From: r.marek@sh.cvut.cz (Rudolf Marek)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] w83792d watchdog
Date: Mon, 10 Apr 2006 10:45:25 +0000 [thread overview]
Message-ID: <443A3745.9080507@sh.cvut.cz> (raw)
In-Reply-To: <442B0C6F.4080604@sh.cvut.cz>
Hi Yuan,
> I have finished the w83793 driver, and i'm testing it.
> So i can be the tester if you need testers on watchdog now,
Good.
>
> Hmm, you mean reading after reboot will not clear the bit?
> Reading use i2cdump after reboot will clear the bit in my computer.
I tried the SOFT watchdog and the bit seems sticky. I will test
this evening.
>>This is so far to datasheet, now to real funcs:
>>
>>1) What will happen if I enable hard and soft watchdog same
>>time? (i'm disabling the hard watchdog timer in first place so
>>it should not be an issue but you never know)
>
>
> I tried write 0x33 and 0x55 to CR01, it seems only the last one is
> enabled by reading CR02.
Ok I will try too.
>
>
>>2) I tried many ways to reset the watchdog timer but only
>>seems to work is to write 0xAA to CR1 and then 0x55 to re-enable it.
>> This seems bit strange because the computer can fail
>>just in between of this two writes Yes I know this is not
>>probable, but
>> the best method is just to re-write the timeout value or
>>rewrite the enable (0x55) - as others might do. Were there
>> some strange reason for this design?
>>
>
>
> I'm quite confusing about this.... Do you mean you can not set the
> timeout value??
I can but after for example one minute I need to refresh the watchdog
so it wont boot the computer. As I have written I tried several methods to
reset the counter back to count the the timeout value.
The only that worked so far is to disable/enable the watchdog which
is non-atomic operation. Other winbond watchdogs works different
way, sufficient is to rewrite the timeout for example.
Regards
Rudolf
next prev parent reply other threads:[~2006-04-10 10:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-29 22:38 [lm-sensors] w83792d watchdog Rudolf Marek
2006-03-30 1:37 ` dezheng shen
2006-04-07 10:43 ` Rudolf Marek
2006-04-10 10:28 ` Ymu
2006-04-10 10:45 ` Rudolf Marek [this message]
2006-04-11 18:34 ` Rudolf Marek
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=443A3745.9080507@sh.cvut.cz \
--to=r.marek@sh.cvut.cz \
--cc=lm-sensors@vger.kernel.org \
/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.