Module Name: src Committed By: garbled Date: Wed Mar 20 15:40:30 UTC 2013
Modified Files: src/sys/dev/usb: usb_quirks.c Log Message: If the tripplite SMARTLCD ups connects as a usbhid device, it doesn't work at all, connect as ugen instead. Verified working with ups-nut. To generate a diff of this commit: cvs rdiff -u -r1.77 -r1.78 src/sys/dev/usb/usb_quirks.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/usb/usb_quirks.c diff -u src/sys/dev/usb/usb_quirks.c:1.77 src/sys/dev/usb/usb_quirks.c:1.78 --- src/sys/dev/usb/usb_quirks.c:1.77 Sat Jan 5 23:34:20 2013 +++ src/sys/dev/usb/usb_quirks.c Wed Mar 20 15:40:29 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: usb_quirks.c,v 1.77 2013/01/05 23:34:20 christos Exp $ */ +/* $NetBSD: usb_quirks.c,v 1.78 2013/03/20 15:40:29 garbled 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.77 2013/01/05 23:34:20 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: usb_quirks.c,v 1.78 2013/03/20 15:40:29 garbled Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -62,6 +62,8 @@ Static const struct usbd_quirk_entry { ANY, { UQ_HID_IGNORE }}, { USB_VENDOR_TRIPPLITE2, USB_PRODUCT_TRIPPLITE2_UPS, ANY, { UQ_HID_IGNORE }}, + { USB_VENDOR_TRIPPLITE2, USB_PRODUCT_TRIPPLITE2_SMARTLCD, + ANY, { UQ_HID_IGNORE }}, { USB_VENDOR_MISC, USB_PRODUCT_MISC_WISPY_24X, ANY, { UQ_HID_IGNORE }}, { USB_VENDOR_KYE, USB_PRODUCT_KYE_NICHE, 0x100, { UQ_NO_SET_PROTO}},