[PATCH] 2.6.0 - Watchdog patches

From: Wim Van Sebroeck
Date: Mon Dec 29 2003 - 15:00:39 EST


Hi Linus, Andrew,

please do a

bk pull http://linux-watchdog.bkbits.net/linux-2.5-watchdog

This will update the following files:

drivers/char/watchdog/Kconfig | 4 ++--
drivers/usb/input/hid-core.c | 4 ++++
2 files changed, 6 insertions(+), 2 deletions(-)

through these ChangeSets:

<wim@xxxxxxxxx> (03/10/26 1.1350.2.1)
[WATCHDOG] Kconfig

Reflect new watchdog Documentation directory.

<wim@xxxxxxxxx> (03/12/11 1.1436)
[USB] hid blacklist addition

Added the Berkshire Products USB PC Watchdog to the hid blacklist.
This to avoid problems with USB-Disconnects when the card feels it should reboot...


The ChangeSets can also be looked at on:
http://linux-watchdog.bkbits.net:8080/linux-2.5-watchdog

For completeness, I added the patches below.

Greetings,
Wim.

================================================================================
diff -Nru a/drivers/char/watchdog/Kconfig b/drivers/char/watchdog/Kconfig
--- a/drivers/char/watchdog/Kconfig Mon Dec 29 20:39:18 2003
+++ b/drivers/char/watchdog/Kconfig Mon Dec 29 20:39:18 2003
@@ -17,7 +17,7 @@
implementation entirely in software (which can sometimes fail to
reboot the machine) and a driver for hardware watchdog boards, which
are more robust and can also keep track of the temperature inside
- your computer. For details, read <file:Documentation/watchdog.txt>
+ your computer. For details, read <file:Documentation/watchdog/watchdog.txt>
in the kernel source.

The watchdog is usually used together with the watchdog daemon
@@ -114,7 +114,7 @@
This card simply watches your kernel to make sure it doesn't freeze,
and if it does, it reboots your computer after a certain amount of
time. This driver is like the WDT501 driver but for different
- hardware. Please read <file:Documentation/pcwd-watchdog.txt>. The PC
+ hardware. Please read <file:Documentation/watchdog/pcwd-watchdog.txt>. The PC
watchdog cards can be ordered from <http://www.berkprod.com/>.

To compile this driver as a module, choose M here: the
diff -Nru a/drivers/usb/input/hid-core.c b/drivers/usb/input/hid-core.c
--- a/drivers/usb/input/hid-core.c Mon Dec 29 20:39:39 2003
+++ b/drivers/usb/input/hid-core.c Mon Dec 29 20:39:39 2003
@@ -1354,6 +1354,9 @@
#define USB_VENDOR_ID_A4TECH 0x09DA
#define USB_DEVICE_ID_A4TECH_WCP32PU 0x0006

+#define USB_VENDOR_ID_BERKSHIRE 0x0c98
+#define USB_DEVICE_ID_BERKSHIRE_PCWD 0x1140
+
struct hid_blacklist {
__u16 idVendor;
__u16 idProduct;
@@ -1403,6 +1406,7 @@
{ USB_VENDOR_ID_TANGTOP, USB_DEVICE_ID_TANGTOP_USBPS2, HID_QUIRK_NOGET },
{ USB_VENDOR_ID_ESSENTIAL_REALITY, USB_DEVICE_ID_ESSENTIAL_REALITY_P5, HID_QUIRK_IGNORE },
{ USB_VENDOR_ID_A4TECH, USB_DEVICE_ID_A4TECH_WCP32PU, HID_QUIRK_2WHEEL_MOUSE_HACK },
+ { USB_VENDOR_ID_BERKSHIRE, USB_DEVICE_ID_BERKSHIRE_PCWD, HID_QUIRK_IGNORE },
{ 0, 0 }
};

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/