The branch main has been updated by cy:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=8866ea619a1f91616ba7e002a3ad10dfb10148c9

commit 8866ea619a1f91616ba7e002a3ad10dfb10148c9
Author:     Cy Schubert <[email protected]>
AuthorDate: 2023-02-22 02:38:16 +0000
Commit:     Cy Schubert <[email protected]>
CommitDate: 2023-02-28 13:46:00 +0000

    usb: Add HID_IGNORE quirk for APC Smart-UPS1000
    
    Without the HID_IGNORE quirk enabled it will appear to be a uhid device.
    
    PR:             269729
    MFC after:      1 week
---
 sys/dev/usb/quirk/usb_quirk.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/dev/usb/quirk/usb_quirk.c b/sys/dev/usb/quirk/usb_quirk.c
index 6e45e5a2b043..5dcdeb584788 100644
--- a/sys/dev/usb/quirk/usb_quirk.c
+++ b/sys/dev/usb/quirk/usb_quirk.c
@@ -112,6 +112,7 @@ static struct usb_quirk_entry 
usb_quirks[USB_DEV_QUIRKS_MAX] = {
        USB_QUIRK(XEROX, WCM15, 0x0000, 0xffff, UQ_BROKEN_BIDIR),
        /* Devices which should be ignored by uhid */
        USB_QUIRK(APC, UPS, 0x0000, 0xffff, UQ_HID_IGNORE),
+       USB_QUIRK(APC, UPS1000, 0x0000, 0xffff, UQ_HID_IGNORE),
        USB_QUIRK(BELKIN, F6H375USB, 0x0000, 0xffff, UQ_HID_IGNORE),
        USB_QUIRK(BELKIN, F6C550AVR, 0x0000, 0xffff, UQ_HID_IGNORE),
        USB_QUIRK(BELKIN, F6C1250TWRK, 0x0000, 0xffff, UQ_HID_IGNORE),

Reply via email to