From ba7873b58d1aa2d0806f133acbdcfddd45c044e5 Mon Sep 17 00:00:00 2001 From: rafal Date: Sun, 24 Feb 2008 20:25:13 +0000 Subject: [PATCH] Add TRIPPLITE2 UPS into the list of devices ignored by uhid(4) -- the UPS software apparently wants to drive it as a ugen(4) instead. --- sys/dev/usb/usb_quirks.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/dev/usb/usb_quirks.c b/sys/dev/usb/usb_quirks.c index 0691ccf18a2a..982e87c8c7aa 100644 --- a/sys/dev/usb/usb_quirks.c +++ b/sys/dev/usb/usb_quirks.c @@ -1,4 +1,4 @@ -/* $NetBSD: usb_quirks.c,v 1.57 2007/10/03 15:01:28 veego Exp $ */ +/* $NetBSD: usb_quirks.c,v 1.58 2008/02/24 20:25:13 rafal Exp $ */ /* $FreeBSD: src/sys/dev/usb/usb_quirks.c,v 1.30 2003/01/02 04:15:55 imp Exp $ */ /* @@ -39,7 +39,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: usb_quirks.c,v 1.57 2007/10/03 15:01:28 veego Exp $"); +__KERNEL_RCSID(0, "$NetBSD: usb_quirks.c,v 1.58 2008/02/24 20:25:13 rafal Exp $"); #include #include @@ -65,6 +65,8 @@ Static const struct usbd_quirk_entry { { USB_VENDOR_APC, USB_PRODUCT_APC_UPS, ANY, { UQ_HID_IGNORE }}, { USB_VENDOR_MGE, USB_PRODUCT_MGE_UPS1, ANY, { UQ_HID_IGNORE }}, { USB_VENDOR_MGE, USB_PRODUCT_MGE_UPS2, ANY, { UQ_HID_IGNORE }}, + { USB_VENDOR_TRIPPLITE2, USB_PRODUCT_TRIPPLITE2_UPS, + ANY, { UQ_HID_IGNORE }}, { USB_VENDOR_KYE, USB_PRODUCT_KYE_NICHE, 0x100, { UQ_NO_SET_PROTO}}, { USB_VENDOR_INSIDEOUT, USB_PRODUCT_INSIDEOUT_EDGEPORT4,