diff options
| author | mrg <mrg@NetBSD.org> | 2021-12-17 08:17:40 +0000 |
|---|---|---|
| committer | mrg <mrg@NetBSD.org> | 2021-12-17 08:17:40 +0000 |
| commit | 3dfee5f552aa61114961eb4dc3330e4fce2d7e43 (patch) | |
| tree | 8b43518c82293b10a388a7d06daa8b668c025d65 /sys/dev/usb | |
| parent | de53818347136a458c8ec7b0b34cc5310a60260b (diff) | |
add two additional cyperpower ups ids for ignore hid.
Diffstat (limited to 'sys/dev/usb')
| -rw-r--r-- | sys/dev/usb/usb_quirks.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/usb/usb_quirks.c b/sys/dev/usb/usb_quirks.c index 6e1920711e8..bf8f42b828b 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.100 2021/10/16 05:40:46 mrg Exp $ */ +/* $NetBSD: usb_quirks.c,v 1.101 2021/12/17 08:17:40 mrg Exp $ */ /* $FreeBSD: src/sys/dev/usb/usb_quirks.c,v 1.30 2003/01/02 04:15:55 imp Exp $ */ /* @@ -32,7 +32,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: usb_quirks.c,v 1.100 2021/10/16 05:40:46 mrg Exp $"); +__KERNEL_RCSID(0, "$NetBSD: usb_quirks.c,v 1.101 2021/12/17 08:17:40 mrg Exp $"); #ifdef _KERNEL_OPT #include "opt_usb.h" @@ -184,8 +184,12 @@ Static const struct usbd_quirk_entry { /* Devices which should be ignored by uhid */ { USB_VENDOR_APC, USB_PRODUCT_APC_UPS, ANY, { UQ_HID_IGNORE, NULL }}, + { USB_VENDOR_CYBERPOWER, USB_PRODUCT_CYBERPOWER_UPS0, ANY, + { UQ_HID_IGNORE, NULL }}, { USB_VENDOR_CYBERPOWER, USB_PRODUCT_CYBERPOWER_UPS, ANY, { UQ_HID_IGNORE, NULL }}, + { USB_VENDOR_CYBERPOWER, USB_PRODUCT_CYBERPOWER_UPS2, ANY, + { UQ_HID_IGNORE, NULL }}, { USB_VENDOR_GRETAGMACBETH, ANY, ANY, { UQ_HID_IGNORE, NULL }}, { USB_VENDOR_MGE, USB_PRODUCT_MGE_UPS1, ANY, |
