Skip to content

Commit

Permalink
usbhid-ups: Add support for Delta/Minuteman UPS
Browse files Browse the repository at this point in the history
  • Loading branch information
clepple committed May 24, 2018
1 parent 14301bd commit fa66ab3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion drivers/tripplite-hid.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include "tripplite-hid.h"
#include "usb-common.h"

#define TRIPPLITE_HID_VERSION "TrippLite HID 0.82"
#define TRIPPLITE_HID_VERSION "TrippLite HID 0.83"
/* FIXME: experimental flag to be put in upsdrv_info */


Expand Down Expand Up @@ -71,6 +71,9 @@ static void *smart1500lcdt_scale(USBDevice_t *device)
/* Hewlett Packard */
#define HP_VENDORID 0x03f0

/* Delta/Minuteman */
#define DELTA_VENDORID 0x05dd

/* USB IDs device table */
static usb_device_id_t tripplite_usb_device_table[] = {
/* e.g. TrippLite AVR550U */
Expand Down Expand Up @@ -144,6 +147,9 @@ static usb_device_id_t tripplite_usb_device_table[] = {
/* HP R/T 2200 INTL (like SMART2200RMXL2U) */
{ USB_DEVICE(HP_VENDORID, 0x1f0a), battery_scale_1dot0 },

/* Delta/Minuteman Enterprise Plus E1500RM2U */
{ USB_DEVICE(DELTA_VENDORID, 0xa011), battery_scale_1dot0 },

/* Terminating entry */
{ -1, -1, NULL }
};
Expand Down

0 comments on commit fa66ab3

Please sign in to comment.