The branch stable/13 has been updated by cy:

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

commit c6ee35809ad3a23d0aa9c9a3f3bab717d46432da
Author:     Cy Schubert <[email protected]>
AuthorDate: 2023-02-22 02:38:16 +0000
Commit:     Cy Schubert <[email protected]>
CommitDate: 2023-03-08 14:30:43 +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
    
    (cherry picked from commit 8866ea619a1f91616ba7e002a3ad10dfb10148c9)
---
 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 bb02b90ba4bd..a26de4f8d942 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