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.
This commit is contained in:
rafal 2008-02-24 20:25:13 +00:00
parent 570306d6b7
commit ba7873b58d

View File

@ -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 <sys/cdefs.h>
__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 <sys/param.h>
#include <sys/systm.h>
@ -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,