Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/usb If the tripplite SMARTLCD ups connects as a usbh...



details:   https://anonhg.NetBSD.org/src/rev/eef5946d9350
branches:  trunk
changeset: 785565:eef5946d9350
user:      garbled <garbled%NetBSD.org@localhost>
date:      Wed Mar 20 15:40:29 2013 +0000

description:
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.

diffstat:

 sys/dev/usb/usb_quirks.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 051ed998d0e7 -r eef5946d9350 sys/dev/usb/usb_quirks.c
--- a/sys/dev/usb/usb_quirks.c  Wed Mar 20 15:38:34 2013 +0000
+++ b/sys/dev/usb/usb_quirks.c  Wed Mar 20 15:40:29 2013 +0000
@@ -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 @@
        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}},



Home | Main Index | Thread Index | Old Index