>Number:         175599
>Category:       usb
>Synopsis:       [usbdevs][patch]Liebert UPS PSI1000 being assigned uhid and 
>not ugen
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-usb
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 25 22:40:00 UTC 2013
>Originator:     Juan J Lopez
>Release:        9.1-RELEASE amd64
FreeBSD bckp-3.in.evsis.com.ar 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Fri Jan 25 
15:07:41 UTC 2013     r...@bckp-3.in.evsis.com.ar:/usr/obj/usr/src/sys/GENERIC  
Similar to detailed in usb/129251: Liebert PSI1000 UPSes are assigned a uhidN 
device node when connected via USB. Due to the way that nut/libusb work, they 
are expecting a ugenN device node to work with.
Plug in Liebert PSI1000 UPS into usb port.
Add Liebert PSI1000 UPSes to /sys/dev/usb/usbdevs and
/sys/dev/usb/quirk/usb_quirk.c (patch file attached)

Patch attached with submission follows:

diff -Naur usb.orig/quirk/usb_quirk.c usb/quirk/usb_quirk.c
--- usb.orig/quirk/usb_quirk.c  2012-12-03 23:04:54.000000000 +0000
+++ usb/quirk/usb_quirk.c       2013-01-25 17:19:06.337846247 +0000
@@ -111,6 +111,7 @@
        USB_QUIRK(ITUNERNET, USBLCD2X20, 0x0000, 0xffff, UQ_HID_IGNORE),
        USB_QUIRK(ITUNERNET, USBLCD4X20, 0x0000, 0xffff, UQ_HID_IGNORE),
+       USB_QUIRK(LIEBERT2, PSI1000, 0x0000, 0xffff, UQ_HID_IGNORE),
        USB_QUIRK(MGE, UPS1, 0x0000, 0xffff, UQ_HID_IGNORE),
        USB_QUIRK(MGE, UPS2, 0x0000, 0xffff, UQ_HID_IGNORE),
        USB_QUIRK(APPLE, IPHONE, 0x0000, 0xffff, UQ_HID_IGNORE),
diff -Naur usb.orig/usbdevs usb/usbdevs
--- usb.orig/usbdevs    2012-12-03 23:04:53.000000000 +0000
+++ usb/usbdevs 2013-01-25 17:18:45.774851088 +0000
@@ -567,6 +567,7 @@
 vendor CURITEL         0x106c  Curitel Communications Inc
 vendor SILABS2         0x10a6  SILABS2
 vendor USI             0x10ab  USI
+vendor LIEBERT2        0x10af  Liebert
 vendor PLX             0x10b5  PLX
 vendor ASANTE          0x10bd  Asante
 vendor SILABS          0x10c4  Silicon Labs
@@ -2072,6 +2073,7 @@
 /* Liebert products */
 product LIEBERT POWERSURE_PXT  0xffff  PowerSure Personal XT
+product LIEBERT2 PSI1000       0x0004  UPS PSI 1000 FW:08 
 /* Linksys products */
 product LINKSYS MAUSB2         0x0105  Camedia MAUSB-2

freebsd-usb@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to