Driver for a watchdog : how to ?

From: Paul Rolland (rol_at_as2917.net)
Date: 03/02/04


Date: Tue, 2 Mar 2004 19:41:30 +0100

Hello,

I'm using a motherboard including an hardware watchdog that I want to be
able to control, so that it can restart the server when frozen.
To do that, I have to do some In/out to some ports, which is not permitted
from Ring3.
I then need to have some Ring0 code, which may be a device driver.
I've been browsing the DDK, but I can't find anything related to this kind
of driver.
Could someone tell me which kind of driver is the best appropriated, and
tell me if a sample or some basic code is available somewhere ?
I've been browsing the samples, but they are mostly based on the fact that
the device can be found thru some enumeration, and this driver is purely
I/O,
not registered on the PCI bus, the USB bus or anything else. You have to
know
it is there to use it, no way to guess...

TIA,
Regards,
Paul



Relevant Pages

  • Re: Example PCI driver?
    ... but if you're doing driver development you really should be doing ... It sounds like the first step to writing a PCI device driver would be to ... will populate your registry keys with the appropriate values after the bus ... device has been enumerated by the PCI bus driver? ...
    (microsoft.public.windowsce.embedded)
  • Re: Driver for a watchdog : how to ?
    ... XP and beyond have built in support for hardware watchdogs. ... > I then need to have some Ring0 code, which may be a device driver. ... > not registered on the PCI bus, the USB bus or anything else. ...
    (microsoft.public.development.device.drivers)
  • Re: i386: pata_cs5520 does not work
    ... Device driver platform lacks bus and class support for being resumed. ... Device driver pci0000:00 lacks bus and class support for being resumed. ...
    (Linux-Kernel)
  • Re: [patch] voluntary-preempt-2.6.9-rc1-bk4-Q9
    ... This is looking more and more like a video driver problem: ... The video cards have a command FIFO that is written to via the PCI bus. ...
    (Linux-Kernel)
  • Re: 1394 Virtual Device Driver
    ... Try two machines connected via 1394, one with a virtual device ... > enumerates the bus successfully including the virtual device driver. ...
    (microsoft.public.development.device.drivers)