No subject


Mon Mar 29 23:06:26 UTC 2010


  idVendor           0x03f0 Hewlett-Packard
  idProduct          0x1f08
  bcdDevice            1.0e
  iManufacturer           1 Hewlett Packard
  iProduct                2 T1000 INTL

Patch against current SVN follows:

Index: scripts/hotplug/libhid.usermap
===================================================================
--- scripts/hotplug/libhid.usermap	(revision 2436)
+++ scripts/hotplug/libhid.usermap	(working copy)
@@ -14,6 +14,8 @@
 libhidups      0x0003      0x03f0   0x1f02    0x0000       0x0000
  0x00         0x00            0x00            0x00            0x00
           0x00               0x00000000
 #  HP T750 INTL
 libhidups      0x0003      0x03f0   0x1f06    0x0000       0x0000
  0x00         0x00            0x00            0x00            0x00
           0x00               0x00000000
+#  HP T1000 INTL
+libhidups      0x0003      0x03f0   0x1f08    0x0000       0x0000
  0x00         0x00            0x00            0x00            0x00
           0x00               0x00000000
 #  HP R/T 2200 INTL (like SMART2200RMXL2U)
 libhidups      0x0003      0x03f0   0x1f0a    0x0000       0x0000
  0x00         0x00            0x00            0x00            0x00
           0x00               0x00000000

Index: scripts/hal/ups-nut-device.fdi.in
===================================================================
--- scripts/hal/ups-nut-device.fdi.in	(revision 2436)
+++ scripts/hal/ups-nut-device.fdi.in	(working copy)
@@ -35,6 +35,13 @@
           <merge key="info.addons" type="strlist">hald-addon-usbhid-ups</merge>
           <merge key="battery.type" type="string">ups</merge>
         </match>
+        <!--  HP T1000 INTL  -->
+        <match key="usb_device.product_id" int="0x1f08">
+          <append key="info.category" type="string">battery</append>
+          <merge key="info.capabilities" type="strlist">battery</merge>
+          <merge key="info.addons" type="strlist">hald-addon-usbhid-ups</merge>
+          <merge key="battery.type" type="string">ups</merge>
+        </match>
         <!--  HP R/T 2200 INTL (like SMART2200RMXL2U)  -->
         <match key="usb_device.product_id" int="0x1f0a">
           <append key="info.category" type="string">battery</append>
Index: drivers/tripplite-hid.c
===================================================================
--- drivers/tripplite-hid.c	(revision 2436)
+++ drivers/tripplite-hid.c	(working copy)
@@ -86,6 +86,8 @@
 	{ USB_DEVICE(HP_VENDORID, 0x1f0a), battery_scale_1dot0 },
 	/* HP T750 INTL */
 	{ USB_DEVICE(HP_VENDORID, 0x1f06), battery_scale_1dot0 },
+	/* HP T1000 INTL */
+	{ USB_DEVICE(HP_VENDORID, 0x1f08), battery_scale_1dot0 },

 	/* Terminating entry */
 	{ -1, -1, NULL }



-- 
Sturle
~~~~~~



More information about the Nut-upsdev mailing list