Hi there,
I've added support for HP T750 G2, find attached the patch.
Please CC-me, as I'm not subscribed to this mailing list.
Thanks for such a nice piece of software!
--
Jorge Salamero Sanz - Systems Analyst
[email protected]
The Linux small business server
www.zentyal.com
diff --git a/data/driver.list b/data/driver.list
index 15089c8..c93dd4c 100644
--- a/data/driver.list
+++ b/data/driver.list
@@ -262,6 +262,7 @@
"HP" "T500" "older models" "bcmxcp_usb"
"HP" "T750 INTL" "" "usbhid-ups"
"HP" "T750" "older models" "bcmxcp_usb"
+"HP" "T750 G2" "" "usbhid-ups"
"HP" "HP3488 Switch/Control Unit" "" "powerman-pdu (experimental)"
"IBM" "Blade Center Management Module" "15 outlets" "powerman-pdu (experimental)"
diff --git a/drivers/tripplite-hid.c b/drivers/tripplite-hid.c
index 3c81a72..da6f322 100644
--- a/drivers/tripplite-hid.c
+++ b/drivers/tripplite-hid.c
@@ -86,6 +86,8 @@ static usb_device_id_t tripplite_usb_device_table[] = {
{ USB_DEVICE(HP_VENDORID, 0x1f0a), battery_scale_1dot0 },
/* HP T750 INTL */
{ USB_DEVICE(HP_VENDORID, 0x1f06), battery_scale_1dot0 },
+ /* HP T750 G2 */
+ { USB_DEVICE(HP_VENDORID, 0x1fe1), battery_scale_1dot0 },
/* Terminating entry */
{ -1, -1, NULL }
diff --git a/scripts/hotplug/libhid.usermap b/scripts/hotplug/libhid.usermap
index 2f22cf6..639b1de 100644
--- a/scripts/hotplug/libhid.usermap
+++ b/scripts/hotplug/libhid.usermap
@@ -14,6 +14,8 @@ libhidups 0x0003 0x03f0 0x1f01 0x0000 0x0000 0x00
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 T750 G2
+libhidups 0x0003 0x03f0 0x1fe1 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
diff --git a/scripts/udev/nut-usbups.rules.in b/scripts/udev/nut-usbups.rules.in
index 2f03744..40d13b6 100644
--- a/scripts/udev/nut-usbups.rules.in
+++ b/scripts/udev/nut-usbups.rules.in
@@ -16,6 +16,8 @@ ATTR{idVendor}=="03f0", ATTR{idProduct}=="1f01", MODE="664", GROUP="@RUN_AS_GROU
ATTR{idVendor}=="03f0", ATTR{idProduct}=="1f02", MODE="664", GROUP="@RUN_AS_GROUP@"
# HP T750 INTL - usbhid-ups
ATTR{idVendor}=="03f0", ATTR{idProduct}=="1f06", MODE="664", GROUP="@RUN_AS_GROUP@"
+# HP T750 G2 - usbhid-ups
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="1fe1", MODE="664", GROUP="@RUN_AS_GROUP@"
# HP R/T 2200 INTL (like SMART2200RMXL2U) - usbhid-ups
ATTR{idVendor}=="03f0", ATTR{idProduct}=="1f0a", MODE="664", GROUP="@RUN_AS_GROUP@"
_______________________________________________
Nut-upsdev mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev